企业网络构建实验
盛邦教育集团
RouterB(config)# line vty 0 4
RouterB(config-line)# login
RouterB(config-line)# password cisco1
RouterB(config-line)# exit
RouterB(config)# enable password cisco2
RouterC(config)# line vty 0 4
RouterC(config-line)# login
RouterC(config-line)# password cisco3
RouterC(config-line)# exit
RouterC(config)# enable password cisco4
VTY
A
B
C
.1
s0/1
f0/0
s0/1
s0/1
s0/2
.1
.1
.2
.2
f0/0
f0/0
.1
.2
RouterA>
Password:
RouterB>ctrl-shift-6,x
RouterA>
Password:
RouterC>ctrl-shift-6,x
RouterA>
RouterA>show session
RouterA>resume n
RouterA>disconnect n
PC2
PC1
RouterA(config)# line vty 0 4
RouterA(config-line)# login
RouterA(config-line)# password cisco5
RouterA(config)# enable password cisco6
VTY
A
B
C
.1
s0/1
f0/0
s0/1
s0/1
s0/2
.1
.1
.2
.2
f0/0
f0/0
.1
.2
RouterB>
Password:
RouterA>
RouterC>
Password:
RouterA>
PC2
PC1
RouterA>show user
RouterA>clear line n
如图所示,路由器B或C,则
需要在路由器B或C上配置到PC1所在网段的静
态路由。
rommon 2 > set (查看配置)
rommon 3 >IP_ADDRESS= (路由器的ip地址)
rommon 4 >_MASK= (路由器的掩码)
rommon 5 >DEFAULT_GATEWAY= (pc机的ip地址)
rommon 6 >TFTP_SERVER= (是pc机的ip地址)
rommon 7 >TFTP_FILE=C2600-I-- (ios文件名称)
rommon 8 >set
rommon 9 >tftpdnld
rommon 10 >reset
升级IOS
switch: flash_init
switch: load_helper
switch:copy xmodem: flash:c2950-i6k2l2q4--
系统提示不断出现C这个字母就可以开始传文件了
点击超级终端菜单:传送---→发送文件,在协议选项中选择Xmodem或者Xmodem-1K协议,然后选择IOS文件,开始传送。
switch:boot
升级IOS
switch:flash_init
switch:load_helper
switch:dir flash:
switch:rename flash: flash:
switch:boot
Switch#rename flash: flash:
Switch#copy flash: system:running−config
Switch(config)#no enable secret
Switch(config)#copy run start
口令恢复
重启路由器,在60秒内按
思科路由交换实验 来自淘豆网m.daumloan.com转载请标明出处.