实验之hsrp_休闲

此处r1:

interface Ethernet0/0
 ip address 192.168.1.1 255.255.255.0
 half-duplex
 standby 10 ip 192.168.1.254
 standby 10 priority 160
 standby 10 preempt
 standby 10 track Ethernet0/1 70
!        
interface Ethernet0/1
 ip address 192.168.2.1 255.255.255.0
 half-duplex
 standby 20 ip 192.168.2.254
 standby 20 preempt

r2:

!        
interface Ethernet0/0
 ip address 192.168.1.2 255.255.255.0
 half-duplex
 standby 10 ip 192.168.1.254
 standby 10 preempt
!        
interface Ethernet0/1
 ip address 192.168.2.2 255.255.255.0
 half-duplex
 standby 20 ip 192.168.2.254
 standby 20 priority 160
 standby 20 preempt
 standby 20 track Ethernet0/0 70