Adding a tcp flag to a class map 7, Ble 204. adding a vlan to a class map 7 – Allied Telesis AT-8100 Series User Manual
Page 1657
AT-8100 Switch Command Line User’s Guide
1657
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 203. 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 204. 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.