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
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
, 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.
- H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C S6300 Series Switches H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches