04-24-2017 03:44 AM - edited 07-05-2021 06:55 AM
Hi ,
How to use access-list for many MAC address.
access-list 700 deny 18f6.430e.2b7b, 18f6.430e.2b7b, 2082.c0d5.7eeb 0000.0000.0000
the above comand is right ?
04-24-2017 08:09 AM
No, command is incorrect.
You can play with mask to define multiple MAC in single statement or you have to configure multiple statements like following:-
access-list 700 deny 18f6.430e.2b7b 0000.0000.0000
access-list 700 deny 2082.c0d5.7eeb 0000.0000.0000
access-list 700 deny 4082.c0d5.76ab 0000.0000.0000
If this is helpful. Please give a thumbs up :-)
04-24-2017 10:01 PM
the about advice only do one by one.
how can I make all for one.
04-25-2017 01:25 AM
i never seen a command which is using only one like to add multiple mac address...better to use with multiple statement.
Regards
Dont forget to rate helpful posts
04-25-2017 06:05 AM
You can do by playing with mask but for that MAC address are in some symmetry. Otherwise you have to add single statement for each.
If this is helpful. Please rate :-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide