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.
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.
The system view is displayed.
The MD view is displayed.
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.
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 1 and Table 2.
Inbound 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. |
Outbound 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. |
The configuration is committed.