企业网络构建路由配置.ppt
文本预览下载声明
企业网络构建实验;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
;RouterA(config)# line vty 0 4
RouterA(config-line)# login
RouterA(config-line)# password cisco5
RouterA(config)# enable password cisco6
;rommon 2 set (查看配置)
rommon 3 IP_ADDRESS=???????????? (路由器的ip地址)
rommon 4 IP_SUBNET_MASK=??? (路由器的掩码)
rommon 5 DEFAULT_GATEWAY=2???? (pc机的ip地址)
rommon 6 TFTP_SERVER=2??????? (是pc机的ip地址)
rommon 7 TFTP_FILE=C2600-I-MZ.122-11.BIN??? (ios文件名称)
rommon 8 set
rommon 9 tftpdnld
rommon 10 reset
;switch: flash_init
switch: load_helper
switch:copy xmodem: flash:c2950-i6k2l2q4-mz.121-22.EA.bin
系统提示不断出现C这个字母就可以开始传文件了
点击超级终端菜单:传送---→发送文件,在协议选项中选择Xmodem或者Xmodem-1K协议,然后选择IOS文件,开始传送。
switch:boot ;switch:flash_init
switch:load_helper
switch:dir flash:
switch:rename flash:config.text flash:config.old
switch:boot
Switch#rename flash:config.old flash:config.text
Switch#copy flash:config.text system:running?config
Switch(config)#no enable secret
Switch(config)#copy run start ;重启路由器,在60秒内按下CTRL+Break键
rommon1 confreg 0x2142
rommon2 reset
Router enable
Router# copy startup-config running-config
Router# config t
Router(config)# enable secret xxxxxx
Router(config)#config-register 0x2102
Router(config)#exit
Router# copy running-config startup-config
Router# reload;VLAN配置;单个交换机上配置VLAN;跨主干VLAN的配置;1900A#configure terminal
1900A(config)#interface fa 0/26
1900A(config-if)#trunk on
1900A(config)#interface fa 0/27
1900A(config-if)#trunk on
1900A(config)#ip add
1900A(config)#ip default-gateway
;跨主干VLAN的配置;VLAN间路由;2950(config)# int range f0/23 – 24
2950(config-if-range)# speed 100
2950(config-if-range)# deplex full
2950(config-int-range)# channel-grou
显示全部