N
N
Nizitka2016-04-07 06:50:27
linux
Nizitka, 2016-04-07 06:50:27

How to organize a keystroke in a script using clogin?

Question such:
I want to collect the list of the poppies sitting on wi-fi with cisco wireless controller. There is a show client summary command for this. This produces 15 entries, then waiting (Would you like to display more entries? (y/n)).
For automation I want to use clogin. I pass the command in this form:
/var/lib/rancid/bin/clogin -c 'show cli sum' 192.168.1.1
Login occurs, the first batch is called and hangs, then Error: TIMEOUT reached
tried to write in the parameters ; ; y; y etc...'
how to be? Maybe you can somehow go to the piece of iron and enter commands on request?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergrok, 2016-04-08
@Nizitka

Tried to remove info via SNMP? https://supportforums.cisco.com/discussion/1053197...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question