设为首页收藏本站language 语言切换
查看: 3112|回复: 14
收起左侧

[分享] 思科Catalyst8500配置实例之HSRP协议

[复制链接]
 成长值: 64645
发表于 2017-9-28 14:21:31 | 显示全部楼层 |阅读模式
本例主要涉及HSRP协议培植,使用HSRP可使用网络提供更好的访问性能,并使网络拓扑结构对主机来说是透明的。活动路由器受HSRP中培植的备份路由器的监控,一旦活动路由器失去作用,备份路由器取代它从而变为活动路由器。
Helper address 通过发送广播到目标服务器使连接变得更容易。
本例里:helper address 是一个DHCP 地址。
本例也包括对IP多播,DVMRP通道,和PIM的配置。
version 12.0
service slave-coredump
no service pad
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service dup-small-servers
service tcp-small-servers
!
hostname Ceneter_8540
!
aaa new-model
aaa authentication login admin tacacs+enable
enable password 7 105D100A0618
!
no ip rcmd domain-lookup
ip rcmd rcp-enable
ip rcmd rsh-enable
ip rcmd remote-host root 172.19.1.162 root enable
ip rcmd remote-host root 172.19.2.81 root enable
ip rcmd remote-host root 172.19.6.66 root enable
ip rcmd remote-host root 172.19.43.19 root enable
ip rcmd remote-username root
ip domain-name a.com
ip name-server 12.19.2.132
ip name-server 198.22.30.32
ip multicast-routing
ip dvmrp route-limit 7000
clock timezone PST -8
clock summer-time PDT recurring
!
INTERACE FastEthernet1/0/0
ip address 172.19.95.197 255.255.255.192
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/1
description Bldg 1 Network A
ip address 172.19.93.1 255.255.255.192
ip helper-address 172.19.2.74
ip helper-address 172.19.2.123
ip helper-address 172.19.30.31
ip helper-address 172.19.2.121
ip helper-address 172.27.84.140
ip helper-address 172.19.67.35
no ip redirects
no ip directed-broadcast
ip pim sparse-mode
ntp broadcast key 10
standby priority 200
standby preempt
standby ip 172.19.93.6
!
interface FastEthernet1/0/2
ip address 172.19.90.1 255.255.255.192
ip helper-address 172.19.2.74
ip helper-address 172.19.2.123
ip helper-address 172.19.30.31
ip helper-address 172.19.2.121
ip helper-address 172.27.84.140
ip helper-address 172.19.67.35
no ip redirects
no ip directed-broadcast
ip pim sparse-mode
ntp broadcast key 10
standby priority 200
standby preempt
standby ip 172.19.90.6
standby track FastEthernet1/0/3 150
!
interface FastEthernet1/0/3
ip address 172.19.91.1 255.255.255.192
ip helper-address 172.19.2.74
ip helper-address 172.19.2.123
ip helper-address 172.19.30.31
ip helper-address 172.19.2.121
ip helper-address 172.27.84.140
ip helper-address 172.19.67.35
no ip redirects
no ip directed-broadcast
ip pim sparse-mode
ntp broadcast key 10
standby priority 200
standby preempt
standby ip 172.19.91.6
!
interface FastEthernet1/0/4
description Building 2 Network A
ip address 172.19.90.1 255.255.255.192
ip helper-address 172.19.2.74
ip helper-address 172.19.2.123
ip helper-address 172.19.30.31
ip helper-address 172.19.2.121
ip helper-address 172.27.84.140
ip helper-address 172.19.67.35
no ip redirects
no ip directed-broadcast
ip pim sparse-mode
ntp broadcast key 10
standby priority 200
standby preempt
standby ip 172.19.88.6
!
interface FastEthernet1/0/4
description Building 3 Network A
ip address 172.19.90.1 255.255.255.192
ip helper-address 172.19.2.74
ip helper-address 172.19.2.123
ip helper-address 172.19.30.31
ip helper-address 172.19.2.121
ip helper-address 172.27.84.140
ip helper-address 172.19.67.35
no ip redirects
no ip directed-broadcast
ip pim sparse-mode
ntp broadcast key 10
standby priority 200
standby preempt
standby ip 172.19.89.6
!
interface FastEthernet1/0/6
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/7
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/8
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/9
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/10
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/11
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/12
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/13
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/14
no ip address
no ip directed-broadcast
no keepalive
!
interface FastEthernet1/0/15
no ip address
no ip directed-broadcast
no keepalive
!
interface Ethernet0
no ip address
no ip directed-broadcast
shutdown
!
router eigrp 109
network 172.19.0.0
no auto-summary
!
ip forward-protocol udp sunrpc
ip pim accept-rp auto-rp
ip pim accept-rp 172.19.10.13
logging 172.19.43.19
snmp-server community 8540 RO98
snmp-server community Cisco RW 99
snmp-server host 172.19.43.19 traps public
tacacs-server host 172.19.2.210
trcacs-server timeout 15
!
游客,如果您要查看本帖隐藏内容请回复

发表于 2017-9-28 14:53:17 | 显示全部楼层
1232132131
沙发 2017-9-28 14:53:17 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2017-9-30 09:22:56 | 显示全部楼层
谢谢楼主分享
地板 2017-9-30 09:22:56 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2017-11-22 09:01:15 | 显示全部楼层
昨天回复了啊,怎么还需要
5# 2017-11-22 09:01:15 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-6-5 16:03:28 | 显示全部楼层
谢谢卤煮分享
6# 2018-6-5 16:03:28 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2019-2-19 11:42:25 | 显示全部楼层
111111111111111111111
9# 2019-2-19 11:42:25 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2019-4-11 08:15:36 | 显示全部楼层
Thank you for sharing!
10# 2019-4-11 08:15:36 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2020-2-2 21:25:48 | 显示全部楼层
ddddddddddddddddd
13# 2020-2-2 21:25:48 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2020-2-3 01:40:24 | 显示全部楼层
感谢楼主分享
14# 2020-2-3 01:40:24 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2020-2-20 12:55:03 | 显示全部楼层
good sharing
15# 2020-2-20 12:55:03 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-26 16:16 , Processed in 0.183567 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表