CISCO HSRP工程实例.docx
《CISCO HSRP工程实例.docx》由会员分享,可在线阅读,更多相关《CISCO HSRP工程实例.docx(11页珍藏版)》请在冰豆网上搜索。
![CISCO HSRP工程实例.docx](https://file1.bdocx.com/fileroot1/2022-10/29/a27763e8-0a5c-4674-8bd1-77c1b1595a8e/a27763e8-0a5c-4674-8bd1-77c1b1595a8e1.gif)
CISCOHSRP工程实例
CISCOHSRP工程实例
CISCO,HSRP,实例,工程
下载(100.5KB)
2007-6-919:
57
标记:
接入层交换机我们标记为sw1,做热备的两台交换机,左边的我们标记为sw2,右边的标记为sw3。
说明:
我这里的连线方式和拓扑上的不一样,具体方式如下:
Switch1F0/1<---->Switch2F0/1
Switch1F0/2<---->Switch3F0/2
Switch2F0/10<---->Switch3F0/10
Switch2F0/2<---->Switch4F0/2
Switch3F0/1<---->Switch4F0/1
Router1F0/0<---->Switch4F0/0
本帖隐藏的内容需要回复才可以浏览
router配置:
Router#showrun
Buildingconfiguration...
Currentconfiguration:
1023bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameRouter
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceFastEthernet0/0
ipaddress172.16.1.1255.255.255.0
duplexauto
speedauto
!
interfaceSerial1/0
ipaddress10.250.34.51255.255.255.0
serialrestart-delay0
!
interfaceSerial1/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/3
noipaddress
shutdown
serialrestart-delay0
!
iphttpserver
noiphttpsecure-server
!
iproute0.0.0.00.0.0.0Serial1/02
iproute192.168.10.0255.255.255.0172.16.1.2
iproute192.168.10.0255.255.255.0172.16.1.3
iproute192.168.20.0255.255.255.0172.16.1.3
iproute192.168.20.0255.255.255.0172.16.1.2
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
sw1配置:
sw1#showrun
Buildingconfiguration...
Currentconfiguration:
940bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnamesw1
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceFastEthernet0/0
!
interfaceFastEthernet0/1
switchportmodetrunk
!
interfaceFastEthernet0/2
switchportmodetrunk
!
interfaceFastEthernet0/3
!
interfaceFastEthernet0/4
!
interfaceFastEthernet0/5
!
interfaceFastEthernet0/6
!
interfaceFastEthernet0/7
!
interfaceFastEthernet0/8
!
interfaceFastEthernet0/9
!
interfaceFastEthernet0/10
!
interfaceFastEthernet0/11
!
interfaceFastEthernet0/12
!
interfaceFastEthernet0/13
!
interfaceFastEthernet0/14
!
interfaceFastEthernet0/15
!
interfaceVlan1
noipaddress
!
iphttpserver
noiphttpsecure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
sw2配置:
sw2#showrun
Buildingconfiguration...
Currentconfiguration:
1497bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnamesw2
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfacePort-channel1
switchportmodetrunk
!
interfaceFastEthernet0/0
!
interfaceFastEthernet0/1
switchportmodetrunk
!
interfaceFastEthernet0/2
noswitchport
ipaddress172.16.1.2255.255.255.0
!
interfaceFastEthernet0/3
!
interfaceFastEthernet0/4
!
interfaceFastEthernet0/5
!
interfaceFastEthernet0/6
!
interfaceFastEthernet0/7
!
interfaceFastEthernet0/8
!
interfaceFastEthernet0/9
!
interfaceFastEthernet0/10
switchportmodetrunk
channel-group1modeon
!
interfaceFastEthernet0/11
switchportmodetrunk
channel-group1modeon
!
interfaceFastEthernet0/12
switchportmodetrunk
channel-group1modeon
!
interfaceFastEthernet0/13
!
interfaceFastEthernet0/14
!
interfaceFastEthernet0/15
!
interfaceVlan1
noipaddress
!
interfaceVlan10
ipaddress192.168.10.254255.255.255.0
standby1ip192.168.10.250
standby1timers350
standby1priority200
standby1preempt
standby1trackFastEthernet0/2150
!
interfaceVlan20
ipaddress192.168.20.254255.255.255.0
standby2ip192.168.20.250
standby2preempt
standby2trackFastEthernet0/2
!
iphttpserver
noiphttpsecure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
sw3配置:
sw3#showrun
Buildingconfiguration...
Currentconfiguration:
1572bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnamesw3
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfacePort-channel1
switchportmodetrunk
!
interfaceFastEthernet0/0
!
interfaceFastEthernet0/1
noswitchport
ipaddress172.16.1.3255.255.255.0