You can apply an IEEE 802.1p behavior aggregate (BA) classifier to VPLS in a bridged Ethernet over ATM environment using ATM (RFC 1483) encapsulation. This will extract the Layer 2 (frame level) IEEE 802.1p information from the cells arriving on the ATM interface. Note that the interface must be configured for the Ethernet VPLS service over ATM links.
This example applies the classifier atm-ether-vpls-classifer to an ATM interface using ether-vlps-over-atm-llc encapsulation. This is not a complete CoS configuration example.
- [edit class-of-service interfaces]
- at-1/2/3 {
-
- unit 0 {
- (...) # Other CoS features
-
- classifiers {
- ieee-802.1 atm-ether-vpls-classifier; # Classifier defined
elsewhere
- }
- }
- }
- [edit]
- interface at-1/2/3 {
-
- atm-options {
- vpi 0;
- }
-
- unit 0 {
- encapsulation ether-vpls-over-atm-llc; # Required encapsulation
type
- vci 0.100;
- family vpls;
- }
- }
You must configure a routing instance for the VPLS as well:
- [edit routing-instances]
- cos-test-1 {
- instance-type vpls; #This is required
- interface at-1/2/3;
- route-distinguisher 10.10.10.10:1;
- vrf-target target:11111:1;
-
- protocols {
-
- vpls {
- site-range 10;
-
- site cos-test-v1–stie1 {
- site-identifier 1;
- }
- }
- }
- }
The Layer 2 VPN classification on an ATM interface is limited to the Layer 2 granularity, not to each separate VLAN/VPLS instance. In other words, all of the VLAN/VPLS packets arriving on an ATM virtual circuit will be classified by a single IEEE 802.1p classifier. The individual flow of each VLAN cannot be identified at this level.