EEM on 9800

To configure “Scheduled WLAN availability” on a 9800 Controller and it’s not provisioned in DNA/Cat Center (if so, it can be configured through Network Profiles), and because it’s not yet possible through GUI, EEM can be used. Calendar profiles can also be used in CLI).

Here is an example where a customer want 2 WLAN to be disabled from 00 until 06 all week. First 2 new WLANS are created, with same SSID name as used at entire organization, but with differet WLAN names, so it can be selected.

event manager applet EEM_SCHEDULE_WLAN_UP
event timer cron cron-entry “0 6 * * *” name 6_AM_EVERYDAY
action 1.0 cli command “enable”
action 2.0 cli command “conf t”
action 3.0 cli command “wlan TEST-1”
action 4.0 cli command “no shut”
action 5.0 cli command “wlan TEST-2”
action 6.0 cli command “no shut”
action 7.0 cli command “end”
action 8.0 syslog msg “Scheduled WLAN_SSID has been enabled”

event manager applet EEM_SCHEDULE_WLAN_DOWN
event timer cron cron-entry “0 00 * * *” name 00_EVERYDAY
action 1.0 cli command “enable”
action 2.0 cli command “conf t”
action 3.0 cli command “wlan TEST-1”
action 4.0 cli command “shut”
action 5.0 cli command “wlan TEST-2”
action 6.0 cli command “shut”
action 7.0 cli command “end”
action 8.0 syslog msg “Scheduled WLAN_SSID has been disabled”

To verify events:

sh event manager policy registered | inc EEM_SCHEDULE_WLAN_UP
sh event manager policy registered | inc EEM_SCHEDULE_WLAN_DOWN

https://community.cisco.com/t5/networking-knowledge-base/cisco-eem-basic-overview-and-sample-configurations/ta-p/3148479

https://community.cisco.com/t5/wireless-mobility-knowledge-base/automated-backup-ssid-with-eem-on-catalyst-9800-wireless/ta-p/3743838

https://www.networklife.net/images/sheets/EEM.pdf

Skriv et svar

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *

Please reload

Please Wait