Setting the port shutdown mode

About port shutdown modes

On detecting a unidirectional link, DLDP shuts down the ports in one of the following modes:

Restrictions and guidelines

You can set the port shutdown mode for all interfaces in system view or for a single interface in interface view. The setting in interface view takes precedence over the setting in system view.

To enable remote OAM loopback on a DLDP port, set the port shutdown mode to manual. Otherwise, DLDP automatically shuts down the port when it receives a packet sent by itself. This causes remote OAM loopback failure. For more information about Ethernet OAM, see "Configuring Ethernet OAM."

Setting the global port shutdown mode

  1. Enter system view.

    system-view

  2. Set the global port shutdown mode.

    dldp unidirectional-shutdown { auto | hybrid | manual }

    The default mode is auto.

Setting the port shutdown mode for an interface

  1. Enter system view.

    system-view

  2. Enter Ethernet interface view.

    interface interface-type interface-number

  3. Set the the port shutdown mode for the interface.

    dldp port unidirectional-shutdown { auto | hybrid | manual }

    By default, the global setting is used.