cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2641
Views
0
Helpful
5
Replies

How to delete a MAC address in filter

Thai Nguyen Duc
Level 1
Level 1

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 

5 Replies 5

Sandeep Choudhary
VIP Alumni
VIP Alumni

just use this command:

no access-list 705 deny 7831.c181.d8ff 0000.0000.0000

Regards

Dont forget to rate helpful posts

when I use this command :

no access-list 705 deny 7831.c181.d8ff 0000.0000.0000

and show access-list 705

But cannot see any MAC Address .

it seem to delete all MAC address .

I attached file

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

Hi 

another issue.

do you have any link related CLI for AP cisco ?

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

Review Cisco Networking for a $25 gift card