资源预览内容
第1页 / 共35页
第2页 / 共35页
第3页 / 共35页
第4页 / 共35页
第5页 / 共35页
第6页 / 共35页
第7页 / 共35页
第8页 / 共35页
第9页 / 共35页
第10页 / 共35页
亲,该文档总共35页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
15526S-23926S5005526S-1600HSRP配置实例0/0/10/0/20/0/10/0/20/0/10/0/2192.168.100.22192.168.100.1192.168.100.2192.168.60.1192.168.50.1OSPF/RIP5526S-23926S5005526S-1600400400HSRP vlan 10 192.168.10.10/0/10/0/20/0/10/0/20/0/10/0/2192.168.100.22192.168.10.2192.168.10.3192.168.60.3192.168.50.210010025526S-1 二层配置 hostname 5526S-1 vlan 100 switchport interface ethernet 0/0/1 vlan 400 switchport interface ethernet 0/0/2 vlan 600 switchport interface ethernet 0/0/11-155526S-2 二层配置 hostname 5526S-2 vlan 100 switchport interface ethernet 0/0/1 vlan 400 switchport interface ethernet 0/0/2 vlan 500 switchport interface ethernet 0/0/11-1535526S-1 三层配置 interface vlan 100 ip address 192.168.10.3 255.255.255.0 interface vlan 400 ip address 192.168.40.3 255.255.255.0 interface vlan 600 ip address 192.168.60.3 255.255.255.05526S-2 三层配置 interface vlan 100 ip address 192.168.10.2 255.255.255.0 interface vlan 400 ip address 192.168.40.2 255.255.255.0 interface vlan 500 ip address 192.168.50.2 255.255.255.045526S-1 路由配置 配置一: router ospf network 192.168.40.0 255.255.255.0 area 0 redistribute ospfase connectted interface vlan 400 ip ospf enable area 0 配置二: router rip interface vlan 100 ip rip work interface vlan 400 ip rip work interface vlan 600 ip rip work5526S-2 路由配置 配置一: router ospf network 192.168.40.0 255.255.255.0 area 0 redistribute ospfase connectted interface vlan 400 ip ospf enable area 0 配置二: router rip interface vlan 100 ip rip work interface vlan 400 ip rip work interface vlan 500 ip rip work55526S-1 HSPR配置 interface vlan 100 standby 10 ip 192.168.10.1 standby 10 authentication DCN #/配置认证口令(可选) standby 10 priority 20 #/配置优先级(可选) standby 10 preempt #/配置为抢占模式(可选)5526S-2 HSPR配置 interface vlan 100 standby 10 ip 192.168.10.1 standby 10 authentication DCN #/配置认证口令(可选) standby 10 priority 10 #/配置优先级(可选) standby 10 preempt #/配置为抢占模式(可选)6查看信息 show standby 测试,使用PC去Ping vlan500或者vlan600 中的任意一台PC,备份的线路可以任意中 断;数据通讯不中断1005526S-23926S5002003005526S-1600HSRP配置实例0/0/10/0/20/0/10/0/20/0/10/0/27OSPF/RIP1005526S-23926S5002003005526S-1600Trunk 100,200,300Trunk 100,200,300400400HSRP 100 200 3000/0/10/0/20/0/10/0/20/0/10/0/23926S vlan 100 switchport interface ethernet 0/0/16-20 vlan 200 switchport interface ethernet 0/0/6-10 vlan 300 switchport interface ethernet 0/0/11-15 interface ethernet 0/0/1-2 switchport mode trunk switchport trunk allowed vlan 100;200;30085526S-1 二层配置 hostname 5526S-1 vlan 100 vlan 200 vlan 300 vlan 400 switchport interface ethernet 0/0/2 vlan 600 switchport interface ethernet 0/0/11-15 interface ethernet 0/0/1 switchport mode trunk switchport trunk allowed vlan 100;200;3005526S-2 二层配置 hostname 5526S-2 vlan 100 vlan 200 vlan 300 vlan 400 switchport interface ethernet 0/0/2 vlan 500 switchport interface ethernet 0/0/11-15 interface ethernet 0/0/1 switchport mode trunk switchport trunk allowed vlan 100;200;30095526S-1 三层配置 interface vlan 100 ip address 192.168.10.2 255.255.255.0 interface vlan 200 ip address 192.168.20.2 255.255.255.0 interface vlan 300 ip address 192.168.30.2 255.255.255.0 interface vlan 400 ip address 192.168.40.2 255.255.255.0 interface vlan 600 ip address 192.168.60.2 255.255.255.05526S-2 三层配置 interface vlan 100 ip address 192.168.10.3 255.255.255.0 interface vlan 200 ip address 192.168.20.3 255.255.255.0 interface vlan 300 ip address 192.168.30.3 255.255.255.0 interface vlan 400 ip address 192.168.40.3 255.255.255.0 interface vlan 500 ip address 192.168.50.3 255.255.255.0105526S-1 路由配置配置一: router ospf network 192.168.40.0 255.255.255.0 area 0 redistribute ospfase connectted interface vlan 400 ip ospf enable area 0 配置二: router rip interface vlan 100 ip rip work interface vlan 200 ip rip work interface vlan 300 ip rip work interface vlan 400 ip rip work interface vlan 600 ip rip work5526S-2 路由配置配置一: router ospf network 192.168.40.0 255.255.255.0 area 0 redistribute ospfase connectted interface vlan 400 ip ospf enable area 0 配置二: router rip interface vlan 100 ip rip work interface vlan 200 ip rip work interface vlan 300 ip rip work interface vlan 400 ip rip work interface vlan 500 ip rip work115526S-1 HSPR配置 interface vlan 100 standby 10 ip 192.168.10.1 standby 10 authentication DCN#/配置认证口令 interface vlan 200 standby 20 ip 192.168.20.1 standby 20 priority 20#/配置优先级 interface vlan 300 standby 30 ip 192.168.30.1 standby 30 preempt#/配置为抢占模式5526S-2 HSPR配置 interface vlan 100 standby 10 ip 192.168.10.1 standby 10 authentication DCN#/配置认证口令 interface vlan 200 standby 20 ip 192.168.20.1 standby 20 priority 10#/配置优先级 interface vlan 300 standby 30 ip 192.168.30.1 standby 30 preempt#/配置为抢占模式12查看信息 show standby1005526S-43926S-13926S-25002003001002003005526S-3600思考题一13OSPFHSRP vlan 100 vlan 200 vlan 3005526-43926-13926-2
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号