run show mpls table
The run show mpls table command shows the Label Switched Path (LSP) table on a MPLS device.
Command Syntax
run show mpls table [<in-label>]
Parameter
Parameter | Description |
---|---|
[<in-label>] | Optional. Specifies the MPLS label used when a packet enters the device.The value is an integer. |
Example
View the Label Switched Path (LSP) table on a MPLS device.
admin@sw2# run show mpls table
Inbound Label Type Nexthop Outbound Label
---------------------------------------------------------------
17 LDP fe80::669d:9920:8d2:5aff 23
18 LDP fe80::c2b8:e620:374:34e9 implicit-null
18 LDP fe80::c2b8:e620:174:34e9 implicit-null
20 LDP fe80::669d:9920:8d2:5aff implicit-null
21 LDP fe80::c2b8:e620:374:34e9 implicit-null
21 LDP fe80::c2b8:e620:174:34e9 implicit-null
21 LDP fe80::669d:9920:8d2:5aff implicit-null
41 LDP fe80::669d:9920:8d2:5aff implicit-null
admin@sw2# run show mpls table 21
Local label: 21 (installed)
type: LDP remote label: 3 distance: 150
via fe80::c2b8:e620:374:34e9 dev vlan20 (installed)
type: LDP remote label: 3 distance: 150
via fe80::c2b8:e620:174:34e9 dev vlan10 (installed)
type: LDP remote label: 3 distance: 150
via fe80::669d:9920:8d2:5aff dev vlan30 (installed)
Copyright © 2024 Pica8 Inc. All Rights Reserved.