33-9
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 33 Configuring QoS
Understanding QoS
You create and name a policy map by using the
policy-map
global configuration command. When you
enter this command, the switch enters the policy-map configuration mode. In this mode, you specify the
actions to take on a specific traffic class by using the
class
,
trust
, or
set
policy-map configuration and
policy-map class configuration commands.
The policy map can contain the
police
and
police aggregate
policy-map class configuration commands,
which define the policer, the bandwidth limitations of the traffic, and the action to take if the limits are
exceeded.
To enable the policy map, you attach it to a port by using the
service-policy
interface configuration
command.
For more information, see the
“Policing and Marking” section on page 33-9
. For configuration
information, see the
“Configuring a QoS Policy” section on page 33-44
Policing and Marking
After a packet is classified and has a DSCP-based or CoS-based QoS label assigned to it, the policing
and marking process can begin as shown in
Policing involves creating a policer that specifies the bandwidth limits for the traffic. Packets that exceed
the limits are
out of profile
or
nonconforming
. Each policer decides on a packet-by-packet basis whether
the packet is in or out of profile and specifies the actions on the packet. These actions, carried out by the
marker, include passing through the packet without modification, dropping the packet, or modifying
(marking down) the assigned DSCP of the packet and allowing the packet to pass through. The
configurable policed-DSCP map provides the packet with a new DSCP-based QoS label. For information
on the policed-DSCP map, see the
“Mapping Tables” section on page 33-11
. Marked-down packets use
the same queues as the original QoS label to prevent packets in a flow from getting out of order.
Note
All traffic, regardless of whether it is bridged or routed, is subjected to a policer, if one is configured.
As a result, bridged packets might be dropped or might have their DSCP or CoS fields modified when
they are policed and marked.
You can configure policing (either individual or aggregate policers) on a physical port or an SVI. For
more information about configuring policing on physical ports, see the
.
After you configure the policy map and policing actions, attach the policy to an ingress port by using the
service-policy
interface configuration command. For configuration information, see the
Policing, and Marking Traffic on Physical Ports by Using Policy Maps” section on page 33-50
and the
“Classifying, Policing, and Marking Traffic by Using Aggregate Policers” section on page 33-55
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...