Enabling EFM on an Interface
Context
After EFM is enabled on interfaces connecting local and remote EFM entities, the two entities set up an EFM connection to monitor connectivity of the link.
EFM can be configured on Layer 2 and Layer 3 Ethernet interfaces. By default, an Ethernet interface works in Layer 2 mode. Before configuring EFM on a Layer 3 Ethernet interface, switch the Ethernet interface to Layer 3 mode.
Eth-Trunks do not support EFM.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of the interface at one end of the link is displayed.
- (Optional) On an Ethernet interface, run undo portswitch
The interface is switched to Layer 3 mode.
By default, an Ethernet interface works in Layer 2 mode.
- Run efm enable
EFM is enabled on the interface.
By default, EFM is disabled on an interface.
Before using this command, ensure that EFM has been enabled globally using the efm enable command.