Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Perl Scripting Toolkit

Hello All,

I am trying to use the Perl Scripting Toolkit available from Cisco :

http://www.cisco.com/cisco/software/release.html?mdfid=282414851&flowid=2137&softwareid=281035856&release=4.2.1&relind=AVAILABLE&rellifecycle=&reltype=latest

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:

http://www.cisco.com/cisco/software/release.html?mdfid=282414851&flowid=2137&softwareid=281024900&release=4.2.1&relind=AVAILABLE&rellifecycle=&reltype=latest

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

Everyone's tags (5)
2 REPLIES
Cisco Employee

Perl Scripting Toolkit

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
New Member

Perl Scripting Toolkit

Thank you Joseph for the feedback. I think I am missing the "Cisco IOS XR Manageability Package" PIE. I'll update you shortly.

1440
Views
0
Helpful
2
Replies