CCNP(BCMSN)实验:配置HSRP接口追踪

网友投稿 325 2022-09-22


CCNP(BCMSN)实验:配置HSRP接口追踪

R2(config)#R2(config)#int lo0R2(config-if)#ip add 2.2.2.2 255.255.255.0R2(config-if)#int f0/0R2(config-if)#ip add 192.168.0.2 255.255.255.0R2(config-if)#no sh

R3(config)#int f0/0R3(config-if)#ip add 192.168.0.3 255.255.255.0R3(config-if)#no shR3(config-if)#exi R3(config)#no ip routingR3(config)#ip default-gateway 192.168.0.100实验过程

第一步:配置R1的HSRPR1(config)#int f0/0R1(config-if)#standby 1 ip 192.168.0.100R1(config-if)#standby 1 priority 150R1(config-if)#standby 1 track lo0 60R1(config-if)#standby 1 preempt第二步:配置R2的HSRPR2(config)#int f0/0R2(config-if)#standby 1 ip 192.168.0.100R2(config-if)#standby 1 track lo0R2(config-if)#standby 1 preemptR2(config-if)#exit第三步:在R3上pingR3#ping 192.168.0.100

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.0.100, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 4/220/1052 ms第四步:我们在R1上down到lo0,后在show R2的standbyR2(config)#do sh standbyFastEthernet0/0 - Group 1State is Active2 state changes, last state change 00:00:50Virtual IP address is 192.168.0.100Active virtual MAC address is 0000.0c07.ac01Local virtual MAC address is 0000.0c07.ac01 (default)Hello time 3 sec, hold time 10 secNext hello sent in 0.808 secsPreemption enabledActive router is localStandby router is 192.168.0.1, priority 90 (expires in 8.804 sec)Priority 100 (default 100)Track interface Loopback0 state Up decrement 10IP redundancy name is "hsrp-Fa0/0-1" (default)//R2为active路由器第五步:我们在打开int lo0,并查看R2(config)#do sh standbyFastEthernet0/0 - Group 1State is Standby4 state changes, last state change 00:00:18Virtual IP address is 192.168.0.100Active virtual MAC address is 0000.0c07.ac01Local virtual MAC address is 0000.0c07.ac01 (default)Hello time 3 sec, hold time 10 secNext hello sent in 2.972 secsPreemption enabledActive router is 192.168.0.1, priority 150 (expires in 8.976 sec)Standby router is localPriority 100 (default 100)Track interface Loopback0 state Up decrement 10IP redundancy name is "hsrp-Fa0/0-1" (default)//R2原 为 备份路由器。


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Java String类字符串的理解与认知
下一篇:jpa实体@ManyToOne @OneToMany无限递归方式
相关文章

 发表评论

暂时没有评论,来抢沙发吧~