Navigation
Supported Platforms
Related Documentation
- Additional Information
- For more information about rewrite rules and classifiers, see the Junos OS Class of Service Library for Routing Devices
Configuring CoS on an Ethernet Pseudowire for Multiservice Edge Networks
You can configure rewrite rules and classifiers to logical tunnel (LT) interfaces that are configured to represent Ethernet pseudowires.
This feature is supported on MIC and MPC interfaces.
To configure CoS on an LT interface configured for an Ethernet pseudowire:
- Configure a pair of LT interfaces to represent a pseudowire.
To apply rewrite rules and classifiers to the pseudowire, you must assign one of the LT interfaces to the inet family.
[edit]user@host#edit interfaces lt-fpc/pic/portuser@host#edit unit logical-unit-number user@host#set encapsulation encapsulationuser@host#set family (inet | inet6 | iso | mpls)user@host#set peer-unit unit-number - Configure the rewrite rule.
The available rewrite rule types for an LT interface are dscp and inet-precedence.
[edit class-of-service]user@host#edit rewrite-rules (dscp | inet-precedence) rewrite-nameuser@host#edit forwarding-class class-nameuser@host#set loss-priority class-name code-point (alias | bits) - Configure the classifier.
The available classifier types for an LT interface are dscp and inet-precedence.
[edit class-of-service]user@host#edit classifiers (dscp | inet-precedence) classifier-nameuser@host#edit forwarding-class class-nameuser@host#set loss-priority class-name code-points [aliases] [bit-patterns] - Apply the rewrite rule and classifier to the LT interface
that you assigned to the inet family.[edit class-of-service interfaces interface-name unit logical-unit-number]user@host#set rewrite-rule (dscp | inet-precedence) (rewrite-name | default) protocol protocol-typesuser@host# set classifiers (dscp | inet-precedence) (classifier-name | default)
Related Documentation
- Additional Information
- For more information about rewrite rules and classifiers, see the Junos OS Class of Service Library for Routing Devices
Published: 2013-08-28
Supported Platforms
Related Documentation
- Additional Information
- For more information about rewrite rules and classifiers, see the Junos OS Class of Service Library for Routing Devices