run show mpls forward-table
The run show mpls forward-table command shows the MPLS label forward table information.
Command Syntax
run show mpls forward-table {all | nexthop <nexthop> | outlabel <outlabel>}
Parameter
Parameter | Description |
---|---|
all | Shows all of the MPLS label forward table. |
nexthop <nexthop> | Shows MPLS label forward table of specified next-hop address information. |
outlabel <outlabel> | Shows MPLS label forward table of specified out label information. |
Example
View the MPLS label forward table information.
admin@sw2# run show mpls forward-table all
In-label Out-label Outgoing-Interface Next-Hop Route-Ref If-Id Egress-Id Inuse
-------- --------- ------------------ ------------------------------ --------- ----- --------- -----
NULL 23 vlan30 fe80::669d:9920:8d2:5aff 1 8197 100009 yes
20 imp-null vlan30 fe80::669d:9920:8d2:5aff 0 8203 100016 yes
41 imp-null vlan30 fe80::669d:9920:8d2:5aff 0 8203 100016 yes
17 23 vlan30 fe80::669d:9920:8d2:5aff 0 8201 100022 yes
18 imp-null vlan20 fe80::c2b8:e620:374:34e9 0 8202 100018 yes
21 imp-null vlan20 fe80::c2b8:e620:374:34e9 0 8202 100018 yes
admin@sw2# run show mpls forward-table nexthop fe80::c2b8:e620:374:34e9
In-label Out-label Outgoing-Interface Next-Hop Route-Ref If-Id Egress-Id Inuse
-------- --------- ------------------ ------------------------------ --------- ----- --------- -----
18 imp-null vlan20 fe80::c2b8:e620:374:34e9 0 8202 100018 yes
21 imp-null vlan20 fe80::c2b8:e620:374:34e9 0 8202 100018 yes
admin@sw2# run show mpls forward-table outlabel 3
In-label Out-label Outgoing-Interface Next-Hop Route-Ref If-Id Egress-Id Inuse
-------- --------- ------------------ ------------------------------ --------- ----- --------- -----
20 imp-null vlan30 fe80::669d:9920:8d2:5aff 0 8203 100016 yes
41 imp-null vlan30 fe80::669d:9920:8d2:5aff 0 8203 100016 yes
18 imp-null vlan20 fe80::c2b8:e620:374:34e9 0 8202 100018 yes
21 imp-null vlan20 fe80::c2b8:e620:374:34e9 0 8202 100018 yes
admin@sw2# run show mpls forward-table outlabel 3 nexthop fe80::c2b8:e620:374:34e9
In-label Out-label Outgoing-Interface Next-Hop Route-Ref If-Id Egress-Id Inuse
-------- --------- ------------------ ------------------------------ --------- ----- --------- -----
18 imp-null vlan20 fe80::c2b8:e620:374:34e9 0 8202 100018 yes
21 imp-null vlan20 fe80::c2b8:e620:374:34e9 0 8202 100018 yes
Copyright © 2024 Pica8 Inc. All Rights Reserved.