Set Wifi Client Connection Key Management - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Wi-Fi Client Information

Set WiFi Client Connection Key Management

Example: set WiFi client connection key-mgmt to wpa-psk
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"key-mgmt" : "wpa-psk"}' https://localhost/api/2.0/wifi/client/wireless/key-mgmt
Reply
{"success":"true","updatedAt":"2013-04-28 16:50:13"}
Get WiFi Client Connection Key Management
Example: get WiFi client connection key management
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/key-mgmt
Reply
{"key-mgmt":"wpa-eap","success":"true","getAt":"2013-04-27 11:19:01"}
Set WiFi Client wep-tx-keyidx
Example: set WiFi client connection wep-tx-keyidx to 1
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"wep-tx-keyidx" : "1"}' https://localhost/api/2.0/wifi/client/wireless/wep-tx-keyidx
Reply
{"success":"true","updatedAt":"2013-04-28 16:50:13"}
Get WiFi Client wep-tx-keyidx
Example: get WiFi client wep-tx-keyidx
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/wep-tx-keyidx
Reply
{"wep-tx-keyidx":"","success":"true","getAt":"2013-04-27 11:21:32"}
Set WiFi Client auth-alg
Example: set WiFi client connection auth-alg to open
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-52
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents