
Chapter 7: Quality of Service Commands
665
[{range {
portkey
|
startport
}
{
portkey
|
endport
} | {eq | neq |
lt | gt} {
portkey
|
0-
65535
} ]
Note
This option is available only if the protocol is tcp or
udp.
Specifies the layer 4 port match condition for the IP
ACL rule. Port number can be used, which ranges
from 0-65535, or the portkey, which can be one of
the following keywords:
◆
For tcp protocol: bgp, domain, echo, ftp, ftp-
data, http, smtp, telnet, www, pop2, pop3
◆
For udp protocol: domain, echo, ntp, rip, snmp,
tftp, time, who
Each of these keywords translates into its equivalent
port number.
When range is specified, the IP ACL rule matches
only if the layer 4 port number falls within the
specified port range. The startport and endport
parameters identify the first and last ports that are
part of the port range. They have values from 0 to
65535. The ending port must have a value equal to
or greater than the starting port. The starting port,
ending port, and all ports in between will be part of
the layer 4 port range.
When eq is specified, IP ACL rule matches only if
the layer 4 port number is equal to the specified port
number or portkey.
When lt is specified, IP ACL rule matches if the
layer 4 port number is less than the specified port
number or portkey. It is equivalent to specifying the
range as 0 to <specified port number – 1>.
When gt is specified, IP ACL rule matches if the
layer 4 port number is greater than the specified port
number or portkey. It is equivalent to specifying the
range as <specified port 1> to 65535.
When neq is specified, IP ACL rule matches only if
the layer 4 port number is not equal to the specified
port number or port key. Two rules are added in the
hardware one with range equal to 0 to <specified
port number _- 1> and one with range equal to
<<specified port number _+ 1 to 65535>>.
Note
Port number matches only apply to unfragmented or
first fragments.
Parameter
Description
Содержание CN1610
Страница 3: ......
Страница 27: ...24 CLI Line Editing Conventions List available commands keywords or parameters Key Sequence Description ...
Страница 31: ...28 Accessing the CLI ...
Страница 309: ...306 Remote Monitoring Commands ...
Страница 473: ...470 Port Mirroring Commands 100 ...
Страница 487: ...484 DHCP L2 Relay Agent Commands Mode Privileged EXEC ...
Страница 607: ...604 IPv6 Management Commands ...