2-213
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
policy-map
You can configure class policies in a policy map only if the classes have match criteria defined for them.
To configure the match criteria for a class, use the
class-map
global configuration and
match
class-map
configuration commands. You define packet classification on a physical-port basis.
You can create input policy maps and output policy maps, and you can assign one input policy map and
one output policy map to a target (port or EFP service instance). The input policy map acts on incoming
traffic on the port; the output policy map acts on outgoing traffic.
You can apply the same policy map to multiple targets.
Follow these guidelines when configuring input policy maps:
•
The total number of input policy maps that can be attached to interfaces on the switch is limited by
the availability of hardware resources. If you attempt to attach an input policy map that would
exceed any hardware resource limitation, the configuration fails.
•
You cannot configure an IP (IP standard and extended ACL, DSCP or IP precedence) and a non-IP
(MAC ACL or CoS) classification within the same policy map, either within a single class map or
across class maps within the policy map.
•
These commands are not supported on input policy maps:
match discard-class
command,
match
qos-grou
p command,
bandwidth
command for Class-Based-Weighting-Queuing (CBWFQ),
priority
command for class-based priority queueing,
queue-limit
command for Weighted Tail Drop
(WTD),
shape average
command for port shaping, or class-based traffic shaping.
Follow these guidelines when configuring output policy maps:
•
Output policy maps can have a maximum of eight classes, one of which is
class-default
, when the
classes in the policy map are of class-level classification, such as
cos
,
dscp
, and
mpls exp
. There
are no restrictions for classes in a VLAN-level policy map as long as the number does not exceed
that supported by the license installed on the switch.
•
Each class of a policy map can have three unique queue-limit configurations, including an
unqualified queue-limit (that is a queue-limit without any qualifier). The switch supports a
maximum of eight queues per policy map, including the class-default. Queue-limit configurations
are unique for a class of a policy map. There are a total of 256 queue-limit profiles in the switch,
some of which are default profiles. Each profile can have three queue-limit configurations. When
queue-limit configurations are the same across classes, the classes use the same queue-limit profile.
•
All output policy maps must include the same number of class maps (one to three) and the same
classification (that is, the same class maps).
You can verify your settings by entering the
show policy-map
privileged EXEC command.
For more information about policy maps, see the software configuration guide for this release.
Examples
This example shows how to create an input policy map for three classes:
Switch(config)#
policy-map input-all
Switch(config-pmap)#
class gold
Switch(config-pmap-c)#
set dscp af43
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class silver
Switch(config-pmap-c)#
police 50000000
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class bronze
Switch(config-pmap-c)#
police 20000000
Switch(config-pmap-c)#
exit
This example shows how to delete the policy map
input-all
:
Switch(config)#
no policy-map input-all
Summary of Contents for ME 3600X
Page 14: ...Contents xiv Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 534: ... 100 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 Chapter xconnect ...
Page 625: ...Index IN 15 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 626: ...Index IN 16 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 627: ...Index IN 17 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 628: ...Index IN 18 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...