In EVPN networking scenarios where CFM is enabled, if CCMs are not used for link connectivity monitoring to minimize their impact on the network, you can configure single-ended frame loss measurement to measure frame loss rates and monitor link quality.
Configure on-demand measurement if you need the device to collect single-ended frame loss statistics for a specified number of times.
Configure proactive measurement if you need the device to collect single-ended frame loss statistics continuously.
The system view is displayed.
The MD view is displayed.
The MA view is displayed.
Perform the following steps on the devices where the MEP and RMEP reside:
On the CE, run map vlan vlan-id
The MA is bound to a VLAN.
On the PE, run map { evpn vpn-instance evpn-instance-name | bridge-domain bd-id }
The MA is bound to a specified EVPN instance.
For EVPN VPWS or EVPN VPLS in common AC interface mode, specify evpn vpn-instance evpn-instance-name.
For EVPN VPLS in BD mode, specify bridge-domain bd-id.
Run mep mep-id mep-id interface interface-type interface-number outward
An MEP is configured.
Run remote-mep mep-id mep-id
An RMEP is configured.
The MEP is enabled to send CCMs.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The MEP is enabled to receive CCMs from the RMEP.
Configure test instances.
On the receiver RMEP:
Run loss-measure single-ended receive test-id test-id-value
The RMEP is enabled to receive LMMs.
On the initiator MEP:
Run loss-measure single-ended send test-id test-id-value interval { 1000 | 10000 } count count-value
On-demand single-ended frame loss measurement is enabled.
Run commit
The configuration is committed.
The system view is displayed.
(Optional) Run y1731 pm-mode enable
PM is enabled to manage and send Y.1731 proactive performance statistics to the NMS.
The MD view is displayed.
The MA view is displayed.
Perform the following steps on the devices where the MEP and RMEP reside:
On the CE, run map vlan vlan-id
The MA is bound to a VLAN.
On the PE, run map { evpn vpn-instance evpn-instance-name | bridge-domain bd-id }
The MA is bound to a specified EVPN instance.
For EVPN VPWS or EVPN VPLS in common AC interface mode, specify evpn vpn-instance evpn-instance-name.
For EVPN VPLS in BD mode, specify bridge-domain bd-id.
Run mep mep-id mep-id interface interface-type interface-number outward
An MEP is configured.
Run remote-mep mep-id mep-id
An RMEP is configured.
The MEP is enabled to send CCMs.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The MEP is enabled to receive CCMs from the RMEP.
Lower and upper thresholds are set for the near-end frame loss rate in proactive single-ended frame loss measurement on a specified MEP.
Lower and upper thresholds are set for the far-end frame loss rate in proactive single-ended frame loss measurement on a specified MEP.
Configure test instances.
On the receiver RMEP:
Run test-id test-id [ testid-file ] mep mep-id [ description description ]
A test instance is configured.
On the initiator MEP:
Run test-id test-id [ testid-file ] mep mep-id [ mac mac-address | remote-mep mep-id ] [ description description ]
A test instance is configured.
Lower and upper thresholds are set for the near-end frame loss rate in proactive single-ended frame loss measurement in a specified test instance.
Lower and upper thresholds are set for the far-end frame loss rate in proactive single-ended frame loss measurement in a specified test instance.
On the receiver RMEP:
Run loss-measure single-ended receive test-id test-id-value
The RMEP is enabled to receive LMMs.
On the initiator MEP:
Run loss-measure single-ended continual send test-id test-id-value interval interval-value [ period period ]
Proactive single-ended frame loss measurement is enabled.
Run commit
The configuration is committed.
After completing the configuration, run the display y1731 statistic-type single-loss [ test-id test-id-value ] [ count count-value ] command on the MEP that initiates single-ended frame loss measurement to check statistics about single-ended frame loss.