cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

1632
Views
0
Helpful
2
Replies
Highlighted
Beginner

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 2
Hall of Fame 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
Beginner

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.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards