Get All The Wifi Client Ap Information - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Wi-Fi Client Information
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/client/active/link
Reply
{"link":"firmware-version=\nip-interface=ra0\n Ö","success":"true","getAt":"2013-04-24
16:40:47"}

Get All the WiFi Client AP Information

Example: get all the wifi client ap information
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/ap/blizzard/*
Reply
{"*":"maxbitrate=44000\nssid=blizzard\nrsnflags=288\nwpaflags=0\nbssid=0C:D9:96:76:5B:EF\n
frequency=5745\nflags=1\nactive=1\nstrength=71","success":"true","getAt":"2013-04-24
16:45:02"}
Get All the WiFi Client Connection Information
Example: get all the wifi client connection information of ssid blizzard
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/client/con/blizzard
Reply
{"*":"key-mgmt=wpa-eap\nproto=wpa,rsn\ntimestamp=1367030784\ntype=802-11-wireless\nid=bliz
zard\nuuid=48fc378d-9645-4ad6-9fd1-86c1a1f2fca8\nipv4-routes=\nipv4-addresses=\nipv4-dns=\
nipv4-method=auto\neap=peap\npassword=
123456\nidentity=ciscoId\nphase2-auth=mschapv2\nipv6-routes=\nipv6-addresses=\nipv6-dns=\n
ipv6-method=auto\nsecurity=802-11-wireless-security\nssid=blizzard\nmac-address=C0:62:6B:4
A:17:08\nmode=infrastructure","success":"true","getAt":"2013-04-27 10:46:32"}
Set WiFi Client Connection ID
Example: set WiFi client connection id from blizzard1 to blizzard
Request 1
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/execution/blizzard1/update
Reply 1
{"update":"blizzard1","success":"true","getAt":"2013-04-28 15:30:34"}
Request 2
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d '{"id" :
"blizzard"}' https://localhost/api/2.0/wifi/client/connection/id
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-40
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents