EasyManuals Logo
Home>Cisco>Network Router>ASR 5500

Cisco ASR 5500 System Administration Guide

Cisco ASR 5500
430 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #383 background imageLoading...
Page #383 background image
</variable>
</key_ids>
</names>
</schemas>
</file>
<file>
<number>2</number>
<schemas>
<schema>system</schema>
<names>
<name>system</name>
<key_ids>
<key_id>none</key_id>
<variable>
<name>host</name>
<value><host_name></value>
</variable>
<variable>
<name>ipaddr</name>
<value>1.2.3.4</value>
</variable>
<variable>
<name>uptime</name>
<value>5781</value>
</variable>
</key_ids>
</names>
</schemas>
</file>
</bulkstats-operational>
Exec CLI Model
The following examples use the Exec CLI model.
Using Curl to Obtain the 'show version' Output
See below for a sample use of curl to obtain the show version output:
cat exec_cli_show_version.xml
<input><args>show version</args></input>
************
[<user>@server] ]$ curl -u admin:pswd!
https://rtp-mitg-si06.cisco.com:234/api/running/staros_exec/_operations/exec --cert
/users/<user>/ssl_cert/client_cert/client.crt --key
/users/<user>/ssl_cert/client_cert/client.key --cacert
/users/<user>/ssl_cert/root_cert/rootCA.pem -X POST -T ./exec_cli_show_version.xml
<output xmlns='http://www.cisco.com/staros-exec'>
<result>Active Software:
Image Version: 21.2.M0.private
Image Build Number: private
Image Description: Developer_Build
Image Date: Thu Feb 23 15:25:47 EST 2017
Boot Image: /flash/qvpc-si.bin.confd
Source Commit ID: bd234043a93c68873ea77444733a8c632356d161
</result>
</output>
Using Curl to Obtain Multiple Show Command Outputs
See below for a sample use of curl to obtain the show build and show confdmgroutputs, using "\r\n" as the
delimiter between commands:
cat exec_cli_show_build_and_confdmgr.xml
<input><args>show build \r\n show confdmgr</args></input>
************
[<user>@server] ]$ curl -u admin:pswd!
https://rtp-mitg-si06.cisco.com:234/api/running/staros_exec/_operations/exec --cert
ASR 5500 System Administration Guide, StarOS Release 21.5
357
NETCONF and ConfD
Exec CLI Model

Table of Contents

Other manuals for Cisco ASR 5500

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ASR 5500 and is the answer not in the manual?

Cisco ASR 5500 Specifications

General IconGeneral
BrandCisco
ModelASR 5500
CategoryNetwork Router
LanguageEnglish

Related product manuals