XG Series User's Guide Chapter 5 Command Reference
ACL Information Settings
240
5.12.1.7 acl icmp
Function Set the definition of the ACL ICMP.
Available Model XG0224 / XG0448 / XG2600
Syntax acl <acl_count> icmp <icmptype> <icmpcode>
Options
<acl_count>
ACL definition number
Specify an ACL definition serial number with a decimal value.
<icmptype>
Specify ICMP TYPE for ACL.
ICMP TYPE
Specify the source ICMP TYPE for ACL with a decimal value from 0 to 255.
When specifying multiple ICMP TYPEs, separate them with commas (,).
Using a comma (,) enables you to specify up to 10 ICMP TYPEs.
The available description format is as follows:
- Decimal number from 0 to 255 (Example: 8 = ICMP TYPE 8)
- ICMP TYPE, ICMP TYPE, ... (Example: 0, 8, 30 = ICMP TYPEs 0, 8, and 30)
any
Specify it when all ICMP TYPEs are subject to ACL.
<icmpcode>
Specify ICMP CODE for ACL.
ICMP CODE
Specify the source ICMP CODE for ACL with a decimal value from 0 to 255.
When specifying multiple ICMP CODEs, separate them with commas (,).
Using a comma (,) enables you to specify up to 10 ICMP CODEs.
The available description format is as follows:
- Decimal number from 0 to 255 (Example: 8 = ICMP CODE 8)
- ICMP CODE, ICMP CODE, ... (Example: 0, 8, 30 = ICMP CODEs 0, 8, and 30)
any
Specify it when all ICMP CODEs are subject to ACL.
Use Mode Configuration mode (admin class)
Explanation Specify the ICMP packet pattern in the ACL definition.
Caution When using this command, be sure to specify <protocol> (icmp 1) using the "acl ip" or
(icmpv6 58) using the "acl ip6" command.
Default Any ICMP packet pattern can be specified in the ACL definition.