H3C S7500E Series Command Manual page 1085

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – ACL
H3C S7500E Series Ethernet Switches
from time1 date1: Indicates the start time and date of an absolute time range. The
time1 argument specifies the time of the day in hh:mm format as 24-hour time, where
hh is hours and mm is minutes. Its value ranges from 00:00 to 23:59. The date1
argument specifies a date in MM/DD/YYYY or YYYY/MM/DD format, where MM is the
month of the year in the range 1 to 12, DD is the day of the month in the range 1 to 31,
and YYYY is the year in the usual Gregorian calendar in the range 1970 to 2100. If not
specified, the start time is the earliest time available from the system, namely,
01/01/1970 00:00:00 AM.
to time2 date2: Indicates the end time and date of the absolute time range. The format
of the time2 argument is the same as that of the time1 argument, but its value ranges
from 00:00 to 24:00. The end time must be greater than the start time. If not specified,
the end time is the maximum time available from the system, namely, 12/31/2100
24:00:00 PM. The format and value range of the date2 argument are the same as those
of the date1 argument.
Description
Use the time-range command to create a time range.
Use the undo time-range command to remove a time range.
A time range can be one of the following:
Periodic time range created using the time-range time-name start-time to
end-time days command. A time range thus created recurs periodically on the day
or days of the week.
Absolute time range created using the time-range time-name { from time1 date1
[ to time2 date2 ] | to time2 date2 } command. Unlike a periodic time range, a time
range thus created does not recur. For example, to create an absolute time range
that is active between January 1, 2004 00:00 and December 31, 2004 23:59, you
may use the time-range test from 00:00 01/01/2004 to 23:59 12/31/2004
command.
Compound time range created using the time-range time-name start-time to
end-time days { from time1 date1 [ to time2 date2 ] | to time2 date2 } command. A
time range thus created recurs on the day or days of the week only within the
specified period. For example, to create a time range that is active from 12:00 to
14:00 on Wednesdays between January 1, 2004 00:00 and December 31, 2004
23:59, you may use the time-range test 12:00 to 14:00 wednesday from 00:00
01/01/2004 to 23:59 12/31/2004 command.
Note that:
You may create individual time ranges identified with the same name. They are
regarded as one time range whose active period is the result of ORing periodic
ones, ORing absolute ones, and ANDing periodic and absolute ones.
Up to 256 time ranges can be defined.
Chapter 1 ACL Configuration Commands
1-5

Advertisement

Table of Contents
loading

Table of Contents