XG Series User's Guide Chapter 5 Command Reference
ACL Information Settings
238
5.12.1.5 acl tcp
Function Set the definition of the ACL TCP.
Available Model XG0224 / XG0448 / XG2600
Syntax acl <acl_count> tcp <src_port> <dst_port>
Options
<acl_count>
ACL definition number
Specify an ACL definition serial number with a decimal value.
<src_port>
Specify a source port number for ACL.
Port number
Specify the source port number for ACL with a decimal value from 1 to 65535.
When specifying multiple port numbers, separate them with commas (,).
Using a comma (,) enables you to specify up to 10 port numbers, including <src_port>
and <dst_port>.
The available description format is as follows:
- Decimal number from 1 to 65535 (Example: 65535 = Port 65535)
- Port number, port number, ... (Example: 10,20,30 = Ports 10, 20, and 30)
any
Specify it when all source port numbers are subject to ACL.
<dst_port>
Specify a destination port number for ACL.
Port number
Specify the destination port number for ACL with a decimal value from 1 to 65535.
The same is true with the description format in <src_port>.
any
Specify it when all destination port numbers are subject to ACL.
Use Mode Configuration mode (admin class)
Explanation Specify the TCP packet pattern in the ACL definition.
Caution When using this command, be sure to specify protocol (tcp 6) in the "acl ip" or "acl ip6"
command.
Default Any TCP packet pattern can be specified in the ACL definition.