AP Information
Table 4-2
Region
9
10
11
Get Channel Number
Example: get channel number
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/channelNumber
Reply
{"channelNumber":"6","success":"true","getAt":"2013-05-15 17:35:56"}
Get Operating Mode
Example: get operating mode
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/operatingMode
Reply
{"operatingMode":"1","success":"true","getAt":"2013-05-15 17:48:56"}
Set Operating Mode
Example: set operating mode
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"operatingMode" : "1"}' https://localhost/api/2.0/wifi/ap/operatingMode
Reply
{"success":"true","updatedAt":"2012-11-12 07:32:04"}
Parameter Restrictions
Valid parameters are 0 for mixed mode, and 1 for green field. Otherwise, a 004 error is reported.
Set Channel Bandwidth
Example: set channel bandwidth to 20 MHz
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-20
5 GHz Channels (continued)
Channels
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 161, 165
36, 40, 44, 48, 149, 153, 157, 161, 165
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161
Chapter 4
Configuring HTTP API
OL-29491-01