beautypg.com

Creating a class map, Filtering incoming traffic, Creating a class map 1 – Allied Telesis AT-8100 Series User Manual

Page 1651: Filtering incoming traffic 1, Ble 193. creating a class map 1, Ble 194. class-map metering commands 1

background image

AT-8100 Switch Command Line User’s Guide

1651

Creating a Class Map

To define filtering criteria, you need to create a class map. You create a
class map and then add it to a policy map to define an action for the
matched traffic. (This is the example shown in this section.) Or, you can
create a class map after you create a policy map. It is important to
understand that class maps filter incoming packets only.

For more information about the CLASS-MAP command, see “CLASS-
MAP” on page 1601.

The following example creates a class map named “cmap1” and enters the
Class Map mode. It is only within the Class Map mode that you can add
filters to the class map.

The following sections describe the extensive list of filtering options
available within a class map and provide configuration examples:

“Filtering Incoming Traffic” on page 1651

“Filtering Procedures” on page 1652

Filtering

Incoming Traffic

After you create a class map, you want to filter incoming traffic by placing
matching criteria on the class map. All of the QoS filtering commands
begin with “MATCH.” There are ten commands that allow you to set
matching criteria for a class map. See Table 194.

Table 193. Creating a Class Map

Command

Description

awplus> enable

Enter the Privileged Executive mode from the User
Executive mode.

awplus# configure terminal

Enter the Global Configuration mode.

awplus(config)# class-map cmap1

Creates a class map called “cmap1” and enters the
Configuration Class mode.

awplus(config-cmap)#

Displays the Class Map mode prompt.

Table 194. Class-Map Metering Commands

To Do this Task

Use this Command

Use an ACL group name or group number
as a matching criterion for IPv4 ACLs only.

match access-group

name|

group

-number

Use the specified CoS value as a matching
criterion.

match cos <0-7>