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 ?
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 :-)
the about advice only do one by one.
how can I make all for one.
i never seen a command which is using only one like to add multiple mac address...better to use with multiple statement.
Dont forget to rate helpful posts
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 :-)