Net::Telnet Juniper display XML troubles

Net::Telnet Juniper display XML troubles

am 05.06.2007 11:52:09 von matvey.teplov

Hi,
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.