08-23-2012 02:47 AM
Hello All,
I am trying to use the Perl Scripting Toolkit available from Cisco :
And the documentation: http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r4.1/xml/programming/guide/xl41petk.html
The purpose is to use the tar file with all the XML Schemas implemented in 4.2.1 on ASR9k:
But, when I am trying to run the example scripts, I am getting :
perl show_ip_interfaces.pl -host <hostname>-pe2 -user <username> -interactive
Password:
Error: Failed to enter XML mode.
Does anyone else has encountered this before ? How can I bypass this ?
Many Thanks.
Kind Regards,
Nikos
08-25-2012 09:35 PM
I've not used this toolkit, but I believe it uses the same XML agent that NETCONF uses. You should make sure you have the following configured:
netconf agent tty
08-27-2012 01:43 AM
Thank you Joseph for the feedback. I think I am missing the "Cisco IOS XR Manageability Package" PIE. I'll update you shortly.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: