Specifications

2-507
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
set qos-group
set qos-group
To set a quality of service (QoS) group identifier (ID) that can be use d later to classify packets, use the
set qos-group command in policy-map class configuration mode. To remove the group ID, use the no
form of this command.
set qos-group group-id
no set qos-group group-id
Syntax Description
Command Default The group ID is set to 0.
Command Modes Policy-map class configuration mode
Usage Guidelines The set qos-group command allows you to associate a group ID with a packet. This association is made
through a service-policy attache d to an interface or VLAN in the input direction. The grou p ID can be
later used in the output direction to apply QoS service policies to the packet.
Examples This e xample shows how to set the q os-group to 5:
Switch# configure terminal
Switch(config)# policy-map p1
Switch(config-pmap)# class c1
Switch(config-pmap-c)# set qos
Switch(config-pmap-c)# set qos-group 5
Switch(config-pmap-c)# end
Switch#
Related Commands
group-id Group I D number in the range from 0 to 63.
Command Description
match (class-map
configuration)
Defines the match criteria for a class map.
policy-map Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy and to e nter policy-map
configuration mode.
service-policy (policy-map
class)
Creates a service policy that is a quality of service (QoS) policy
within a policy map.
show policy-map Displays information about the policy map.
show policy-map interface Displays the statistics and configurations of the input and output
policies that are attached to an interface.