In VLL 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 a PW or an AC, configure on-demand one-way frame delay measurement in VLL networking.
To implement continual one-way frame delay measurement for a PW or an AC, configure proactive one-way frame delay measurement in VLL networking.
802.1p priorities carried by packets on a network are used to differentiate services, and therefore different policies can be deployed for services. As shown in Figure 1, the 802.1p priority values contained in traffic passing through the P on the VLL are 1 and 2.
One-way frame delay measurement is performed for the link between PE1 and PE2. Assume that traffic (with the priority value of 2) that is not involved in frame delay measurement is sent out after one-way frame delay measurement is enabled. The traffic is forwarded preferentially, because its priority is high. As a result, the traffic (with the priority value of 1) that is involved in frame delay measurement fails to reach PE2 in time, causing incorrect frame delay statistics.
802.1p-priority-based one-way frame delay measurement can be configured for the VLL for accurate proactive frame delay tests.
Configure on-demand one-way frame delay measurement for a PW.
Perform the following steps on the devices at both ends of a PW where 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.
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
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.
A measurement point for collecting Y.1731 statistics is configured.
Configure a test instance.
On the receiving device on a PW where on-demand one-way frame delay measurement will be implemented, run test-idtest-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ descriptiondescription ]:
A test instance is configured on the device.
On the transmitting device on a PW where one-way frame delay measurement will be implemented, run test-idtest-id [ testid-file ]mepmep-id [ macmac-address | remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ]:
A test instance is configured on the device.
On the receiving device on a PW where on-demand one-way frame delay measurement will be implemented, run delay-measure one-way receivetest-idtest-id
The 1DM reception function is configured on the device.
On the transmitting device on a PW where one-way frame delay measurement will be implemented, run delay-measure one-waysendtest-idtest-idinterval { 1000 | 10000 } countcount-value
On-demand one-way frame delay measurement is configured for a PW.
Run commit
The configuration is committed.
Configure on-demand one-way frame delay measurement for an AC.
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.
Perform the following steps on the devices where the MEPs reside:
On the CE, run map vlan vlan-id
The MA is bound to a VLAN.
On the PE, associate the MA with a service.
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
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.
Run measure-point mep mep-id ac
A measurement point for collecting Y.1731 statistics is configured for an AC.
Configure a test instance.
On the receiving device on an AC where on-demand one-way frame delay measurement will be implemented, run test-idtest-id [ testid-file ] mep mep-id [ 8021p8021p-value ] [ descriptiondescription ]
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 test-idtest-id [ testid-file ] mepmep-id [macmac-address |remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ]
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 receivetest-idtest-id
The 1DM reception function is configured on the device.
On the transmitting device on an AC where on-demand one-way frame delay measurement will be implemented, run delay-measure one-waysendtest-idtest-idinterval { 1000 | 10000 } countcount-value
On-demand one-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.