Files
wlc-9800-tools/README.md

71 lines
1.1 KiB
Markdown

# WLC 9800 Tools
Tools for managing Cisco WLC 9800 wireless clients.
## get-android
A tool to fetch and store wireless client data from Cisco WLC 9800.
### Features
- Fetch all wireless clients from Cisco WLC 9800
- Filter Android devices by manufacturer OUI
- Store client data in SQLite database
- Display stored clients with filtering options
- Filter by AP name and SSID
### Build
```bash
go build -o get-android
```
### Usage
Fetch all clients and store in database:
```bash
./get-android
```
Fetch only Android devices (filtered by OUI):
```bash
./get-android --oui
```
Show all stored clients:
```bash
./get-android --show
```
Show only Android devices:
```bash
./get-android --show --android
```
Filter by AP name:
```bash
./get-android --show --ap "Medan"
```
Filter by SSID:
```bash
./get-android --show --ssid "#IOHGuest"
```
Combine filters:
```bash
./get-android --show --ssid "#IOHGuest" --ap "Medan" --android
```
### Database Schema
The tool stores client data in `clients.db` with the following fields:
- client_mac
- ap_name
- ssid
- device_type
- day_zero_dc
- device_name
- device_vendor
- timestamp