Navigation
Supported Platforms
Related Documentation
- MX Series
- CoS on Ethernet Pseudowires in Universal Edge Networks Overview
- Hierarchical CoS on MPLS Pseudowire Subscriber Interfaces Overview
- CoS Two-Level Hierarchical Scheduling on MPLS Pseudowire Subscriber Interfaces
- CoS Three-Level Hierarchical Scheduling on MPLS Pseudowire Subscriber Interfaces
- CoS Configuration Overview for MPLS Pseudowire Subscriber Interfaces
- Additional Information
- For more information about rewrite rules and classifiers, see the Junos OS Class of Service Configuration Guide
Configuring CoS Two-Level Hierarchical Scheduling for MPLS Pseudowire Subscriber Interfaces
Before configuring CoS parameters for MPLS pseudowire subscriber interfaces, you must first complete these tasks:
- Configure the pseudowire logical interfaces. See Configuring a Pseudowire Subscriber Logical Interface.
- Configure the pseudowire device count. See Configuring the Maximum Number of Pseudowire Logical Interface Devices Supported on the Router.
- Configure the pseudowire device including the logical tunnel anchor point. See Configuring a Pseudowire Subscriber Logical Interface Device.
- Configure the pseudowire transport logical interface. See Configuring the Transport Logical Interface for a Pseudowire Subscriber Logical Interface.
- Configure the pseudowire signaling (either Layer 2 circuit signaling or Layer 2 VPN signaling). See Configuring Layer 2 Circuit Signaling for Pseudowire Subscriber Logical Interfaces or Configuring Layer 2 VPN Signaling for Pseudowire Subscriber Logical Interfaces.
- Configure the pseudowire logical interfaces. See Configuring the Service Logical Interface for a Pseudowire Subscriber Logical Interface.
To configure CoS policies on MPLS pseudowire subscriber interfaces using two-level scheduling:
- Configure the hierarchical scheduler for the physical
interface used for the logical tunnel (anchor point). For two-level
scheduling the hierarchical scheduler must be set to maximum-scheduler levels 2.[edit]user@host#edit interfaces ps ps-anchor-device-nameuser@host#set hierarchical-scheduler maximum-hierarchy-levels 2
- Specify the traffic-control profile to use on the pseudowire
logical interface. [edit class-of-service]user@host#edit interfaces ps ps-device-name user@host#edit unit logical-unit-numberuser@host#set output-traffic-control-profile profile-name
- Configure the rewrite rule.
The available rewrite rule types for pseudowire interfaces are dscp and inet-precedence.
[edit class-of-service]user@host#edit interfaces ps ps-device-name user@host#edit unit logical-unit-numberuser@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 pseudowire interfaces are dscp and inet-precedence.
[edit class-of-service]user@host#edit interfaces ps ps-device-name user@host#edit unit logical-unit-numberuser@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 pseudowire
interface.
For the interface_name parameter, specify the pseudowire device name.
[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
- MX Series
- CoS on Ethernet Pseudowires in Universal Edge Networks Overview
- Hierarchical CoS on MPLS Pseudowire Subscriber Interfaces Overview
- CoS Two-Level Hierarchical Scheduling on MPLS Pseudowire Subscriber Interfaces
- CoS Three-Level Hierarchical Scheduling on MPLS Pseudowire Subscriber Interfaces
- CoS Configuration Overview for MPLS Pseudowire Subscriber Interfaces
- Additional Information
- For more information about rewrite rules and classifiers, see the Junos OS Class of Service Configuration Guide
Published: 2013-02-11
Supported Platforms
Related Documentation
- MX Series
- CoS on Ethernet Pseudowires in Universal Edge Networks Overview
- Hierarchical CoS on MPLS Pseudowire Subscriber Interfaces Overview
- CoS Two-Level Hierarchical Scheduling on MPLS Pseudowire Subscriber Interfaces
- CoS Three-Level Hierarchical Scheduling on MPLS Pseudowire Subscriber Interfaces
- CoS Configuration Overview for MPLS Pseudowire Subscriber Interfaces
- Additional Information
- For more information about rewrite rules and classifiers, see the Junos OS Class of Service Configuration Guide