show mpls label l3vpn

show mpls label l3vpn {summary | label_num | [advertised | received] {label_num}}

Description

Displays Layer 3 VPN label information.

Syntax Description

summary Specifies that summary information for the labels is displayed.
label_num Specifies that only labels that match the specified hexadecimal label number are displayed.
advertised Specifies that only labels advertised to other routers are displayed.
received Specifies that only labels received from other routers are displayed.

Default

N/A.

Usage Guidelines

If no options are specified, tabular information for all Layer 3 VPN labels is displayed. The following table describes the display fields that appear when this command is entered.

Click to expand in new window

show mpls label l3vpn Field Definitions

Field Definition
Advertised Label Advertised Label is the label advertised to other routers.
Destination Mapping Destination Mapping displays the destination IP address and mask.
LSP Flags LSP Flags lists the flags for each label, which are described in the key at the bottom of the display.
Peer Label The peer label that replaces the received label of incoming packets during a label swap on a transit LSP. The peer label appears only for transit LSPs.
NHop Type

NHop Type helps define the handling of a packet arriving with the specified advertised label. Possible values are:

VRF—For advertised labels, the Next Hop column contains the name of the virtual router to which packets with the given Layer 3 VPN label will be forwarded. For received labels, the Next Hop column displays the router ID of the BGP peer, and the Name column displays the name of the VR using this label.

Next Hop Displays an interface ID for the next hop router, which can be a VLAN name, vMAN name, or IP address.
Name Displays the name of the VR using this label.
Received Label Received Label displays the label received from other routers.

Example

The following command displays all Layer 3 VPN labels:

* Switch.1 # show mpls label l3vpn

Advertised     Destination    LSP     Peer  NHop
Label              Mapping  Flags    Label  Type  NextHop            Name
 -------------------------------------------------------------------------------
0x80400                 --    3-E       --  VRF   blue-vr            --
0x80401                 --    3-E       --  VRF   red-vr             --
0x80402                 --    3-E       --  VRF   white-vr           --
Received       Destination    LSP
Label              Mapping  Flags   NextHop            Name
------------------------------------------------------------------------------
0x80400                 --    3-I   3.3.3.3            red-vr
0x80400                 --    3-I   3.3.3.3            blue-vr
0x80401                 --    3-I   3.3.3.3            red-vr
0x80401                 --    3-I   3.3.3.3            blue-vr
0x80402                 --    3-I   3.3.3.3            white-vr
Flags: (3) L3VPN, (2) L2VPN, (L) LDP, (R) RSVP-TE, (S) Static, (P) LSP
(T) Transit LSP, (I) Ingress to LSP, (E) Egress from LSP,
(M) Multiple Next Hops
Total number of L3VPN Labels advertised   : 3
Total number of L3VPN Labels received     : 5

History

This command was first available in ExtremeXOS 12.5.

Platform Availability

This command is available only on the platforms that support MPLS as described in the Feature License Requirements document.