Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: [SOLVED] Retrieving a LOT of output from a command...

$
0
0
I have figured out recently on the Cisco switches on the network I work on the "term pager 0" doesn't work.
Dim result1 As String = DoCommand(client, "enable" & vbLf & "enablePass" & vbLf & "term pager 0" & vbLf & "sh run" & vbLf)
Instead I had to use "terminal length 0" to get the same result.
Dim result1 As String = DoCommand(client, "enable" & vbLf & "enablePass" & vbLf & "term len 0" & vbLf & "sh run" & vbLf)
I hope this helps someone out. Your example is a great one for learning and has helped me get started working with this library. Tip my hat off to you!

Viewing all articles
Browse latest Browse all 1729

Trending Articles