Allied Telesis AT-9000/12POE Switch User Manual


  Open as PDF
of 1480
 
AT-9000 Switch Command Line User’s Guide
1211
ACCESS-LIST IP
Syntax
access-list
id_number action
ip
src_ipaddress dst_ipaddress
[vlan
vid
]
Parameters
id_number
Specifies the ID number for a new ACL. The range is 3000 to 3699.
action
Specifies the action of the access list. Here are the possible
actions:
permit: Forwards all ingress packets that match the ACL.
deny: Discards all ingress packets that match the ACL.
copy-to-mirror: Copies all ingress packets that match the ACL to
the destination port of the mirror port. This action must be used
in conjunction with the port mirror feature, explained in Chapter
21, “Port Mirror” on page 379.
scr_ipaddress
Specifies the source IP address of the ingress packets the access
list should filter. Here are the possible options:
any: Matches any IP address.
ipaddress/mask: Matches packets that have a source IP
address of a subnet or an end node. The mask is a decimal
number that represents the number of bits in the address, from
left to right, that constitute the network portion of the address.
For example, the subnet address 149.11.11.0 would have a
mask of “24” for the twenty-four bits of the network section of the
address. The IP address and the mask are separated by a slash
(/); for example, “149.11.11.0/24”.
host ipaddress: Matches packets with a source IP address and
is an alternative to the IPADRESS/MASK variable for addresses
of specific end nodes. The HOST keyword indicates that the
address is of a specific and node and that no mask is required.