Get Radius Port - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

AP Information

Get RADIUS Port

Example: get RADIUS port
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/radiusPort
Reply
{"radiusPort":"1812","success":"true","getAt":"2013-05-22 14:25:17"}
Set RADIUS Key
Example 1: set RADIUS key to cisco
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"radiusKey" : "cisco"}' https://localhost/api/2.0/wifi/ap/radiusKey
Reply
{"success":"true","updatedAt":"2013-05-22 08:08:05"}
Get RADIUS Key
Example: get RADIUS key
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/radiusKey
Reply
{"radiusKey":"cisco","success":"true","getAt":"2013-05-22 14:25:17"}
Set Own IP Address
Example 1: set own IP address to 192.168.1.2
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"ownIpAddr" : "192.168.1.2"}' https://localhost/api/2.0/wifi/ap/ownIpAddr
Reply
{"success":"true","updatedAt":"2013-05-22 08:08:05"}
Parameter Restrictions
The IP address must be a valid one.
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-28
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents