monitor label-switched-path
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
Display the real-time status of the specified RSVP label-switched path (LSP).
Options
- lsp-name
Name of the LSP.
Additional Information
You can track the amount of traffic traversing an RSVP LSP and observe its essential parameters, such as uptime, ingress and egress addresses, labels, routes, and ports. Values are typically sampled every second. The display also allows you to scroll to other currently running LSPs. You cannot use this command to display information about static LSPs or LDP-signaled LSPs.
The output of this command shows how much each field has changed since you started the command or since you cleared the counters by using the c key. To control the output of the monitor label-switched-path command while it is running, use the keys listed in Table 1. The keys are not case-sensitive.
Table 1: Output Control Keys for the monitor label-switched-path Command
Key | Action |
|---|---|
c | Clears the screen and refreshes the display for this LSP. |
f | Freezes the display, preventing new information from being displayed. |
l | Monitors a different LSP. After you type l, you can type the new LSP name. |
n | Displays information about the next LSP (whose name is alphabetically higher than the current LSP name) configured on the router. |
p | Goes to the previous LSP (whose name is alphabetically lower than the current LSP name) configured on the router. |
q or Esc | Quits the command and returns to the command prompt. |
t | Thaws, or restarts, the data display for this LSP. |
Required Privilege Level
trace
List of Sample Output
monitor label-switched-pathOutput Fields
Table 2 describes the output fields for the monitor label-switched-path command. Output fields are listed in the approximate order in which they appear.
Table 2: monitor label-switched-path Output Fields
Field Name | Field Description |
|---|---|
(1) | Displays the following information:
|
(2) | Delay—Length of the time delay, in milliseconds, required to obtain the information in the monitor display. The first number shows the current sampling delay. The second number shows the shortest delay recorded to date. The third number shows the worst delay recorded to date. This delay can vary substantially depending on the system load. |
(3) | Displays the following:
|
(4) | Displays the following:
|
(5) | Displays the following:
|
(6) | Port number—Port number for the sending router, the port number for the receiving router, and the protocol ID. For MPLS traffic engineering applications, the protocol ID is always 0. |
(7/8) | Record route—All intermediate and egress router addresses for this LSP. |
(9/10/11) | Displays traffic statistics:
|
(12) | Displays any errors the router encountered while attempting to retrieve information on the LSP. |
(13) | Lists the keyboard commands you can use to navigate to other LSPs. For a description of the keyboard commands, see Table 1. |
Sample Output
monitor label-switched-path
user@host> monitor label-switched-path (1) host Seconds: 112 Time: 15:32:22 (2) Delay: 0/0/0 (3) To 10.10.10.16, From 10.10.10.17, state: Up (4) LSPname: k, type: Ingress (5) Label in: -, Label out: 126000 (6) Port number: sender 1, receiver 45583, protocol 0 (7) Record Route: <self> 192.168.224.196 (8) 192.168.224.202 192.168.224.179 (9) Traffic statistics: Current delta (10) Output packets: 0 [0] (11) Output bytes: 0 [0] (12) (13)Next='n', Prev='p', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', LSP='l'
