Part III: VMAC Format VMAC地址由3部分组成: 1>Vendor ID:MAC地址的前3个字节 2>HSRP code:2个字节,一般为07.ac,指示此地址为HSRP router。 3>Group ID:MAC地址的最后一个字节,为HSRP的组号。
Part Ⅶ:HSRP Command Reference 1> standby {group-number} ip {virtual-ip-address} group-number:缺省为0,可配置范围0-255 注:使用HSRP时,host设备不能发现HSRP router的真实MAC地址,所以在配置了HSRP时,cisco设备自动禁用了ICMP重定向:no ip redirects
6> show standby {type number} {group} {brief} Switch#show standby Vlan11 11 Vlan11 - Group 11 Local state is Active, priority 110 Hellotime 3 holdtime 10 Next hello sent in 00:00:02.944 Hot standby IP address is 172.16.11.115 configured Active router is local Standby router is 172.16.11.114 expires in 00:00:08 Standby virtual mac address is 0000.0c07.ac01
Part Ⅷ: HSRP Configuration RouterA: ! interface Vlan10 ip address 172.16.10.32 255.255.255.0 no ip redirects standby 1 priority 150 standby 1 ip 172.16.10.110 standby 2 priority 50 standby 2 ip 172.16.10.120 RouterB: ! interface Vlan10 ip address 172.16.10.33 255.255.255.0 no ip redirects standby 1 priority 50 standby 1 ip 172.16.10.110 standby 2 priority 150 standby 2 ip 172.16.10.120 RouterA#show standby brief P indicates configured to preempt. Interface Grp Prio P State Active Standby Virtual IP Vl10 1 150 Active local 172.16.10.33 172.16.10.110 Vl10 2 50 Standby 172.16.10.33 local 172.16.10.120