12-18
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 12 Sharing Bandwidth Fairly During Congestion
Configuration Examples for Sharing Bandwidth Fairly
Deleting Policy Maps
To delete a policy map, enter the following command in global configuration mode:
Configuration Examples for Sharing Bandwidth Fairly
This section provides the following configuration examples:
•
Configuration Example for Configuring CBWFQ and Attaching a Policy to an ATM Subinterface,
page 12-19
•
Configuration Example for Configuring CBWFQ and Attaching a Policy to an RBE Subinterface,
page 12-19
Configuration Example for Configuring CBWFQ and Attaching a Policy to an
Ethernet Interface
Example 12-5
shows how to configure CBWFQ in a policy map and attach the policy to an Ethernet
interface. The example configures a classification policy named
voip
and a policy map named
policy1
,
which defines the class characteristics for the
voip
,
video
, and
class-default
classes. The service policy
is attached to the Ethernet 1/0/1 interface in the outbound direction.
Example 12-5 Configuring CBWFQ and Attaching a Policy to an Ethernet Interface
Router(config)#
class-map match-any voip
Router(config-cmap)#
match ip precedence 5
Router(config-cmap)#
class-map match-any video
Router(config-cmap)#
match ip precedence 4
Router(config-cmap)#
exit
Router(config)#
policy-map policy1
Router(config-pmap)#
class voip
Router(config-pmap-c)#
priority
Router(config-pmap-c)#
police 560000
Router(config-pmap-c)#
class video
Router(config-pmap-c)#
bandwidth 4560
Router(config-pmap-c)#
class class-default
Router(config-pmap-c)
bandwidth 2560
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config)#
interface ethernet1/0/1
Router(config-if)#
service-policy output policy1
Router(config-if)#
exit
Command
Purpose
Router(config)#
no policy-map
policy-map-name
Deletes the policy map you specify.
policy-map-name
is the name of the policy map.