- show mpls lsp
- <brief | detail | extensive | terse>
- <bidirectional | unidirectional>
- <bypass>
- <descriptions>
- <down | up>
- <logical-system (all | logical-system-name)>
- <lsp-type>
- <name name>
- <p2mp>
- <statistics>
- <transit>
Command introduced before JUNOS Release 7.4.
Display information about configured and active dynamic Multiprotocol Label Switching (MPLS) label-switched paths (LSPs).
none — Display standard information about all configured and active dynamic MPLS LSPs on all logical systems.
brief | detail | extensive | terse — (Optional) Display the specified level of output. The extensive option displays the same information as the detail option, but covers the most recent 50 events.
bidirectional | unidirectional — (Optional) Display bidirectional or unidirectional LSP information, respectively.
bypass — (Optional) Display LSPs used for protecting other LSPs.
descriptions — Display the MPLS label-switched path (LSP) descriptions. To view this information, you must configure the description statement at the [edit protocol mpls lsp] hierarchy level. Only LSPs with a description are displayed. This command is only valid for the ingress router because the description is not propagated in RSVP messages.
down | up — (Optional) Display only LSPs that are inactive or active, respectively.
logical-system (all | logical-system-name) — (Optional) Perform this operation on all logical systems or on a particular logical system.
lsp-type — (Optional) Display information about a particular LSP type:
name name — (Optional) Display information about the specified LSP or group of LSPs.
p2mp — (Optional) Display information about point-to-multipoint LSPs.
statistics — (Optional) (Egress and transit routers only.) Display accounting information about LSPs. Statistics are not available for LSPs on the egress router, because the penultimate router in the LSP sets the label to 0. Also, as the packet arrives at the egress router, the hardware removes its MPLS header and the packet reverts to being an IPv4 packet. Therefore, it is counted as an IPv4 packet, not an MPLS packet.
transit — (Optional) Display LSPs transiting this router.
view
Table 148 describes the output fields for the show mpls lsp command. Output fields are listed in the approximate order in which they appear.
Table 148: show mpls lsp Output Fields
user@host> show mpls lsp descriptions
Ingress LSP: 3 sessions To LSP name Description 10.0.0.195 to-sanjose to-sanjose-desc 10.0.0.195 to-sanjose-other-desc other-desc Total 2 displayed, Up 2, Down 0
user@host> show mpls lsp detail
Ingress LSP: 1 sessions
10.255.245.3
From: 10.255.245.5, State: Up, ActiveRoute: 1, LSPname: lsp-ec
ActivePath: long-path (primary)
LoadBalance: Random
Autobandwidth
MaxBW: 5Mbps
AdjustTimer: 4800 secs AdjustThreshold: 1%
Max AvgBW util: 0bps, Bandwidth Adjustment in 3383 second(s).
Overflow limit: 5, Overflow sample count: 0
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary long-path State: Up
SmartOptimizeTimer: 180
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 5)
192.168.37.89 S 192.168.37.87 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):
192.168.37.89 192.168.37.87
Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
user@host> show mpls lsp extensive
Ingress LSP: 5 sessions
10.255.71.242
From: 10.255.71.238, State: Up, ActiveRoute: 1009, LSPname: sample-ccc
ActivePath: path3 (primary)
Link protection desired
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary path3 State: Up
OptimizeTimer: 30
SmartOptimizeTimer: 180
Reoptimization in 26 second(s).
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 1)
10.35.1.41 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):
10.35.1.41(Label=3)
10 Dec 8 13:51:58.986 CSPF: computation result ignored
9 Dec 8 13:51:30.547 Record Route: 10.35.1.41(Label=3)
8 Dec 8 13:51:30.547 Up
7 Dec 8 13:51:30.397 Originate make-before-break call
6 Dec 8 13:51:30.397 CSPF: computation result accepted 10.35.1.41
5 Dec 8 13:50:41.467 Selected as active path
4 Dec 8 13:50:41.467 Record Route: 10.35.1.41(Label=3)
3 Dec 8 13:50:41.466 Up
2 Dec 8 13:50:41.371 Originate Call
1 Dec 8 13:50:41.371 CSPF: computation result accepted 10.35.1.41
Created: Fri Dec 8 13:50:40 2006
Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
user@host> show mpls lsp p2mp
Ingress LSP: 2 sessions P2MP name: p2mp-lsp1, P2MP branch count: 1 To From State Rt ActivePath P LSPname 10.255.245.51 10.255.245.50 Up 0 path1 * p2mp-branch-1 P2MP name: p2mp-lsp2, P2MP branch count: 1 To From State Rt ActivePath P LSPname 10.255.245.51 10.255.245.50 Up 0 path1 * p2mp-st-br1 Total 2 displayed, Up 2, Down 0 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
user@host> show mpls lsp p2mp detail
Ingress LSP: 2 sessions
P2MP name: p2mp-lsp1, P2MP branch count: 1
10.255.245.51
From: 10.255.245.50, State: Up, ActiveRoute: 0, LSPname: p2mp-branch-1
ActivePath: path1 (primary)
P2MP name: p2mp-lsp1
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary path1 State: Up
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 25)
192.168.208.17 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):
192.168.208.17
P2MP name: p2mp-lsp2, P2MP branch count: 1
10.255.245.51
From: 10.255.245.50, State: Up, ActiveRoute: 0, LSPname: p2mp-st-br1
ActivePath: path1 (primary)
P2MP name: p2mp-lsp2
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary path1 State: Up
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 25)
192.168.208.17 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):
192.168.208.17
Total 2 displayed, Up 2, Down 0