monitor ethernet loss-measurement
Syntax
Release Information
Command introduced in Junos OS Release 11.1.
local-mep option introduced in Junos OS Release 15.1
Description
Start an ITU-T Y.1731 Ethernet frame loss measurement session between the specified local connectivity fault management (CFM) maintenance association end point (MEP) and the specified remote MEP, and display a count of transmitted and received data frames between the pair of MEPs. Frame loss measurement statistics are stored at one of the MEPs for later retrieval. For MX Series routers, supports point-to-point down MEPs for Ethernet interfaces (as per IEEE 802.1ag over VPWS).
If you attempt to monitor loss to a nonexistent MAC address, you must type Ctrl + c to explicitly quit the monitor ethernet loss-measurement command and return to the CLI command prompt.
To start an Ethernet frame loss measurement session, the router first sends frames with ETH-LM information to a peer MEP and similarly receives frames with ETH-LM information from the peer MEP. Frame loss is calculated by collecting the counter values applicable for ingress and egress service frames where the counters maintain a count of transmitted and received data frames between a pair of MEPs. The loss measurement statistics are retrieved as the output of the monitor ethernet loss-measurement command and are also stored at the initiator. The frames counts are stored at both the initiator and the receiver MEPs for later retrieval.
Options
Additional Information
To display the interator output for an LM session, run the following command:
show oam ethernet connectivity-fault-management sla-iterator-statistics sla-iterator <profile> maintenance-association <MA> maintenance-domain <MD> local-mep <MEP> remote-mep <RMEP>
To display the frame counts collected at an MEP as the result of this command, see the following command descriptions in the CLI Explorer:
show oam ethernet connectivity-fault-management loss-statistics
show oam ethernet connectivity-fault-management interfaces detail
show oam ethernet connectivity-fault-management mep-database
show oam ethernet connectivity-fault-management mep-statistics
To display the statistics collected at an MEP as the result of this command, see the following command descriptions in the CLI Explorer:
show oam ethernet connectivity-fault-management delay-statistics
show oam ethernet connectivity-fault-management mep-statistics
To clear both the frame counts and the statistics collected for MEPs, use the clear oam ethernet connectivity-fault-management loss-statistics maintenance-domain md-name maintenance-association ma-name command, as described in the CLI Explorer.
For a complete description of Ethernet frame loss measurement, see the ITU-T Y.1731 Ethernet Service OAM topics in the Junos OS Network Interfaces Library for Routing Devices.
Required Privilege Level
trace and maintenance
Related Documentation
List of Sample Output
monitor ethernet loss-measurementOutput Fields
Table 1 lists the output fields for the monitor ethernet loss-measurement command and their descriptions. Output fields are listed in the approximate order in which they appear.
Table 1: monitor ethernet loss-measurement output fields
Output Field Name | Output Field Description |
---|---|
Ethernet loss delay measurement request to | Unicast MAC address of the remote peer MEP. |
Interface | Name of the Ethernet physical, logical, or trunk interface to which the local MEP is attached. |
LMR received from | Unicast MAC address of the remote MEP that transmitted this LMR frame in response to a loss measurement message (LMM) frame. |
Near-end frame loss | Count of frame loss associated with ingress data frames. |
Far-end frame loss | Count of frame loss associated with egress data frames. |
Near-end loss ratio | Ratio, expressed as a percentage, of the number of service frames not delivered divided by the total number of service frames during time interval T at the ingress interface. |
Far-end loss ratio | Ratio, expressed as a percentage, of the number of service frames not delivered divided by the total number of service frames during time interval T at the egress interface. |
LMM packets transmitted | Total number of LMM PDU frames sent to the remote MEP in this measurement session. |
LMR packets received | Total number of LMR PDU frames received from the remote MEP in this measurement session. |
Average near-end frame loss | Average frame loss measured in this session associated with ingress data frames. |
Average near-end loss ratio | Average frame loss ratio measured in this session associated with ingress data frames. |
Average far-end frame loss | Average frame loss measured in this session associated with egress data frames. |
Average far-end loss ratio | Average frame loss ratio measured in this session associated with egress data frames. |
Near-end best case frame loss | Lowest frame loss measured in this session associated with ingress data frames. |
Near-end best case loss ratio | Lowest frame loss ratio measured in this session associated with ingress data frames. |
Near-end worst case frame loss | Highest frame loss measured in this session associated with ingress data frames. |
Near-end worst case loss ratio | Highest frame loss ratio measured in this session associated with ingress data frames. |
Far-end best case frame loss | Lowest frame loss measured in this session associated with egress data frames. |
Far-end best case loss ratio | Lowest frame loss ratio measured in this session associated with egress data frames. |
Far-end worst case frame loss | Highest frame loss measured in this session associated with egress data frames. |
Far-end worst case loss ratio | Highest frame loss ratio measured in this session associated with egress data frames. |
Note that in the preceding table, the term number of service frames not delivered is the difference between the number of service frames arriving at the ingress Ethernet flow point and the number of service frames delivered at the egress Ethernet flow point in a point-to-point Ethernet connection.
Sample Output
monitor ethernet loss-measurement
user@host> monitor ethernet loss-measurement
mep 2 64:87:88:6a:da:94 maintenance-domain md maintenance-association
ma count 10
ETH-LM request to 64:87:88:6a:da:94, Interface ge-2/3/2.0 LMR received from 64:87:88:6a:da:94 Near-end frame loss(CIR) :0 Far-end frame loss(CIR):0 Near-end frame loss ratio(CIR):0.00000% Far-end frame loss ratio(CIR):0.00000% Near-end frame loss(EIR) :0 Far-end frame loss(EIR):260 Near-end frame loss ratio(EIR):0.00000% Far-end frame loss ratio(EIR):88.43537% LMR received from 64:87:88:6a:da:94 Near-end frame loss(CIR) :0 Far-end frame loss(CIR):1 Near-end frame loss ratio(CIR):0.00000% Far-end frame loss ratio(CIR):0.51546% Near-end frame loss(EIR) :0 Far-end frame loss(EIR):257 Near-end frame loss ratio(EIR):0.00000% Far-end frame loss ratio(EIR):88.31615% LMR received from 64:87:88:6a:da:94 Near-end frame loss(CIR) :0 Far-end frame loss(CIR):0 Near-end frame loss ratio(CIR):0.00000% Far-end frame loss ratio(CIR):0.00000% Near-end frame loss(EIR) :0 Far-end frame loss(EIR):261 Near-end frame loss ratio(EIR):0.00000% Far-end frame loss ratio(EIR):88.77551% LMR received from 64:87:88:6a:da:94 Near-end frame loss(CIR) :0 Far-end frame loss(CIR):0 Near-end frame loss ratio(CIR):0.00000% Far-end frame loss ratio(CIR):0.00000% Near-end frame loss(EIR) :0 Far-end frame loss(EIR):260 Near-end frame loss ratio(EIR):0.00000% Far-end frame loss ratio(EIR):88.43537% LMR received from 64:87:88:6a:da:94 Near-end frame loss(CIR) :0 Far-end frame loss(CIR):1 Near-end frame loss ratio(CIR):0.00000% Far-end frame loss ratio(CIR):0.51020% Near-end frame loss(EIR) :0 Far-end frame loss(EIR):259 Near-end frame loss ratio(EIR):0.00000% Far-end frame loss ratio(EIR):88.09524% LMR received from 64:87:88:6a:da:94 Near-end frame loss(CIR) :0 Far-end frame loss(CIR):0 Near-end frame loss ratio(CIR):0.00000% Far-end frame loss ratio(CIR):0.00000% Near-end frame loss(EIR) :0 Far-end frame loss(EIR):519 Near-end frame loss ratio(EIR):0.00000% Far-end frame loss ratio(EIR):88.71795% LMR received from 64:87:88:6a:da:94 Near-end frame loss(CIR) :0 Far-end frame loss(CIR):1 Near-end frame loss ratio(CIR):0.00000% Far-end frame loss ratio(CIR):0.51020% Near-end frame loss(EIR) :0 Far-end frame loss(EIR):259 Near-end frame loss ratio(EIR):0.00000% Far-end frame loss ratio(EIR):88.09524% --- Loss measurement statistics --- LMM packets transmitted: 10, Valid LMR packets received: 8 Average near-end loss(CIR) : 0.00000 Average near-end loss ratio(CIR) : 0.00000% Average far-end loss(CIR) : 0.42857 Average far-end loss ratio(CIR) : 0.21941% Near-end best case loss(CIR) : 0 Near-end best case loss ratio(CIR) : 0.00000% Near-end worst case loss(CIR) : 0 Near-end worst case loss ratio(CIR): 0.00000% Far-end best case loss(CIR) : 0 Far-end best case loss ratio(CIR) : 0.00000% Far-end worst case loss(CIR) : 1 Far-end worst case loss ratio(CIR) : 0.51546% Average near-end loss(EIR) : 0.00000 Average near-end loss ratio(EIR) : 0.00000% Average far-end loss(EIR) : 296.42857 Average far-end loss ratio(EIR) : 88.41011% Near-end best case loss(EIR) : 0 Near-end best case loss ratio(EIR) : 0.00000% Near-end worst case loss(EIR) : 0 Near-end worst case loss ratio(EIR): 0.00000% Far-end best case loss(EIR) : 257 Far-end best case loss ratio(EIR) : 88.09524% Far-end worst case loss(EIR) : 519 Far-end worst case loss ratio(EIR) : 88.77551%