User Manual

"W" and "H" represent a single character from the range 0-9, a-f, and A-F.
[Example]
Create MAC access list #2000 which discards frames from MAC address 00-A0-DE-12-34-56.
SWP1(config)#access-list 2000 deny mac 00A3.DE12.3456 0000.0000.0000 any
Delete MAC access list #2000.
SWP1(config)#no access-list 2000
13.1.11 Add comment to MAC access list
[Syntax]
access-list mac-acl-id remark line
no access-list mac-acl-id remark
[Parameter]
mac-acl-id : <100-199>, <2000-2699>
ID of extended MAC access list to which a comment will be added
line : Comment to add. Up to 32 ASCII characters can be specified.
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Adds a comment (remark) to the already-generated MAC access list.
If this command is executed with the "no" syntax, the comment is deleted from the MAC access list.
[Note]
You can use this command to add a comment even after the access list has been applied to the LAN/SFP port. (The last-written
comment overwrites the previous one.)
[Example]
Create MAC access list #2000 which discards frames from MAC address 00-A0-DE-12-34-56, and add the comment "Test."
SWP1(config)#access-list 2000 deny mac 00A0.DE12.3456 0000.0000.0000 any
SWP1(config)#access-list 2000 remark Test
13.1.12 Apply MAC access list
[Syntax]
mac access-group mac-acl-id direction
no mac access-group mac-acl-id direction
[Parameter]
mac-acl-id : <100-199>, <2000-2699>
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
Command Reference | Traffic control | 175