Net::Telnet Juniper display XML troubles

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

 I'm trying to pull the data out of the Juniper router using
Net::Telnet module such as "show version | display xml". It goes fine,
as I can see it in the debug, until it fails to pass the data into the
output array for the result printing. I tried to pull similar trick
with just filtering, not conversion into XML, at the Juniper and it
worked out just fine, so the pipe sign is not an issue. It seems that
the XML format itself damages it in some way. Any thoughts?

Cheers Mat.

Site Timeline