beautypg.com

Match tcp-flags – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1023

background image

QoS Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

39.17

match tcp-flags

Sets one or more TCP flags (control bits) for a class-map to match on.

Use the no variant of this command to remove one or more TCP flags for a class-map to
match on.

Syntax

match tcp-flags {[ack][fin][rst][syn][urg]}

no match tcp-flags {[ack][fin][rst][syn][urg]}

Mode

Class Map Configuration

Examples

To set the class-map’s TCP flags to ack and syn, use the commands:

To remove the TCP flags ack and rst, use the commands:

Parameter

Description

ack

Acknowledge.

fin

Finish.

rst

Reset.

syn

Synchronize.

urg

Urgent.

awplus#

configure terminal

awplus(config)#

class-map

awplus(config-cmap)#

match tcp-flags ack syn

awplus#

configure terminal

awplus(config)#

class-map

awplus(config-cmap)#

no match tcp-flags ack rst