Class-map – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual
Page 482

432
Brocade 6910 Ethernet Access Switch Configuration Guide
53-1002581-01
Quality of Service Commands
22
To create a service policy for a specific category of ingress traffic, follow these steps:
1. Use the
command to designate a class name for a specific category of traffic, and
enter the Class Map configuration mode.
2. Use the
command to select a specific type of traffic based on an access list, a CoS
value, a DSCP or IP Precedence value, a source port, or a VLAN.
3. Use the
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
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
, or
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
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-all | match-any]
class-map-name - Name of the class map. (Range: 1-32 characters)
match-all - Match all conditions within a class map.
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
commands to specify the criteria for ingress traffic that will be
classified under this class map.
•
One or more class maps can be assigned to a policy map (
). The policy map is then
bound by a service policy to an interface (
). A service policy defines packet
classification, service tagging, and bandwidth policing. Once a policy map has been bound to
an interface, no additional class maps may be added to the policy map, nor any changes made
to the assigned class maps with the
or set commands.