2-621
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
set
Examples This example shows how to create a policy map called p1 with CoS values assigned to different traffic
types. Class maps for voice and video-data have already been created.
Switch# configure terminal
Switch(config)# policy-map p1
Switch(config-pmap)# class voice
Switch(config-pmap-c)# set cos 1
Switch(config-pmap)# exit
Switch(config-pmap)# class video-data
Switch(config-pmap-c)# set cos 2
Switch(config-pmap)# exit
Switch#
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands Command Description
class Specifies the name of the class whose traffic policy you want to
create or change.
policy-map Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy and to enter policy-map
configuration mode.
show policy-map Displays information about the policy map.
trust Defines a trust state for traffic classified through the class
policy-map configuration command.