C9800 EEM TCL script
Download:
Vo scripte collect_wireless_logs.tcl je potrebne zmenit adresu kde sa budu kopirovat LOG
Okopirovanie TCL script do flash uloziska controlera:
copy scp: flash:
dir flash:
nastavenie:
mkdir bootflash:user_eem
copy bootflash:collect_wireless_logs.tcl bootflash:user_eem/
Aktivovanie scriptu:
event manager directory user policy "bootflash:/user_eem"
file prompt quiet
event manager policy collect_wireless_logs.tcl type user
event manager applet WirelessLogs
event timer watchdog time 60 maxrun 200
action 1.0 cli command "enable"
action 2.0 cli command "event manager run collect_wireless_logs.tcl"