User Manual

Table Of Contents
[Parameter]
mac-acl-id : <2001-3000>
ID of the MAC access list to which to add a description
line : Description to add. Can be up to 32 ASCII characters
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Add a description to the generated MAC access list.
If this command is executed with the "no" syntax, the MAC description is cleared.
[Note]
A description can be added with this command even after applying an access list to LAN/SFP+ port and logical interface. (The
later description will overwrite it)
[Example]
Create MAC access list #2001 that denies frames from MAC address 00-A0-DE-12-34-56, and add the description of "Test".
SWP2(config)#access-list 2001 deny mac 00A0.DE12.3456 0000.0000.0000 any
SWP2(config)#access-list 2001 description Test
9.1.9 Apply MAC access list
[Syntax]
access-group mac-acl-id direction
no access-group mac-acl-id direction
[Parameter]
mac-acl-id : <2001-3000>
ID of MAC access list to apply
direction : Specifies the direction of applicable frames
Setting value Description
in Apply to received frames
[Initial value]
none
[Input mode]
interface mode
[Description]
Applies a MAC access list to both LAN/SFP+ port and logical interface.
If the received frame matches the conditions in the access list, the action in the access list will be the action (permit, deny) for
the corresponding frame.
If this is executed with the "no" syntax, the applied access list is deleted from both LAN/SFP+ port and logical interface.
[Note]
It is not possible to register multiple access lists for a single interface.
The following restrictions apply.
An LAN/SFP+ port for which an incoming frames access list is specified cannot be associated to an logical interface.
An incoming frames access list cannot be applied to an LAN/SFP+ port that is associated with an logical interface. However, if
an access list setting for incoming frames is specified for an LAN/SFP+ port that is associated with an logical interface in the
startup config, then the setting for the lowest-numbered port is applied to the logical interface.
252 | Command Reference | Traffic control