R3204P16-HP Load Balancing Module High Availability Configuration Guide-6PW101

40
[LB B-Ten-GigabitEthernet0/0.1] ip address 10.1.1.3 24
[LB B-Ten-GigabitEthernet0/0.1] vrrp vrid 1 virtual-ip 10.1.1.1
# Set the priority of LB B in VRRP group 1 to 110.
[LB B-Ten-GigabitEthernet0/0.1] vrrp vrid 1 priority 110
# Set LB B to work in preemptive mode. The preemption delay is five seconds.
[LB B-Ten-GigabitEthernet0/0.1] vrrp vrid 1 preempt-mode timer delay 5
4. Configure LB C
# Configure VRRP to work in the load balancing mode.
<LBC> system-view
[LBC] vrrp mode load-balance
# Create VRRP group 1 and configure its virtual IP address as 10.1.1.1.
[LBC] interface Ten-GigabitEthernet 0/0.1
[LBC-Ten-GigabitEthernet0/0.1] ip address 10.1.1.4 24
[LBC-Ten-GigabitEthernet0/0.1] vrrp vrid 1 virtual-ip 10.1.1.1
# Set LB C to work in the preemptive mode. The preemption delay is five seconds.
[LBC-Ten-GigabitEthernet0/0.1] vrrp vrid 1 preempt-mode timer delay 5
5. Verify the configuration
After the configuration, Host A can ping the external network. You can use the display vrrp verbose
command to verify the configuration.
# Display detailed information of VRRP group 1 on LB A.
[LB A-Ten-GigabitEthernet0/0.1] display vrrp verbose
IPv4 Standby Information:
Run Mode : Load Balance
Run Method : Virtual MAC
Total number of virtual routers : 1
Interface Ten-GigabitEthernet0/0.1
VRID : 1 Adver Timer : 1
Admin Status : Up State : Master
Config Pri : 120 Running Pri : 120
Preempt Mode : Yes Delay Time : 5
Auth Type : None
Virtual IP : 10.1.1.1
Master IP : 10.1.1.2
Forwarder Information: 3 Forwarders 1 Active
Config Weight : 255
Running Weight : 255
Forwarder 01
State : Active
Virtual MAC : 000f-e2ff-0011 (Owner)
Owner ID : 0000-5e01-1101
Priority : 255
Active : local
Forwarder 02
State : Listening
Virtual MAC : 000f-e2ff-0012 (Learnt)