User Manual
SWP1(config)#no ip-access-list 3002 permit 3ffe:506::/32
Delete 3ffe:506::/32 from IPv6 access list "TEST"
SWP1(config)#no ip-access-list ipv6 TEST permit 3ffe:506::/32
13.2.28 Generate MAC access list
[Syntax]
mac-access-list list-id action src-info dst-info
no ip-access-list list-id action src-info dst-info
[Parameter]
list-id : <2000 - 2699>
MAC access list ID
action : Action for the access condition
Setting value Description
deny
Specifies "deny" as the action for the access
condition
permit
Specifies "permit" as the action for the access
condition
src-info : Transmission-source MAC address that is the condition
Setting value Description
HHHH.HHHH.HHHH
WWWW.WWWW.WWWW
Specify as a MAC address
(HHHH.HHHH.HHHH) with wildcard bits
(WWWW.WWWW.WWWW)
any
Don't specify the transmission-source MAC
address (apply to all MAC addresses)
dst-info : Destination MAC address that is the condition
The method of specifying this is the same as when specifying the transmission-source MAC address
(src-info)
[Input mode]
global configuration mode
[Description]
Generates a MAC access list.
If you want to apply this to traffic classification conditions, execute the match access-group command in class map mode.
For a single ID, you can repeat this to make up to 30 registrations.
[Note]
In order to execute this command, QoS must be enabled.
An error occurs if the maximum number of registrations is exceeded, or if you specify content that is already registered.
The MAC access list IDs are shared with the extended IPv4 access list IDs. An error occurs if you use an ID that is specified for
the extended IPv4 access list.
[Example]
Create MAC access list #2000 which discards frames from MAC addresses 00-03-28-12-34-56 and 00-03-28-78-9A-BC.
SWP1(config)#mac-access-list 2000 deny 0003.2812.3456 0000.0000.0000 any
SWP1(config)#mac-access-list 2000 deny 0003.2878.9abc 0000.0000.0000 any
Delete MAC address 00-03-28-12-34-56 from MAC access list #2000.
SWP1(config)#no mac-access-list 2000 deny 0003.2812.3456 0000.0000.0000 any
198 | Command Reference | Traffic control