
39
Displaying and maintaining DLDP
Execute
display
commands in any view and the
reset
command in user view.
Task Command
Display the DLDP configuration globally and of a port.
display dldp
[
interface
interface-type
interface-number
]
Display the statistics on DLDP packets passing through
a port.
display dldp statistics
[
interface
interface-type
interface-number
]
Clear the statistics on DLDP packets passing through a
port.
reset dldp statistics
[
interface
interface-type
interface-number
]
DLDP configuration examples
Automatically shutting down unidirectional links
Network requirements
As shown in
, 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.
Figure 10
Network diagram
Configuration procedure
1.
Configure Device A:
# Enable DLDP globally.
<DeviceA> system-view
[DeviceA] dldp global enable
# Configure GigabitEthernet 1/0/1 to operate in full duplex mode and at 1000 Mbps, and
enable DLDP on the port.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] duplex full
[DeviceA-GigabitEthernet1/0/1] speed 1000
[DeviceA-GigabitEthernet1/0/1] dldp enable
[DeviceA-GigabitEthernet1/0/1] quit
Содержание 5130 EI Switch Series
Страница 6: ...iv Related information 145 Documents 145 Websites 145 Conventions 146 Index 148 ...
Страница 128: ...122 Member Role Status GE1 0 1 UPLINK DOWN GE1 0 2 DOWNLINK DOWN ...
Страница 171: ...165 ...