Thursday, July 2, 2020

Cisco RESTCONF : output show commands

Hello,

I'm posting again about Cisco RESTCONF ! it's very fast to use but complex to find the informations we want. We will buy some Cisco switches for our network so we are using Cisco Catalyst 9300 for our tests (IOS-XE).

Actually, we are facing an issue : we cannot find any YANG model describing the usage of "show" commands.

We are trying to get the result of the commands :

  • show ip igmp snooping groups
  • show ip mroute vrf "NAME_OF_VRF"

We tried to find in the Cisco-IOS-XE-native.yang file but without success. We searched through the YANG file if there was a model to pass directly the show command and returns the output but we didn't find anything.

Is there a specific YANG model which can do that ? Or is there any solution to pass a generic "show" command and get the output through RESTCONF ?

Thank you and have a nice day !



No comments:

Post a Comment