ap update schedule-task
Format
ap update schedule-task task-id task-id start-time start-time start-date stop-time stop-time stop-date ap-type type-id [ ap-group group-name | { { ap-name ap-name } &<1-10> } | { { ap-id ap-id } &<1-10> } ]
ap update schedule-task task-id task-id start-time start-time start-date stop-time stop-time stop-date ap-group group-name
undo ap update schedule-task { all | task-id task-id }
Parameters
Parameter |
Description |
Value |
---|---|---|
task-id task-id | Specifies the ID of a scheduled AP upgrade task. |
The value is an integer that ranges from 0 to 31. |
start-time start-time | Specifies the start time of the scheduled AP upgrade task. |
The value is in HH:MM format, ranging from 00:00 to 23:59. |
start-date | Specifies the start date of the scheduled AP upgrade task. |
The value is in YYYY/MM/DD format, ranging from 2000-01-01 to 2050-12-31. |
stop-time stop-time | Specifies the end time of the scheduled AP upgrade task. |
The value is in HH:MM format, ranging from 00:00 to 23:59. |
stop-date | Specifies the end date of the scheduled AP upgrade task. |
The value is in YYYY/MM/DD format, ranging from 2000-01-01 to 2050-12-31. stop-time stop-date must be later than start-time start-date. |
ap-type type-id |
Specifies an AP type ID. |
The value is an integer. To view all AP types, run the display ap-type all command. |
ap-group group-name |
Specifies an AP group name. |
The value is a string of 1 to 35 characters. It does not contain question marks (?), marks (/), or spaces, and cannot start or end with double quotation marks (" "). |
ap-name ap-name |
Specifies an AP name. |
The value is a string of 1 to 63 case-sensitive characters. It does not contain question marks (?) or spaces, and cannot begin or end with double quotation marks (" "). |
ap-id ap-id |
Specifies an AP ID. |
The value is an integer that ranges from 0 to 8191. |
Usage Guidelines
Usage Scenario
You can configure a scheduled AP upgrade task to upgrade APs in a specified time period, such as off-peak hours.
If you specify ap-group group-name in the command, the configured task will upgrade only APs in the specified AP group. Similarly, if you specify ap-type type-id, ap-name ap-name, or ap-id ap-id, the configured task will upgrade only the specified APs.
The scheduled task configuration will not be automatically deleted after a scheduled upgrade task is completed. To delete the task, run the undo ap update schedule-task { all | task-id task-id } command.
Prerequisites
The AP upgrade file has been specified using the ap update update-filename command. To check the status of scheduled AP upgrade tasks, run the display ap update schedule-task command.
Configuration Impact
For scheduled AP upgrade tasks with the same start time, the task with a smaller task-id task-id is executed preferentially.
During the scheduled AP upgrade, if the time for task B is reached before task A is completed, task B waits until task A is completed. Subsequent scheduled AP upgrade tasks wait in sequence until the previous task is completed.
When the time specified by stop-time stop-time stop-date is reached, ongoing upgrade tasks continue until the upgrade is completed and those tasks waiting in queues stop.
After APs in a scheduled upgrade task are all upgraded, the APs automatically restart. The APs that fail the upgrade do not restart.
After a scheduled AP upgrade task is configured, if the AP group or all APs are deleted, the task fails to be executed, which is not recorded as upgrade failure information.
If an AP is performing the automatic upgrade when you configure a scheduled AP upgrade task, the upgrade continues until the upgrade is completed. APs that have not started the automatic upgrade will not execute the automatic upgrade.