Displaying And Maintaining Dldp; Dldp Configuration Examples; Automatically Shutting Down Unidirectional Links - H3C S5120-EI Series Configuration Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Reset DLDP state.
Resetting DLDP state in interface view/port group view
Resetting DLDP state in interface view or port group view applies to the current port or all ports in the port
group.
To reset DLDP state in interface view/port group view:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view or port group
view.
3.
Reset DLDP state.

Displaying and maintaining DLDP

Task
Display the DLDP configuration of
a port.
Display the statistics on DLDP
packets passing through a port.
Clear the statistics on DLDP packets
passing through a port.

DLDP configuration examples

Automatically shutting down unidirectional links

Network requirements
As shown in
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.
Command
system-view
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
dldp reset
Command
display dldp [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
display dldp statistics [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
reset dldp statistics [ interface-type
interface-number ]
Figure
9, Device A and Device B are connected with two fiber pairs.
Command
system-view
dldp reset
44
Remarks
N/A
Use either approach.
Configurations made in Layer 2
Ethernet interface view apply to the
current port only. Configurations
made in port group view apply to all
the ports in the port group.
N/A
Remarks
Available in any view
Available in any view
Available in user view

Advertisement

Table of Contents
loading

Table of Contents