3Com 5500, 4210 # Enable Dldp globally, # Set the interval for sending Dldp packets to 15 seconds

Models: 4210 5500 5500G 4200G

1 336
Download 336 pages 59.74 Kb
Page 64
Image 64

64CHAPTER 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

Page 64
Image 64
3Com 5500 # Enable Dldp globally, # Set the interval for sending Dldp packets to 15 seconds, # Display the Dldp state