618
Configuring QoS
Configuring QoS
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.
The number of policer instances on the switch can be 1024 minus 1 more than the total number interfaces on the
switch. The switch supports a maximum of 256 policer profiles.
If you do not configure a violate-action, by default the violate class is assigned the same action as the exceed-action.
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
.
Table maps are not supported for
violate-action
for aggregate policing unless a table map is configured for
exceed-action
and no explicit action is configured for violate-action.
You can configure multiple conform and exceed actions conform, exceed, and violate 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
drop
or
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
violate-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
Note:
You do not configure aggregate policer conform-action, exceed-action, and violate-action in policy-map class
police configuration mode; you must enter all actions in a string. Consequently, if you enter multiple conform, exceed,
and violate actions, the command can become quite long, in which case it might be truncated and difficult to read.
Beginning in privileged EXEC mode, follow these steps to create an aggregate policer:
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...