Switching (MPLS) experimental (EXP) bits has no effect if MPLS is not enabled.
  • Matching on Inter-Switch Link (ISL) priority bits has no effect if ISL is not used.
  • It is important to note that CBWFQ is configured using Cisco Modular QoS CLI (MQC). The classifications that can be configured depend on the Cisco IOS version and the type of interface that is configured. Scheduling Mechanisms
    The CBWFQ mechanism calculates weights based on the available bandwidth. These weights are then used by the CBWFQ scheduling mechanism to dispatch the packets. You can configure bandwidth guarantees by using one of the following commands: A single service policy cannot mix the bandwidth (fixed, in kilobits per second) and bandwidth percent commands (except with strict-priority queues). The weights needed for scheduling are calculated by the CBWFQ process based on the configured bandwidth or its percentage. Calculating Available Bandwidth
    The available bandwidth displayed by the show interface command is calculated by subtracting all fixed bandwidth reservations from the default 75 percent of the configured bandwidth of an interface. The available bandwidth is calculated with the following formula as shown in : Bandwidthavail = Bandwidth * MaxReservable – SUM (all fixed guarantees) Properly provisioning the network bandwidth is a major component of successful network design. You can calculate the required bandwidth by adding the bandwidth requirements for each major application (for example, voice, video, and data). The resulting sum represents the minimum bandwidth requirement for any given link, and it should not exceed 75 percent of the total available bandwidth for the link. The remaining 25 percent is used for other overhead, including Layer 2 overhead, routing traffic, and best-effort traffic. However, under aggressive circumstances in which you want to configure more than 75 percent of the interface bandwidth to classes, you can override the 75 percent maximum sum allocated to all classes or flows using the max-reserved-bandwidth command. If you want to override the default 75 percent, exercise caution and ensure that you allow enough remaining bandwidth to support best-effort and control traffic and Layer 2 overhead such as Layer 2 keepalive messages, as well as the class default traffic. If all of the bandwidth is not allocated, the remaining bandwidth is proportionately allocated among the classes based on the configured bandwidth of the classes. CBWFQ Benefits and Drawbacks
    CBWFQ allows you to define traffic classes based on custom-defined match criteria such as ACLs, input interfaces, and protocol type. Figure shows the benefits and drawback of CBWFQ described as follows: The drawback is that voice traffic can still suffer from unacceptable delays if you use CBWFQ as the only queuing mechanism.
    Content 4.5 Configuring CBWFQ and LLQ 4.5.4 Configuring and Monitoring CBWFQ The bandwidth command within the policy-map class configuration command is used to specify or modify the bandwidth allocated for a class belonging to a policy map. Figures and show the command syntax to use. All classes belonging to one policy map should use the same type of bandwidth guarantee, in kilobits per second, percentage of interface bandwidth, or percentage of available bandwidth. Configuring bandwidth in percentages is most useful when the underlying link bandwidth is unknown or the relative class bandwidth distributions are known. bandwidth {bandwidth | percent percent | remaining percent percent} bandwidth Parameters
    Parameter Description bandwidth Amount of bandwidth, in kilobits per second, to be assigned to the class. percent percent Amount of guaranteed bandwidth, based on an absolute percentage of available bandwidth. The percentage can be a number from 1 to 100. (By default, only 75 percent can be reserved.) remaining percent percent Amount of guaranteed bandwidth, based on a relative percentage of available bandwidth. The percentage can be a number from 1 to 100. These restrictions apply to the bandwidth command: The default queue limit of 64 packets can be changed using the queue-limit command. It is recommended that you not change the default value. The default class can be selected by specifying the class-default name of the class. The default class supports two types of queuing: a FIFO queue (default) or a flow-based WFQ system. Both types can be combined with WRED. A FIFO queue can also get a minimum bandwidth guarantee. Example: Configuration of FIFO Queuing for the Class-Default
    This example shows the configuration of FIFO queuing within the default class. The default class is also guaranteed 1 Mbps of bandwidth, and the maximum queue size is limited to 40 packets. policy-map A
    class A
    bandwidth 1000
    class class-default
    bandwidth 1000
    queue-limit 40 Example: Configuration of