The dldp work-mode command sets the working mode of DLDP.
The undo dldp work-mode command restores the default working mode of DLDP.
By default, the working mode of DLDP is enhance.
Parameter |
Description |
Value |
---|---|---|
enhance |
Indicates enhance mode of DLDP. |
- |
normal |
Indicates normal mode of DLDP. |
- |
Usage Scenario
A unidirectional link fault may be caused by cross connections of optical fibers or disconnection of one optical fiber. You can use the dldp work-mode command to set the working mode of DLDP to detect the preceding two types of unidirectional links.
DLDP can work in either of the following working modes:
Normal: DLDP does not automatically detect a neighbor when aging out a neighbor entry. In this mode, the system can identify only unidirectional links caused by cross connections of optical fibers. When the aging timer of a neighbor times out, the local end deletes the entry of the neighbor and sends an Advertisement packet with an RSY tag.
Enhance: DLDP automatically detects a neighbor when aging out a neighbor entry. In this mode, the system can identify unidirectional links caused by cross connections of optical fibers or disconnection of one optical fiber. In this mode, when the aging timer of a neighbor times out, the local end starts the enhance timer and consecutively sends eight Probe packets to detect the neighbor, at the rate of one packet per second. If the local end does not receive any Echo packet from the neighbor when the Echo timer times out, DLDP enters the Disable state.
Prerequisites
DLDP has been enabled globally using the dldp enable command.