HSRP
拓扑
Active#show standby
FastEthernet1/0 - Group 1 ---定义standby的组number
State is Active ---设备状态
2 state changes, last state change 00:00:03
Virtual IP address is 10.1.1.100 --虚拟网关地址
Active virtual MAC address is 0000.0c(思科)07.ac(HSRP)01(组number)--虚拟MAC(可以修改)
Local virtual MAC address is 0000.0c07.ac01 (v1 default)
Hello time 3 sec, hold time 10 sec--计时器(可以修改,3倍多一点的hold time)
Next hello sent in 2.152 secs
Preemption disabled---抢占功能默认关闭(可以开启)
严重提醒:standby角色可以抢占!!!
Active router is local
Standby router is unknown
Priority 100 (default 100)---优先级默认100(可以修改)
Group name is "hsrp-Fa1/0-1" (default)--组名(可以修改)
Active#sh run int f1/0
!
interface FastEthernet1/0
ip address 10.1.1.2 255.255.255.0
duplex auto
speed auto
standby 1 ip 10.1.1.100
standby 1 timers 1 3
standby 1 priority 110
standby 1 preempt
standby 1 name PC-QYT
standby 1 mac-address 0001.0001.0001
Active#show standby {brief}
FastEthernet1/0 - Group 1
State is Active
2 state changes, last state change 00:05:11
Virtual IP address is 10.1.1.100
Active virtual MAC address is 0001.0001.0001
Local virtual MAC address is 0001.0001.0001 (confgd)
Hello time 1 sec, hold time 3 sec
Next hello sent in 0.580 secs
Preemption enabled
Active router is local
Standby router is unknown
Priority 110 (configured 110)
Group name is "PC-QYT" (cfgd)
#show standby delay
#debug standby