Configuring basic Ethernet OAM functions
About Ethernet OAM modes
To set up an Ethernet OAM connection between two Ethernet OAM entities, you must set at least one entity to operate in active mode. An Ethernet OAM entity can initiate OAM connection only in active mode.
Restrictions and guidelines
To change the Ethernet OAM mode on an Ethernet OAM-enabled port, first disable Ethernet OAM on the port.
Procedure
Enter system view.
System-view
Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
Set the Ethernet OAM mode.
oam mode { active | passive }
The default is active Ethernet OAM mode.
Enable Ethernet OAM.
oam enable
Ethernet OAM is disabled by default.