Catalyst 9800 WLC Calendar Template scheduling
To enable power save mode on Cisco Catalyst Access Points
wireless profile power "Off Work Hours"
0 radio 6ghz state shutdown
1 radio secondary-5ghz state shutdown
2 usb 0 state disable
3 radio 5ghz state shutdown
wireless profile calender-profile name "Off Work 5PM to Midnight"
day monday
day tuesday
day wednesday
day thursday
day friday
recurrance weekly
start 17:00:00 end 23:59:59
wireless profile calender-profile name "Off Work Midnight to 8AM"
day monday
day tuesday
day wednesday
day thursday
day friday
recurrance weekly
start 00:00:00 end 08:00:00
ap profile default-ap-profile
calendar-profile "Workday 5pm to Midnight"
action power-saving-mode power-profile "Off Work Hours"
calendar-profile "Workday Midnight to 8am"
action power-saving-mode power-profile "Off Work Hours"
#1 AP Profile
! CLI AP Profile YANG-SITE
ap profile YANG-SITE
calendar-profile YANG-TEST
action power-saving-mode power-profile YANG-POWER-TEST
! YANG AP Profile YANG-SITE
<site-cfg-data xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-wireless-site-cfg">
<ap-cfg-profiles>
<ap-cfg-profile>
<profile-name>YANG-SITE</profile-name>
<calendar-cfgs>
<calendar-cfg>
<prof-name>YANG-TEST</prof-name>
<cal-ap-prof-pp-cfg>
<power-profile-name>YANG-POWER-TEST</power-profile-name>
</cal-ap-prof-pp-cfg>
</calendar-cfg>
</calendar-cfgs>
</ap-cfg-profile>
</ap-cfg-profiles>
</site-cfg-data>
====
#2 Calendar Profile
! CLI Calendar Profile YANG-TEST
wireless profile calender-profile name YANG-TEST
recurrance daily
start 08:00:00 end 12:30:00
! YANG API Calendar Profile YANG-TEST
<wlan-cfg-data xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-wireless-wlan-cfg">
<calendar-profile-configs>
<calendar-profile-config>
<profile-name>YANG-TEST</profile-name>
<start-time>08:00:00</start-time>
<end-time>12:30:00</end-time>
<recurrence>daily-recurrence</recurrence>
</calendar-profile-config>
</calendar-profile-configs>
</wlan-cfg-data>
===
#3 Wireless Power Profile
! CLI Wireless Power Profile YANG-POWER-TEST
wireless profile power YANG-POWER-TEST
1 radio 6ghz state shutdown
2 radio 5ghz state shutdown
! YAG API Wireless Power Profile YANG-POWER-TEST
<power-cfg-data xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-wireless-power-cfg">
<ap-power-profiles>
<ap-power-profile>
<profile-name>YANG-POWER-TEST</profile-name>
<ap-ppes>
<ap-ppe>
<seq-number>2</seq-number>
<radio>
<radio-id>ap-pp-intf-radio-5-ghz</radio-id>
<state>ap-pp-state-down</state>
</radio>
</ap-ppe>
</ap-ppes>
</ap-power-profile>
</ap-power-profiles>
</power-cfg-data>