EasyManua.ls Logo

Cisco ASR 5000 Series - Page 460

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...
Event notification level Disabled
SNMP notifications Disabled
REST interface authentication peer-fail
REST interface certificate rest-cert
REST interface host name Not configured
Interface Status Port
----------------------------------------------
NETCONF Enabled 123
REST Enabled 234
Bulkstats Configuration
See below for a sample bulkstats configuration:
[local]<host_name># show config bulkstats
config
bulkstats collection
bulkstats mode
file 1
schema common format %uptime%,%host%,%ipaddr%
#exit
file 2
schema system format %uptime%,%host%,%ipaddr%
#exit
#exit
End
Force Bulkstats Collection
See below for a sample to force statistics to be collected and pushed to the operational database for ConfD:
[local]<host_name># bulkstats force gather
Notes:
Statistics will generally be pushed per collection interval timer configured for bulkstats.
Using Curl to Read Statistics
See below for a sample use of curl to read statistics via the server ConfD RESTful interface:
[<user>@server] ]$ curl -u admin:pswd!
https://rtp-mitg-si06.cisco.com:234/api/operational/bulkstats-operational?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
<bulkstats-operational xmlns="http://www.cisco.com/staros-bulkstats"
xmlns:y="http://tail-f.com/ns/rest"
xmlns:staros_bulkstats="http://www.cisco.com/staros-bulkstats">
<file>
<number>1</number>
<schemas>
<schema>system</schema>
<names>
<name>common</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>
ASR 5500 System Administration Guide, StarOS Release 21.4
428
NETCONF and ConfD
Bulkstats

Table of Contents

Other manuals for Cisco ASR 5000 Series

Related product manuals