64CHAPTER 12: DLDP CONFIGURATION GUIDE
#Configure the ports to work in mandatory full duplex mode at 1000 Mbps.
<SwitchA>
[SwitchA] interface GigabitEthernet 1/1/3
# Enable DLDP globally.
[SwitchA] dldp enable
# Set the interval for sending DLDP packets to 15 seconds.
[SwitchA] dldp interval 15
# Configure DLDP to operate in enhanced mode.
[SwitchA] dldp
#Configure DLDP to shut down a port automatically once a unidirectional link is detected on it.
[SwitchA] dldp
# Display the DLDP state.
[SwitchA] display dldp 1
# Restore the ports brought down by DLDP.
[SwitchA] dldp reset
■Configure Switch B
The configuration on Switch B is the same as that on Switch A.
Complete Configuration ■ Configuration on Switch A
#
dldp interval 15
dldp
#
interface Gigabitethernet 1/1/3 duplex full
speed 1000 dldp enable
#
interface Gigabitethernet 1/1/4 duplex full
speed 1000 dldp enable