How can we pull live-status from Juniper device ?
I am able to pull it from IOS and XR but not sure of the config or cli for Juniper.
admin@ncs# devices device virl-xr live-status cisco-ios-xr-stats:exec show interfaces
Thu May 5 16:18:22.498 UTC
Loopback0 is up, line protocol is up
Interface state transitions: 1
Hardware is Loopback interface(s)
Internet address is 192.168.0.1/32
admin@ncs# devices device virl-iosv1 live-status ios-stats:exec show interfaces
GigabitEthernet0/0 is up, line protocol is up
Hardware is iGbE, address is fa16.3e11.a443 (bia fa16.3e11.a443)
Description: OOB Management
admin@ncs# devices device virl-juniper live-status ?
cisco-ios-xr-stats:exec Execute commands on device
ios-stats:exec Execute commands on device
admin@ncs# devices device virl-juniper live-status commands exec show interfaces
Error: RPC error towards virl-juniper: : syntax error
admin@ncs# devices device virl-juniper live-status commands exec interfaces
Please let me know how can we pull this data from Juniper.
Go to Solution.
> Hi Team,
> How can we pull live-status from Juniper device ?
There isn't any 'config false' data at all in the Junos yang model. All operational data is pulled through specific RPCs
View solution in original post
I haven’t used the live-status commands, but to get similar information in the past I have used netconf RPC for juniper devices.
Check this thread to give you an idea of how it works with Juniper.