待辦事項 #47582

Switch log collection

啟用日期: 2023-03-16 20:22 最後更新: 2023-03-16 20:24

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
里程碑:
(無)
優先權:
9 - 最高
嚴重程度:
9 - 最高
處理結果:
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

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 History (2/2 Histories)

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

Attachment File List

No attachments

編輯

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