(Named Hardware Acl: Ip Protocol Entry) - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

IP
4 H
A
C
V
ARDWARE
CCESS
ONTROL
(
ACL: IP
NAMED HARDWARE
PROTOCOL ENTRY

(named hardware ACL: IP protocol entry)

Overview
Use this command to add an IP protocol type filter entry to the current hardware
access-list. The filter will match on IP packets that have the specified IP protocol
number, and the specified IP and/or MAC addresses. You can use the value any
instead of source or destination IP or MAC address if an address does not matter.
If you specify a sequence number, the switch inserts the new filter at the specified
location. Otherwise, the switch adds the new filter to the end of the access-list.
The no variant of this command removes a filter entry from the current hardware
access-list. You can specify the filter entry for removal by entering either its
sequence number (e.g. no 100), or by entering its filter profile without specifying
its sequence number (e.g. no deny proto 2 192.168.0.0/16 any).
You can find the sequence number by running the
ACLs)
Hardware ACLs will permit access unless explicitly denied by an ACL action.
[<sequence-number>] <action> proto <1-255> <source-ip>
Syntax
<dest-ip> [<source-mac> <dest-mac>] [vlan <1-4094>]
no <sequence-number>
no <action> proto <1-255> <source-ip> <dest-ip> [<source-mac>
<dest-mac>] [vlan <1-4094>]
Table 36-5: Parameters in IP protocol ACL entries
C613-50170-01 Rev B
L
(ACL) C
IST
OMMANDS
)
command.
Parameter
Description
<sequence-
The sequence number for the filter entry of the selected access
number>
control list, in the range 1-65535. If you do not specify a sequence
number, the switch puts the entry at the end of the ACL and
assigns it the next available multiple of 10 as its sequence
number. .
<action>
The action that the switch will take on matching packets:
deny
permit
copy-to-cpu
copy-to-mirror
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
show access-list (IPv4 Hardware
Reject packets that match the
source and destination filtering
specified with this command.
Permit packets that match the
source and destination filtering
specified with this command.
Send a copy of matching packets to
the CPU.
Send a copy of matching packets to
the mirror port.
Use the
mirror interface
command
to configure the mirror port.
1497

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents