R1
interface Ethernet0/0
ip address 192.168.1.2 255.255.255.0
half-duplex
!
interface Ethernet0/1
ip address 172.16.1.1 255.255.255.0
shutdown
half-duplex
standby 1 ip 172.16.1.100
standby 1 timers 5 15 //设置holle包超时时间,5 为五秒无hello包为超时,15为再等待15秒,15秒内无hello包则认为该端口down
standby 1 preempt //开启抢占机制
standby 1 track Ethernet0/1 20 //跟踪E0/1接口,如果该接口down掉,则将优先级减20

R2
interface Ethernet0/0
ip address 10.0.0.2 255.255.255.0
half-duplex
!
interface Ethernet0/1
ip address 172.16.1.2 255.255.255.0
half-duplex
standby 1 ip 172.16.1.100
standby 1 timers 5 15
standby 1 priority 80
standby 1 preempt
standby 1 track Ethernet0/1 20

HSRP基本配置实验。

 

转载于:https://blog.51cto.com/hujizhou/1130490

相关文章:

  • 2021-08-31
  • 2021-10-12
  • 2021-10-06
  • 2021-05-26
猜你喜欢
  • 2021-07-23
  • 2021-08-31
  • 2021-08-06
  • 2022-01-06
  • 2021-09-18
  • 2021-06-04
  • 2021-11-04
相关资源
相似解决方案