cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
932
Views
10
Helpful
3
Replies

Ping action with XE Yang?

Xiang Zuo
Cisco Employee
Cisco Employee

Greetings,

 

I was able to find the Cisco-IOS-XR-ping-act model to automate the Ping actions. But is there anything similar for the XE platforms? I cannot find any. And if none exists, what is a common solution to that - to automate ping action on XE platform using Yang/Netconf/Restconf?

 

Regards,

 

James

3 Replies 3

@Xiang Zuo it is listed under ICMP? https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/1751/Cisco-IOS-XE-icmp.yang

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Thanks bigevilbeard, for your input.

 

I have checked the icmp.yang file, I believe it is for configuring 'ip icmp' features on routers. What I was after was something to automate the ping command on a router (as if you log on to a router and run ping command). Similar to what is written in Cisco-IOS-XR-ping-act, you can see there is an executor to run ping command. But I could not find anything under XE.

 

Regards,

 

James

robertws
Level 1
Level 1

So is there no way to issue pings on an IOS-XE box via Netconf then?  It would be beneficial if it would work in both autonomous and controller modes.