Chapter 20
| Quality of Service Commands
– 487 –
Syntax
rename
map-name
map-name
- Name of the class map or policy map. (Range: 1-
32 characters)
Command Mode
Class Map Configuration
Policy Map Configuration
Example
Console(config)#class-map rd-class#1
Console(config-cmap)#rename rd-class#9
Console(config-cmap)#
policy-map
This command creates a policy map that can be attached to multiple
interfaces, and enters Policy Map configuration mode. Use the
no
form to
delete a policy map.
Syntax
[
no
]
policy-map
policy-map-name
policy-map-name
- Name of the policy map. (Range: 1-32
characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
◆
Use the
policy-map
command to specify the name of the policy map, and
then use the
command to configure policies for traffic that matches
the criteria defined in a class map.
◆
A policy map can contain multiple class statements that can be applied to
the same interface with the
command.
◆
Create a Class Map (
) before assigning it to a Policy Map.
Example
This example creates a policy called “rd-policy,” uses the
specify the previously defined “rd-class,” uses the
set
command to classify the
service that incoming packets will receive.
Console(config)#policy-map rd-policy
Console(config-pmap)#class rd-class