[Contents] [Prev] [Next] [Index] [Report an Error]

Applying a Classifier to a Logical Interface

You can apply the classification map to a logical interface by including the classifiers statement at the [edit class-of-service interfaces interface-name unit logical-unit-number] hierarchy level:

[edit class-of-service interfaces interface-name unit logical-unit-number]
classifiers (dscp | dscp-ipv6 | exp | ieee-802.1 | inet-precedence) (classifier-name | default);

You can use interface wildcards for interface-name and logical-unit-number.

For most PICs, if you apply an IEEE 802.1p classifier to a logical interface, you cannot apply non-IEEE classifiers to other logical interfaces on the same physical interface. This restriction does not apply to Gigabit Ethernet IQ2 PICs.

There are some restrictions on applying multiple BA classifiers to a single logical interface. Table 25 shows the supported combinations, by platform.

Table 25: Logical Interface Classifier Combinations by Platform

Classifier Combinations

Gigabit Ethernet IQ2 PICs

Other PICs on T-series, MX-series, and M320

Other M-series with Regular FPCs

Other M-series with Enhanced FPCs

dscp and inet-precedence

No

No

No

No

dscp-ipv6 and (dscp | inet-precedence)

Yes

Yes

No

No

exp and ieee 802.1

Yes

No

No

No

ieee 802.1 and (dscp | dscp-ipv6 | exp | inet-precedence)

Yes

No

No

Yes

exp and (dscp | dscp-ipv6 | inet-precedence)

Yes

No

No

Yes

For Gigabit Ethernet IQ2 interfaces, IEEE 802.1p classifiers are evaluated after other BA classifiers. For example, if you configure a logical interface to use both an MPLS EXP and an IEEE 802.1p classifier, the EXP classifier takes precedence. MPLS-labeled packets are evaluated by the EXP classifier, and all other packets are evaluated by the IEEE 802.1p classifier. The same is true about other classifiers when combined with IEEE 802.1p classifiers on the same logical interface.

Note: If an interface is mounted on an M-series FPC, you can apply only the default exp classifier. If an interface is mounted on an enhanced FPC, you can create a new exp classifier and apply it to an interface.


[Contents] [Prev] [Next] [Index] [Report an Error]