C613-50170-01 Rev B
Command Reference for x510 Series
1503
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
V
4 H
ARDWARE
A
CCESS
C
ONTROL
L
IST
(ACL) C
OMMANDS
(
NAMED
HARDWARE
ACL: MAC
ENTRY
)
(named hardware ACL: MAC entry)
Overview
Use this command to add a MAC address filter entry to the current hardware
access-list. The access-list will match on packets that have the specified source and
destination MAC addresses. You can use the value
any
instead of source or
destination 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 permit mac aaaa.bbbb.cccc 0000.0000.0000 any
).
You can find the sequence number by running the
show access-list (IPv4 Hardware
command.
Hardware ACLs will
permit
access unless
explicitly denied
by an ACL action.
Syntax
[<
sequence-number
>]
<action>
mac {
<source-mac>
|any}
{
<dest-mac>
|any} [vlan <
1-4094
>] [inner-vlan <
1-4094
>]
no <
sequence-number
>
no
<action>
mac {
<source-mac>
|any} {
<dest-mac>
|any} [vlan
<
1-4094
>] [inner-vlan <
1-4094
>]
Parameter
Description
<
4000-4699
>
Hardware MAC access-list.
<action>
The action that the switch will take on matching packets:
deny
Reject packets that match the source
and destination filtering specified with
this command.
permit
Permit packets that match the source
and destination filtering specified with
this command.
copy-to-cpu
Send a copy of matching packets to
the CPU.
copy-to-mirror
Send a copy of matching packets to
the mirror port.
Use the
command to
configure the mirror port.
send-to-mirror
Send matching packets to the mirror
port.
Use the
command to
configure the mirror port.