beautypg.com

Allied Telesis AT-FS970M Series User Manual

Page 1635

background image

AT-FS970M Switch Command Line User’s Guide

1635

Adding a TCP Flag to a Class Map

To set TCP flags for a class map which are used as matching criteria, use
the MATCH TCP-FLAGS command. For more information about this
command, see “MATCH TCP-FLAGS” on page 1622.

In this example, a class map, named “cmap7,” matches incoming packets
that contain both the Acknowledge and Reset TCP flags:

Adding a VLAN to a Class Map

To create a class-map called “cmap7” and add VLAN 3 as a match criteria
for incoming traffic, do the following:

Table 201. Adding a TCP Flag to a Class Map

Command

Description

awplus> enable

Enters the Privileged Executive mode from the
User Executive mode.

awplus# configure terminal

Enters the Global Configuration mode.

awplus(config)# class-map cmap7

Creates a class map called cmap7 and enters the
Class Map mode.

awplus(config-cmap)# match tcp-
flags ack

Add the Acknowledge flag to class map “cmap7.”

awplus(config-cmap)# match tcp-
flags res

Add the Reset flag to class map “cmap7.”

Table 202. Adding a VLAN to 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)# match vlan 3

Adds VLAN 3 as a match criterion for incoming
traffic.