device# configure terminal
device(config)# class-map c2
device(config-classmap)# match vlan 500
device(config-classmap)# exit
device(config)# policy-map p2
device(config-policymap)# class c2
device(config-policymap-class)# police cir 100000 cbs 6000
device(config-policymap-class)# exit device(config-policymap)# exit
device(config)# interface ethernet 1/1
device(conf-if-eth-1/1)# service-policy in p2
device(conf-if-eth-1/1)# exit
device(config)# qos service-policy in p2
The following example summarizes the commands in this procedures.
device# configure terminal device(config)# class-map c2 device(config-classmap)# match vlan 500 device(config-classmap)# exit device(config)# policy-map p2 device(config-policymap)# class c2 device(config-policymap-class)# police cir 100000 cbs 6000 device(config-policymap-class)# exit device(config-policymap)# exit device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# service-policy in p2 device(conf-if-eth-1/1)# exit device(config)# qos service-policy in p2