邮件服务器-邮件系统-邮件技术论坛(BBS)'s Archiver

海洋科技www.idcsea.com,海外邮件解决方案提供商!

pater 发表于 2007-5-25 16:17

Cisco 路由器配置,新手最好的幫助。

一、配置
Router#
Router#en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname juzhong
juzhong(config)#en
juzhong(config)#ena
juzhong(config)#enable se
juzhong(config)#enable secret ?
  0      Specifies an UNENCRYPTED password will follow
  5      Specifies an ENCRYPTED secret will follow
  LINE   The UNENCRYPTED (cleartext) 'enable' secret
  level  Set exec level password
juzhong(config)#enable secret qqqqqq
juzhong(config)#exit
juzhong#
00:03:58: %SYS-5-CONFIG_I: Configured from console by consoleconf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
juzhong(config)#exit
juzhong#
00:04:04: %SYS-5-CONFIG_I: Configured from console by console^Z
juzhong#q

二、配置IP
User Access Verification
Password:
juzhong>en
Password:
juzhong#show conf
juzhong#show configuration
Using 880 out of 29688 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname juzhong
!
enable secret 5 $1$PkvO$DAtxVUN3sIAdXvG88jsaZ/
!
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.11.1.254 255.255.0.0
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface Serial0/1
ip address 192.168.254.2 255.255.255.252
encapsulation ppp
!
router rip
network 10.0.0.0
network 192.168.254.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.11.1.253
ip route 10.1.0.0 255.255.0.0 192.168.254.1
ip route 10.2.0.0 255.255.0.0 192.168.254.1
ip route 10.3.0.0 255.255.0.0 192.168.254.1
no ip http server
ip pim bidir-enable
!
!
!
line con 0
password qqqqqq

line aux 0
line vty 0 4
password qqqqqq
login
!
!
end

lwz_08 发表于 2007-6-26 00:24

呵呵,收藏一下

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.