Configuration procedure – H3C Technologies H3C SecBlade LB Cards User Manual
Page 52
44
Figure 27 Network diagram
Configuration procedure
1.
Configure LB A:
[LBA] interface gigabitethernet0/1
[LBA-GigabitEthernet0/1] ip address 202.38.160.1 255.255.255.0
# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.
[LBA-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the priority of LB A in VRRP group 1 to 110, which is higher than that of LB B (100), so that
LB A can become the master in VRRP group 1.
[LBA-GigabitEthernet0/1] vrrp vrid 1 priority 110
# Create VRRP group 2 and configure its virtual IP address as 202.38.160.112.
[LBA-GigabitEthernet0/1] vrrp vrid 2 virtual-ip 202.38.160.112
2.
Configure LB B:
[LBB] interface gigabitethernet0/1
[LBB-GigabitEthernet0/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.
[LBB-GigabitEthernet0/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.
[LBB-GigabitEthernet0/1] vrrp vrid 2 virtual-ip 202.38.160.112
# Set the priority of LB B in VRRP group 2 to 110, which is higher than that of LB A (100), so that
LB B can become the master in VRRP group 2.
[LBB-GigabitEthernet0/1] vrrp vrid 2 priority 110
3.
Verify the configuration:
To verify your configuration, use the display vrrp verbose command.
# Display the detailed information about the VRRP group on LB A.
[LBA-GigabitEthernet0/1] display vrrp verbose
IPv4 Standby Information: