Get Core Dump Limit - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Log
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"limit":"unlimited"}' https://localhost/api/2.0/cordDump/limit
Reply
{"success":"true","updatedAt":"2013-04-08 13:14:51"}

Get Core Dump Limit

Example: get core dump limit
Request
curl -k -X GET -H 'password: cisco123!' https:// localhost /api/2.0/coreDump/limit
Reply
{"success":"true","updatedAt":"2013-04-08 13:14:51","limit":"unlimited"}
Set Core Dump Position
Example: set core dump file position to /tmp
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"pos":"/tmp"}' https://localhost/api/2.0/coreDump/pos
Reply
{"success":"true","updatedAt":"2013-04-08 13:14:51"}
Get Core Dump Position
Example: get core dump file position
Request
curl -k -X PUT -H 'password: cisco123!' https://localhost/api/2.0/coreDump/pos
Reply
{"success":"true","updatedAt":"2013-04-08 13:14:51","pos":"/tmp"}
Log
Get Log Path
Example: get log path
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-8
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents