Specifications

2-84
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738-01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
class
class
To specify the name of the class whose traffic policy you want to create or change, use the class
policy-map configuration command. To delete an existing class from a policy map, use the no form of
this command.
class class-name
no class class-name
Syntax Description
Defaults N o classes are defined; ex cept for the class-default .
Command Modes Policy-map c onfiguration mode
Usage Guidelines B efo re us ing the class command, you must create a class map for matching packets to the class by using
the class-map global configuration command. You also must use the policy-map global config uration
command to identify the policy map and to enter policy-map configuration mode. After specifying a
policy map, you can configure a traffic policy for new classes or modify a traffic pol icy for any existing
classes in that policy map. The class n ame that you sp ecify with the class command in the policy map
ties the characteristics for that class (its policy) to the class map and its match criteria, as configured
through the class-map global configuration command. You attach the policy map to a port by using the
service-policy (interface configuration) configuration command.
After you enter the class command, the switch enters policy-map class configuration mode, and these
configuration comma nds a re available :
bandwidth Specifies or modifies the minimum bandwidth provided to a class belonging to a policy
map. For more information, see the bandwidth command.
dbl Enables dynamic buffer limiting for traffic hitting this class. For details on dbl parameters refer
to the show qos dbl command.
exit Exits policy-map class configuration mode and returns to policy-map configuration mode.
no Returns a command to its default setting.
police Configures a single-rate policer, an aggregate policer, or a two-rate traffic policer that uses
the committed information rate (CIR) and the peak information rate (PIR) for a c lass of traffic. The
policer specifies the bandwidth limitations and the action to take when the limits are exceeded. For
more information, see the police command. For more information about the two-rate policer, see the
police (two rates) and the police (percent) command.
priority Enables the strict priority queue for a class of traffic. For more information, see the priority
command.
class-name Name of the predefined traffic class for which you want to configure or modify a
traffic policy. The class was previously created through the class-map
class-map-name glob al configuration com mand.