Get Address6 - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Ethernet API

Get Address6

Example: get address6
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/eth/address6
Reply
{"address6":"","success":"true","getAt":"2013-06-25 18:05:29"}
Get DNS4
Example: get DNS4
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/eth/dns4
Reply
{"dns4":"64.104.123.144\n171.70.168.183\n8.8.8.8\n8.8.4.4\n4.4.4.4","success":"true","getA
t":"2013-06-25 18:10:48"}
Get DNS6
Example: get DNS6
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/eth/dns6
Reply
{"address6":"","success":"true","getAt":"2013-06-25 18:05:29"}
Get Gateway4
Example: get gateway4
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/eth/gateway4
Reply
{"gateway4":"10.140.28.1","success":"true","getAt":"2013-06-25 18:09:25"}
Get Gateway6
Example: get gateway6
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/eth/gateway6
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-12
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents