Configuration procedure – H3C Technologies H3C MSR 5600 User Manual
Page 34
26
Figure 11 Network diagram
Configuration procedure
1.
Configure Router A:
# Configure VRRP to operate in load balancing mode.
[RouterA] vrrp mode load-balance
# Create VRRP group 1, and set its virtual IP address to 10.1.1.1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 10.1.1.2 24
[RouterA-Ethernet1/1] vrrp vrid 1 virtual-ip 10.1.1.1
# Assign Router A the highest priority in VRRP group 1, so Router A can become the master.
[RouterA-Ethernet1/1] vrrp vrid 1 priority 120
# Configure Router A to operate in preemptive mode, so it can become the master whenever it
operates correctly. Set the preemption delay to 5 seconds to avoid frequent status switchover.
[RouterA-Ethernet1/1] vrrp vrid 1 preempt-mode delay 5
[RouterA-Ethernet1/1] quit
# Create track entry 1 to monitor the upstream link status of Ethernet 1/2. When the upstream link
fails, the track entry transits to Negative.
[RouterA] track 1 interface ethernet 1/2
# Configure the VFs in VRRP group 1 to monitor track entry 1, and decrease their weights by 250
when the track entry transits to Negative.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] vrrp vrid 1 weight track 1 reduced 250
2.
Configure Router B: