33-44
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 33 Configuring QoS
Configuring QoS
Switch(config-pmap-c-police)#
exit
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
exit
Switch(config)#
interface fastethernet0/1
Switch(config-if)#
service-policy input in-policy
Switch(config-if)#
exit
Configuring Input Policy Maps with Aggregate Policing
You use the
policer aggregate
global configuration command to configure an aggregate policer. An
aggregate policer is shared by multiple traffic classes within the same policy map. You define the
aggregate policer, create a policy map, associate a class map with the policy map, associate the policy
map with the aggregate policer, and apply the service policy to a port.
Follow these guidelines when configuring aggregate policers:
•
Aggregate policing is supported only on input policy maps.
•
The switch supports a maximum of 229 policers associated with ports (228 user-configurable
policers and 1 policer reserved for internal use).
•
When CPU protection is enabled (the default), you can configure 45 ingress policers per port. If you
disable CPU protection by entering the
no policer cpu uni all
global configuration command and
reloading the switch, you can configure a maximum of 63 policers per port (62 on every 4th port)
for user-defined classes and one for class-default. You can enter the
show policer cpu
uni-eni
{
drop
|
rate
}
privileged EXEC command to see if CPU protection is enabled.
•
The maximum number of configured aggregate policers is 256.
•
Only one policy map can use any specific aggregate policer. Aggregate policing cannot be used to
aggregate streams across multiple interfaces. You can use aggregate policing only to aggregate
streams across multiple classes in a policy map attached to an interface and to aggregate traffic
streams across VLANs on a port in a per-port, per-VLAN policy map.
•
When you use a table map for police exceed-action in an input policy map, the protocol type of the
map from type of action must be the same as the protocol type of the associated classification. For
example, if the associated class map represents an IP classification, the
map from
type of action
that references the table map must be either
dscp
or
precedence
. If the associated class map
represents a non-IP classification, the
map from
type of action that references the table map must
be
cos
.
You can configure multiple conform and exceed actions simultaneously for an aggregate policer as
parameters in the
policer aggregate
global configuration command, but you must enter the actions in
this order:
•
conform-action
must be followed by
transmit
or by
set
actions in this order:
set-qos-transmit
set-dscp-transmit
or
set-prec-transmit
set-cos-transmit
•
exceed-action
must be followed by
drop
or
transmit
or by
set
actions in this order:
set-qos-transmit
set-dscp-transmit
or
set-prec-transmit
set-cos-transmit
Содержание ME 3400 Series
Страница 40: ...Contents xl Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...
Страница 44: ...xliv Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 Preface ...
Страница 1138: ...Index IN 52 Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...