Skip to content

Cisco IOS XR

Nilesh Simaria edited this page Aug 25, 2022 · 1 revision

$ jtimon-linux-amd64 --config cisco.conf --print

Below is a sample cisco ios-xr config to subscribe /interfaces.

{
    "cid": "1232",
    "host": "cisco-device-host-or-ip",
    "user": "user",
    "password": "pwd",

    "vendor": {
        "remove-namespace": true,
        "name": "cisco-iosxr",
        "schema": [{"path": "/var/tmp/schema"}]
    },

    "port": 32767,
    "paths": [
        {
            "freq": 30000,
            "path": "hbot_interfaces_"
        }
        ],
    "log": {
        "verbose": true
    },
    "enable-uint": true
}

On Cisco devices, have following config.

grpc
 port 32767
 no-tls
!
telemetry model-driven
 sensor-group JTIMON_INTERFACE
  sensor-path openconfig-interfaces:interfaces
 !
 subscription hbot_interfaces_
  sensor-group-id JTIMON_INTERFACE sample-interval 10000
 !
!

In this example, /var/tmp/schema has the following cisco schema file.

https://github.com/nileshsimaria/jtimon/blob/master/multi-vendor/cisco/iosxr/schema/cisco-xr-schema.json

Clone this wiki locally