beautypg.com

H3C Technologies H3C S6800 Series Switches User Manual

Page 20

background image

12

[DeviceA] interface fortygige 1/0/1

[DeviceA-FortyGigE1/0/1] duplex full

[DeviceA-FortyGigE1/0/1] speed 40000

[DeviceA-FortyGigE1/0/1] dldp enable

[DeviceA-FortyGigE1/0/1] quit

# Configure FortyGigE 1/0/2 to operate in full duplex mode and at 40000 Mbps, and enable

DLDP on the port.

[DeviceA] interface fortygige 1/0/2

[DeviceA-FortyGigE1/0/2] duplex full

[DeviceA-FortyGigE1/0/2] speed 40000

[DeviceA-FortyGigE1/0/2] dldp enable

[DeviceA-FortyGigE1/0/2] quit

# Set the port shutdown mode to manual.

[DeviceA] dldp unidirectional-shutdown manual

2.

Configure Device B:
# Enable DLDP globally.

system-view

[DeviceB] dldp global enable

# Configure FortyGigE 1/0/1 to operate in full duplex mode and at 40000 Mbps, and enable
DLDP on it.

[DeviceB] interface fortygige 1/0/1

[DeviceB-FortyGigE1/0/1] duplex full

[DeviceB-FortyGigE1/0/1] speed 40000

[DeviceB-FortyGigE1/0/1] dldp enable

[DeviceB-FortyGigE1/0/1] quit

# Configure FortyGigE 1/0/2 to operate in full duplex mode and at 40000 Mbps, and enable
DLDP on it.

[DeviceB] interface fortygige 1/0/2

[DeviceB-FortyGigE1/0/2] duplex full

[DeviceB-FortyGigE1/0/2] speed 40000

[DeviceB-FortyGigE1/0/2] dldp enable

[DeviceB-FortyGigE1/0/2] quit

# Set the port shutdown mode to manual.

[DeviceB] dldp unidirectional-shutdown manual

3.

Verify the configuration:
After the configurations are complete, you can use the display dldp command to display the DLDP
configuration globally and on ports.
# Display the DLDP configuration globally and on all the DLDP-enabled ports of Device A.

[DeviceA] display dldp

DLDP global status: Enabled

DLDP advertisement interval: 5s

DLDP authentication-mode: None

DLDP unidirectional-shutdown mode: Manual

DLDP delaydown-timer value: 1s

Number of enabled ports: 2

This manual is related to the following products: