User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 547
Format [no] remark <remark>
Default None
Mode Mac Access-list Config
5.21.2.5. mac access-group
This command attaches a specific MAC Access Control List (ACL) identified by <name> to an interface, or
associates it with a VLAN ID, in a given direction. The <name> parameter must be the name of an existing MAC
ACL.
An optional sequence number may be specified to indicate the order of this access list relative to other access
lists already assigned to this interface and direction. A lower number indicates higher precedence order. If a
sequence number is already in use for this interface and direction, the specified access list replaces the currently
attached access list using that sequence number. If the sequence number is not specified for this command, a
sequence number that is one greater than the highest sequence number currently in use for this interface and
direction will be used.
This command specified in 'Interface Config' mode only affects a single interface, whereas the 'Global Config'
mode setting is applied to all interfaces. The 'Interface Config' mode command is only available on platforms
that support independent per-port class of service queue configuration. The VLAN keyword is only valid in the
'Global Config' mode.
The command with out direction does not apply to the packets generated by own-device. For example,
the ping packets from device cannot be filtered by this command with out direction.
Format mac access-group <name> [vlan <vlan-id>] {in |out} [<1-4294967295>]
!
Parameter
Description
remark
To Add an ACL rule remark
<remark>
The rule ID to be removed.
no
To remove an ACL rule remark
Parameter
Description
name
The ACL name which is used to identify a specific MAC ACL. It is a case-sensitive
alphanumeric string from 1 to 31 characters uniquely identifying the MAC
access list.
vlan-id
The VLAN ID. The VLAN keyword is only valid in the 'Global Config' mode.
in | out
The direction value is either in or out