comparison-operator tcp/udp-src-port
Syntax
[ comparison-operator tcp/udp-src-port
]
Description
In an IPv6 ACL using either tcp
or udp
as the IP packet protocol type, you can optionally apply comparison
operators specifying TCP or UDP source and/or destination port numbers
or ranges of numbers to define the criteria for a match.
Options
eq
tcp/udp-port-nbr"Equal To" — to have a match with the ACE entry, the TCP or UDP source port number in a packet must be equal to
tcp/udp-port-nbr
.gt
tcp/udp-port-nbr"Greater Than" — to have a match with the ACE entry, the TCP or UDP source port number in a packet must be greater than
tcp/udp-port-nbr
.lt
tcp/udp-port-nbr"Less Than" — to have a match with the ACE entry, the TCP or UDP source port number in a packet must be less than
tcp/udp-port-nbr
.neq
tcp/udp-port-nbr"Not Equal" — to have a match with the ACE entry, the TCP or UDP source port number in a packet must not be equal to
tcp/udp-port-nbr
.range
start-port-nbr end-port-nbrFor a match with the ACE entry, the TCP or UDP source-port number in a packet must be in the range
start-port-nbr end-port-nbr
.
Usage
To specify a TCP or UDP source port number in an ACE:
Select a comparison operator from the following list.
Enter the port number or a well-known port name.