cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2941
Views
0
Helpful
2
Replies

Perl Scripting Toolkit

nikos_skalis
Level 1
Level 1

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

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

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

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

Review Cisco Networking for a $25 gift card