1-6
manual: Prompts the user to disable manually the corresponding port when DLDP detects an
unidirectional link or finds in the enhanced mode that the peer port is down. After the port is disabled, it
can only send and receive Recover Probe and Recover Echo packets.
Description
Use the dldp unidirectional-shutdown command to set the DLDP handling mode for unidirectional
links.
Use the undo dldp unidirectional-shutdown command to restore the default DLDP handling mode.
By default, the DLDP handling mode after a unidirectional link is detected is auto.
Examples
# Configure DLDP to shut down the corresponding port on detecting a unidirectional link.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] dldp unidirectional-shutdown auto
dldp work-mode
Syntax
dldp work-mode { enhance | normal }
undo dldp work-mode
View
System view
Parameters
enhance: Configures DLDP to work in enhanced mode. In this mode, DLDP detects whether neighbors
exist when neighbor tables are aging.
normal: Configures DLDP to work in normal mode. In this mode, DLDP does not detect whether
neighbors exist when neighbor tables are aging.
Description
Use the dldp work-mode command to set the DLDP operating mode.
Use the undo dldp work-mode command to restore the default DLDP operating mode.
By default, DLDP works in normal mode.
z When DLDP works in normal mode, the system can identify only the unidirectional links caused by
fiber cross-connection.
z When the DLDP protocol works in enhanced mode, the system can identify two types of
unidirectional links: one is caused by fiber cross-connection and the other is caused by one fiber
being not connected or being disconnected.