H3C Technologies H3C MSR 50 User Manual
Page 97
89
[RouterC-Ethernet1/1] vrrp vrid 1 weight track 1 reduced 250
[RouterC-Ethernet1/1] quit
# Create track entries 2 and 3 to monitor Router A and Router B, respectively. If a track entry
becomes negative, it indicates that the corresponding router fails.
[RouterC] bfd echo-source-ip 1.2.3.4
[RouterC] track 2 bfd echo interface ethernet 1/1 remote ip 10.1.1.2 local ip 10.1.1.4
[RouterC] track 3 bfd echo interface ethernet 1/1 remote ip 10.1.1.3 local ip 10.1.1.4
# Configure VF tracking to monitor track entry 2. When track entry 2 becomes negative, the LVF
on Router C whose corresponding AVF is on the router with the IP address of 10.1.1.2
immediately becomes active. Router C takes over the AVF on Router A.
[RouterC] interface ethernet 1/1
[RouterC-Ethernet1/1] vrrp vrid 1 track 2 forwarder-switchover member-ip 10.1.1.2
# Configure VF tracking to monitor track entry 3. When track entry 3 becomes negative, the LVF
on Router C whose corresponding AVF is on the router with the IP address of 10.1.1.3
immediately becomes active. Router C takes over the AVF on Router B.
[RouterC-Ethernet1/1] vrrp vrid 1 track 3 forwarder-switchover member-ip 10.1.1.3
4.
Verify the configuration:
After the configuration, Host A can ping the external network. To verify the configuration, use the
display vrrp verbose command.
# Display the detailed information about VRRP group 1 on Router A.
[RouterA-Ethernet1/1] display vrrp verbose
IPv4 Standby Information:
Run Mode : Load Balance
Run Method : Virtual MAC
Total number of virtual routers : 1
Interface Ethernet1/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
Member IP List : 10.1.1.2 (Local, Master)
10.1.1.3 (Backup)
10.1.1.4 (Backup)
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