36-48
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-03
Chapter 36 Configuring QoS
Configuring Standard QoS
Switch(config-pmap)#
class ipclass1
Switch(config-pmap-c)#
trust dscp
Switch(config-pmap-c)#
police 1000000 8000 exceed-action policed-dscp-transmit
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
exit
Switch(config)#
interface gigabitethernet1/1
Switch(config-if)#
service-policy input flow1t
This example shows how to create a Layer 2 MAC ACL with two permit statements and attach it to an
ingress port. The first permit statement allows traffic from the host with MAC address 0001.0000.0001
destined for the host with MAC address 0002.0000.0001. The second permit statement allows only
Ethertype XNS-IDP traffic from the host with MAC address 0001.0000.0002 destined for the host with
MAC address 0002.0000.0002.
Switch(config)#
mac access-list extended maclist1
Switch(config-ext-mac)#
permit 0001.0000.0001 0.0.0 0002.0000.0001 0.0.0
Switch(config-ext-mac)#
permit 0001.0000.0002 0.0.0 0002.0000.0002 0.0.0 xns-idp
Switch(config-ext-mac)#
exit
Switch(config)#
mac access-list extended maclist2
Switch(config-ext-mac)#
permit 0001.0000.0003 0.0.0 0002.0000.0003 0.0.0
Switch(config-ext-mac)#
permit 0001.0000.0004 0.0.0 0002.0000.0004 0.0.0 aarp
Switch(config-ext-mac)#
exit
Switch(config)#
class-map macclass1
Switch(config-cmap)#
match access-group maclist1
Switch(config-cmap)#
exit
Switch(config)#
policy-map macpolicy1
Switch(config-pmap)#
class macclass1
Switch(config-pmap-c)#
set dscp 63
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class macclass2 maclist2
Switch(config-pmap-c)#
set dscp 45
Switch(config-pmap-c)# exit
Switch(config-pmap)#
exit
Switch(config)#
interface gigabitethernet1/1
Switch(config-if)#
mls qos trust cos
Switch(config-if)#
service-policy input macpolicy1
Classifying, Policing, and Marking Traffic by Using Aggregate Policers
By using an aggregate policer, you can create a policer that is shared by multiple traffic classes within
the same policy map. However, you cannot use the aggregate policer across different policy maps or
ports.