Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

monitor mpls loss rsvp

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
monitor mpls loss rsvp lsp-name
<detail>
<bytes>
<count count>
<interval seconds>
<traffic-class traffic-class>

Description

Perform an on-demand loss measurement and display the measured values for associated bidirectional MPLS ultimate hop popping (UHP) point-to-point label-switched paths (LSPs).

Options

lsp-name

Name of the associated bidirectional MPLS UHP LSP for which the loss measurement is performed.

detail

(Optional) Display detailed output of the LSP loss measurement.

bytes

(Optional) Specify the measurement quantity for the LSP loss measurement as bytes. By default, LSP loss is measured in packets.

Note:

The byte count of a packet sent or received over a channel counts only the payload, including the total length of that packet and excluding the headers, labels, and framing of the channel itself.

count count

(Optional) Specify the number of loss measurements to be carried out for the MPLS UHP LSP. For LSP loss measurement, the number of queries sent is the specified count number plus one additional query, because the LSP loss is measured using successive messages.

  • Default: 10

  • Range: 1 through 1000000

interval seconds

(Optional) Specify in seconds the interval between two successive query messages.

  • Range: 1 through 255 seconds

traffic-class traffic-class

(Optional) Specify the traffic class and enable traffic-class-statistics for the LSP loss measurement.

  • Range: 0 though 7

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the monitor mpls loss rsvp command. Output fields are listed in the approximate order in which they appear.

Table 1: monitor mpls loss rsvp Output Fields

Field Name

Field Description

Level of Output

Current forward loss

Difference between the current forward transmit count and the current forward receive count.

All Levels

Current forward loss ratio

Total packet loss (current forward loss divided by current forward transmit count).

All Levels

Current forward throughput

Current forward transmit count divided by 1000.

All Levels

Current reverse loss

Difference between the current reverse transmit count and the current reverse receive count.

All Levels

Current reverse loss ratio

Total packet loss (current reverse loss divided by current reverse transmit count).

All Levels

Current reverse throughput

Current reverse transmit count divided by 1000.

All Levels

Cumulative forward transmit count

Cumulative forward transmit counter value at the time the loss measurement message was originated.

All Levels

Cumulative forward loss

Cumulative forward loss counter value at the time the loss measurement message was originated.

All Levels

Average forward loss ratio

Average packet loss (current forward loss divided by current forward transmit count).

All Levels

Average forward throughput

Average forward transmit count divided by 1000.

All Levels

Cumulative reverse transmit count

Cumulative reverse transmit counter value at the time the loss measurement message was originated.

All Levels

Cumulative reverse loss

Difference between the cumulative reverse transmit count and the cumulative reverse receive count.

All Levels

Average reverse loss ratio

Average packet loss (average reverse loss divided by average reverse transmit count).

All Levels

Average reverse throughput

Average reverse transmit count divided by 1000.

All Levels

LM queries sent

Number of queries sent for loss measurement.

All Levels

LM responses received

Number of responses received for loss measurement queries.

All Levels

LM queries timedout

Number of timed out queries sent for loss measurement.

All Levels

LM responses dropped due to errors

Number of loss measurement responses dropped due to errors.

All Levels

Response code

Status of the messages used for loss measurement. Response code can be one of the following:

  • Success—Successful response code.

  • Failed—Failed response code.

detail

Origin timestamp

Time and date the loss measurement message is originated without any specific format (NTP and PTP).

detail

Forward transmit count

Forward transmit counter value at the time the loss measurement message was originated.

detail

Forward receive count

Forward receive counter value at the time the loss measurement message was originated.

detail

Reverse transmit count

Reverse transmit counter value at the time the loss measurement message was originated.

detail

Reverse receive count

Reverse receive counter value at the time the loss measurement message was originated.

detail

Current forward transmit count

Difference between the current forward transit count and the previous forward transit count.

detail

Current forward receive count

Difference between the current forward receive count and the previous forward receive count.

detail

Current reverse transmit count

Difference between the current reverse transit count and the previous reverse transit count.

detail

Current reverse receive count

Difference between the current reverse receive count and the previous reverse receive count.

detail

Sample Output

monitor mpls lsp loss rsvp count

content_copy zoom_out_map
user@host> monitor mpls lsp loss rsvp count 2

(1)
Current forward loss                     : 0 packets
Current forward loss ratio               : 0.000000
Current forward throughput               : 1.006 kpps
Current reverse loss                     : 0 packets
Current reverse loss ratio               : 0.000000
Current reverse throughput               : 1.007 kpps
(2)
Current forward loss                     : 0 packets
Current forward loss ratio               : 0.000000
Current forward throughput               : 0.559 kpps
Current reverse loss                     : 0 packets
Current reverse loss ratio               : 0.000000
Current reverse throughput               : 0.562 kpps

Cumulative forward transmit count        : 1559
Cumulative forward loss                  : 0 packets
Average forward loss ratio               : 0.000000
Average forward throughput               : 0.782 kpps
Cumulative reverse transmit count        : 1563
Cumulative reverse loss                  : 0 packets
Average reverse loss ratio               : 0.000000
Average reverse throughput               : 0.784 kpps

LM queries sent                          : 3
LM responses received                    : 3
LM queries timedout                      : 0
LM responses dropped due to errors       : 0

monitor mpls lsp loss rsvp detail

content_copy zoom_out_map
user@host> monitor mpls lsp loss rsvp detail
(0)
Response code                            : Success
Origin timestamp                         : 1404129082 secs, 905571890 nsecs
Forward transmit count                   : 83040
Forward receive count                    : 83040
Reverse transmit count                   : 83100
Reverse receive count                    : 83100
(1)
Response code                            : Success
Origin timestamp                         : 1404129083 secs, 905048410 nsecs
Forward transmit count                   : 83841
Forward receive count                    : 83841
Reverse transmit count                   : 83904
Reverse receive count                    : 83904
Current forward transmit count           : 801
Current forward receive count            : 801
Current forward loss                     : 0 packets
Current forward loss ratio               : 0.000000
Current forward throughput               : 0.801 kpps
Current reverse transmit count           : 804
Current reverse receive count            : 804
Current reverse loss                     : 0 packets
Current reverse loss ratio               : 0.000000
Current reverse throughput               : 0.804 kpps
(2)
Response code                            : Success
Origin timestamp                         : 1404129084 secs, 904828715 nsecs
Forward transmit count                   : 84423
Forward receive count                    : 84423
Reverse transmit count                   : 84487
Reverse receive count                    : 84487
Current forward transmit count           : 582
Current forward receive count            : 582
Current forward loss                     : 0 packets
Current forward loss ratio               : 0.000000
Current forward throughput               : 0.582 kpps
Current reverse transmit count           : 583
Current reverse receive count            : 583
Current reverse loss                     : 0 packets
Current reverse loss ratio               : 0.000000
Current reverse throughput               : 0.583 kpps

Cumulative forward transmit count        : 1383
Cumulative forward loss                  : 0 packets
Average forward loss ratio               : 0.000000
Average forward throughput               : 0.692 kpps
Cumulative reverse transmit count        : 1387
Cumulative reverse loss                  : 0 packets
Average reverse loss ratio               : 0.000000
Average reverse throughput               : 0.694 kpps

LM queries sent                          : 3
LM responses received                    : 3
LM queries timedout                      : 0
LM responses dropped due to errors       : 0

Release Information

Command introduced in Junos OS Release 14.2.

footer-navigation