cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
82
Views
0
Helpful
2
Replies
khgrant
Cisco Employee

Pulling operational data - live-status from Juniper

 

Hi Team,

 

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.

 

 

XR -

 

admin@ncs# devices device virl-xr live-status cisco-ios-xr-stats:exec show interfaces

 

result

 

Thu May  5 16:18:22.498 UTC

 

Loopback0 is up, line protocol is up

 

  Interface state transitions: 1

 

  Hardware is Loopback interface(s)

 

  Description: Loopback

 

  Internet address is 192.168.0.1/32

 

 

 

IOS -

 

admin@ncs# devices device virl-iosv1 live-status ios-stats:exec show interfaces

 

result

 

GigabitEthernet0/0 is up, line protocol is up

 

  Hardware is iGbE, address is fa16.3e11.a443 (bia fa16.3e11.a443)

 

  Description: OOB Management

 

 

Juniper -

 

admin@ncs# devices device virl-juniper live-status ?

 

Possible completions:

 

  cisco-ios-xr-stats:exec   Execute commands on device

 

  commands                  Commands

 

  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#

 

admin@ncs# devices device virl-juniper live-status commands exec interfaces

 

Error: RPC error towards virl-juniper: : syntax error

 

admin@ncs#

 

 

Please let me know how can we pull this data from Juniper.

 

 

 

--

 

Regards,

 

Sumit

 

1 ACCEPTED SOLUTION

Accepted Solutions
khgrant
Cisco Employee

 

> 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

 

 

/klacke

 

View solution in original post

2 REPLIES 2
khgrant
Cisco Employee

 

Hi Sumit,

 

 

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.

 

khgrant
Cisco Employee

 

> 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

 

 

/klacke

 

View solution in original post

Content for Community-Ad

This widget could not be displayed.