Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Defining CoS Forwarding Classes (CLI Procedure)

 

Forwarding classes allow you to group packets for transmission. Based on forwarding classes, you assign packets to output queues.

By default, four categories of forwarding classes are defined: best effort, assured forwarding, expedited forwarding, and network control. EX Series switches support up to 16 forwarding classes.

You can configure forwarding classes in one of the following ways:

  • Using class statement—You can configure up to 16 forwarding classes and you can map multiple forwarding classes to single queue.

  • Using queue statement—You can configure up to 8 forwarding classes and you can map one forwarding class to one queue.

    This example uses the class statement to configure forwarding classes.

To configure CoS forwarding classes, map the forwarding classes to queues:

[edit class-of-service forwarding-classes]

user@switch# set class be queue—num 0

user@switch# set class ef queue—num 1

user@switch# set class af queue—num 2

user@switch# set class nc queue—num 3

user@switch# set class ef1 queue—num 4

user@switch# set class ef2 queue—num 5

user@switch# set class af1 queue—num 6

user@switch# set class nc1 queue—num 7