Example: Configuring Two-Way Ethernet Frame Delay Measurements with Single-Tagged Interfaces
This example uses two MX routers: MX-1 and MX-2. The configuration creates a CFM down MEP session on a VLAN-tagged logical interface connecting the two (ge-5/2/9 on Router MX-1 and ge-0/2/5 on Router MX-2).
![]() | Note: These are not complete router configurations. |
Configuration on Router MX-1:
Configuration on Router MX-2:
From Router MX-1, start a two-way delay measurement to Router MX-2.
user@MX-1> monitor ethernet delay-measurement
two-way mep 101 maintenance-domain md6 maintenance-association ma6
count 10Two-way ETH-DM request to 00:90:69:0a:48:57, Interface ge-5/2/9.0 DMR received from 00:90:69:0a:48:57 Delay: 100 usec Delay variation: 0 usec DMR received from 00:90:69:0a:48:57 Delay: 92 usec Delay variation: 8 usec DMR received from 00:90:69:0a:48:57 Delay: 92 usec Delay variation: 0 usec DMR received from 00:90:69:0a:48:57 Delay: 111 usec Delay variation: 19 usec DMR received from 00:90:69:0a:48:57 Delay: 110 usec Delay variation: 1 usec DMR received from 00:90:69:0a:48:57 Delay: 119 usec Delay variation: 9 usec DMR received from 00:90:69:0a:48:57 Delay: 122 usec Delay variation: 3 usec DMR received from 00:90:69:0a:48:57 Delay: 92 usec Delay variation: 30 usec DMR received from 00:90:69:0a:48:57 Delay: 92 usec Delay variation: 0 usec DMR received from 00:90:69:0a:48:57 Delay: 108 usec Delay variation: 16 usec --- Delay measurement statistics --- Packets transmitted: 10, Valid packets received: 10 Average delay: 103 usec, Average delay variation: 8 usec Best case delay: 92 usec, Worst case delay: 122 usec
The counters are displayed as part of the MEP database on Router MX-1 maintenance domain MD6.
user@MX-1> show oam ethernet connectivity-fault-management
mep-database maintenance-domain md6Maintenance domain name: md6, Format: string, Level: 6
Maintenance association name: ma6, Format: string
Continuity-check status: enabled, Interval: 100ms, Loss-threshold: 3 frames
MEP identifier: 201, Direction: down, MAC address: 00:90:69:0a:43:94
Auto-discovery: enabled, Priority: 0
Interface name: ge-5/2/9.0, Interface status: Active, Link status: Up
Defects:
Remote MEP not receiving CCM : no
Erroneous CCM received : no
Cross-connect CCM received : no
RDI sent by some MEP : no
Statistics:
CCMs sent : 894
CCMs received out of sequence : 0
LBMs sent : 0
Valid in-order LBRs received : 0
Valid out-of-order LBRs received : 0
LBRs received with corrupted data : 0
LBRs sent : 0
LTMs sent : 0
LTMs received : 0
LTRs sent : 0
LTRs received : 0
Sequence number of next LTM request : 0
1DMs sent : 0
Valid 1DMs received : 0
Invalid 1DMs received : 0
DMMs sent : 10
DMRs sent : 0
Valid DMRs received : 10
Invalid DMRs received : 0
Remote MEP count: 1
Identifier MAC address State Interface
101 00:90:69:0a:48:57 ok ge-5/2/9.0The collected MEP statistics are saved (up to 100 per remote MEP or per CFM session) and displayed as part of the MEP statistics on Router MX-1.
user@MX-1> show oam ethernet connectivity-fault-management
mep-statistics maintenance-domain md6MEP identifier: 201, MAC address: 00:90:69:0a:43:94
Remote MEP count: 1
CCMs sent : 3154
CCMs received out of sequence : 0
LBMs sent : 0
Valid in-order LBRs received : 0
Valid out-of-order LBRs received : 0
LBRs received with corrupted data : 0
LBRs sent : 0
LTMs sent : 0
LTMs received : 0
LTRs sent : 0
LTRs received : 0
Sequence number of next LTM request : 0
1DMs sent : 0
Valid 1DMs received : 0
Invalid 1DMs received : 0
DMMs sent : 10
DMRs sent : 0
Valid DMRs received : 10
Invalid DMRs received : 0
Remote MEP identifier: 101
Remote MAC address: 00:90:69:0a:48:57
Delay measurement statistics:
Index One-way delay Two-way delay
(usec) (usec)
1 100
2 92
3 92
4 111
5 110
6 119
7 122
8 92
9 92
10 108
Average two-way delay : 103 usec
Average two-way delay variation: 8 usec
Best case two-way delay : 92 usec
Worst case two-way delay : 122 usec
The collected delay statistics are also saved (up to 100 per session) and displayed as part of the MEP delay statistics on Router MX-1.
user@MX-1> show oam ethernet connectivity-fault-management
delay-statistics maintenance-domain md6MEP identifier: 201, MAC address: 00:90:69:0a:43:94
Remote MEP count: 1
Remote MAC address: 00:90:69:0a:48:57
Delay measurement statistics:
Index One-way delay Two-way delay
(usec) (usec)
1 100
2 92
3 92
4 111
5 110
6 119
7 122
8 92
9 92
10 108
Average two-way delay : 103 usec
Average two-way delay variation: 8 usec
Best case two-way delay : 92 usec
Worst case two-way delay : 122 usec

