beautypg.com

Access-list proto, Access-list proto 0 – Allied Telesis AT-8100 Series User Manual

Page 1580

background image

Chapter 99: ACL Commands

1580

ACCESS-LIST PROTO

Syntax

access-list

id_number action

proto

protocol_number

src_ipaddress dst_ipaddress

[vlan

vid

]

Parameters

id_number

Specifies an ID number for a new ACL. The range is 3000 to 3699.
Each access list on the switch must have a unique ID number.

action

Specifies the action of the ACL. Choose from 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
27, “Port Mirror” on page 465.

protocol_number

Specifies a protocol number. You can specify one protocol
number. Refer to Table 191, “Protocol Numbers” on page 1581 for
the list of protocol numbers.

scr_ipaddress

Specifies the source IP address of the ingress packets the access
list should filter. Choose one of the following:

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.