QoS Commands 413
policy-map
Use the policy-map command in Global Configuration mode to establish a new DiffServ policy. 
You must specify a direction (in or out) for a new DiffServ policy. To remove the policy, use the 
no form of this command.
Syntax
policy-map 
policyname 
[in|out]
no policy-map 
policyname
•
policyname
 — Specifies the DiffServ policy name as a unique case-sensitive alphanumeric 
string of characters. (Range: 1–31 alphanumeric characters.)
•
in
 — Inbound direction. 
•
out
— Outbound direction.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
The CLI mode is changed to Policy-Class-Map Configuration when this command is 
successfully executed.
The policy type dictates which of the individual policy attribute commands are valid within the 
policy definition.
Example
The following example shows how to establish a new DiffServ policy named “DELL.”
console(config)#policy-map DELL
console(config-policy-classmap)#