04-25-2017 12:21 AM - edited 07-05-2021 06:55 AM
Hi all,
I am writing CLI to block some MAC address.
for example:
access-list 705 deny 7831.c181.d8ff 0000.0000.0000
access-list 705 deny 4404.4470.a7a0 0000.0000.0000
access-list 705 deny c4b3.0118.5258 0000.0000.0000
But I took mistake for a MAC address.
so I want to delete a access-list 705 deny 7831.c181.d8ff 0000.0000.0000
It is as below right ? CLI:
no access-list 705 deny 7831.c181.d8ff 0000.0000.0000
I am not use because when I do like this.
All MAC address was deleted.
I cannot see any MAC address as show access-list 705
so my question is that, How to delete only one MAC address that still keep other MAC address.
Thanks
04-25-2017 12:55 AM
just use this command:
no access-list 705 deny 7831.c181.d8ff 0000.0000.0000
Regards
Dont forget to rate helpful posts
04-25-2017 01:05 AM
04-25-2017 01:22 AM
Yes.. there is a limitation using CLI to create and remove the Access-list with same number.
Better to use diff access-list <705/706> numbers.
example:
access-list 705 permit ab1d.e08d.1103 0000.0000.0000
access-list 705 permit 5h59.4835.3b83 0000.0000.0000
access-list 706 permit cd1f.e10e.b422 0000.0000.0000
access-list 706 permit 78e4.0038.7e45 0000.0000.0000
access-list 706 permit ef1b.7745.c576 0000.0000.0000
Regards
Dont forget to rate helpful posts
04-25-2017 03:35 AM
Hi
another issue.
do you have any link related CLI for AP cisco ?
04-25-2017 03:39 AM
http://www.cisco.com/c/en/us/support/docs/wireless-mobility/wireless-lan-wlan/116582-configure-ap-00.html
http://www.cisco.com/c/en/us/td/docs/wireless/access_point/15-3-3/configuration/guide/cg15-3-3/cg15-3-3-chap16-filters.html
Regards
Dont forget to rate helpful posts
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