Bulkstats - Cisco ASR 5000 Series Administration Manual

Staros release 21.4
Hide thumbs Also See for ASR 5000 Series:
Table of Contents

Advertisement

NETCONF and ConfD
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
</rpc-reply>
Notes:
• netconf-console is freely available from GitHub
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>
</netconf>
<rest>
</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
Subscriptions
Last successful id
Last failed id
Username
Bulkstats
<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>
(https://github.com/tail-f-systems/JNC/blob/master/examples/2-junos/netconf-console).
<port>123</port>
<port>234</port>
<auth-policy>peer-fail</auth-policy>
<certificate>rest-cert</certificate>
Started
5
1488-216669-170664
None
Not configured
Enabled
ASR 5500 System Administration Guide, StarOS Release 21.4
Bulkstats
427

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asr 5500

Table of Contents