The vrrp vrid track efm command configures a VRRP group to monitor EFM sessions to implement a rapid master/backup VRRP switchover.
The undo vrrp vrid track efm command disables a VRRP group from monitoring EFM sessions.
By default, a VRRP group does not monitor EFM sessions.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view
Usage Scenario
You can configure a VRRP group to monitor a Bidirectional Forwarding Detection (BFD) session to implement a rapid master/backup VRRP switchover. However, this method does not apply to some networks or devices that do not support BFD. If a device does not support BFD but supports EFM, you can configure a VRRP group to monitor an EFM session. With such a configuration, if an EFM session goes Down, the EFM module notifies the VRRP group of the fault. After the VRRP group receives the notification, it performs a rapid master/backup VRRP switchover.
Prerequisites
A VRRP group and an EFM session have been created.
Configuration Impact
After the vrrp vrid track efm command is run, the EFM session status affects the VRRP status.
Precautions
Each VRRP group can monitor only one EFM session. When VRRP groups monitor EFM sessions, they can no longer monitor link BFD or CFM sessions.
<HUAWEI> system-view [~HUAWEI] efm enable [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] efm enable [*HUAWEI-GigabitEthernet0/1/0] ip address 10.1.1.1 24 [*HUAWEI-GigabitEthernet0/1/0] vrrp vrid 1 virtual-ip 10.1.1.111 [*HUAWEI-GigabitEthernet0/1/0] vrrp vrid 1 track efm interface GigabitEthernet 0/1/0