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

Page 51: Network requirements, Resetting, Dldp state in interface view/port group view

Advertising
background image

42

Follow these steps to reset DLDP in system view:

To do…

Use the command…

Remarks

Enter system view

system-view

Reset DLDP state

dldp reset

Required

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.
Follow these steps to reset DLDP state in interface view/port group view:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Layer 2
Ethernet interface

view

interface interface-type
interface-number

Enter Layer
2 Ethernet

interface

view or port
group view

Enter port group
view

port-group manual
port-group-name

Either is required.
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.

Reset DLDP state

dldp reset

Required

Displaying and maintaining DLDP

To do…

Use the command…

Remarks

Display the DLDP configuration of
a port

display dldp [ interface-type
interface-number
] [ | { begin | exclude |

include } regular-expression ]

Available in any view

Display the statistics on DLDP
packets passing through a port

display dldp statistics [ interface-type
interface-number
] [ | { begin | exclude |

include } regular-expression ]

Available in any view

Clear the statistics on DLDP packets
passing through a port

reset dldp statistics [ interface-type
interface-number
]

Available in user view

DLDP configuration examples

Automatically shutting down unidirectional links

Network requirements

As shown in

Figure 11

, 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.

Advertising