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

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 FortyGigE1/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 FortyGigE1/0/2
 DLDP port state: Inactive
 Number of the port’s neighbors: 0 (Maximum number ever detected: 1)

# Display the DLDP configuration of FortyGigE 1/0/1.

<Sysname> display dldp interface fortygige 1/0/1
Interface FortyGigE1/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

Table 22: Command output

Field

Description

DLDP global status

Global DLDP state (Enabled or Disabled).

DLDP advertisement interval

Interval for sending Advertisement packets (in seconds) to maintain neighbor relations.

DLDP authentication-mode

DLDP authentication mode (None, Simple, or md5).

DLDP authentication-password

Password for DLDP authentication:

  • ******—The password has been configured.

  • Not configured—The authentication mode has been configured but no password is configured.

DLDP unidirectional-shutdown mode

Port shutdown mode (Auto or Manual) after unidirectional links are detected.

DLDP delaydown-timer value

Setting of the DelayDown timer, in seconds.

Number of enabled ports

Number of the DLDP-enabled ports.

Interface

Index of a DLDP-enabled port.

DLDP port state

DLDP state on a port:

  • Bidirectional.

  • Inactive.

  • Initial.

  • Unidirectional.

Number of the port’s neighbors

Current number of neighbors.

Maximum number ever detected

Maximum number of neighbors once detected on the port. This field appears only when the current number of neighbors is different from the maximum number of neighbors once detected.

Neighbor MAC address

MAC address of the neighbor.

Neighbor port index

Neighbor port index.

Neighbor state

Neighbor state (Confirmed or Unconfirmed).

Neighbor aged time

Neighbor aging time.