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

Cisco HSRP 的配置

[复制链接]
发表于 2013-12-2 15:54:41 | 显示全部楼层 |阅读模式
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r1
!
enable password cisco
!
ip subnet-zero
!
!
!
!
interface Ethernet0
ip address 136.147.107.101 255.255.0.0
no ip redirects
no ip directed-broadcast
standby 150 timers 5 15 /* 定义150 组5 秒交换一次hello 信息,15 秒没收到hello 信息就开始切换*/
standby 150 priority 110 /* 定义150 组的主路由器权值,值越大,为主路由器希望越大*/
standby 150 preempt /* enable 150 组的hsrp 抢占功能*/
standby 150 authentication cisco /* 设置150 组的router 身份验证串*/
standby 150 ip 136.147.107.100 /* 定义150 组的浮动地址,也是这台router 连接的网络的网关*/
standby 150 track Ethernet0 /* 定义监控的端口*/
!
interface Serial0
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
no fair-queue
!
ip classless
!
!
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
line con 0
transport input none
line 1 16
line aux 0
line vty 0 4
password cisco
login
!
end





                               
登录/注册后可看大图
该贴已经同步到 huangjun6920的微博
发表于 2018-6-5 16:52:11 | 显示全部楼层
谢谢卤煮分享
沙发 2018-6-5 16:52:11 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-2 12:40 , Processed in 0.060899 second(s), 16 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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