Supported Platforms
Related Documentation
- EX, J, M, MX, PTX, T Series
- Overview of Forwarding Classes
- EX, M, MX, SRX, T Series
- Changing the Default Queuing and Marking of Host Outbound Traffic
- M, MX, PTX, T Series
- Default Forwarding Classes
Configuring Forwarding Classes
You assign each forwarding class to an internal queue number by including the forwarding-classes statement at the [edit class-of-service] hierarchy level:
You cannot commit a configuration that assigns the same forwarding class to two different queues.
![]() | Caution: We do not recommend classifying packets into a forwarding class that has no associated scheduler on the egress interface. Such a configuration can cause unnecessary packet drops because an unconfigured scheduling class might lack adequate buffer space. For example, if you configure a custom scheduler map that does not define queue 0, and the default classifier assigns incoming packets to the best-effort class (queue 0), the unconfigured egress queue for the best-effort forwarding class might not have enough space to accommodate even short packet bursts. A default congestion and transmission control mechanism is used when an output interface is not configured for a certain forwarding class, but receives packets destined for that unconfigured forwarding class. This default mechanism uses the delay buffer and weighted round robin (WRR) credit allocated to the designated forwarding class, with a default drop profile. Because the buffer and WRR credit allocation is minimal, packets might be lost if a larger number of packets are forwarded without configuring the forwarding class for the interface. |
Related Documentation
- EX, J, M, MX, PTX, T Series
- Overview of Forwarding Classes
- EX, M, MX, SRX, T Series
- Changing the Default Queuing and Marking of Host Outbound Traffic
- M, MX, PTX, T Series
- Default Forwarding Classes
Published: 2013-08-28
Supported Platforms
Related Documentation
- EX, J, M, MX, PTX, T Series
- Overview of Forwarding Classes
- EX, M, MX, SRX, T Series
- Changing the Default Queuing and Marking of Host Outbound Traffic
- M, MX, PTX, T Series
- Default Forwarding Classes