Enabling subinterface queuing and scheduling by configuring the traffic management mode
Switching the traffic-management-mode requires a system reboot. However, for the reboot to succeed, you must first remove any configurations that are not supported in the new target mode.
To transition from eight-priority mode to two-priority mode, you must first disable the PFC feature on all interfaces and remove the following configuration paths:
qos buffer-management buffer-allocation-profile queues queue maximum-burst-size-delay
qos buffer-management buffer-allocation-profile queues queue low-threshold-bytes
qos scheduler-policies scheduler-policy scheduler 0 input weight
qos scheduler-policies scheduler-policy scheduler 0 input peak-rate-percent
To transition from two-priority mode to eight-priority mode, you must first remove the following configuration paths for subinterfaces (interface-level configurations can remain):
qos interfaces interface output queues queue
qos interfaces interface output scheduler scheduler-policy
qos interfaces interface output buffer-allocation-profile
qos scheduler-policies scheduler-policy scheduler 0 input priority-level
qos scheduler-policies scheduler-policy scheduler [ 0 | 1 ] input committed-rate-kbps
qos scheduler-policies scheduler-policy scheduler [ 0 | 1 ] input committed-rate-percent
qos scheduler-policies scheduler-policy scheduler 1 input peak-rate-kbps
qos scheduler-policies scheduler-policy scheduler 1 output output-type
qos scheduler-policies scheduler-policy scheduler 1 output peak-rate-percent
To support queuing and scheduling on subinterfaces, use the platform qos traffic-management-mode command to set the traffic management mode for the system to two-priorities rather than the default value of eight-priorities.
Configure the traffic management mode to two-priorities
--{ candidate shared default }--[ ]--
# info with-context platform qos traffic-management-mode
platform {
qos {
traffic-management-mode two-priorities
}
}
Display reboot required status
The system maintains a status specifying whether a chassis reboot is required to complete the traffic management mode update. To view this status, use the info from state platform qos chassis-reboot-required command.
--{ candidate shared default }--[ ]--
# info from state with-context platform qos chassis-reboot-required
platform {
qos {
chassis-reboot-required true
}
}
Reboot the chassis
Use the tools platform chassis reboot command to perform a reboot.
--{ candidate shared default }--[ ]--
# tools platform chassis reboot