To perform packet loss performance measurement on a point-to-multipoint or multipoint-to-multipoint links, deploy single-ended synthetic loss measurement (SLM) to monitor the link quality.
In EVPN networking, single-ended SLM includes on-demand and proactive SLM functions. On-demand single-ended SLM collects single-ended frame loss statistics at one or more specific times for diagnosis. Proactive single-ended SLM collects single-ended frame loss statistics periodically.
To collect performance statistics about frame loss on the network or AC side at a time or periodically, configure on-demand single-ended SLM through the EVPN.
To continuously collect performance statistics about frame loss on the AC side, configure proactive single-ended SLM through the EVPN.
Service packets are prioritized based on 802.1p priorities and are transmitted using different policies. Traffic from PE1 to PE3 shown in Figure 1 carries 802.1p priority values of 1 and 2. When single-ended SLM is performed for the link between PE1 and PE3, SLM frames with different priorities can be sent to determine the impact of a physical link on loss of packets with different priority values. The network administrator then can adjust QoS policies on the path. To collect accurate performance statistics, configure 802.1p priority-based single-ended SLM for the EVPN.
Configure on-demand single-ended SLM on the AC side.
Perform the following steps on the devices at both ends of an AC where on-demand single-ended SLM will be implemented:
Run system-view
The system view is displayed.
Run cfm mdmd-name
The MD view is displayed.
Run mama-name
The MA view is displayed.
Perform the following steps on the devices where the MEPs reside:
Run mep mep-id mep-id interface interface-type interface-number inward
A MEP is configured.
Run remote-mep mep-idmep-id
An RMEP is configured.
(Optional) Run mep ccm-send [ mep-id mep-id ] enable
The CCM transmission function is enabled.
(Optional) Run remote-mep ccm-receive [ mep-idmep-id ] enable
The CCM reception function is enabled.
Run test-id test-id [ testid-file ]mep mep-id [ description description ]
The test instance is configured on the device.
Perform the following configuration on the RMEP that receives SLM frames on the AC side:
Run loss-measure single-ended-synthetic receivetest-idtest-id [ time-outtimeout-value ]
The RMEP is enabled to receive SLM frames.
Perform the following configuration on the MEP that sends SLM frames to initiate on-demand single-ended SLM on the AC side:
Run loss-measure single-ended-synthetic sendtest-id test-id interval { 100 | 1000 } [ sending-count count-value ] [ time-out time-out-value ]
On-demand single-ended SLM is configured for an AC.
Run commit
The configuration is committed.
Perform the following steps on the devices at both ends of an AC where proactive single-ended SLM will be implemented:
The system view is displayed.
(Optional) Run y1731 pm-mode enable
PM is enabled to manage Y.1731 proactive performance statistics.
Run cfm mdmd-name
The MD view is displayed.
Run mama-name
The MA view is displayed.
Run mapevpnvpn-instanceevpn-instance-name
The MA is bound to an EVPN instance.
Run mep mep-id mep-id interface interface-type interface-number inward
An interface-based MEP is configured.
Run remote-mep mep-idmep-id
An RMEP is configured.
(Optional) Run mep ccm-send [ mep-id mep-id ] enable
The CCM transmission function is enabled.
This command can be configured only on an interface-based MEP.
(Optional) Run remote-mep ccm-receive [ mep-idmep-id ] enable
The CCM reception function is enabled.
Run test-id test-id [ testid-file ]mep mep-id [ description description ]
The test instance is configured on the device.
Upper and lower thresholds are set for the near-end frame loss rate in proactive single-ended frame loss measurement based on a specified test instance.
Upper and lower thresholds are set for the far-end frame loss rate in proactive single-ended frame loss measurement based on a specified test instance.
Perform the following configuration on the RMEP that receives SLM frames on the AC side:
Run loss-measure single-ended-synthetic receivetest-idtest-id [ time-outtimeout-value ]
The RMEP is enabled to receive SLM frames.
Perform the following configuration on the MEP that sends SLM frames to initiate proactive single-ended SLM on the AC side:
Run loss-measure single-ended-synthetic continual sendtest-id test-id interval { 1000 | 10000 } [ sending-count count-value ] [ time-out timeout ] [ period period ]
Proactive single-ended SLM is enabled on the network or AC side.
Run commit
The configuration is committed.
After configuring single-ended SLM, run the display y1731 statistic-type single-synthetic-loss test-id test-id [ count count ] command on the MEP that has been enabled to send SLM frames.