- play_arrow Basic CoS Configuration
- play_arrow CoS Overview
- play_arrow Junos OS EZQoS and J-Web
- play_arrow CoS on Interfaces
- play_arrow CoS Code-Point Aliases
- play_arrow CoS Classifiers
- Understanding CoS Classifiers
- Defining CoS Classifiers (CLI Procedure)
- Defining CoS Classifiers (J-Web Procedure)
- Example: Configuring Multidestination (Multicast, Broadcast, DLF) Classifiers
- Configuring and Applying IEEE 802.1ad Classifiers
- Change the Default Queuing and Marking of Host Outbound Traffic
- Monitoring CoS Classifiers
- Troubleshooting a CoS Classifier Configuration for a TCAM Space Error
- play_arrow CoS Rewrite
- Understanding CoS Rewrite Rules
- Defining CoS Rewrite Rules (CLI Procedure)
- Defining CoS Rewrite Rules (J-Web Procedure)
- Classifiers and Rewrite Rules at the Global, Physical, and Logical Interface Levels Overview
- Configuring Classifiers and Rewrite Rules at the Global and Physical Interface Levels
- Host Outbound Traffic IEEE802.1p Rewrite
- Monitoring CoS Rewrite Rules
- play_arrow Forwarding Classes
- play_arrow Flow Control
- play_arrow CoS Queue Schedulers and Scheduler Maps
-
- play_arrow CoS on Overlay Networks
- play_arrow CoS on MPLS Networks
- Understanding Using CoS with MPLS Networks on EX Series Switches
- Example: Combining CoS with MPLS on EX Series Switches
- Configuring CoS on an MPLS Provider Edge Switch Using IP Over MPLS
- Configuring CoS on an MPLS Provider Edge Switch Using Circuit Cross-Connect
- Configuring CoS on Provider Switches of an MPLS Network
- play_arrow CoS on EVPN VXLANs
-
- play_arrow Configuration Statements and Operational Commands
Configuring Shaping for CoS (CLI Procedure)
Port shaping and queue shaping enable you to limit traffic on an interface or queue, respectively, so that you can control the amount of traffic passing through the interface or the queue. Port shaping enables you to shape the aggregate traffic through an interface to a rate that is less than the line rate for that interface. When you configure port shaping on an interface, you are essentially specifying a value that indicates the maximum amount of traffic that can pass through the interface. This value must be less than the maximum bandwidth for that interface. Queue shaping enables you to throttle the rate at which a queue transmits packets. When you configure queue shaping, you can specify either as the maximum rate at which traffic can pass through the queue or as a percentage of the available bandwidth.
Configuring Port Shaping for CoS on an EX Series Switch
You can configure port shaping on network interfaces, aggregated Ethernet interfaces (also known as link aggregation groups (LAGs)), and loopback interfaces.
To configure port shaping on an interface:
Configuring Queue Shaping for CoS on an EX Series Switch
Queue shaping enables you to restrict the rate at which queues transmit traffic. You can configure queue shaping on any queue supported by CoS on an EX Series switch that supports up to eight output queues and 16 forwarding classes. Forwarding classes can be thought of as output queues. In effect, the result of classifying packets into forwarding classes is the identification of an output queue for a particular packet. For a classifier to assign an output queue to a packet, it must associate the packet with one of the forwarding classes discussed in Understanding CoS Forwarding Classes.
To configure queue shaping:
- Ensure that the interface on which you want to configure queue shaping is up and running.
- Configure queue shaping: