Alcatel-Lucent 6850-48 Verweisanleitung
QoS Policy Commands
OmniSwitch CLI Reference Guide
September 2009
page 53-75
policy condition tcpflags
Configures a specific TCP flag value or combination of flag values as a policy condition.
policy condition condition_name tcpflags [any | all] {F | S | R | P | A | U | E | W} mask {F | S | R | P | A |
U | E | W}
U | E | W}
policy condition condition_name no tcpflags
Syntax Definitions
condition_name
The name of the condition.
any
Match on any of the specified TCP flags.
all
Match all specified TCP flags.
F | S | R | P | A | U | E | W
TCP flag value to match (F=fin, S=syn, R=rst, P=psh, A=ack, U=urg,
E=ecn, and W=cwr). The E and W flags are currently not supported.
E=ecn, and W=cwr). The E and W flags are currently not supported.
Defaults
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of the command to remove tcpflags from a condition; however, at least one classifica-
tion parameter must be associated with a condition.
• Use the any option to indicate that a match on any one of the specified TCP flags qualifies as a match
for the condition. Use the all option to indicate that a match on all specified TCP flags is required to
qualify as a match for the condition.
qualify as a match for the condition.
• Enter one or more TCP flags after the any or all keyword to indicate that the value of the flag bit must
be set to one to qualify as a match.
• Enter one or more TCP flags after the mask keyword to indicate which TCP flags to match.
• If a TCP flag is specified as part of the mask but does not have a corresponding match value specified
with the any or all options, then zero is assumed as the match value. For example, tcpflags all f s
mask f s a looks for the following bit values to determine a match: f=1, s=1, a=0.
mask f s a looks for the following bit values to determine a match: f=1, s=1, a=0.
• Typically this condition is used in combination with source ip, destination ip, source port, destina-
tion port, source TCP port, or destination TCP port conditions.
• The source mac, destination mac, and ethertype conditions cannot be combined with the estab-
lished condition parameter.
parameter
default
any | all
all