Cisco catalyst 3750 Command Reference Manual page 462

Hide thumbs Also See for catalyst 3750:
Table of Contents

Advertisement

policy-map
This example shows how to create a hierarchical policy map and attach it to an SVI:
Switch(config)# class-map cm-non-int
Switch(config-cmap)# match access-group 101
Switch(config-cmap)# exit
Switch(config)# class-map cm-non-int-2
Switch(config-cmap)# match access-group 102
Switch(config-cmap)# exit
Switch(config)# class-map cm-test-int
Switch(config-cmap)# match input-interface gigabitethernet2/0/2 - gigabitethernet2/0/3
Switch(config-cmap)# exit
Switch(config)# policy-map pm-test-int
Switch(config-pmap)# class cm-test-int
Switch(config-pmap-c)# police 18000000 8000 exceed-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# policy-map pm-test-pm-2
Switch(config-pmap)# class cm-non-int
Switch(config-pmap-c)# set dscp 7
Switch(config-pmap-c)# service-policy pm-test-int
Switch(config-pmap)# class cm-non-int-2
Switch(config-pmap-c)# set dscp 15
Switch(config-pmap-c)# service-policy pm-test-int
Switch(config-pmap-c)# end
Switch(config-cmap)# exit
Switch(config)# interface vlan 10
Switch(config-if)# service-policy input pm-test-pm-2
This example shows how to delete policymap2:
Switch(config)# no policy-map policymap2
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
class
class-map
service-policy
show mls qos vlan
show policy-map
Catalyst 3750 Switch Command Reference
2-432
Description
Defines a traffic classification match criteria (through the police, set, and
trust policy-map class configuration command) for the specified class-map
name.
Creates a class map to be used for matching packets to the class whose name
you specify.
Applies a policy map to a port.
Displays the quality of service (QoS) policy maps attached to an SVI.
Displays QoS policy maps.
Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
OL-8552-07

Advertisement

Table of Contents
loading

Table of Contents