Parameter |
Description |
Value |
---|---|---|
interface interface-type interface-number |
Displays DLDP status of a specified interface.
|
- |
Usage Scenario
You can use the display dldp command to view the DLDP status on the device.
Prerequisites
DLDP has been enabled globally using the dldp enable command.
DLDP has been enabled in the interface view using the dldp enable command, before run the display dldp interface interface-type interface-number command.
Precaution
You can run the display dldp command to view DLDP status only after enabling DLDP globally using the dldp enable command.
# Display the DLDP status on the device.
<HUAWEI> display dldp
DLDP global status: enable DLDP interval: 10s DLDP work-mode: enhance DLDP authentication-mode: sha, password is ****** DLDP unidirectional-shutdown: auto DLDP delaydown-timer: 4s The number of enabled ports is: 1 The number of global neighbors is: 1 The max number of global neighbors is: 512 Interface GigabitEthernet0/0/1 DLDP port state: advertisement DLDP link state: up The neighbor number of the port is: 1. Neighbor mac address:80fb-0636-792d Neighbor port index:49 Neighbor state:two way Neighbor aged time(s):16
# Display the DLDP status on GE0/0/1.
<HUAWEI> display dldp interface gigabitethernet 0/0/1
Interface GigabitEthernet0/0/1 DLDP port state: advertisement DLDP link state: up The neighbor number of the port is: 1. Neighbor mac address:0001-0001-0001 Neighbor port index:26 Neighbor state:two way Neighbor aged time(s):206
Item |
Description |
---|---|
DLDP global status |
Global DLDP status. The value can be:
To enable DLDP, use the dldp enable command. |
DLDP interval |
Interval for sending the Advertisement packets, in seconds. To set the interval, use the dldp interval command. |
DLDP work-mode |
Working mode of DLDP. The value can be:
To set the working mode of DLDP, use the dldp work-mode command. |
DLDP authentication-mode |
Authentication mode of DLDP packets. The value can be:
To set DLDP authentication mode, use the dldp authentication-mode command. |
DLDP unidirectional-shutdown |
Interface shutdown mode. The value can be:
To set the interface shutdown mode, use the dldp unidirectional-shutdown command. |
DLDP delaydown-timer |
Delay of an interface's response to a Port-Down event, in seconds. To set the delay, use the dldp delaydown-timer command. |
The number of enabled ports is |
Number of interfaces on which DLDP is enabled on a device. |
The number of global neighbors is |
Number of DLDP neighbors. |
The max number of global neighbors is |
The max number of global DLDP neighbors. |
DLDP port state |
Current DLDP status of an interface. The value can be:
|
DLDP link state |
Status of the interface.
|
The neighbor number of the port |
Number of neighbors of an interface. |
Neighbor mac address |
MAC address of a peer device. |
Neighbor port index |
Index of a peer port. |
Neighbor state |
Peer status.
|
Neighbor aged time(s) |
Time period after which a peer ages, in seconds. |