EasyManua.ls Logo

Cisco ASR 5000 Series

Cisco ASR 5000 Series
508 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
Loading...
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<data>
<confd xmlns="http://www.cisco.com/staros-config">
<bulkstats>false</bulkstats>
<netconf>
<port>123</port>
</netconf>
<rest>
<port>234</port>
<auth-policy>peer-fail</auth-policy>
<certificate>rest-cert</certificate>
</rest>
</confd>
</data>
</rpc-reply>
Notes:
netconf-console is freely available from GitHub
(https://github.com/tail-f-systems/JNC/blob/master/examples/2-junos/netconf-console).
Using Curl to Obtain the Server ConfD Configuration
See below for a sample use of curl to perform the same get-config operation:
[<user>@server] ]$ curl -u admin:pswd!
https://rtp-mitg-si06.cisco.com:234/api/running/confd?deep --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
<confd xmlns="http://www.cisco.com/staros-config" xmlns:y="http://tail-f.com/ns/rest"
xmlns:staros_config="http://www.cisco.com/staros-config">
<bulkstats>false</bulkstats>
<netconf>
<port>123</port>
</netconf>
<rest>
<port>234</port>
<auth-policy>peer-fail</auth-policy>
<certificate>rest-cert</certificate>
</rest>
</confd>
Bulkstats
The following examples show bulk statistics operational data.
Enable Bulkstats
Enable bulkstats under server ConfD:
[local]<host_name># config
[local]<host_name>(config)# context local
[local]<host_name>(config-ctx)# server confd
[local]<host_name>(config-confd)# bulkstats
[local]<host_name>(config-confd)# end
[local]<host_name># show confdmgr
State Information
-----------------
State Started
Subscriptions 5
Last successful id 1488-216669-170664
Last failed id None
Username Not configured
Bulkstats Enabled
ASR 5500 System Administration Guide, StarOS Release 21.4
427
NETCONF and ConfD
Bulkstats

Table of Contents

Other manuals for Cisco ASR 5000 Series

Related product manuals