Queuing modes
Remember |
From Release 7.2.12 onward, all Layer 3 queuing capabilities also apply to Layer 2 physical and bundle interfaces, but not to their sub-interfaces. |
|
Attribute |
8xVOQ |
4xVOQ |
|---|---|---|
|
VOQs per interface |
8 |
4 |
|
Supported internal traffic classes |
8 (TC0–TC7), each mapped to a separate VOQ |
8 mapped to 4; traffic classes must be remapped in the QoS policy |
|
Logical-interface scale |
Standard |
Approximately double (since fewer VOQs per interface, the system supports twice the interfaces) |
|
Default queue hierarchy |
P1 + P2 + 6 PN hierarchy (main interface default) |
Same hierarchy, but applies to only four VOQs |
|
Typical use case |
Maximum traffic-class isolation |
High interface fan-out (number of active interfaces per line card or NPU) where fewer dedicated VOQs are acceptable |
Note |
P1 + P2 + 6 PN refers to the default queuing and scheduling hierarchy where:
That adds up to the eight VOQs that the 8xVOQ mode allocates per interface. If you move the router to 4xVOQ mode, TC7 still maps to P1 and TC 6 to P2, but the eight internal traffic classes must be remapped so that the four VOQs can carry multiple classes. In both modes, queues are allocated per interface regardless of policy applied. |
Switch the queuing mode on the router
Use this task to change the system-wide Virtual Output Queue (VOQ) mode—8xVOQ for maximum traffic-class isolation or 4xVOQ for greater interface scale.
The VOQ mode change applies to the entire chassis. The change takes effect only after every line card reloads, which interrupts traffic.
Before you begin
Make a list of interfaces (main, sub-interfaces, and bundles) with egress queuing service policies attached.
Follow these steps to switch the queuing mode on the router.
Procedure
|
Step 1 |
Verify the current VOQ mode. Example:
This command confirms the chassis is running in 8xVOQ mode before you begin. |
|
Step 2 |
Detach every egress queuing service policy from all interfaces. Example:
Remove only the egress queuing (service-policy output … ) bindings. Retain ingress classification or marking policies. |
|
Step 3 |
Configure the new VOQ mode and commit. Example:
The voq-mode 4 setting applies to the entire chassis and persists across future reboots. |
|
Step 4 |
Reload all nodes to program the new mode into the ASICs. Example:
All line cards reload. Traffic is interrupted until the router returns to the IOS XR prompt. |
|
Step 5 |
Verify that the router is now running in 4xVOQ mode. Example:
Successful output confirms the chassis is operating in the new VOQ mode. |
What to do next
After the change, review your QoS policies to be sure each hardware queue now aggregates the intended traffic classes, especially when you reduce the queue count from 8 to 4.
Feedback