SSE-G2252/SSE-G2252P Switches User's Manual
Creating a Service Policy for a Specific Category of Ingress Traffic
1. Use the
class-map
traffic, and enter the Class Map configuration mode.
2. Use the
match
DSCP or IP Precedence value, or a VLAN.
3. Use the
policy-map
which ingress traffic will be handled, and enter the Policy Map configuration mode.
4. Use the
class
configuration mode. A policy map can contain up to 16 class maps.
5. Use the
set
the class of service value in the VLAN tag for the matching traffic class, and use one
of the police commands to monitor parameters such as the average flow and burst
rate, and drop any traffic that exceeds the specified rate, or just reduce the DSCP
service level for traffic exceeding the specified rate.
6. Use the
service-policy
NOTE: Create a Class Map before creating a Policy Map.
class-map
This command creates a class map used for matching packets to the specified class,
and enters Class Map configuration mode. Use the no form to delete a class map.
Syntax
[no] class-map class-map-name [match-any]
class-map-name - Name of the class map. (Range: 1-32 characters)
match-any - Match any condition within a class map.
Default Setting
None
Command Mode
Global Configuration
Command Usage
•
First enter this command to designate a class map and enter the Class Map
configuration mode. Then use
traffic that will be classified under this class map.
command to designate a class name for a specific category of
command to select a specific type of traffic based on an access list, a
command to designate a policy name for a specific manner in
command to identify the class map, and enter Policy Map Class
phb,
set cos
or
set ip dscp
command to assign a policy map to a specific interface.
match
command to modify the per-hop behavior or
commands to specify the criteria for ingress
37-2