MPLS Forwarding Commands on Cisco IOS XR Software
show mpls forwarding
MPR-158
Cisco IOS XR Multiprotocol Label Switching Command Reference
Command Modes EXEC
Command History
Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper
task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on
Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The optional keywords and arguments described allow specification of a subset of the entire MPLS
forwarding table.
Task ID
Examples The following is sample output from the show mpls forwarding command:
RP/0/RP0/CPU0:router# show mpls forwarding
Local Outgoing Prefix Outgoing Next Hop Bytes T
Label Label or ID Interface Switched O
------ ----------- ------------------ --------- --------------- ------------ -
22 Pop Label 10.1.2.0/24 PO0/1/0/0 10.1.1.2 0
23 Pop Label 10.1.3.0/24 PO0/1/0/0 10.1.1.2 0
24 Pop Label 22.22.22.22/32 PO0/1/0/0 10.1.1.2 0
25 Unlabeled 33.33.33.33/32 tt13 point2point 0
The following is sample output from the show mpls forwarding command using the detail keyword:
RP/0/RP0/CPU0:router# show mpls forwarding detail
Local Outgoing Prefix Outgoing Next Hop Bytes T
Label Label or ID Interface Switched O
------ ----------- ----------------- ------------ --------------- ----------- -
26 Pop Label 100.10.20.2/32 PO0/4/0/4 142.50.32.2 0
MAC/Encaps: 4/8, MTU: 4470
Label Stack (Top -> Bottom): { Imp-Null }
Packets Switched: 0
Installed: Jul 22 10:41:13.521 (3d23h ago)
<======================================**
Owner: LDP
<====================================================================**
Pop Label 100.10.20.2/32 PO0/4/0/5 142.50.36.2 0
MAC/Encaps: 4/8, MTU: 4470
Label Stack (Top -> Bottom): { Imp-Null }
Packets Switched: 0
Installed: Jul 22 10:41:13.521 (3d23h ago)
<======================================**
Release Modification
Release 2.0 This command was introduced on the Cisco CRS-1.
Release 3.0 No modification.
Release 3.2 This command was supported on the Cisco XR 12000 Series Router.
Release 3.3.0 No modification.
Task ID Operations
mpls-te or mpls-ldp or mpls-static read, read, read