C613-50066-01 REV A
Command Reference for IE200 Series Industrial Managed PoE+ Switches
683
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
IP
V
4 H
ARDWARE
A
CCESS
C
ONTROL
L
IST
(ACL) C
OMMANDS
ACCESS
-
LIST
(
HARDWARE
IP
NUMBERED
)
access-list (hardware IP numbered)
Overview
This command creates an access-list for use with hardware classification, such as
QoS. The access-list will match on either TCP or UDP type packets that have the
specified source and destination IP addresses and Layer 4 port values or ranges.
The parameter
any
may be specified if an address does not matter and the port
values are optional.
The
no
variant of this command removes the previously specified IP hardware
access-list.
Syntax [ip]
access-list <
3000-3699
> {deny|permit|send-to-cpu} ip <
source
>
<
destination
>
Syntax [icmp]
access-list <
3000-3699
> {deny|permit|send-to-cpu} icmp <
source
>
<
destination
> [icmp-type <
type-number
>]
no access-list <
3000-3699
>
Table 22-2:
Parameters in the access-list (hardware IP numbered)
command -
ip|icmp
Parameter
Description
<
3000-3699
>
Hardware IP access-list number.
deny
Access-list rejects packets that match the source and destination
filtering specified with this command.
permit
Access-list permits packets that match the source and
destination filtering specified with this command.
send-to-cpu
Specify packets to send to the CPU.
icmp
ICMP packet.
ip
IP packet.
<source>
The source address of the packets. You can specify a single host,
a subnet, or all sources. The following are the valid formats for
specifying the source:
any
Matches any source IP address.
host
<ip-addr>
Matches a single source host with the IP
address given by
<ip-addr>
in dotted
decimal notation.
<
ip-addr
>/
<
prefix
>
An IPv4 address, followed by a forward
slash, then the prefix length. This
matches any source IP address within the
specified subnet.
<
ip-addr
>
<
reverse-mask
>
Alternatively, you can enter a reverse
mask in dotted decimal format. For
example, entering
192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24
.