Cisco 340 Series Configuration Manual page 152

Table of Contents

Advertisement

AP Information
Set MCS
Example: set mcs to 33
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d '{"mcs" :
"33"}' https://localhost/api/2.0/wifi/ap/mcs
Reply
{"success":"true","updatedAt":"2013-05-16 13:45:04"}
Parameter Restrictions
Only 0 to 15 and 33 are valid parameters; otherwise, a 004 error is reported. Values from 0 to 15 are for
2*2 MIMO, and 33 is for Auto Rate Adaption (recommended).
Get MCS
Example: get mcs
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/mcs
Reply
{"mcs":"33","success":"true","getAt":"2013-05-16 13:50:17"}
Set RDG
Example: set rdg to 0
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d '{"rdg" :
"0"}' https://localhost/api/2.0/wifi/ap/rdg
Reply
{"success":"true","updatedAt":"2013-05-16 13:45:04"}
Parameter Restrictions
Valid parameter is 0 for disable RDG (recommended), or 1 for enable RDG. Otherwise, a 004 error is
reported.
Get RDG
Example: get rdg
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/rdg
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-22
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents