1、CISCO HSRP工程实例CISCO HSRP工程实例CISCO, HSRP, 实例, 工程下载 (100.5 KB)2007-6-9 19:57标记:接入层交换机我们标记为sw1,做热备的两台交换机,左边的我们标记为sw2,右边的标记为sw3。说明:我这里的连线方式和拓扑上的不一样,具体方式如下:Switch1 F0/1 Switch2 F0/1 Switch1 F0/2 Switch3 F0/2 Switch2 F0/10 Switch3 F0/10 Switch2 F0/2 Switch4 F0/2 Switch3 F0/1 Switch4 F0/1 Router1 F0/0 Swit
2、ch4 F0/0 本帖隐藏的内容需要回复才可以浏览router配置: Router#show runBuilding configuration.Current configuration : 1023 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname Router!boot-start-markerboot-end-marker!no aaa new-modelmemory-siz
3、e iomem 5!ip cef! ! !interface FastEthernet0/0ip address 172.16.1.1 255.255.255.0duplex autospeed auto! interface Serial1/0ip address 10.250.34.51 255.255.255.0serial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2no ip addressshutdownserial restart
4、-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!ip http serverno ip http secure-server!ip route 0.0.0.0 0.0.0.0 Serial1/0 2ip route 192.168.10.0 255.255.255.0 172.16.1.2ip route 192.168.10.0 255.255.255.0 172.16.1.3ip route 192.168.20.0 255.255.255.0 172.16.1.3ip route 192.16
5、8.20.0 255.255.255.0 172.16.1.2!control-plane!line con 0line aux 0line vty 0 4login !endsw1配置:sw1#show runBuilding configuration.Current configuration : 940 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname sw1!boot-st
6、art-markerboot-end-marker!no aaa new-modelmemory-size iomem 5!ip cef! ! !interface FastEthernet0/0!interface FastEthernet0/1switchport mode trunk! interface FastEthernet0/2switchport mode trunk!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!in
7、terface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12! interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface Vlan1no ip address!ip http serverno ip http secure-
8、server!control-plane! !line con 0line aux 0line vty 0 4login!endsw2配置:sw2#show runBuilding configuration.Current configuration : 1497 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname sw2!boot-start-markerboot-end-mark
9、er!no aaa new-modelmemory-size iomem 5!ip cef! ! !interface Port-channel1switchport mode trunk!interface FastEthernet0/0!interface FastEthernet0/1switchport mode trunk!interface FastEthernet0/2no switchportip address 172.16.1.2 255.255.255.0!interface FastEthernet0/3!interface FastEthernet0/4!interf
10、ace FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10switchport mode trunkchannel-group 1 mode on!interface FastEthernet0/11switchport mode trunkchannel-group 1 mode on!interface FastEthernet0/12switchpo
11、rt mode trunkchannel-group 1 mode on!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface Vlan1no ip address!interface Vlan10ip address 192.168.10.254 255.255.255.0standby 1 ip 192.168.10.250standby 1 timers 3 50standby 1 priority 200standby 1 preemptstandby 1 t
12、rack FastEthernet0/2 150!interface Vlan20ip address 192.168.20.254 255.255.255.0standby 2 ip 192.168.20.250standby 2 preemptstandby 2 track FastEthernet0/2!ip http serverno ip http secure-server!control-plane! !line con 0line aux 0line vty 0 4login!endsw3配置: sw3#show runBuilding configuration.Curren
13、t configuration : 1572 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname sw3!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5!ip cef! ! !interface Port-channel1switchport mode trunk!interface FastEthernet0/0!interface FastEthernet0/1no switchportip address 172.16.1.3 255.255.255.0
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1