[an error occurred while processing this directive][an error occurred while processing this directive]

class (Forwarding Classes)


class class-name queue-num queue-number priority (high | low);

Hierarchy Level

[edit class-of-service forwarding-classes]

Release Information

Statement introduced in JUNOS Release 8.1.


On M120 , M320, MX Series routers, and T Series routers only, specify the output transmission queue to which to map all input from an associated forwarding class.

This statement enables you to configure up to 16 forwarding classes with multiple forwarding classes mapped to single queues. If you want to configure up to eight forwarding classes with one-to-one mapping to output queues, use the queue statement instead of the class statement at the [edit class-of-service forwarding-classes] hierarchy level.


class-name—Name of forwarding class.

queue-number—Output queue number.

Range: 0 through 15. Some T Series router PICs are restricted to 0 through 3.

The remaining statement is explained separately.

Usage Guidelines

See Configuring Forwarding Classes.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Published: 2010-04-15

[an error occurred while processing this directive]