beautypg.com

Dldp configuration examples, Automatically shutting down unidirectional links, Network requirements – H3C Technologies H3C S6800 Series Switches User Manual

Page 16: Configuration procedure

background image

8

Task Command

Display the DLDP configuration globally and of a port.

display dldp [ interface interface-type
interface-number
]

Display the statistics on DLDP packets passing through
a port.

display dldp statistics [ interface interface-type
interface-number
]

Clear the statistics on DLDP packets passing through a
port.

reset dldp statistics [ interface interface-type
interface-number
]

DLDP configuration examples

Automatically shutting down unidirectional links

Network requirements

As shown in

Figure 5

, Device A and Device B are connected with two fiber pairs.

Configure DLDP to automatically shut down the faulty port upon detecting a unidirectional link, and

automatically bring up the port after you clear the fault.

Figure 5 Network diagram

Configuration procedure

1.

Configure Device A:
# Enable DLDP globally.

system-view

[DeviceA] dldp global enable

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

[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

This manual is related to the following products: