# Configuring QoS on the E Series Router

Several of the tasks for configuring QoS on your E Series router are optional.

To configure QoS on your E Series router:

1. Create and configure a traffic class.

   See Traffic Class and Traffic-Class Groups Overview.

2. (Optional) Create one or more traffic-class groups.

   See Traffic Class and Traffic-Class Groups Overview.

3. (Optional) To configure nondefault buffer management, create a queue profile.

   See Queuing and Buffer Management Overview.

4. (Optional) To configure RED or WRED, create a drop profile.

   See Dropping Behavior Overview.

5. (Optional) To gather rate statistics, create a statistics profile.

   See QoS Statistics Overview.

6. Configure a scheduler hierarchy with a scheduler profile.

   See Scheduler Hierarchy Overview.

7. (Optional) Configure shaping:
   - Configure shaping and shared shaping using the scheduler profile.

     See Rate Shaping and Port Shaping Overview, Simple Shared Shaping Overview, and Compound Shared Shaping Overview.

   - Configure shaping rates independent of the QoS profile and scheduler profile using QoS parameters.

     See Parameter Definition Attributes for QoS Administrators Overview.

8. Create a QoS profile. QoS profiles reference queue, drop, statistics, and scheduler profiles.

   See Queuing and Buffer Management Overview.

9. Attach the QoS profile to one or more interfaces, or specify the profile as a QoS port-type profile for a given interface type.

   See Queuing and Buffer Management Overview.