Advanced Traffic Management Guide K/KA/KB.15.15

Equal To matches a packet with the same TCP or UDP source port number as
tcp/udp-port-number.
gt tcp/udp-port-number
Greater Than matches any packet with a TCP or UDP source port number greater
than tcp/udp-port-number.
lt tcp/udp-port-number
Less Than matches any packet with a TCP or UDP source port number less than
tcp/udp-port-number.
neq tcp/udp-port-number
Not Equal matches any packet with a TCP or UDP source port number that is not
equal to tcp/udp-port-number .
range start-port-number
end-port-number
Matches any packet with a TCP or UDP source port number in the
rangestart-port-number toend-port-number.
TCP/UDP well-known source-port names and numbers
Enter a comparison operator with the source TCP or UDP port number used by the
applications you want to match. Valid port numbers are from 0 to 255. You can
also enter well-known TCP or UDP port names as an alternative to the corresponding
port number; for example:
TCP: bgp, dns, ftp, http, imap4, ldap, nntp, pop2, pop3,
smtp, ssl, telnet
UDP: bootpc, bootps, dns, ntp, radius, radius-old, rip,
snmp, snmp-trap, tftp
To display a list of valid TCP/UDP source ports, enter ? after you enter an operator.
operator tcp-dest-port established [tcp-flag tcp-flag ... ] |
udp-destport
To specify a TCP or UDP destination port number as a match criteria, enter a
comparison operator with a TDP/UDP port number or well-known port name
immediately after the destination-address value in the command.
NOTE: The optional established and tcp-flag values apply only to TCP
destination-port criteria.
TCP/UDP well-known destination-port names and numbers
The same operators, port numbers and well-known names are supported for
TCP/UDP destination-port match criteria as for TCP/UDP source-port criteria. To
display a list of valid TCP/UDP destination ports, enter ? after you enter an operator.
established (Optional) Applies only to TCP destination-port
match criteria and matches only on the TCP
Acknowledge (ACK) or Reset (RST) flags. The
established keyword ignores the
synchronizing packet associated with the
establishment of a TCP connection in one
Defining TCP and UDP match criteria 351