beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 1727

background image

AT-8100 Switch Command Line User’s Guide

1727

If you assign both of these commands to the same class map, such as
“cmap1,” the output of the SHOW CLASS-MAP command is:

Figure 266. SHOW CLASS-MAP Command with TCP Flags

Using the above commands, packets that contain both the Synchronize
TCP and Acknowledge TCP flags are matched. However, packets that
contain only the Synchronize TCP flags are ignored. These packets are
not matched.

Use the no form of this command, NO MATCH TCP-FLAGS, to remove
the specified TCP flag from a class map.

Confirmation Command

“SHOW CLASS-MAP” on page 1766

“SHOW RUNNING-CONFIG” on page 170

Examples

The following example sets the class map, “cmap1,” to match packets that
contain the Finish TCP flags:

awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap1
awplus(config-cmap)# match tcp-flags fin

The following example removes the Urgent TCP flag from class map
“cmap1:”

awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap1
awplus(config-cmap)# no match tcp-flags urg

The following example sets a class map named “cmap5” to match packets
that contain Reset TCP flags:

awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap5
awplus(config-cmap)# match tcp-flags rst

CLASS-MAP-NAME: cmap1

Match TCP Flags: SYN ACK