HP 6125XLG Command Reference Manual page 109

Blade switch acl and qos command reference
Table of Contents

Advertisement

Periodic statement in the start-time to end-time days format. A periodic statement recurs periodically
on a day or days of the week.
Absolute statement in the from time1 date1 to time2 date2 format. An absolute statement does not
recur.
Compound statement in the start-time to end-time days from time1 date1 to time2 date2 format. A
compound statement recurs on a day or days of the week only within the specified period. For
example, to create a time range that is active from 08:00 to 12:00 on Monday between January
1, 201 1 00:00 and December 31, 201 1 23:59, use the time-range test 08:00 to 12:00 mon from
00:00 01/01/201 1 to 23:59 12/31/201 1 command.
You can create a maximum of 1024 time ranges, each with a maximum of 32 periodic statements and
12 absolute statements. The active period of a time range is calculated as follows:
1.
Combining all periodic statements
2.
Combining all absolute statements
3.
Taking the intersection of the two statement sets as the active period of the time range
Examples
# Create a periodic time range t1, setting it to be active between 8:00 to 18:00 during working days.
<Sysname> system-view
[Sysname] time-range t1 08:00 to 18:00 working-day
# Create an absolute time range t2, setting it to be active in the whole year of 201 1.
<Sysname> system-view
[Sysname] time-range t2 from 00:00 1/1/2011 to 24:00 12/31/2011
# Create a compound time range t3, setting it to be active from 08:00 to 12:00 on Saturdays and
Sundays of the year 201 1.
<Sysname> system-view
[Sysname] time-range t3 08:00 to 12:00 off-day from 00:00 1/1/2011 to 24:00 12/31/2011
# Create a compound time range t4, setting it to be active from 10:00 to 12:00 on Mondays and from
14:00 to 16:00 on Wednesdays in the period of January through June of the year 201 1.
<Sysname> system-view
[Sysname] time-range t4 10:00 to 12:00 1 from 00:00 1/1/2011 to 24:00 1/31/2011
[Sysname] time-range t4 14:00 to 16:00 3 from 00:00 6/1/2011 to 24:00 6/30/2011
Related commands
display time-range
104

Advertisement

Table of Contents
loading

Table of Contents