Resetting DLDP State
Displaying and
Maintaining DLDP
DLDP Configuration
Example
DLDP Configuration
Example
After a unidirectional link is detected, DLDP shuts down the corresponding port.
To enable the port to perform DLDP detect again, you can reset DLDP state for it.
A port can be in different state after you reset DLDP state for it. That is, it can be in
Inactive state (if the port is physically down) or in Active state (if the port is
physically up) after you reset DLDP state for it.
c
CAUTION:
The configuration of resetting DLDP state performed in system view applies to
■
all the ports shut down by DLDP.
The configuration of resetting DLDP state performed in port view or port group
■
view applies to the current port or all the ports in the port group shut down by
DLDP.
Resetting DLDP State in System view
Follow these steps to reset DLDP in system view:
To do...
Enter system view
Reset DLDP state
Resetting DLDP State in Port view/Port Group View
Follow these steps to reset DLDP state in port view/port group view:
To do...
Enter system view
Enter
Enter
Ethernet
Ethernet
port
port view
view/port
Enter port
group view
group view
Reset DLDP state
To do...
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
Network requirements
Device A and Device B are connected through two fiber pairs, in which two
■
fibers are cross-connected, as shown in Figure 52.
Displaying and Maintaining DLDP
Use the command...
system-view
dldp reset
Use the command...
system-view
interface interface-type
interface-number
port-group { aggregation
agg-id | manual
port-group-name }
dldp reset
Use the command...
display dldp [ interface-type
interface-number ]
display dldp statistics
[ interface-type interface-number ]
reset dldp statistics [ interface-type
interface-number ]
Remarks
-
Required
Remarks
-
Either is required.
The configuration performed in
Ethernet port view applies to the
current port only; the
configuration performed in port
group view applies to all the
ports in the port group.
Required
Remarks
Available in any view
Available in any view
Available in user view
193