display mpls ldp interface

Use display mpls ldp interface to display LDP interface information.

Syntax

display mpls ldp interface [ vpn-instance vpn-instance-name ] [ interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. This command displays LDP interface information for the specified VPN instance. If you do not specify a VPN instance, this command displays LDP interface information for the public network.

interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays information about all LDP interfaces.

Examples

# Display information about all interfaces enabled with IPv4 LDP for the public network.

<Sysname> display mpls ldp interface
Interface                 MPLS         LDP             Auto-config
Vlan10                    Enabled      Configured      -
Vlan20                    Enabled      Configured      -

Table 14: Command output

Field

Description

Interface

Interface enabled with LDP.

MPLS

Whether the interface is enabled with MPLS.

LDP

Whether the interface is configured with the mpls ldp enable command.

Auto-config

This field is not supported in the current software version.

LDP automatic configuration information:

  • If LDP autoconfiguration is enabled, this field displays IGP process information, such as OSPF process ID and OSPF area ID.

  • If LDP autoconfiguration is disabled, this field displays a hyphen (-).

Related commands

mpls ldp

mpls ldp enable