581
Configuring QoS
Understanding QoS
Figure 79
QoS Groups
You can use QoS groups to aggregate multiple input streams across input classes and policy maps for the same QoS
treatment on the egress port. Assign the same QoS group number in the input policy map to all streams that require the
same egress treatment, and match to the QoS group number in the output policy map to specify the required queuing
and scheduling actions.
You can also use QoS groups to identify traffic entering a particular interface if the traffic must be treated differently at
the output based on the input interface.
You can use QoS groups to configure per-port, per-VLAN QoS output policies on the egress interface for bridged traffic
on the VLAN. Assign a QoS group number to a VLAN on the ingress interface by configuring a per-port, per-VLAN input
policy. Then use the same QoS-group number for classification at the egress. Because the VLAN of bridged traffic does
not change during forwarding through the switch, the QoS-group number assigned to the ingress VLAN can be used on
the egress interface to identify the same VLAN.
You can use the
cpu traffic qos
[
cos
value
|
dscp
value
|
precedence
value
|
qos-group
value
]
global configuration
command to configure a QoS group number for CPU-generated traffic.
Independently you can assign QoS-group numbers at the ingress to any combination of interfaces, VLANs, traffic flows,
and aggregated traffic. To assign QoS-group numbers, configure a QoS group marking in an input policy map, along with
any other marking or policing actions required in the input policy map for the same service class. This allows the input
marking and policing functions to be decoupled from the egress classification function if necessary because only the
QoS group must be used for egress classification.
To communicate an ACL classification to an output policy, you assign a QoS number to specify packets at ingress. This
example identifies specific packets as part of QoS group 1 for later processing in an output policy:
Switch(config)#
policy-map in-gold-policy
Switch(config-pmap)#
class in-class1
Switch(config-pmap-c)#
set qos-group 1
Switch(config-cmap-c)#
exit
Switch(config-cmap)#
exit
You use the
set qos-group
command only in an input policy. The assigned QoS group identification is subsequently used
in an output policy with no mark or change to the packet. You use the
match qos-group
in the output policy.
Note:
You cannot configure
match qos-group
for an input policy map.
This example creates an output policy to match the QoS group created in the input policy map
in-gold-policy
. Traffic
internally tagged as
qos-group 1
is identified and processed by the output policy.
Switch(config)#
class-map out-class1
Switch(config-cmap)#
match qos-group 1
Switch(config-cmap)#
exit
The switch supports a maximum of 100 QoS groups.
Classification Based on VLAN IDs
With classification based on VLAN IDs, you can apply QoS policies to frames carried on a user-specified VLAN for a given
interface. Per-VLAN classification is not required on access ports because access ports carry traffic for a single VLAN.
If you try to attach an input per-port, per VLAN hierarchical policy to a port that is not a trunk port, the configuration is
rejected.
1. Classify traffic
2. Set qos-group
141
152
Switching
functions
1. Match qos-group
2. Output 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 ...