beautypg.com

Displaying and maintaining dldp, Dldp configuration examples, Automatically shutting down unidirectional links – H3C Technologies H3C S12500-X Series Switches User Manual

Page 38: Network requirements, Configuration procedure

background image

30

Step Command

Remarks

3.

Configure the password for
DLDP authentication.

dldp authentication-password
{ cipher cipher | simple simple }

By default, no password is
configured for DLDP
authentication.
If you do not configure the
authentication password after you

configure the authentication mode,
the authentication mode is none no

matter which authentication mode

you configure.

Displaying and maintaining DLDP

Execute display commands in any view and the reset command in user view.

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 10

, 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 10 Network diagram

Configuration procedure

1.

Configure Device A:
# Enable DLDP globally.