It is helpful to think of forwarding classes as output queues. In effect, the end result of classification is the identification of an output queue for a particular packet. For a classifier to assign an output queue to each packet, it must associate the packet with one of the following forwarding classes:
For M-series routers (except the M320), you can configure up to four forwarding classes, one of each type: EF, AF, BE, and NC.
For M320 and T-series platforms, 16 forwarding classes are supported, thus allowing you to classify packets more granularly. For example, you can configure multiple classes of EF traffic: EF, EF1, and EF2. The software supports up to eight output queues; therefore, if you configure more than eight forwarding classes, you must map multiple forwarding classes to single output queues. For more information, see Configuring Up to 16 Forwarding Classes.
If you configure more forwarding classes than the supported platform maximum, an error message is displayed.
By default, the loss priority is low. On most platforms, you can configure high or low loss priority. On the following platforms you can configure high, low, medium-high, or medium-low loss priority:
For more information, see Classifying Frame Relay Traffic and Configuring Tricolor Marking Policers.
To configure CoS forwarding classes, include the following statements at the [edit class-of-service] hierarchy level of the configuration:
- [edit class-of-service]
-
forwarding-classes {
-
class class-name queue-num queue-number priority (high | low);
-
queue queue-number class-name priority (high | low);
- }
-
interfaces {
-
-
interface-name {
-
-
unit logical-unit-number {
-
forwarding-class class-name;
- }
- }
- }
-
restricted-queues {
-
forwarding-class class-name queue queue-number;
- }
This chapter discusses the following topics: