I have show command for a device with its Mac address, which i am executing in perl using Expect.pm.
The output of command is more than 100 line with --More--
at the bottom.
I am able to capture output everything before first occurance of --More--
.
But not after that.
I tried with while loop it is not working for me.
Please help me resolve this.
I Suspect you're connecting to a Cisco Device. if so, issue "term len 0" upon logging onto the node. if juniper, add " | no-more" to the end of every command.