Configuring the Association Between EFM OAM and an Interface
When the primary and backup links are deployed, you can associate EFM OAM with an interface to perform rapid service switchovers.
Usage Scenario
A device configured with IP services is usually connected to an IP network over the primary and backup links to improve network robustness and service reliability. In the current mainstream design, devices configured with IP services usually use VRRP to perform primary and backup link detection and switchovers. As a result, reliability cannot be ensured for carrier-class services.
After EFM OAM is associated with an interface, the link layer protocol status of the interface is set to Down if a link fault is detected. This association triggers rapid route convergence to block services at the link layer and implement rapid route switchovers.
Pre-configuration Tasks
Before associating EFM OAM with an interface, configure basic EFM OAM functions.
Associating EFM OAM with an Interface
You can associate EFM OAM with an interface to perform rapid service switchovers.
(Optional) Setting the Time During Which the EFM OAM Status of an Interface Remains Down
After EFM OAM is associated with an interface, you can adjust the delay in changing the EFM OAM status of an interface from Down to Up by setting the time during which the EFM OAM status of the interface remains Down, if a link connectivity fault is rectified.
Pre-configuration Tasks
Before setting the time during which the EFM OAM status of an interface remains Down, associate EFM OAM with the interface.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of the interface at one end of a link is displayed.
- Run efm holdup-timer time
The time during which the EFM OAM status of the interface remains Down is set.
If the parameter time is not specified, the EFM OAM status of an interface immediately changes from Down to Up when a link connectivity fault is rectified. If the parameter time is specified, the EFM OAM status of an interface changes from Down to Up only when a link connectivity fault is rectified and after the time specified by the parameter time elapses. Setting the parameter time can reduce link flapping. You can run the recover efm-down command to change the EFM OAM status of an interface from Down to Up.
- Run commit
The configuration is committed.