SSE-G2252/SSE-G2252P Switches User's Manual
policy-map
This command creates a policy map that can be attached to multiple interfaces, and
enters Policy Map configuration mode. Use the no form to delete a policy map.
Syntax
[no] policy-map policy-map-name
policy-map-name - Name of the policy map.
(Range: 1-32 characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
•
Use the policy-map command to specify the name of the policy map, and then use
the
class
command to configure policies for traffic that matches the criteria defined
in a class map.
•
A policy map can contain multiple class statements that can be applied to the same
interface with the
•
Create a Class Map
Example
This example creates a policy called "rd-policy," uses the
previously defined "rd-class," uses the set command to classify the service that
incoming packets will receive, and then uses the
average bandwidth to 100,000 Kbps, the burst rate to 4000 bytes, and configure the
response to drop any violating packets.
SSE-G2252(config)#policy-map rd-policy
SSE-G2252(config-pmap)#class rd-class
SSE-G2252(config-pmap-c)#set ip dscp 3
SSE-G2252(config-pmap-c)#police flow 10000 4000 conform-action transmit
violate-action drop
SSE-G2252(config-pmap-c)#
service-policy
command.
("policy-map" on page
37-6
37-6) before assigning it to a Policy Map.
class
command to specify the
police flow
command to limit the