< Home

display mpls lsp

Function

The display mpls lsp command displays information about LSPs.

The display mpls lsp lsp-id command displays information about CR-LSPs only.

Format

display mpls lsp lsp-id ingress-lsr-id session-id lsp-id [ verbose ]

display mpls lsp [ [ vpn-instance vpn-instance-name [ ipv4-family | ipv6-family ] ] [ protocol { bgp | bgp-ipv6 | rsvp-te | static | static-cr } ] | asbr ] [ { exclude | include } ip-address mask-length ] [ incoming-interface interface-type interface-number ] [ outgoing-interface interface-type interface-number ] [ in-label in-label-value ] [ out-label out-label-value ] [ nexthop ip-address ] [ lsr-role { egress | ingress | transit } ] [ verbose ]

display mpls lsp [ vpn-instance vpn-instance-name [ ipv4-family | ipv6-family ] ] protocol ldp [ { exclude | include } ip-address mask-length ] [ outgoing-interface interface-type interface-number ] [ in-label in-label-value ] [ out-label out-label-value ] [ nexthop ip-address ] [ lsr-role { egress | ingress | transit } ] [ verbose ]

display mpls lsp stale-incoming-interface interface-index [ outgoing-interface interface-type interface-number ] [ in-label in-label-value ] [ out-label out-label-value ] [ nexthop ip-address ] [ lsr-role { egress | ingress | transit } ] [ verbose ]

display mpls lsp stale-outgoing-interface interface-index [ in-label in-label-value ] [ out-label out-label-value ] [ nexthop ip-address ] [ lsr-role { egress | ingress | transit } ] [ verbose ]

Parameters

Parameter Description Value

lsp-id

Specifies the LSP ID.

The value is an integer ranging from 0 to 65535.

ingress-lsr-id

Specifies the ID of the ingress LSR.

The value is in dotted decimal notation.

session-id

Specifies the ID of a session.

The value is an integer ranging from 0 to 65535.

vpn-instance vpn-instance-name

Displays detailed configurations of LSPs of a specified VPN instance.

The value must be an existing VPN instance name.

ipv4-family

Indicates the IPv4 unicast address-family.

-

ipv6-family

Indicates the IPv6 unicast address-family.

-

protocol

Displays information about LSPs of a specified type.

-

ldp

Indicates LDP.

-

bgp

Indicates BGP.

-

bgp-ipv6

Indicates BGP IPv6.

-

rsvp-te

Indicates RSVP-TE.

-

static

Indicates Static.

-

static-cr

Indicates Static-CR.

-

asbr

Displays information about LSPs of a specified ASBR.

-

exclude

Displays information about LSPs, excluding information about the specific FEC.

-

include

Displays information about LSPs, including information about the specific FEC.

-

ip-address

Displays information about LSPs of a specified IPv4 address or a specified IPv6 address.

The value is in dotted decimal notation.

mask-length

Specifies the mask length of the specified IPv4 address or a specified IPv6 address.

The value is an integer ranging from 0 to 32. Alternatively, it specifies the mask length of the specified IPv6 address. The value is an integer ranging from 0 to 128.

incoming-interface interface-type interface-number

Specifies the type and number of an inbound interface. You can view the configuration of an LSP on a specified interface.

-

outgoing-interface interface-type interface-number

Indicates the type and number of an outbound interface. You can view the configuration of an LSP on a specified interface.

-

in-label in-label-value

Displays information about LSPs of a specified incoming label.

The value is an integer ranging from 0 to 1048575.

out-label out-label-value

Displays information about LSPs of a specified outgoing label.

The value is an integer ranging from 0 to 1048575.

nexthop ip-address

Displays information about LSPs of a specified IPv4 or IPv6 next hop address.

The value is in dotted decimal notation.

lsr-role

Displays information about all LSPs on the current LSR that plays a specified role.

-

egress

Displays information about LSPs of an egress LSR.

-

ingress

Displays information about LSPs of an ingress LSR.

-

transit

Displays information about LSPs of a transit LSR.

-

verbose

Displays detailed information about LSPs.

-

stale-incoming-interface

Displays information about the stale inbound interface of an LSP.

-

stale-outgoing-interface

Displays information about the stale outbound interface of an LSP.

-

interface-index

Specifies the index of a specified stale interface.

The value is a hexadecimal integer ranging from 1 to FFFFFFFE.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If you do not specify a parameter, information about all LSPs is displayed.

Run the display mpls stale-interface command without specifying a parameter to view the index of a stale interface.

Example

# Display information about all types of LSPs.

<HUAWEI> display mpls lsp
-------------------------------------------------------------------------------
                 LSP Information: RSVP LSP
-------------------------------------------------------------------------------
  FEC                In/Out Label  In/Out IF                      Vrf Name
  10.2.2.9/32        NULL/11264    -/Vlanif10

Flag after Out IF: (I) - LSP Is Only Iterated by RLFA
-------------------------------------------------------------------------------
                 LSP Information: LDP LSP
-------------------------------------------------------------------------------
  FEC                In/Out Label  In/Out IF                      Vrf Name

  10.2.2.9/32        NULL/3        -/Vlanif10
  10.2.2.9/32        1024/3        -/Vlanif10
  10.3.3.9/32        NULL/3        -/Vlanif20
  10.3.3.9/32        1025/3        -/Vlanif20

# Display information about all LSPs with the next hop of 192.168.1.1.

<HUAWEI> display mpls lsp nexthop 192.168.1.1

Flag after Out IF: (I) - LSP Is Only Iterated by RLFA
-------------------------------------------------------------------------------
            LSP Information: L3VPN Label-Per-Nexthop LSP                        
-------------------------------------------------------------------------------
IndirectID  NextHop            In/Out Label  In/Out IF      Vrf Name            
0x1         192.168.1.1        13312/13312   -/-            ASBR LSP            

# Display detailed information about all types of LSPs.

<HUAWEI> display mpls lsp verbose
-------------------------------------------------------------------------------
                 LSP Information: RSVP LSP
-------------------------------------------------------------------------------

  No                  :  1
  SessionID           :  300
  IngressLsrID        :  10.1.1.9
  LocalLspID          :  1
  Tunnel-Interface    :  Tunnel1
  Fec                 :  10.2.2.9/32
  TunnelTableIndex    :  0x1
  Nexthop             :  10.5.1.2
  In-Label            :  NULL
  Out-Label           :  11264
  In-Interface        :  ----------
  Out-Interface       :  Vlanif10
  LspIndex            :  3072
  Token               :  0x8002008
  LsrType             :  Ingress
  Mpls-Mtu            :  1500
  TimeStamp           :  1171sec
  Bfd-State           :  ---       
  CBfd-Event          :  0x0 
  Bed-State           :  ---
  Bed-LastNotifyValue :  ---
  Bed-LastNotifyLspId :  ---
  Flag after FEC: (I) - LSP Is Only Iterated by RLFA
-------------------------------------------------------------------------------
                 LSP Information: LDP LSP
-------------------------------------------------------------------------------
  No                  :  2
  VrfName             :
  Fec                 :  10.2.2.2/32
  Nexthop             :  10.1.1.2
  In-Label            :  NULL
  Out-Label           :  3
  In-Interface        :  ----------
  Out-Interface       :  Vlanif10
  LspIndex            :  9217
  Token               :  0x802009
  FrrToken            :  0x0
  LsrType             :  Ingress
  Outgoing token      :  0x0
  Label Operation     :  PUSH
  Mpls-Mtu            :  ------
  TimeStamp           :  21086sec
  Bfd-State           :  ---
  BGPKey              :  -----

  No                  :  3
  VrfName             :
  Fec                 :  10.2.2.2/32
  Nexthop             :  10.2.1.2
  In-Label            :  NULL
  Out-Label           :  3
  In-Interface        :  ----------
  Out-Interface       :  Vlanif20
  LspIndex            :  9218
  Token               :  0x80200a
  FrrToken            :  0x0
  LsrType             :  Ingress
  Outgoing token      :  0x0
  Label Operation     :  PUSH
  Mpls-Mtu            :  ------
  TimeStamp           :  19569sec
  Bfd-State           :  ---   
  BGPKey              :  -----
Table 1 Description of the display mpls lsp command output

Item

Description

LSP Information

LSP information:
  • STATIC LSP: manually created.

  • LDP LSP: created using LDP.

  • STATIC CR-LSP: a static MPLS TE tunnel created manually.

  • RSVP LSP: an MPLS TE tunnel created using RSVP-TE.

  • BGP LSP: an LSP created using BGP based on private or public IPv4 BGP routes.

  • L3VPN LSP: an LSP based on IPv4 VPN routes received by means of BGP.

  • BGP IPV6 LSP: an LSP based on private-network IPv6 routes received by means of BGP.

  • L3VPN IPV6 LSP: an LSP based on IPv6 VPN routes received by means of BGP.

FEC/Fec

Forwarding equivalence class. Usually, the value is the destination address of an LSP.

In/Out Label

Values of the incoming and outgoing labels.

In/Out IF

Names of the incoming and outbound interfaces.

Vrf Name

Name of a VPN instance.

IndirectID

Index of the next hop of a BGP route.

No

Serial number of an LSP.

SessionID

Session ID of a CR-LSP.

IngressLsrID

Ingress LSR ID of a CR-LSP.

LocalLspID

Local LSP ID of a CR-LSP.

Tunnel-Interface

Tunnel interface.

VrfName

Name of a VPN instance. This value is available for only non-CR-LSPs.

Nexthop

IP address of the next hop of an LSP.

TunnelTableIndex

Index of a tunnel table.

In-Label

Value of an incoming label.

Out-Label

Value of an outgoing label.

In-Interface

Name of an inbound interface.

Out-Interface

Name of an outbound interface.

LspIndex

Index number of an LSP, which uniquely identifies an LSP that is established using a specific protocol.

Token

LSP token. It guides the packet forwarding.

FrrToken

Token of a standby LDP LSP. This value is available for only non-CR-LSPs.

LsrType

Role of an LSR on an LSP:

  • Ingress

  • Transit

  • Egress

Outgoing token

Token that guides the packet forwarding, which is available for only non-CR-LSPs.

Label Operation

Type of a label operation, which is available for only non-CR-LSPs:

  • PUSH

  • SWAP

  • POP

  • SWAPPUSH

Mpls-Mtu

Maximum transmission unit (MTU) of an interface of an LSP.

TimeStamp

Time elapsed since an LSP was set up.

Bfd-State

BFD status.

CBfd-Event

Error code event that BFD reports to the RSVP LSP on the ingress node.

Bed-State

Error code status of an RSVP LSP on the ingress node.

Bed-LastNotifyValue

Error code association of which the RSVP LSP notifies BFD on the egress node.

Bed-LastNotifyLspId

ID of the reversed LSP that corresponds to the error code association event on the egress node. The association event is notified of BFD by the RSVP LSP.

BGPKey

Index of BGP.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >