Setting the port shutdown mode
On detecting a unidirectional link, DLDP shuts down the ports in one of the following modes:
Auto mode—When a unidirectional link is detected, DLDP changes the DLDP port state to unidirectional. The unidirectional port periodically sends RecoverProbe packets. When a correct RecoverEcho packet is received, the link is restored to a bidirectional link, and the port state changes from unidirectional to bidirectional. This process is called link auto-recovery mechanism.
Manual mode—When a unidirectional link is detected, DLDP does not shut down the port, and you must manually shut it down. When the link state is restored to bidirectional, you must manually bring up the port. Use this mode to prevent normal links from being shut down because of false unidirectional link reports in the following cases:
The network performance is low.
The device is busy.
The CPU usage is high.
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."
To set port shutdown mode:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Set port shutdown mode. | dldp unidirectional-shutdown { auto | manual } | The default mode is auto. |