Cisco Cisco IOS Software Release 12.2(14)S

Page de 34
      Frame Relay Queueing and Fragmentation at the Interface
Configuration Tasks
6
Cisco IOS Release 12.2(14)S
Configuring Class Policy for the Bandwidth Queues
To configure a policy map and create class policies that make up the service policy, use the following 
commands beginning in global configuration mode:
Configuring the Shaping Policy Using the Class-Default Class
In general, the class-default class is used to classify traffic that does not fall into one of the defined 
classes. Even though the class-default class is predefined when you create the policy map, you still have 
to configure it. If a default class is not configured, traffic that does not match any of the configured 
classes is given best-effort treatment, which means that the network will deliver the traffic if it can, 
without any assurance of reliability, delay prevention, or throughput. 
If you configure shaping in addition to queueing on the interface, use the class-default class to configure 
the shaping policy. The shaping policy will serve as the parent in a hierarchical traffic policy. The 
queueing policy will serve as the child policy. The class-default class is used for the shaping policy so 
that all traffic for the entire interface is shaped and a bandwidth-limited stream can be created. 
Command
Purpose
Step 1
Router(config)# policy-map policy-map
Specifies the name of the policy map to be created 
or modified.
The bandwidth queues and the priority queue 
use the same policy map.
Step 2
Router(config-pmap)# class class-name
Specifies the name of a class to be created and 
included in the service policy.
The class name that you specify in the policy 
map defines the characteristics for that class 
and its match criteria as configured using the 
class-map command.
Step 3
Router(config-pmap-c)# bandwidth bandwidth-kbps 
Specifies the amount of bandwidth to be assigned 
to the class, in kbps, or as a percentage of the 
available bandwidth. Bandwidth must be specified 
in kbps or as a percentage consistently across 
classes. (Bandwidth of the priority queue must be 
specified in kbps.)
The sum of all bandwidth allocation on an 
interface cannot exceed 75 percent of the total 
available interface bandwidth. 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 by using the 
max-reserved-bandwidth command.