Navigation
Supported Platforms
Related Documentation
- M, MX, PTX, T Series
- Applying IEEE 802.1p Rewrite Rules to Dual VLAN Tags
- Rewriting Packet Header Information Overview
- MX Series
- For hardware requirements and configuration guidelines, see Guidelines for Configuring Dynamic CoS for Subscriber Access
- Example: Configuring Dynamic Hierarchical Scheduling and Queuing for Subscriber Access
- Verifying the Scheduling and Shaping Configuration for Subscriber Access
- Applying a Classifier to a Subscriber Interface in a Dynamic Profile
Applying a Rewrite Rule Definition to a Subscriber Interface in a Dynamic Profile
Rewrite rules define the marking for various CoS values, including DSCP, DSCP IPv6, IP precedence, and IEEE 802.1 CoS values. Rewrite rules have an associated forwarding class and code-point alias or bit set.
For dynamic CoS, you define the rewrite rules mapping for the CoS values statically, then reference the rewrite rule configuration in the dynamic profile for the subscriber interface.
To configure a rewrite rule in a dynamic profile:
- Define the rewrite-rules mapping for the traffic that passes through all queues on the interface. The available rewrite-rules types for dynamic CoS are dscp, dscpv6, ieee-802.1 and inet-precedence.
- Apply the rewrite-rules definition to the subscriber interface
in the dynamic profile.[edit dynamic-profiles profile-name class-of-service interfaces interface-name unit logical-unit-number]user@host# edit rewrite-rules
- Configure the applicable rewrite rule markers in the dynamic
profile.
- For DSCP:[edit dynamic-profiles profile-name class-of-service interfaces interface-name unit logical-unit-number rewrite-rules]user@host# set dscp (rewrite-name | default)
- For DSCPv6:[edit dynamic-profiles profile-name class-of-service interfaces interface-name unit logical-unit-number rewrite-rules]user@host# set dscp-ipv6 (rewrite-name | default)
- For IEEE 802.1:[edit dynamic-profiles profile-name class-of-service interfaces interface-name unit logical-unit-number rewrite-rules]user@host# set ieee-802.1 (rewrite-name | default) vlan-tag (outer | outer-and-inner)
- For inet-precedence:[edit dynamic-profiles profile-name class-of-service interfaces interface-name unit logical-unit-number rewrite-rules]user@host# set inet-precedence (rewrite-name | default)
- For DSCP:
Related Documentation
- M, MX, PTX, T Series
- Applying IEEE 802.1p Rewrite Rules to Dual VLAN Tags
- Rewriting Packet Header Information Overview
- MX Series
- For hardware requirements and configuration guidelines, see Guidelines for Configuring Dynamic CoS for Subscriber Access
- Example: Configuring Dynamic Hierarchical Scheduling and Queuing for Subscriber Access
- Verifying the Scheduling and Shaping Configuration for Subscriber Access
- Applying a Classifier to a Subscriber Interface in a Dynamic Profile
Published: 2012-11-29
Supported Platforms
Related Documentation
- M, MX, PTX, T Series
- Applying IEEE 802.1p Rewrite Rules to Dual VLAN Tags
- Rewriting Packet Header Information Overview
- MX Series
- For hardware requirements and configuration guidelines, see Guidelines for Configuring Dynamic CoS for Subscriber Access
- Example: Configuring Dynamic Hierarchical Scheduling and Queuing for Subscriber Access
- Verifying the Scheduling and Shaping Configuration for Subscriber Access
- Applying a Classifier to a Subscriber Interface in a Dynamic Profile