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

  1. Enter system view.

    System-view

  2. Enter Layer 2/Layer 3 Ethernet port view.

    interface interface-type interface-number

  3. Set the Ethernet OAM mode.

    oam mode { active | passive }

    The default is active Ethernet OAM mode.

  4. Enable Ethernet OAM.

    oam enable

    Ethernet OAM is disabled by default.