3Com 5500 Switch User Manual


 
64 CHAPTER 12: DLDP CONFIGURATION GUIDE
# Configure the ports to work in mandatory full duplex mode at 1000 Mbps.
<SwitchA> system-view
[SwitchA] interface GigabitEthernet 1/1/3
[SwitchA-GigabitEthernet1/1/3] duplex full
[SwitchA-GigabitEthernet1/1/3] speed 1000
[SwitchA-GigabitEthernet1/1/3] quit
[SwitchA] interface GigabitEthernet 1/1/4
[SwitchA-GigabitEthernet1/1/4] duplex full
[SwitchA-GigabitEthernet1/1/4] speed 1000
[SwitchA-GigabitEthernet1/1/4] quit
# 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 work-mode enhance
# Configure DLDP to shut down a port automatically once a unidirectional link is
detected on it.
[SwitchA] dldp unidirectional-shutdown auto
# 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 work-mode enhance
#
interface Gigabitethernet 1/1/3
duplex full
speed 1000
dldp enable
#
interface Gigabitethernet 1/1/4
duplex full
speed 1000
dldp enable
Configuration on Switch B