8-HSRP基本介绍实验 //GNS3模拟

一、实验拓扑:
8-HSRP基本介绍实验   //GNS3模拟
二、实验要求:
1、R1、R2、R3运行EIGRP 90;
2、R1、R2在接口f1/0下部署Standby 1,并设置192.168.10.254的主备网关;
3、实验目的:验证standby状态、邻居状态机
三、命令部署:

四、验证:
1、R2的优先级为200,R3的优先级为100
R2#show standby bri
P indicates configured to preempt.
|
Interface Grp Prio P State Active Standby Virtual IP
Fa1/0 1 200 Active local 192.168.10.252 192.168.10.254

R3#show standby brief
P indicates configured to preempt.
|
Interface Grp Prio P State Active Standby Virtual IP
Fa1/0 1 100 P Standby 192.168.10.253 local 192.168.10.254
结论:R2处于Active状态,R3处于Standby状态
2、R2接口down掉的时候:
R2(config)#int f1/0
R2(config-if)#shutdown
R2(config-if)#
*Mar 1 00:22:48.463: %HSRP-6-STATECHANGE: FastEthernet1/0 Grp 1 state Active -> Init

PC-1>ping 1.1.1.1 -c 20000
84 bytes from 1.1.1.1 icmp_seq=297 ttl=254 time=28.924 ms
1.1.1.1 icmp_seq=298 timeout
1.1.1.1 icmp_seq=299 timeout
1.1.1.1 icmp_seq=300 timeout
1.1.1.1 icmp_seq=301 timeout
1.1.1.1 icmp_seq=302 timeout
1.1.1.1 icmp_seq=303 timeout
84 bytes from 1.1.1.1 icmp_seq=304 ttl=254 time=27.893 ms
结论:R2会从Active变为Init状态,同时R3会有Coup政变和Resign辞职包,这里都是2个AD包
3、当R3优先级变为255时候:
R2#
Mar 1 00:06:12.259: %HSRP-6-STATECHANGE: FastEthernet1/0 Grp 1 state Active -> Speak
R2#
Mar 1 00:06:22.259: %HSRP-6-STATECHANGE: FastEthernet1/0 Grp 1 state Speak -> Standby
R2#show standby bri
P indicates configured to preempt.
|
Interface Grp Prio P State Active Standby Virtual IP
Fa1/0 1 200 Standby 192.168.10.252 local 192.168.10.254

R3(config-if)#
*Mar 1 00:06:02.251: %HSRP-6-STATECHANGE: FastEthernet1/0 Grp 1 state Standby -> Active
R3#show standby bri
P indicates configured to preempt.
|
Interface Grp Prio P State Active Standby Virtual IP
Fa1/0 1 255 P Active local 192.168.10.253 192.168.10.254
结论:R2从Active侦听到有更高的优先级,所以变为Speak,然后变为Standby
R3因为优先级最高,并且开启了抢占,从Standby变为Active
8-HSRP基本介绍实验   //GNS3模拟
8-HSRP基本介绍实验   //GNS3模拟

8-HSRP基本介绍实验   //GNS3模拟

转载于:https://blog.51cto.com/13856092/2137272

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值