In VLL networking, CFM is enabled. CCMs are not used to monitor link connectivity, preventing them from using excessive network bandwidth resources. If frame loss measurement needs to be performed for a link, single-ended frame loss measurement can be configured to monitor the link quality.
To implement one-time or periodic single-ended frame loss measurement for a PW or an AC, configure on-demand single-end frame loss measurement in VLL networking.
To implement continuous single-ended frame loss measurement for a PW, configure proactive single-ended frame loss measurement in VLL networking.
Service packets are prioritized based on 802.1p priorities and are transmitted using different policies. As shown in Figure 1, the 802.1p priority values contained in traffic passing through the P on the VLL are 1 and 2.
Frame loss 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 loss measurement is sent out after frame loss 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 loss measurement fails to reach PE2 in time, causing incorrect frame loss statistics.
802.1p-priority-based single-ended frame loss measurement can be configured for the VLL for accurate proactive frame loss tests.
Perform the following steps on the PEs at both ends of a PW where single-ended frame loss measurement will be implemented:
Run system-view
The system view is displayed.
Run cfm mdmd-name
The MD view is displayed.
Run mama-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
An RMEP 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 measure-point mep mep-id pw
A measurement point for collecting Y.1731 statistics is configured.
Configure a test instance on the device.
On the receiving device of a PW where single-ended frame loss measurement will be implemented:
Run test-id test-id [ testid-file ]mep mep-id [ description description ]
A test instance is configured on the device.
On the transmitting device of a PW where single-ended frame loss measurement will be implemented:
Run test-id test-id [ testid-file ]mep mep-id [ mac mac-address | remote-mepmep-id ] [ description description ]
A test instance is configured on the device.
On the receiving device of a PW where single-ended frame loss measurement will be implemented:
Run loss-measure single-ended receive test-id test-id-value
The LMM reception function is configured on the device.
On the transmitting device of a PW where single-ended frame loss measurement will be implemented:
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 configured for a PW.
Run commit
The configuration is committed.
Configure on-demand single-ended frame loss measurement for an AC.
Perform the following steps on the devices at both ends of an AC where single-ended frame loss 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
An RMEP 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
An AC interface is configured as the measurement point.
Configure a test instance on the device.
On the receiving device of an AC where single-ended frame loss measurement will be implemented:
Run test-id test-id [ testid-file ]mep mep-id [ 8021p 8021p-value ] [ description description ]
A test instance is configured on the device.
On the transmitting device of an AC where single-ended frame loss measurement will be implemented:
Run test-id test-id [ testid-file ] mepmep-id [mac mac-address |remote-mep mep-id ] [ 8021p 8021p-value ] [ description description ]
A test instance is configured on the device.
On the receiving device of an AC where single-ended frame loss measurement will be implemented:
Run loss-measure single-ended receive test-id test-id-value
The LMM reception function is configured on the device.
On the transmitting device of an AC where single-ended frame loss measurement will be implemented:
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 configured for an AC.
Run commit
The configuration is committed.
Run the display y1731 statistic-type single-loss [ test-id test-id-value ] [ count count-value ] command on the device that initiates single-ended frame loss measurement to check statistics about single-ended frame loss.