Describes how bandwidth remaining percent enables percentage-based sharing of available remaining egress bandwidth among class-based queues on supported Cisco 8000 Series routers.
Bandwidth remaining percent for class-based queuing is an egress congestion-management feature that
-
uses the bandwidth remaining percent percentage command to configure percentage-based sharing of available remaining bandwidth for a traffic class,
-
lets you express class-based queue bandwidth shares with values from 1 to 100 instead of ratio values, and
-
supports egress class-based queuing on supported main interfaces and subinterfaces for Layer 2 and Layer 3 use cases.
Use bandwidth remaining percent when you want the configured QoS policy to reflect how service classes, customer classes, AI workload traffic classes, or data center front-end traffic classes share available remaining egress bandwidth during congestion.
Bandwidth remaining percent does not guarantee bandwidth. It distributes available remaining bandwidth among eligible queues after priority traffic and explicit bandwidth reservations are serviced.
Before Cisco IOS XR Release 26.3.1 , supported Cisco 8000 Series routers used bandwidth remaining ratio for remaining-bandwidth allocation. With bandwidth remaining percent, you can configure percentage values directly and avoid translating service intent into ratio values.
The following table provides release information for bandwidth remaining percent.
|
Feature Name |
Release Information |
Feature Description |
|---|---|---|
|
Bandwidth remaining percent for class-based queuing |
Release 26.3.1 |
Introduced in this release on: Fixed Systems (8200 [ASIC: P100], 8700 [ASIC: P100, K100], 8010 [ASIC: A100]); Centralized Systems (8400 [ASIC: K100]); Modular Systems (8800 [LC ASIC: P100, K100]) You can configure percentage-based sharing of remaining egress bandwidth among class-based queues on supported main interfaces and subinterfaces. This helps service provider and data center operators express bandwidth-sharing policies for customer services, AI workloads, and application traffic more intuitively without calculating scheduler ratios. |
Bandwidth remaining percent and bandwidth remaining ratio both define how eligible class-based queues share available remaining egress bandwidth. Choose one method in a policy map.
|
Bandwidth Remaining Percent |
Bandwidth Remaining Ratio |
|---|---|
|
Uses percentage values, such as bandwidth remaining percent 10 , to express the remaining-bandwidth share for a class. |
Uses ratio values to express the relative remaining-bandwidth share for a class. |
|
Helps align class-based queue bandwidth shares with service or workload intent that is already defined in percentages. |
Helps define relative class weights when the policy design uses ratio-based scheduling values. |
|
Is mutually exclusive with bandwidth remaining ratio in the same policy map. |
Is mutually exclusive with bandwidth remaining percent in the same policy map. |
The following table summarizes how bandwidth remaining percent relates to shaping and policing.
|
Bandwidth Remaining Percent |
Traffic Shaping |
Traffic Policing |
|---|---|---|
|
Shares available remaining egress bandwidth among eligible queues during congestion. |
Controls the egress transmission rate by scheduling packets to a configured rate. |
Enforces an ingress or egress traffic contract by transmitting, marking, or dropping traffic. |
|
Uses bandwidth remaining percent percentage . |
Uses commands such as shape average . |
Uses commands such as police rate . |
In show qos interface output, the configured percentage appears in parentheses in the Inverse Weight / Weight field.
Class-based remaining-bandwidth allocation
An operator wants to share available remaining egress bandwidth across service classes on a supported Cisco 8000 Series router. The policy assigns 10 percent shares to several traffic classes, a 5 percent share to another traffic class, and a priority level to latency-sensitive traffic.
During congestion, the bandwidth remaining percent classes share available remaining egress bandwidth according to the configured percentage values. The priority class uses priority queuing behavior, and the configured percentage values appear in the show qos interface output for the bandwidth remaining percent classes.
What bandwidth remaining percent is not
Bandwidth remaining percent is not to be confused with traffic shaping. It does not configure a fixed output rate for a class. Use shaping when you need to cap or smooth egress traffic to a configured rate.
Bandwidth remaining percent is not to be confused with traffic policing. It does not enforce a token-bucket traffic contract or define conform, exceed, or violate actions. Use policing when you need to enforce traffic rates by transmitting, marking, or dropping traffic.
Bandwidth remaining percent is also not a bandwidth guarantee or a tuning interface for the internal inverse-weight conversion. Configure the percentage value that matches the intended remaining-bandwidth sharing policy and use verification output to confirm the programmed value.