cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
818
Views
0
Helpful
2
Replies

Retrieve list of yang models supported by an ASR9k router (runtime)

Hello

Does anyone know a way to retrieve from a particular ASR9k the list of the yang models it implements? (through netconf of CLI)

I am trying to build a program that performs certain actions on our routers based netconf. It would be nice to have a way to find at runtime, the supported yang models for a particular router.

has anyone any suggestions about how can we do this?

./alejandro

2 Replies 2

Aleksandar Vidakovic
Cisco Employee
Cisco Employee

hi Alejandro,

you can find  them here:

https://github.com/YangModels/yang/tree/master/vendor/cisco/xr

/Aleksandar

Ted Johansson
Level 1
Level 1

Enable NETCONF on the router and do,

$ ssh user@hostname -p 830 -s netconf