HSRP 工程案例.docx
- 文档编号:6247585
- 上传时间:2023-01-04
- 格式:DOCX
- 页数:8
- 大小:104.28KB
HSRP 工程案例.docx
《HSRP 工程案例.docx》由会员分享,可在线阅读,更多相关《HSRP 工程案例.docx(8页珍藏版)》请在冰豆网上搜索。
HSRP工程案例
标记:
接入层交换机我们标记为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
!
interfaceFastEthernet0/2
switchportmodetrunk
!
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.253255.255.255.0
standby1ip192.168.10.250
standby1timers350
standby1preempt
standby1trackFastEthernet0/1
!
interfaceVlan20
ipaddress192.168.20.253255.255.255.0
standby2ip192.168.20.250
standby2priority200
standby2preempt
standby2trackFastEthernet0/1150
!
iphttpserver
noiphttpsecure-server
!
!
!
mac-address-tablestatic0000.0c07.ac02interfaceFastEthernet0/10vlan20
!
!
control-plane
!
!
!
linecon0
lineaux0
linevty04
login
!
end
sw4我这里没有做任何配置,大家可以根据需要在上面作访问控制列表之类的配置,好了,配置过程中遇到了一些问题,不过最后都解决了,坚持就是胜利啊!
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- HSRP 工程案例 工程 案例