Administrator Guide

Layer 2 Switching Commands 721
Example
console#police-two-rate 100000000 64 1000000000 32 conform-action set-cos-
transmit 7 exceed-action set-prec-transmit 7 violate-action drop
policy-map
Use the policy-map command in Global Configuration mode to establish a
new DiffServ policy or to enter policy map configuration mode. To remove
the policy, use the no form of this command.
NOTE: This command is not available on the N1500 Series switches.
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
—The policy is applied on ingress. Must be specified to create new
DiffServ policies. An existing policy can be selected without specifying "in"
or "out".
out
—The policy is applied on egress. Either "in" or "out" must be specified
to create a new DiffServ policy. An existing policy may be selected without
the "in" or "out" parameter.
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.
2CSNXXX_SWUM204.book Page 721 Monday, January 25, 2016 1:25 PM