Monitoring MPLS Labels Used for Forwarding

Purpose

Display information for labels being used for forwarding.

Action

To display information about MPLS labels used for forwarding:

host1:vr2#show mpls forwarding
In label: 28
  Label space: platform label space
  Owner: ldp 
  Spoof check: router pe1
  Action:
    MPLS next-hop: 1, lookup on inner header/label
  Statistics:
    0 in pkts
    0 in Octets
    0 in errors
    0 in discard pkts

To display summary information about MPLS labels used for forwarding:

host1:vr2# show mpls forwarding brief
Platform label space
In Label  Owner                              Action                            
-------- -------- --------------------------------------
28       ldp      lookup on inner header/label                                 
29       ldp      swap to 20 on ATM2/0.10, nbr 10.10.10.2                      
30       ldp      lookup on inner header/label                                 
31       ldp      swap to 22 on ATM2/0.10, nbr 10.10.10.2                      
32       ldp      swap to 23 on ATM2/0.10, nbr 10.10.10.2 

Meaning

Table 76 lists the show mpls forwarding command output fields.

Table 76: show mpls forwarding Output Fields

Field Name

Field Description

In label

Label sent to upstream neighbor for route

Out label

Label received from downstream neighbor for route

Label space

Label space in which the label is assigned

Owner

Signaling protocol that placed the label in the forwarding table: BGP, LDP, or RSVP-TE

Spoof check

Type and location of spoof checking performed on the MPLS packet, router or interface

Action

Action taken for MPLS packets arriving with that label

in pkts

Number of packets sent with the label

in Octets

Number of octets sent with the label

in errors

Number of packets that are dropped for some reason before being sent

in discardPkts

Number of packets that are discarded due to lack of buffer space before being sent

Related Documentation