Hi Leo, can you expand on that?
I have multiple SID's using the same VLAN so cannot just disable that interface on the controller.
Using the commands above Im able to disable just that one WLAN.
... View more
I'm trying to automate the enable and disable of a specific WLAN on 5508 Wireless Controller.
Having used Event Manager Applet to shut down / enable an interface previously I thought it would make sense to use it again to do this. The script keeps ending with:
show event manager history events
10 43 Actv abort Tue Nov 6 10:43:00 2018 timer cron applet: Wlan3Shut
Below is the config I used. Can anyone help me out?
event manager applet Wlan3Shut event timer cron name Wlan3Shut cron-entry "43 10 * * *" maxrun 60 action 1.1 cli command "enable" action 1.2 cli command "ssh 10.X.X.X" pattern "User:" action 1.3 cli command "myusername" pattern "Password:" action 1.4 cli command "mypassword" pattern ">" action 1.5 cli command "config" pattern "config>" action 1.6 cli command "wlan disable 3" pattern "config>" action 1.7 cli command "exit" pattern ">" action 1.8 cli command "logout " pattern ">" action 1.9 cli command "n" pattern "(y/N)"
This is the output if I SSH Manually to the 5508 from the switch.
(Cisco Controller) User: MYUSER Password:********** (Cisco Controller) >conf (Cisco Controller) config>wlan disable 3
(Cisco Controller) config>exit
(Cisco Controller) >logout The system has unsaved changes. Would you like to save them now? (y/N) n [Connection to 10.X.X.X closed by foreign host]
... View more
Hi, I'm trying to shutdown an interface on a 3850,
Ive followed the guides on this link https://learningnetwork.cisco.com/docs/DOC-24145 but they don't appear to be working?
Am I missing something?
I want to shut down GigabitEthernet2/0/20 at 04:00 and bring it up at 21:50
I set the time on the switch.
This is the first method I tried.
event manager applet shut event timer cron name shut cron-entry "0 4 * * *" action 1 cli command "configure terminal" action 2 cli command "interface GigabitEthernet2/0/20" action 3 cli command "shutdown" event manager applet noshut event timer cron name noshut cron-entry "50 21 * * *" action 1 cli command "configure terminal" action 2 cli command "interface GigabitEthernet2/0/20" action 3 cli command "no shutdown"
This didn't seem to work, so I tried method 2 on the document:
Creating the files on the flash but replacing the line i nterface FastEthernet 0/0 with interface GigabitEthernet2/0/20
interface FastEthernet 0/0
kron policy-list noshut
cli tclsh noshut
kron occurrence noshut at 21:50 recurring policy-list noshut ! kron occurrence shut at 4:30 recurring policy-list shut ! kron policy-list noshut cli tclsh noshut ! kron policy-list shut cli tclsh shut
The Schedule is set as follows:
Core3850#sh kron schedule Kron Occurrence Schedule noshut inactive, will run again in 0 days 12:53:54 at 21:50 on shut inactive, will run again in 0 days 19:33:54 at 4 :30 on
This didn't work either can anyone help me debug why?
Many Thanks in advance!
... View more