Cisco ME 3400 Command Reference Manual page 314

Ethernet access switch
Table of Contents

Advertisement

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 port. 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 physical ports.
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.
An input policy map can contain a maximum of 64 class maps, plus class-default.
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.
After you use the service-policy input policy-map configuration command to attach an input policy
map to an interface, you can modify the policy without detaching it from the interface. You can add
or delete classification criteria, classes, or actions, or change the parameters of the configured
actions (policers, rates, mapping, marking, and so on).
These commands are not supported on input policy maps: match qos-group 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 four classes, one of which is the class-default.
The switch supports configuration and attachment of a unique output policy map for each port on
the switch. However, these output policy maps can contain only three configurations of queue limits.
You can include these three unique queue-limit configurations in as many output policy maps as
there are switch ports. If you try to attach an output policy map that has a fourth queue-limit
configuration, you see an error message, and the attachment is not allowed. There are no limitations
on the configurations of bandwidth, priority, or shaping.
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).
After you have attached a output policy map to an interface by using the service-policy output
interface configuration command, you can only change the parameters of the configured actions
(rates, percentages, and so on) or add or delete classification criteria of the class map while the
policy map is attached to the interface. To add or delete a class or an action, you must detach the
policy map from all interfaces, change it, and then reattach it to interfaces.
These commands are not supported on output policy maps: match access-group command, set
command for marking, and police command for policing without including the priority command.
For more information about policy maps, see the software configuration guide for this release.
Cisco ME 3400 Ethernet Access Switch Command Reference
2-288
Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
OL-9640-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents