[RESOLVED] ACL to block MAC-ADDRESS

Topic

Hello guys,

Please, I need block a mac-address for my customer, my question:

Is it possible create a acl similar acl cisco for block one mac-address?

Thanks,
Rafael

Date
22.07.2023
answers
4
views
0
Author
Asked by rafael-silva

Answers

It's worked, thanks a lot!

Bellow the commands step-by-step.

policy condition c1 source mac dc:08:56:a8:e8:20 policy action a1 disposition drop policy rule r1 condition c1 action a1 qos apply

Date
27.07.2023
Author
Asked by rafael-silva
Add Comment
Vote

The policy rule r1 condition c1 action a1 qos apply ^ ERROR: Invalid entry: "qos"  is because Policy rule r1 condition c1 action a1  and Qos Apply should not be entered on the switch in a single line. Please see the screenshot attached.

Attachments:
Date
27.07.2023
Author
Asked by thanjavuru
Add Comment
Vote

Hello, team.

Unfortunately it didn't work!

In this command part, (policy rule r1 condtion c1 action a1 qos apply), there was an error in this part.

See.

LAB-CCO-SW-> policy rule r1 condition c1 action a1 qos apply ^ ERROR: Invalid entry: "qos"

LAB-CCO-SW->

 

Date
26.07.2023
Author
Asked by rafael-silva
Add Comment
Vote
Comments
My switch is an Alcatel OS6560-P48Z16, version 8.7.2.R02.

Yes you can using below

policy condition c1 source mac 9C:8C:D8:C9:59:88 policy action a1 dispositon drop policy rule r1 condtion c1 action a1 qos apply

 

Date
23.07.2023
Author
Asked by thanjavuru
Add Comment
Vote