OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Flowspec Commands : match tcp-flag
match tcp-flag
Use the command to match TCP flag.
Command Syntax
match ipv4 tcp-flag TCP_FLAG_VALUE bitmask TCP_FLAG_BITMASK
no match ipv4 tcp-flag bitmask
Parameters
TCP_FLAG_VALUE
 
TCP flag value in hexadecimal (0-fff)
TCP_FLAG_BITMASK
 
TCP flag bitmask in hexadecimal (0-fff)
Command Mode
Class-map mode.
Applicability
This command was introduced in OcNOS version 6.3.0.
Examples
(config)#class-map type traffic match-all test1
(config-cmap-tr)#match tcp-flag 2e bit-mask 3f
Last modified date: 10/16/2023