574
Configuring QoS
Understanding 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.
Figure 77
Input and Output Policy Relationship
Input Policy Maps
Input policy map classification criteria include matching a CoS, a DSCP, or an IP precedence value or matching an access
control list (ACL) or VLAN ID (for per-port, per-VLAN QoS). Input policy maps can have any of these actions:
Setting or marking a CoS, a DSCP, an IP precedence, or QoS group value
Individual policing
Aggregate policing
Only input policies provide matching on access groups or VLAN IDs, and only output policies provide matching on QoS
groups. You can assign a QoS group number in an input policy and match it in the output policy. The class
class-default
is used in a policy map for any traffic that does not explicitly match any other class in the policy map. Input policy maps
do not support queuing and scheduling keywords, such as
bandwidth
,
queue-limit
,
priority
, and
shape average
.
An input policy map can have a maximum of 64 classes plus
class-default
. You can configure a maximum of 64 classes
in an input policy.
Output Policy Maps
Output policy map classification criteria include matching a CoS, a DSCP, an IP precedence, or a QoS group value. Output
policy maps can have any of these actions:
Queuing (
queue-limit
)
Scheduling (
bandwidth
,
priority
, and
shape average
)
Output policy maps do not support matching of access groups. You can use QoS groups as an alternative by matching
the appropriate access group in the input policy map and setting a QoS group. In the output policy map, you can then
match the QoS group. See
Classification Based on QoS Groups, page 580
for more information.
Output policies do not support marking or policing (except in the case of priority with policing). There is no egress packet
marking on the switch (no
set
command in an output policy).
The class
class-default
is used in a policy map for any traffic that does not explicitly match any other class in the policy
map. There can be a maximum of four classes in the output policy map (including class-default) because egress ports
have a maximum of four queues.
An output policy map attached to an egress port can match only the packets that have already been matched by an input
policy map attached to the ingress port for the packets. You can attach an output policy map to any or all ports on the
switch. The switch supports configuration and attachment of a unique output policy map for each port. However, these
Ingress
port
Apply
input
policy
Apply
output
policy
141150
Switching
and
forwarding
Egress
port
Apply
output
policy
Apply
input
policy
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...