Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Array not storing the result of a router command

by blue_cowdawg (Prior)
on May 09, 2013 at 17:48 UTC ( #1032806=note: print w/ replies, xml ) Need Help??


in reply to Array not storing the result of a router command

Have you verified that you are successfully logging in? Seems to me you are not checking.

Of course the other thought I have is what is different about this device?


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg


Comment on Re: Array not storing the result of a router command
Re^2: Array not storing the result of a router command
by Arun Kumar (Novice) on May 09, 2013 at 18:17 UTC

    I have verified that I am logging in successfully into the device. The log function of the telnet session is writing all the command output to the session log file. Only the thing is that the array returns null value for this device alone.

    Not sure what is different, its one of the CISCO routers in my network. Rest routers data are visible in the array. but not this specific.

          Not sure what is different, its one of the CISCO routers in my network. Rest routers data are visible in the array. but not this specific.

      That's the nut you need to crack. If I have a script that runs in 9 cases out of 10 I want to see what is different about that tenth case.


      Peter L. Berghold -- Unix Professional
      Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032806]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-07-13 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (244 votes), past polls