Monitoring MPLS Forwarding for Layer 2 Services over MPLS
Purpose
Display configuration and statistics for all label-switched paths (LSPs) or for specific LSPs configured on the label-switching router (LSR). The brief keyword displays only the action taken for each in label.
Action
To display LSP configuration and statistics from the MPLS forwarding table:
host1:two#show mpls forwarding
serial4/1:1/1/1/1/1.1 to 222.9.1.3
In label 20
0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPkts
Out label 45 on tun mpls:1 nbr 222.9.1.3
0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPktsTo display summary information from the MPLS forwarding table:
host:two# show mpls forwarding brief
Platform label space
In Label Owner Action
-------- -------- ---------------------------------------------------------
16 ldp lookup on inner header/label
17 ldp swap to 29 on ATM5/0.1, nbr 10.10.11.5
18 ldp swap to 30 on ATM5/0.1, nbr 10.10.11.5
19 ldp swap to 32 on ATM5/0.1, nbr 10.10.11.5
20 ldp swap to 34 on ATM5/0.1, nbr 10.10.11.5
21 ldp lookup on inner header/label
22 ldp swap to 38 on ATM5/0.1, nbr 10.10.11.5
23 ldp swap to 40 on ATM5/0.1, nbr 10.10.11.5
24 ldp swap to 42 on ATM5/0.1, nbr 10.10.11.5
25 ldp lookup on inner header/label
26 ldp swap to 46 on ATM5/0.1, nbr 10.10.11.5
27 ldp swap to 48 on ATM5/0.1, nbr 10.10.11.5
52 ldp l2transport to FastEthernet2/0.2
53 ldp l2transport to FastEthernet2/0.1
L2transport
Interface Owner Action
-------------------- -------- -------------------------------------------
FastEthernet2/0.1 ldp swap to 55, push 42 on ATM5/0.1, nbr 10.10.11.5
FastEthernet2/0.2 ldp swap to 54, push 42 on ATM5/0.1, nbr 10.10.11.5
The “ swap to” labels 55 and 54 under the L2transport heading in the summary example are VC labels received from the other router. The label that is pushed in this case, 42, is for the base tunnel.
Meaning
Table 107 lists the show mpls forwarding command output fields
Table 107: show mpls forwarding Output Fields
Field Name | Field Description |
|---|---|
name/id | Interface specifier |
destination | Destination IP address |
In label | Label sent to upstream neighbor for route |
Out label | Label received from downstream neighbor for route |
pkts | Number of packets sent across tunnel |
hcPkts | Number of high-capacity (64-bit) packets sent across tunnel |
octets | Number of octets sent across tunnel |
hcOctets | Number of high-capacity (64-bit) octets sent across tunnel |
errors | Number of packets dropped for some reason before being sent |
discardPkts | Number of packets discarded due to lack of buffer space before being sent |
Hide Navigation Pane
Show Navigation Pane
SHA1