In EVPN networking, the clock frequencies between the two ends are synchronized and CFM is enabled to monitor link connectivity. If the unidirectional delay measurement needs to be performed for a link, one-way frame delay measurement can be configured to monitor the quality of the link.
To implement singular or periodic one-way frame delay measurement for an EVPN instance or an AC, configure on-demand one-way frame delay measurement in EVPN networking.
To implement continual one-way frame delay measurement for an EVPN instance or an AC, configure proactive one-way frame delay measurement in EVPN networking.
Perform the following steps on the devices at both ends of an AC where on-demand one-way frame delay measurement will be implemented:
Run system-view
The system view is displayed.
Run cfm md md-name
The MD view is displayed.
Run ma ma-name
The MA view is displayed.
Associate the MA with a service.
Run mep mep-id mep-id interface interface-type interface-number inward
The MEP is configured.
Run remote-mep mep-idmep-id
The remote MEP ID 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.
Configure a test instance.
On the receiving device on an AC where on-demand one-way frame delay measurement will be implemented, run the test-idtest-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ] command.
A test instance is configured on the device.
On the transmitting device on an AC where one-way frame delay measurement will be implemented, run the test-idtest-id [ testid-file ]mepmep-id [ macmac-address | remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ] command.
A test instance is configured on the device.
On the receiving device on an AC where on-demand one-way frame delay measurement will be implemented, run delay-measure one-way receive test-id test-id
The function to receive DMMs to implement one-way frame delay measurement is enabled.
On the transmitting device on an AC where one-way frame delay measurement will be implemented, run delay-measure one-way send test-id test-id interval { 1000 | 10000 } count count-value
On-demand one-way frame delay measurement is configured for an AC.
Run commit
The configuration is committed.
Perform the following steps:
Run system-view
The system view is displayed.
(Optional) Run y1731 pm-mode enable
Performance management (PM) to manage Y.1731 proactive performance statistics is enabled. PM saves the statistics to generated statistics files and then sends the files to the NMS.
Run cfm md md-name
The MD view is displayed.
Run ma ma-name
The MA view is displayed.
The MA is bound to a specified EVPN instance.
Run mep mep-id mep-id interface interface-type interface-number inward
The MEP is configured.
Run remote-mep mep-id mep-id
The remote MEP ID 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-id mep-id ] enable
The CCM reception function is enabled.
(Optional) Run delay-measure one-way delay-threshold mep-id mep-id upper-limit upper-limit lower-limit lower-limit [ 8021p 8021p-value ]
Lower and upper thresholds are set for one-way frame delay.
(Optional) Run delay-measure one-way variation-thresholdmepmep-idupper-limitupper-limitlower-limitlower-limit [ 8021p8021p-value ]
Sets alarm thresholds for two-way frame jitter in proactive two-way frame delay measurement based on the test instance.
Configure the test instance.
On the receiving device on an AC where two-way frame delay measurement will be implemented, run the test-idtest-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ] command.
A test instance is configured on the device.
On the transmitting device on an AC where two-way frame delay measurement will be implemented, run the test-idtest-id [ testid-file ]mepmep-id [ macmac-address | remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ] command.
A test instance is configured on the device.
On the receiving device on an AC where proactive two-way frame delay measurement will be implemented, run delay-measure one-way continual receivetest-idtest-id-value
The DMM reception function is configured on the device.
On the transmitting device on an AC where proactive two-way frame delay measurement will be implemented, run delay-measure one-way continual sendtest-id test-id-value interval interval-value
Proactive two-way frame delay measurement is configured for an AC.
Run commit
The configuration is committed.
Run the display y1731 statistic-type oneway-delay [ test-id test-id-value ] [ count count-value ] command on the device that initiates one-way frame delay measurement to check statistics about the delay in unidirectional frame transmission.