Chapter 19
| Quality of Service Commands
– 442 –
To create a service policy for a specific category of ingress traffic, follow these steps:
1.
Use the
class-map
command to designate a class name for a specific category
of traffic, and enter the Class Map configuration mode.
2.
Use the
match
command to select a specific type of traffic based on an access
list, a DSCP or IP Precedence value, or a VLAN.
3.
Use the
policy-map
command to designate a policy name for a specific manner
in which ingress traffic will be handled, and enter the Policy Map configuration
mode.
4.
Use the
class
command to identify the class map, and enter Policy Map Class
configuration mode. A policy map can contain up to 16 class maps.
5.
Use the
set phb
,
set cos
or
set ip dscp
command to modify the per-hop
behavior, the class of service value in the VLAN tag, or the priority bits in the IP
header (IP DSCP value) 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
command to assign a policy map to a specific interface.
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
match
commands to specify the criteria for
ingress traffic that will be classified under this class map.
Summary of Contents for EX-3524
Page 2: ......
Page 28: ...Figures 28 ...
Page 34: ...Section I Getting Started 34 ...
Page 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Page 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Page 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Page 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Page 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Page 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Page 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Page 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Page 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Page 366: ...Chapter 15 Address Table Commands 366 ...
Page 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Page 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Page 578: ...Section I Appendices 578 ...