Example: Combining Layer 2 and Layer 3 Classification on the Same ATM Physical Interface
With the ATM II IQ PIC installed on the M320 router with the Enhanced Type 3 FPC or the M120 router, you can combine Layer 2 and Layer 3 classifiers on the same ATM physical interface. However, you must apply the classifiers to different logical interfaces (units). The Layer 3 interface can belong to a Layer 3 VPN or VPLS routing instance and the Layer 2 interface can belong to a VPLS routing instance. If the Layer 3 interface belongs to a VPLS routing instance, only IPv4 DSCP or Internet precedence classification is supported. When the ATM interface is part of a Layer 3 VPN, both IPv4 and IPv6 DSCP or Internet precedence classification is supported.
This example applies a Layer 3 DSCP classifier named dscp-1
and a Layer 2 IEEE 802.1 classifier named ieee-1
to ATM interface at-4/1/1
units 0 and 1. The inet-precedence
Layer 3 classification is also supported but is not used in this
example.
[edit] class-of-service { interfaces { at-4/1/1 { unit 0 { classifiers { dscp dscp_1; } unit 1 { classifiers { ieee-802.1 ieee; } } } }