Monitoring MPLS Forwarding Table for VPWS
Purpose
Display information about MPLS labels that are being used for forwarding. The brief keyword displays summary information for the MPLS labels.
Action
To display MPLS forwarding information for a particular label:
host1#show mpls forwarding label 17 In label: 17 Label space: platform label space Owner: bgp Spoof check: router ERX-pe Action: MPLS next-hop: 28, l2transport to ATM2/0.100 Statistics: 0 in pkts 0 in Octets 0 in errors 0 in discard pkts
To display brief information about MPLS forwarding for all labels:
host1:pe1# show mpls forwarding brief In Label Owner Action -------- -------- ------------------------------------------------------------- 17 bgp l2transport to ATM2/0.100 18 bgp l2transport to ATM2/0.12 26 ldp lookup on inner header/label 27 ldp swap to 39 on ATM2/0.20, nbr 20.20.20.2 28 ldp swap to 41 on ATM2/0.20, nbr 20.20.20.2 29 ldp lookup on inner header/label 30 ldp swap to 43 on ATM2/0.20, nbr 20.20.20.2 31 ldp swap to 44 on ATM2/0.20, nbr 20.20.20.2 46 ldp swap to 40 on ATM2/0.20, nbr 20.20.20.2 L2transport Interface Owner Action --------------- -------- ----------------------------------------- ATM2/0.12 bgp swap to 801028, push 39 on ATM2/0.20, nbr 20.20.20.2 ATM2/0.100 bgp swap to 801024, push 39 on ATM2/0.20, nbr 20.20.20.2
To display MPLS forwarding information for a particular interface:
host1:pe#show mpls forwarding interface atm2/0.100 In label: n/a, ATM2/0.100 Owner: bgp Spoof check: router erx-pe Action: MPLS next-hop: 27, label 801024, resolved by MPLS next-hop 8 MPLS next-hop: 8, resolved by MPLS next-hop 9, peer 10.3.2.2 MPLS next-hop: 9, label 39 on ATM2/0.20, nbr 10.20.20.2 Statistics: Disabled
Meaning
Table 143 lists the show mpls forwarding command output fields.
Table 143: 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 |
Interface | Layer 2 interface that is a member of an L2VPN |