38-38
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 38 Configuring Standard QoS
How to Configure Standard QoS
Creating Class Maps
You use the class-map global configuration command to name and to isolate a specific traffic flow (or
class) from all other traffic. The class map defines the criteria to use to match against a specific traffic
flow to further classify it. Match statements can include criteria such as an ACL, IP precedence values,
or DSCP values. The match criterion is defined with one match statement entered within the class-map
configuration mode.
Note You can also create class-maps during policy map creation by using the class policy-map configuration
command.
Step 3 {permit | deny} {host src-MAC-addr mask |
any | host dst-MAC-addr | dst-MAC-addr
mask} [type mask]
Specifies the type of traffic to permit or deny if the conditions are
matched, entering the command as many times as necessary.
src-MAC-addr—Enters the MAC address of the host from which
the packet is being sent. You specify this by using the
hexadecimal format (H.H.H), by using the any keyword as an
abbreviation for source 0.0.0, source-wildcard ffff.ffff.ffff, or by
using the host keyword for source 0.0.0.
mask—Enters the wildcard bits by placing ones in the bit
positions that you want to ignore.
dst-MAC-addr—Enters the MAC address of the host to which
the packet is being sent. You specify this by using the
hexadecimal format (H.H.H), by using the any keyword as an
abbreviation for source 0.0.0, source-wildcard ffff.ffff.ffff, or by
using the host keyword for source 0.0.0.
(Optional) type mask—Specifies the Ethertype number of a
packet with Ethernet II or SNAP encapsulation to identify the
protocol of the packet. For type, the range is from 0 to 65535,
typically specified in hexadecimal. For mask, enter the don’t
care bits applied to the Ethertype before testing for a match.
Note When creating an access list, remember that, by default, the
end of the access list contains an implicit deny statement for
everything if it did not find a match before reaching the end.
Step 4 end Returns to privileged EXEC mode.
Command Purpose