cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
550
Views
0
Helpful
4
Replies

how to use access-list for a lot of MAC address.

Thai Nguyen Duc
Level 1
Level 1

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 ?

4 Replies 4

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.

Regards

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 :-)

Review Cisco Networking for a $25 gift card