H3C LS-3100-52P-OVS-H3 Operation Manual - page 853
1-33
[SwitchB–vlan-interface2] vrrp vrid 1 virtual-ip 192.168.0.10
[SwitchB–vlan-interface2] return
Use the display vrrp verbose command to display the configuration.
# Display the detailed information of VRRP group 1 on Switch A.
IPv4 Standby Information:
Run Method
: VIRTUAL-MAC
Total number of virtual routers: 1
Interface : vlan-interface2
VRID : 1 Adver. Timer : 1
Admin Status : UP State
: Master
Config Pri : 110 Run Pri
: 110
Preempt Mode : YES Delay Time
: 0
Auth Type : NONE
Track Object : 1
Pri Reduced
: 20
Virtual IP
: 192.168.0.10
Virtual MAC : 0000-5e00-0101
Master IP : 192.168.0.101
# Display the detailed information of VRRP group 1 on Switch B.
IPv4 Standby Information:
Run Method
: VIRTUAL-MAC
Total number of virtual routers: 1
Interface : vlan-interface2
VRID : 1 Adver. Timer : 1
Admin Status : UP State
: Backup
Config Pri : 100 Run Pri
: 100
Preempt Mode : YES Delay Time
: 0
Auth Type : NONE
Virtual IP : 192.168.0.10
Master IP : 192.168.0.101
The display above shows that, in VRRP group 1, Switch A is the master router and Switch B the backup
router.
# When the uplink of Switch A goes down, use the display vrrp command to display the detailed
information of VRRP group 1 on Switch A.
IPv4 Standby Information:
Run Method
: VIRTUAL-MAC
Interface : vlan-interface2
VRID : 1 Adver. Timer : 1
Admin Status : UP State
: Backup
Config Pri : 110 Run Pri
: 90
Preempt Mode : YES Delay Time
: 0
Auth Type : NONE
Track Object : 1
Pri Reduced
: 20
Virtual IP
: 192.168.0.10