Configuring Y.1731 Functions in VLL Networking
This section describes how to configure Y.1731 functions, including single-ended frame loss measurement, dual-ended frame loss measurement, one-way frame delay measurement, and two-way frame delay measurement in VLL networking.
Application Scenario
The VLL technology implements point-to-point VPN networking. As shown in Figure 6-34, the PEs are connected through a PW. To collect accurate statistics about frame loss on one end of a PW or an AC in VPLS networking, the performance monitoring functions defined by Y.1731 can be used to monitor links.
Pre-configuration Tasks
Before configuring Y.1731 functions in VLL networking, complete the tasks listed in Table 6-18.
Function |
Pre-configuration Tasks |
---|---|
Configuring Y.1731 functions (single-ended frame loss measurement, dual-ended frame loss measurement, one-way frame delay measurement, and two-way frame delay measurement) for an AC in VLL networking |
|
Configuring Y.1731 functions (single-ended frame loss measurement, dual-ended frame loss measurement, one-way frame delay measurement, and two-way frame delay measurement) for a PW in VLL networking |
|
- Binding an MA to a VLL
- Configuring Single-ended Frame Loss Measurement in VLL Networking
- Configuring Dual-ended Frame Loss Measurement in VLL Networking
- Configuring One-way Frame Delay Measurement in VLL Networking
- Configuring Two-way Frame Delay Measurement in VLL Networking
- Configuring Single-ended SLM in VLL Networking
- Configuring the ETH-Test Function for a VLL
- Configuring AIS
Binding an MA to a VLL
Binding an MA to a VLL is a prerequisite for configuring single-ended frame loss measurement, dual-ended frame loss measurement, one-way frame delay measurement, two-way frame delay measurement.
Context
To collect performance statistics about a PW, do as follows on the PEs at both ends of a VLL.
To collect performance statistics about an AC between a PE and a CE, do as follows on the PE.
Procedure
- 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.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
MA cannot be associated with backup VC in 802.1ag.
The interface of the raw type and the interface of the tagged type process packets in different manners, as shown in Table 6-19 and Table 6-20.
Table 6-19 Packet processing on an inbound interfaceInbound Interface Type
Raw Encapsulation (Ethernet Encapsulation)
Tagged Encapsulation (VLAN Encapsulation)
Dot1q sub-interface
Removes one tag.
Keeps the tag unchanged.
Dot1q termination sub-interface
Removes one tag.
Keeps the tag unchanged.
QinQ termination sub-interface (in symmetry mode)
Removes the outer tag.
Keeps both inner and outer tags unchanged.
QinQ termination sub-interface (in asymmetry mode)
Removes both the inner and outer tags.
Removes both inner and outer tags, and then adds another tag.
Table 6-20 Packet processing on an outbound interfaceOutbound Interface Type
Raw Encapsulation (Ethernet Encapsulation)
Tagged Encapsulation (VLAN Encapsulation)
Dot1q sub-interface
Adds one tag.
Replaces the VLAN ID in the tag contained in a packet with the local VLAN ID.
Dot1q termination sub-interface
Adds one tag.
Replaces the VLAN ID in the tag contained in a packet with the local VLAN ID.
QinQ termination sub-interface (in symmetry mode)
Adds an outer tag.
Replaces the VLAN ID in the outer tag contained in a packet with the local VLAN ID.
QinQ termination sub-interface (in asymmetry mode)
Adds two tags.
Removes the outer tag and then adds two tags.
- Run commit
The configuration is committed.
Configuring Single-ended Frame Loss Measurement in VLL Networking
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.
Context
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 6-35, 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.
Procedure
- Configure on-demand single-ended frame loss measurement.
- Configure on-demand single-ended frame loss measurement for a PW.
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.
- Associate the MA with a service.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
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-idmep-id
An RMEP is configured.
Run mep ccm-send enable
The CCM transmission function is enabled.
Run remote-mep ccm-receive [ mep-idmep-id ] enable
The CCM reception function is enabled.
(Optional) Run measure-pointmepmep-idpw
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-idtest-id-value [ testid-file ]mepmep-id [ descriptiondescription ]
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-idtest-id-value [ testid-file ]mepmep-id [ macmac-address |remote-mepmep-id ] [ descriptiondescription ]
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 receivetest-idtest-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 sendtest-idtest-id-valueinterval { 1000 | 10000 } countcount-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 mdmd-name
The MD view is displayed.
Run mama-name
The MA view is displayed.
Perform the following steps on the devices where the MEPs reside:
On the CE, run mapvlanvlan-id
The MA is bound to a VLAN.
On the PE, associate the MA with a service.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
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-idmep-id
An RMEP is configured.
Run mep ccm-send enable
The CCM transmission function is enabled.
Run remote-mep ccm-receive [ mep-idmep-id ] enable
The CCM reception function is enabled.
Run measure-pointmepmep-idac
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-idtest-id-value [ testid-file ]mepmep-id [ 8021p8021p-value ] [ descriptiondescription ]
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-idtest-id-value [ testid-file ]test-id-valuemepmep-id [macmac-address |remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ]
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 receivetest-idtest-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-endedsendtest-idtest-id-valueinterval { 1000 | 10000 } countcount-value
On-demand single-ended frame loss measurement is configured for an AC.
Run commit
The configuration is committed.
- Configure on-demand single-ended frame loss measurement for a PW.
- Configure proactive single-ended frame loss measurement.
Configuring Dual-ended Frame Loss Measurement in VLL Networking
In VLL networking, CFM is enabled to monitor link connectivity. If accurate frame loss measurement needs to be performed for a link, dual-ended frame loss measurement can be configured to monitor the quality of the link.
Context
Dual-ended frame loss measurement is carried out continuously to permit proactive reporting of frame loss or performance results.
Dual-ended frame loss measurement in VLL networking is usually deployed on end-to-end MEPs. Frame loss statistics are collected based on the transmit and receive counters carried by CCMs. Dual-ended frame loss measurement can be successfully performed only when the remote MEP is in the Up state.
Procedure
- Configure dual-ended frame loss measurement for a PW.
Perform the following steps on the devices that initiate dual-ended frame loss measurement.
- 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.
- Associate the MA with a service.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
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.
Run mep ccm-send enable
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-pointmepmep-idpw
A measurement point for collecting Y.1731 statistics is configured.
Run test-idtest-id-value [ testid-file ]mepmep-id [ descriptiondescription ]
The test instance is configured on the device.
(Optional) Run loss-measure dual-ended local-ratio-thresholdmepmep-idupper-limitupper-limitlower-limitlower-limit
Lower and upper thresholds are set for the near-end frame loss rate in dual-ended frame loss measurement.
(Optional) Run loss-measure dual-ended remote-ratio-thresholdmepmep-idupper-limitupper-limitlower-limitlower-limit
Lower and upper thresholds are set for the far-end frame loss rate in dual-ended frame loss measurement.
Run loss-measure dual-ended continual test-id test-id-value
Dual-ended frame loss measurement is enabled for a PW.
Run commit
The configuration is committed.
- Run system-view
- Configure dual-ended frame loss measurement for an AC.
Perform the following steps on the devices that initiate dual-ended frame loss measurement.
- 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 mdmd-name
The MD view is displayed.
Run mama-name
The MA view is displayed.
Perform the following steps on the devices where the peer 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.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
- On the CE, run map vlan vlan-id
Run mep mep-id
The MEP is configured.
Run remote-mep mep-id mep-id
The remote MEP ID is configured.
Run mep ccm-send enable
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.
Run test-idtest-id-value [ testid-file ]mepmep-id [ descriptiondescription ]
The test instance is configured on the device.
(Optional) Run loss-measure dual-ended local-ratio-threshold mep mep-id upper-limit upper-limit lower-limit lower-limit
Lower and upper thresholds are set for the near-end frame loss rate in dual-ended frame loss measurement.
(Optional) Run loss-measure dual-ended remote-ratio-threshold mep mep-id upper-limit upper-limit lower-limit lower-limit
Lower and upper thresholds are set for the far-end frame loss rate in dual-ended frame loss measurement.
Run loss-measure dual-ended continual test-id test-id-value
Dual-ended frame loss measurement is configured for an AC.
Run commit
The configuration is committed.
PW-side statistics collecting does not apply to the scenario where load balancing among trunks and LSPs on the public network.
- Run system-view
Configuring One-way Frame Delay Measurement in VLL Networking
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.
Context
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 6-36, 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.
Procedure
- Configure on-demand one-way frame delay measurement.
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.
- Associate the MA with a service.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
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.
Run mep ccm-send enable
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-pointmepmep-idpw
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-value [ testid-file ]mepmep-id [ 8021p8021p-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-value [ 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.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
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.
Run mep ccm-send enable
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-value [ testid-file ]mepmep-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-value [ testid-file ]test-id-valuemepmep-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.
- Configure proactive one-way frame delay measurement.
Configuring Two-way Frame Delay Measurement in VLL Networking
In VLL networking, the clock frequencies 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.
Context
To implement singular or periodic two-way frame delay measurement for a PW or an AC, configure on-demand two-way frame delay measurement in VLL networking.
To implement continual two-way frame delay measurement for a PW, configure proactive two-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 6-37, the 802.1p priority values contained in traffic passing through the P are 1 and 2.
Two-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 two-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 two-way frame delay measurement can be configured for the VLL for accurate proactive frame delay tests.
Procedure
- Configure on-demand two-way frame delay measurement.
Configure on-demand two-way frame delay measurement for a PW.
Perform the following steps on the devices at both ends of a PW where 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.
- Associate the MA with a service.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
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.
Run mep ccm-send enable
The CCM transmission function is enabled.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The CCM reception function is enabled.
Run measure-pointmepmep-idpw
A measurement point for collecting Y.1731 statistics is configured.
Configure the test instance.
To configure a test instance on the receiving device on a PW where two-way frame delay measurement will be implemented, run the test-idtest-id-value [ testid-file ]mepmep-id [ 8021p8021p-value ] [ descriptiondescription ] command.
To configure a test instance on the transmitting device on a PW where two-way frame delay measurement will be implemented, run the test-idtest-id-value [ testid-file ]mepmep-id [ macmac-address | remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ] command.
On the receiving device on a PW where two-way frame delay measurement will be implemented, run delay-measure two-way receive test-id test-id
The DMM reception function is configured on the device.
On the transmitting device on a PW where two-way frame delay measurement will be implemented, run delay-measure two-way send test-id test-id } interval { 1000 | 10000 } count count-value
On-demand two-way frame delay measurement is configured for a PW.
Run commit
The configuration is committed.
Configure on-demand two-way frame delay measurement for an AC.
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:
On the CE, run:
mapvlanvlan-id
The MA is bound to a VLAN.
- Associate the MA with a service.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
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.
Run mep ccm-send enable
The CCM transmission function is enabled.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The CCM reception function is enabled.
Run measure-pointmepmep-idac
A measurement point for collecting Y.1731 statistics is configured for an AC.
Configure a test instance.
To configure a test instance on the receiving device on an AC where two-way frame delay measurement will be implemented, run the test-idtest-id-value [ testid-file ]mepmep-id [ 8021p8021p-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-value [ 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-waysendtest-idtest-id } interval { 1000 | 10000 } countcount-value
On-demand two-way frame delay measurement is configured for an AC.
Run commit.
The configuration is committed.
- Configure proactive two-way frame delay measurement.
Perform the following steps on the devices at both ends of a PW 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.
- Associate the MA with a service.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
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.
Run mep ccm-send enable
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 pw
A measurement point for collecting Y.1731 statistics is configured.
(Optional) Run delay-measure two-way delay-threshold mep mep-id upper-limit upper-limit lower-limit lower-limit [ 8021p 8021p-value ],
Alarm thresholds are configured for two-way frame delay in proactive two-way frame delay measurement based on MEP.
(Optional) Run delay-measure two-way variation-threshold mep mep-id upper-limit upper-limit lower-limit lower-limit [ 8021p 8021p-value ],
Alarm thresholds are configured for two-way frame jitter in proactive two-way frame delay measurement based on MEP.
Configure a test instance.
On the receiving device on a PW where two-way frame delay measurement will be implemented, run test-idtest-id-value [ testid-file ]mepmep-id [ 8021p8021p-value ] [ descriptiondescription ]
A test instance is configured on the device.
On the transmitting device on a PW where two-way frame delay measurement will be implemented, run test-idtest-id-value [ testid-file ]mepmep-id [ macmac-address | remote-mepmep-id ] [ 8021p8021p-value ] [ descriptiondescription ]
A test instance is configured on the device.
(Optional) Run delay-measure two-way delay-threshold test-id test-id-value upper-limit upper-limit lower-limit lower-limit,
Alarm thresholds are configured for two-way frame delay in proactive two-way frame delay measurement based on the test instance.
(Optional) Run delay-measure two-way variation-threshold test-id test-id-value upper-limit upper-limit lower-limit lower-limit,
Alarm thresholds are configured for two-way frame jitter in proactive two-way frame delay measurement based on the test instance.
On the receiving device on a PW where proactive 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 a PW where proactive two-way frame delay measurement will be implemented, run delay-measure two-way continualtest-id test-id-value interval interval-value
Proactive two-way frame delay measurement is configured for a PW.
Run commit.
The configuration is committed.
Configuring Single-ended SLM in VLL Networking
This section describes how to configure single-ended synthetic loss measurement (SLM) in virtual leased line (VLL) networking. To collect performance statistics for frame loss on point-to-multipoint or multipoint-to-multipoint links, deploy single-ended SLM, which helps monitor link quality.
Context
To collect performance statistics about frame loss on the PW side or AC side at a time or periodically, configure single-ended on-demand synthetic frame LM.
To continuously collect performance statistics about frame loss on the PW side or AC side, configure single-ended proactive synthetic frame LM.
On a network, each packet carries the IEEE 802.1p field, indicating its priority. According to packet priority, different QoS policies will be applied. On the network shown in Figure 6-38, the PE1-to-PE3 traffic has two priorities: 1 and 2, as indicated by the IEEE 802.1p field.
When implementing single-ended SLM for traffic over the PE1-PE3 link, PE1 sends SLM frames with varied priorities and checks the frame loss. Based on the check result, the network administrator can adjust the QoS policy for the link.
To collect accurate performance statistics, configure 802.1p priority-based single-ended SLM.
Procedure
- Configure single-ended on-demand SLM.
Configure single-ended on-demand SLM on the PW side.
Perform the following steps on the devices at both ends of a PW where single-ended on-demand SLM 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.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
Configure a MEP according to Table 6-21.
Run remote-mep mep-id mep-id
A remote MEP (RMEP) is specified.
Run mep ccm-send enable
The MEP is enabled to send continuity check messages (CCMs).
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The RMEP is enabled to receive CCMs.
Run test-idtest-id-value [ testid-file ]mepmep-id [ descriptiondescription ]
A test instance is created.
Perform the following configuration on the RMEP that receives SLM frames on the PW side:
Run loss-measure single-ended-synthetic receive test-id test-id [ time-out timeout-value ]
The RMEP is enabled to receive SLM frames.
Perform the following configuration on the MEP that sends SLM frames to initiate on-demand SLM on the PW side:
Run loss-measure single-ended-synthetic send test-id test-id interval interval [ sending-count count-value ] [ timeout timeout ]
The MEP is enabled to send SLM frames.
Run commit
The configuration is committed.
Configure single-ended on-demand SLM on the AC side.
Perform the following steps on the devices at both ends of an AC where single-ended on-demand SLM 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.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
Run mep mep-id
A MEP is configured.
Run remote-mep mep-id mep-id
An RMEP is specified.
Run mep ccm-send enable
The MEP is enabled to send CCMs.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The RMEP is enabled to receive CCMs.
Run test-id test-id-value mep mep-id remote-mep mep-id [ description description ]
A test instance is created.
Perform the following configuration on the RMEP that receives SLM frames on the AC side:
Run loss-measure single-ended-synthetic receive test-id test-id [ time-out timeout-value ]
The RMEP is enabled to receive SLM frames.
Perform the following configuration on the MEP that sends SLM frames to initiate on-demand SLM on the AC side:
Run loss-measure single-ended-synthetic send test-id test-id interval { 100 | 1000 } [ sending-count count-value ] [ time-out time-out-value ]
The MEP is enabled to send SLM frames.
Run commit
The configuration is committed.
- Configure single-ended proactive SLM.
Perform the following steps on the devices at both ends of a PW or AC where single-ended proactive SLM will be implemented:
Run system-view
The system view is displayed.
(Optional) Run y1731 pm-mode enable
Performance management (PM) is enabled to manage Y.1731 proactive performance statistics.
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.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
Configure a MEP according to Table 6-22.
Table 6-22 MEP configurationOperation
Command
Configure an interface-based MEP.
mep mep-id mep-id interface { interface-type interface-number | interface-type interface-number.subnumber } [ { pe-vid pe-vid ce-vid ce-vid | vlan vlan-id } ]
Configure a PW- or AC-based MEP.
mep mep-id mep-id peer-ip peer-ip [ vc-id vc-id ] [ mac mac-address ] { outward | inward }
(Optional) Run measure-point mep mep-id pw
An interface on the PW side is configured as the measurement point.
This command can be configured only on a PW-based MEP.
Run remote-mep mep-id mep-id
An RMEP is specified.
Run mep ccm-send enable
The MEP is enabled to send CCMs.
Run remote-mep ccm-receive [ mep-id mep-id ] enable
The RMEP is enabled to receive CCMs.
Run test-idtest-id-value [ testid-file ]mepmep-id [ descriptiondescription ]
A test instance is created.
(Optional) Run loss-measure single-ended-synthetic local-ratio-threshold test-id test-id-value upper-limit upper-limit lower-limit lower-limit
Alarm thresholds are configured for the near-end frame loss ratio of proactive SLM.
(Optional) Run loss-measure single-ended-synthetic remote-ratio-threshold test-id test-id-value upper-limit upper-limit lower-limit lower-limit
Alarm thresholds are configured for the far-end frame loss ratio of proactive SLM.
Perform the following configuration on the RMEP that receives SLM frames on the PW side:
Run loss-measure single-ended-synthetic receive test-id test-id [ time-out timeout-value ]
The RMEP is enabled to receive SLM frames.
Perform the following configuration on the MEP that sends SLM frames to initiate proactive SLM on the PW side:
Run loss-measure single-ended-synthetic send test-id test-id interval interval [ sending-count count ] [ time-out timeout ]
The MEP is enabled to send SLM frames.
Run commit
The configuration is committed.
Configuring the ETH-Test Function for a VLL
The ETH-test function is short for Ethernet test signal. ETH-test instances are performed for a unidirectional on-demand service or during an on-demand-service interruption to calculate parameters, including the maximum bandwidth, frame loss ratio, and bit error rate.
Context
In Figure 6-39, a VLL is established between PE1 and PE2. MEP1 is configured on an AC interface of PE1, and MEP2 is configured on an AC interface of PE2. MEP1 initiates an ETH-test and sends test packets with a specified size and code type at a specified rate and interval. Then check the number of packets MEP1 sends and the number of packets MEP2 receives. If MEP1 sends more packets than MEP2 receives, some packets have been dropped. Then MEP1 is configured to use the bisection method to continue the test and send test packets at a lower rate. The bisection method is used to send test packets at different rates between the upper and lower rate thresholds. The test process repeats until a maximum bandwidth is found when no packets are dropped in a test. In addition, check for bit errors on MEP2 that receives test packets.
Procedure
- Run system-view
The system view is displayed.
- Run cfm enable
CFM is enabled globally.
- 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.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
- Run mep mep-id
A MEP is configured.
- Run remote mep mep-id mep-id
A RMEP is configured.
- Run eth-test enable mep mep-id
The ETH-test function is enabled.
- Run eth-test start mep mep-id { mac mac-address | remote-mep mep-id } rate rate-value [ [ timeout timeout-value ] | [ pattern { zero-no-crc | zero-crc } ] | [ 8021p 8021p-value ] | [ packet-size packet-size-value ] | out-of-service { lck-level level-value } ]
The MEP is enabled to send test packets.
- (Optional) Run eth-test stop mep mep-id
The MEP is disabled from sending test packets.
- Run commit
The configuration is committed.
Configuring AIS
Configuring AIS prohibits a MEP in an MD of a higher level from sending the same alarm as that sent by a MEP in an MD of a lower level to the NMS.
Context
Procedure
- Perform the following steps on a PE:
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.
Martini VLL scenarios
Run map mpls l2vc[ peer-address ] l2vc-id { raw | tagged }
The MA is bound to a specified L2VC.
Kompella VLL scenarios
Run mapmpls l2vpnl2vpn-namecece-idce-offsetce-offset-id
The MA is bound to a specified PW.
Run ais enable
AIS is enabled for the current MA.
(Optional) Run ais link-status
AIS is configured to monitor interfaces in the current MA.
(Optional) Run ais interval interval-value
The interval at which AIS packets are sent is set.
If the range of VLANs to which AIS packets are to be sent is set, setting the interval at which AIS packets are sent to 60s is recommended.
Run ais level level-value
The level of AIS packets to be sent is set.
Run ais vlan { pe-vid pe-vid ce-vid { low-ce-vid [ to hig-ce-vid ] } &<1-10> | vid { low-vid [ to high-vid ] } &<1-10>} mep mep-id
The range of VLANs to which AIS packets are to be sent is set.
Run commit
The configuration is committed.
- Perform the following steps on a CE:
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 the current VLAN.
Run ais enable
AIS is enabled for the current MA.
(Optional) Run ais suppress-alarm
Alarm suppression is enabled for the current MA.
In an MD nesting scenario, if alarm suppression is enabled for the MD of a high level, a MEP in this MD does not send alarms that a MEP in an MD of a low level has sent to the NMS after receiving an AIS packet.
Run mep alarm disable
Disables the alarm reporting function of a specific alarm indication signal (AIS).
Run commit
The configuration is committed.
Checking the Configurations
Run the display cfm ma command on a PE to check information about MAs.
The command output shows that the Sending Ais Packet field is displayed as Yes.
Run the display cfm ma command on a CE to check information about MAs.
The command output shows that the Suppressing Alarms field is displayed as Yes.
- Binding an MA to a VLL
- Configuring Single-ended Frame Loss Measurement in VLL Networking
- Configuring Dual-ended Frame Loss Measurement in VLL Networking
- Configuring One-way Frame Delay Measurement in VLL Networking
- Configuring Two-way Frame Delay Measurement in VLL Networking
- Configuring Single-ended SLM in VLL Networking
- Configuring the ETH-Test Function for a VLL
- Configuring AIS