H3C Technologies H3C SR8800 User Manual
Page 82

73
# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.
[RouterA-GigabitEthernet4/1/1] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the priority of Router A in VRRP group 1 to 110, which is higher than that of Router B (100),
so that Router A can become the master in VRRP group 1.
[RouterA-GigabitEthernet4/1/1] vrrp vrid 1 priority 110
# Create VRRP group 2 and configure its virtual IP address as 202.38.160.112.
[RouterA-GigabitEthernet4/1/1] vrrp vrid 2 virtual-ip 202.38.160.112
2.
Configure Router B:
[RouterB] interface GigabitEthernet 4/1/1
[RouterB-GigabitEthernet4/1/1] ip address 202.38.160.2 255.255.255.0
# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.
[RouterB-GigabitEthernet4/1/1] vrrp vrid 1 virtual-ip 202.38.160.111
# Create VRRP group 2 and configure its virtual IP address as 202.38.160.112.
[RouterB-GigabitEthernet4/1/1] vrrp vrid 2 virtual-ip 202.38.160.112
# Set the priority of router B in VRRP group 2 to 110, which is higher than that of Router A (100),
so that Router B can become the master in VRRP group 2.
[RouterB-GigabitEthernet4/1/1] vrrp vrid 2 priority 110
3.
Verify the configuration:
To verify your configuration, use the display vrrp verbose command.
# Display the detailed information of the VRRP group on Router A.
[RouterA-GigabitEthernet4/1/1] display vrrp verbose
IPv4 Standby Information:
Run Mode : Standard
Run Method : Virtual MAC
Total number of virtual routers : 2
Interface GigabitEthernet4/1/1
VRID : 1 Adver Timer : 1
Admin Status : Up State : Master
Config Pri : 110 Running Pri : 110
Preempt Mode : Yes Delay Time : 0
Auth Type : None
Virtual IP : 202.38.160.111
Virtual MAC : 0000-5e00-0101
Master IP : 202.38.160.1
Interface GigabitEthernet4/1/1
VRID : 2 Adver Timer : 1
Admin Status : Up State : Backup
Config Pri : 100 Running Pri : 100
Preempt Mode : Yes Delay Time : 0
Auth Type : None
Virtual IP : 202.38.160.112
Master IP : 202.38.160.2
# Display the detailed information of the VRRP group on Router B.
[RouterB-GigabitEthernet4/1/1] display vrrp verbose
IPv4 Standby Information: