Ticket #47582

Switch log collection

Eröffnet am: 2023-03-16 20:22 Letztes Update: 2023-03-16 20:24

Auswertung:
Verantwortlicher:
(Keine)
Status:
Offen
Komponente:
Meilenstein:
(Keine)
Priorität:
9 - Höchste
Schweregrad:
9 - Höchste
Lösung:
Keine
Datei:
Keine
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Anyone with experience with CISCO switches?

My goal is to have a macro in which it will log into n number of switches and run "show tech" command on switch and collect log files.

Code snippet:


logopen LOG_SAMP 0 0 sendln 'telnet 192.168.1.1' wait 'Username:' sendln SwUser

wait 'Password:' sendln SwPass

wait '#' sendln 'show tech' wait '$' sendln 'exit' logclose

Ticket-Verlauf (2/2 Historien)

2023-03-16 20:22 Aktualisiert von: jdev29
  • New Ticket "Switch log collection" created
2023-03-16 20:24 Aktualisiert von: jdev29
  • Details Updated

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden