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

Page 58: Network requirements

Advertising
background image

47

Step Command

Remarks

2.

Enter Ethernet port view or
port group view.

Enter Ethernet port view:
interface interface-type

interface-number

Enter port group view:

port-group manual

port-group-name

Use either command.
Configurations made in Ethernet
port view apply to the current port

only. Configurations made in port

group view apply to all the ports in
the port group.

3.

Reset DLDP state.

dldp reset

N/A

Displaying and maintaining DLDP

Task 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

IMPORTANT:

By default, Ethernet, VLAN, and aggregate interfaces are in DOWN state. Before configuring these
interfaces, use the undo shutdown command to bring them up.

Automatically shutting down unidirectional links

Network requirements

As shown in

Figure 9

,

Two switches, 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 the fault is cleared.

Advertising
This manual is related to the following products: