Configuring a time range
You can create a maximum of 256 time ranges, each having a maximum of 32 periodic statements and 12 absolute statements. If a time range has multiple statements, its active period is calculated as follows:
Combining all periodic statements.
Combining all absolute statements.
Taking the intersection of the two statement sets as the active period of the time range.
To configure a time range:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure a time range. | time-range time-range-name { start-time to end-time days [ from time1 date1 ] [ to time2 date2 ] | from time1 date1 [ to time2 date2 ] | to time2 date2 } | By default, no time range exists. Repeat this command with the same time range name to create multiple statements for a time range. |