Generally, the Layer 3 CoS hardware capabilities and limitations are the same as for the M-series routers, especially the M120. In particular, the following scaling and performance parameters apply to MX-series routers:
On the MX-series routers, you can apply classifiers or rewrite rules to an integrated bridging and routing (IRB) interface at the [edit class-of-service interfaces irb unit logical-unit-number] level of the hierarchy. All types of classifiers and rewrite rules are allowed. These classifiers and rewrite rules are independent of others configured on the MX-series router.
- [edit class-of-service interfaces]
-
irb {
-
-
unit logical-unit-number {
-
-
classifiers {
-
type (classifier-name | default);
- }
-
-
rewrite-rules {
-
dscp (rewrite-name | default);
-
dscp-ipv6 (rewrite-name | default);
-
exp (rewrite-name | default) protocol protocol-types;
-
ieee-802.1 (rewrite-name | default) vlan-tag (outer | outer-and-inner);
-
inet-precedence (rewrite-name | default);
- }
- }
- }
For IQ PICs, you can only configure one IEEE 802.1 rewrite rule on a physical port. All logical ports (units) on that physical port should apply the same IEEE 802.1 rewrite rule.
The IRB classifiers and rewrite rules are applied only to the “routed” packets. For logical interfaces that are part of a bridge domain, only IEEE classifiers and IEEE rewrite rules are allowed. Only the listed options are available for rewrite rules on an IRB.
For dual-tagged bridge domain logical interfaces, you can configure classification based on the inner or outer VLAN tag's IEEE 802.1p bits using the vlan-tag statement with the inner or outer option:
- [edit class-of-service interfaces interface-name unit logical-unit-number]
- classifiers {
- ieee-802.1 (classifier-name | default)
vlan-tag (inner | outer);
- }
Also, for dual-tagged bridge domain logical interfaces, you can configure rewrite rules to rewrite the outer or both outer and inner VLAN tag's IEEE 802.1p bits using the vlan-tag statement with the outer or outer-and-inner option:
- [edit class-of-service interfaces interface-name unit logical-unit-number]
- rewrite-rules {
- ieee-802.1 (rewrite-rule-name | default)
vlan-tag (outer | outer-and-inner);
- }