cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
695
Views
10
Helpful
4
Replies

Disable client by MAC address from the command line

spfister336
Beginner
Beginner

We have a 5520 WLC. Is it possible to disable a client by MAC address from the command line? I know I've done it in the GUI before, but I need to have a way to do it via command line (need to do it from a python script). The WLC is running version 8.10.151.0

 

4 Replies 4

Tony Rosolek
Beginner
Beginner

You can try: 

 

(Cisco Controller) >config client deauthenticate ?

<MAC addr | IPv4/6 addr | user name> Enter a Client's information on anyone (OR) of parameters <MAC address | IPv4/v6 address | user name>.

(Cisco Controller) >config client deauthenticate 

||| Please rate helpful posts. Thanks! |||

Wouldn't this just disconnected them? I was really looking for something to disable them indefinitely..

Yes, you are right, it only disconnects/deauthenticates the client, which then can directly connect again. If you want to block it permanently you can try following command. 

 

 

(Cisco Controller) >config exclusionlist ?

add Creates a local exclusion-list entry.
delete Deletes a local exclusion-list entry.
description Sets the description for an exclusion-list entry.

 

(Cisco Controller) >config exclusionlist add ?

<MAC addr> Enter MAC address.

(Cisco Controller) >config exclusionlist add aa:bb:cc:aa:bb:cc

||| Please rate helpful posts. Thanks! |||

Thank you... I did see the 'config exclusionlist' command, but I was confused. Doesn't that have a timeout value (default 60)? I may be confusing it with something else.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers