Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

monitor label-switched-path

Syntax

Description

Display the real-time status of the specified RSVP label-switched path (LSP). You can also use this command to monitor LSPs configured within logical systems.

Options

logical-system ( logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

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

Output 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:

  • hostname—Name of the router.

  • Seconds—Time elapsed since this display was started.

  • Time—Current local time.

(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:

  • To—Destination address of the LSP.

  • From—Originating address of the LSP.

  • State—Current state of the LSP: Up or Down.

(4)

Displays the following:

  • LSPName—Name of the LSP.

  • Type—Type of LSP: Ingress, Egress, or Transit.

(5)

Displays the following:

  • Label in—Incoming label of the LSP.

  • Label out—Outgoing label of the LSP.

(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:

  • Output packets—Number of packets that have traversed this LSP, and the change (delta) in the number since the last sample, typically 1 second ago.

  • Output bytes—Number of bytes that have traversed this LSP, and the change (delta) in the number since the last sample, typically 1 second ago.

(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

Release Information

Command introduced before Junos OS Release 7.4.

Logical system support introduced in Junos OS Release 9.4.