Set Radius Server - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Chapter 4
Configuring HTTP API
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"encryptionType" : "WEP"}' https://localhost/api/2.0/wifi/ap/key1Type
Reply
{"success":"true","updatedAt":"2013-05-22 13:26:04"}

Set RADIUS Server

Example 1: set RADIUS server host to 192.168.1.10
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"radiusServer" : "192.168.1.10"}' https://localhost/api/2.0/wifi/ap/radiusServer
Reply
{"success":"true","updatedAt":"2013-05-22 08:08:05"}
Parameter Restrictions
The IP address must be a valid one.
Get RADIUS Server
Example: get RADIUS server
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/radiusServer
Reply
{"radiusServer":"192.168.2.3","success":"true","getAt":"2013-05-22 14:25:17"}
Set RADIUS Port
Example 1: set RADIUS port to 8000
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"radiusPort" : "8000"}' https://localhost/api/2.0/wifi/ap/radiusPort
Reply
{"success":"true","updatedAt":"2013-05-22 08:08:05"}
Parameter Restrictions
The port should be an interger in the range from 0 to 65535.
OL-29491-01
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
AP Information
4-27

Advertisement

Table of Contents
loading

Table of Contents