In BD EVPN networking, if the clocks of the MEPs at both ends of a link are not synchronized and the requirement for delay measurement is not high, two-way frame delay measurement can be configured for the link.
To implement singular or periodic two-way frame delay measurement for an AC, configure on-demand two-way frame delay measurement in BD EVPN networking.
To implement continual two-way frame delay measurement for an AC, configure proactive two-way frame delay measurement in BD EVPN mode networking.
Perform the following steps on the devices at both ends of an AC where on-demand two-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.
Perform the following steps on the devices where the MEPs reside:
Run mep mep-id
The MEP is configured.
Run remote-mep mep-id mep-id
The remote MEP ID is configured.
The CCM transmission function is enabled.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The CCM reception function is enabled.
Configure a test instance.
To configure a test instance on the receiving device on an AC where on-demand two-way frame delay measurement will be implemented, run the test-idtest-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ] command.
To configure a test instance 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.
On the receiving device on an AC where on-demand two-way frame delay measurement will be implemented, run delay-measure two-way receivetest-idtest-id
The DMM reception function is configured on the device.
On the transmitting device on an AC where on-demand two-way frame delay measurement will be implemented, run delay-measure two-way send test-id test-id-value interval { 1000 | 10000 } count count-value
On-demand two-way frame delay measurement 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 two-way frame delay measurement will be implemented:
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.
Run map bridge-domain bd-id
The MA is bound to a BD.
Run mep mep-id
The MEP is configured.
Run remote-mep mep-id mep-id
The remote MEP ID is configured.
The CCM transmission function is enabled.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The CCM reception function is enabled.
Delay thresholds are configured for proactive two-way frame delay measurement based on a MEP.
Upper and lower thresholds are set for two-way frame delay in proactive two-way frame delay measurement based on a specified test instance.
Upper and lower thresholds are set for two-way frame jitter in proactive two-way frame delay measurement based on a specified MEP.
Upper and lower thresholds are set for two-way frame jitter in proactive two-way frame delay measurement based on a specified test instance.
Configure a test instance for an AC.
To configure a test instance on the receiving device on an AC where on-demand two-way frame delay measurement will be implemented, run the test-idtest-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ] command.
To configure a test instance 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.
On the receiving device on an AC where two-way frame delay measurement will be implemented, run delay-measure two-way receivetest-idtest-id
The DMM reception function is configured on the device.
On the transmitting device on an AC where two-way frame delay measurement will be implemented, run delay-measure two-way continual sendtest-id test-id-value interval interval-value [ period period ]
On-demand two-way frame delay measurement is configured for an AC.
Run commit
The configuration is committed.
Run the display y1731 statistic-type twoway-delay [ test-id test-id-value ] [ count count-value ] command on the device that initiates two-way frame delay measurement to check statistics about the delay in bidirectional frame transmission.