Chapter 4
Configuring HTTP API
Parameter Restrictions
Only 0, 1, 2, 4, 6, 7, 8, 9, 10, and 11 are valid parameters; otherwise, a 004 error is reported.
Set Channel Number
Example: set channel number to 9
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"channelNumber" : "9"}' https://localhost/api/2.0/wifi/ap/channelNumber
Reply
{"success":"true","updatedAt":"2012-11-12 07:32:04"}
Parameter Restrictions
Table 4-1
Note
When the wireless mode is set to 11, only 5G channels can be used.
Table 4-1
Region
0
1
2
3
4
5
Table 4-2
Region
0
1
2
3
4
5
6
7
8
OL-29491-01
and
Table 4-2
show the channels that you can set based on the region code.
2.4 GHz Channels
Channels
1–11
1–13
10–11
10–13
14
1–14
5 GHz Channels
Channels
36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140
36, 40, 44, 48, 52, 56, 60, 64
52, 56, 60, 64, 149, 153, 157, 161
149, 153, 157, 161, 165
149, 153, 157, 161
36, 40, 44, 48
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149,
153, 157, 161, 165
52, 56, 60, 64
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
AP Information
4-19