In VLAN networking, the clock frequency between the two ends are not synchronized and CFM is enabled to monitor link connectivity. If the bidirectional delay measurement needs to be performed for a link, two-way frame delay measurement can be configured to monitor the quality of the link.
On-demand mode: manually collects delay statistics once or a specified number of times during diagnosis.
Proactive mode: periodically collects delay statistics.
Perform the following steps on the MEP and RMEP:
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.
Run map vlan vlan-id
The MA is bound to a VLAN.
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.
(Optional) Run delay-measure two-way threshold threshold-value, set alarm thresholds for two-way frame delay measurement.
Configure the test instance.
On the receiving device of a link where single-ended frame loss measurement will be implemented, run test-idtest-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ]
The test instance is configured on the device.
On the transmitting device of a link where single-ended frame loss measurement will be implemented, run test-idtest-id [ testid-file ]mepmep-id [ macmac-address | remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ]
The test instance is configured on the device.
On the receiver RMEP, run delay-measure two-way receive test-id test-id-value
The receiver is enabled to receive DMMs.
On the initiator MEP, run delay-measure two-way send test-id test-id-value interval interval-value count count-value
Two-way frame delay measurement is configured in a VLAN.
VLAN-specific two-way delay measurement is performed based on either of the following item
Run commit
The configuration is committed.
Perform the following steps on the MEP and RMEP:
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 mapvlanvlan-id
The MA is bound to a VLAN.
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.
Use either of the following methods to set alarm thresholds for two-way frame delay.
Delay thresholds are configured for proactive two-way frame delay measurement based on a MEP.
(Optional) Run delay-measure two-way delay-threshold test-id test-id-value upper-limit upper-limit lower-limit lower-limit,
(Optional) Run delay-measure two-way threshold threshold-value
An alarm threshold is set for two-way frame delay.
The delay-measure two-way threshold and delay-measure two-way delay-threshold commands are mutually exclusive.
Set alarm thresholds for two-way frame jitter.
(Optional) Run delay-measure two-way variation-threshold mep mep-id upper-limit upper-limit lower-limit lower-limit [ 8021p 8021p-value ],
(Optional) Run delay-measure two-way variation-threshold test-id test-id-value upper-limit upper-limit lower-limit lower-limit,
Configure the test instance.
On the receiving device of a link where single-ended frame loss measurement will be implemented, run test-idtest-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ]
The test instance is configured on the device.
On the transmitting device of a link where single-ended frame loss measurement will be implemented, run test-idtest-id [ testid-file ]mepmep-id [ macmac-address | remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ]
The test instance is configured on the device.
On the initiator MEP, run delay-measure two-way continual send test-id test-id-value interval interval-value [ period period ]
Proactive two-way frame delay measurement is configured in a VLAN.
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.