49
DLDP commands
display dldp
Use
display dldp
to display DLDP configuration.
Syntax
display dldp
[
interface
interface-type interface-number
]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface
interface-type interface-number
: Specifies an interface by its type and number.
Usage guidelines
If no port is specified, this command displays global and port-specific DLDP configuration. If a port is
specified, this command displays only the DLDP configuration on the port.
Examples
# Display global and port-specific DLDP configuration.
<Sysname> display dldp
DLDP global status: Enabled
DLDP advertisement interval: 5s
DLDP authentication-mode: Simple
DLDP authentication-password: ******
DLDP unidirectional-shutdown mode: Auto
DLDP delaydown-timer value: 1s
Number of enabled ports: 2
Interface Ten-GigabitEthernet1/0/1
DLDP port state: Bidirectional
Number of the port’s neighbors: 1
Neighbor MAC address: 0023-8956-3600
Neighbor port index: 79
Neighbor state: Confirmed
Neighbor aged time: 13s
Interface Ten-GigabitEthernet1/0/2
DLDP port state: Inactive
Number of the port’s neighbors: 0 (Maximum number ever detected: 1)
# Display the DLDP configuration of Ten-GigabitEthernet 1/0/1.
<Sysname> display dldp interface ten-gigabitethernet 1/0/1