Cisco Systems WSC4500X16SFP Manual De Usuario
27-30
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 27 Configuring Quality of Service
Configuring QoS
•
policy-map—Enter the policy-map command to define the following for each class of traffic:
–
Internal DSCP source
–
Aggregate or individual policing and marking
•
service-policy—Enter the service-policy command to attach a policy map to an interface.
Configuring a Class Map (Optional)
The following subsections describe class map configuration:
•
•
Enter the class-map configuration command to define a traffic class and the match criteria that will be
used to identify traffic as belonging to that class. Match statements can include criteria such as an ACL,
an IP precedence value, or a DSCP value. The match criteria are defined with one match statement
entered within the class-map configuration mode.
used to identify traffic as belonging to that class. Match statements can include criteria such as an ACL,
an IP precedence value, or a DSCP value. The match criteria are defined with one match statement
entered within the class-map configuration mode.
Creating a Class Map
To create a class map, perform this task:
Configuring Filtering in a Class Map
To configure filtering in a class map, perform one of these tasks:
Command
Purpose
Switch(config)# [no] class-map [match-all |
match-any
]
class_name
Creates a named class map.
Use the no keyword to delete a class map.
Command
Purpose
Switch(config-cmap)# [no] match access-group
{
acl_index | name acl_name}
(Optional) Specifies the name of the ACL used to filter traffic.
Use the no keyword to remove the statement from a class
map.
map.
Note
Access lists are not documented in this publication.
See the reference under access-list in the
See the reference under access-list in the
Switch (config-cmap)# [no] match ip precedence
ipp_value1 [ipp_value2 [ipp_valueN]]
(Optional—for IP traffic only) Specifies up to eight IP
precedence values used as match criteria. Use the no keyword
to remove the statement from a class map.
precedence values used as match criteria. Use the no keyword
to remove the statement from a class map.
Switch (config-cmap)# [no] match ip dscp
dscp_value1
[
dscp_value2 [dscp_valueN]]
(Optional—for IP traffic only) Specifies up to eight DSCP
values used as match criteria. Use the no keyword to remove
the statement from a class map.
values used as match criteria. Use the no keyword to remove
the statement from a class map.
Switch (config-cmap)# [no] match any
(Optional) Matches any IP traffic or non-IP traffic.
Switch (config-cmap)# match flow ip {source-address
| destination-address
(Optional) Treats each flow with a unique IP source address
or destination address as a new flow.
or destination address as a new flow.