3com S7906E Installationsanweisungen
1-13
To do…
Use the command…
Remarks
Reset DLDP state
dldp reset
Required
Displaying and Maintaining DLDP
To do…
Use the command…
Remarks
Display the DLDP
configuration of a port
configuration of a port
display dldp [ interface-type
interface-number ]
interface-number ]
Available in any view
Display the statistics on DLDP
packets passing through a
port
packets passing through a
port
display dldp statistics [ interface-type
interface-number ]
interface-number ]
Available in any view
Clear the statistics on DLDP
packets passing through a
port
packets passing through a
port
reset dldp statistics [ interface-type
interface-number ]
interface-number ]
Available in user view
DLDP Configuration Example
Network requirements
z
Device A and Device B are connected through two fiber pairs, in which two fibers are
cross-connected, as shown in
.
z
It is desired that the unidirectional links can be disconnected on being detected; and the ports shut
down by DLDP can be restored after the fiber connections are corrected.
Figure 1-4 Network diagram for DLDP configuration
Device A
GE2/0/1
GE2/0/2
Device B
GE2/0/1
GE2/0/2
PC
Configuration procedure
1) Configuration on Device A
# Enable DLDP on GigabitEthernet2/0/1 and GigabitEthernet 2/0/2.
<DeviceA> system-view
[DeviceA] interface gigabitethernet 2/0/1
[DeviceA-GigabitEthernet2/0/1] dldp enable
[DeviceA-GigabitEthernet2/0/1] quit