EasyManuals Logo

H3C S5120-SI Series Command Reference

H3C S5120-SI Series
910 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #591 background imageLoading...
Page #591 background image
1-18
z A digit in the range 0 to 6, respectively for Sunday, Monday, Tuesday, Wednesday, Thursday,
Friday, and Saturday.
z A day of a week in words, sun, mon, tue, wed, thu, fri, and sat.
z working-day for Monday through Friday.
z off-day for Saturday and Sunday.
z daily for the whole week.
from time1 date1: Specifies the start time and date of an absolute time range. The time1 argument
specifies the time of the day in hh:mm format (24-hour clock). 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 with the range depending on MM, 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 in the system, 01/01/1970 00:00:00 AM.
to time2 date2: Specifies the end time and date of the absolute time range. The time2 argument is in the
same format as that of the time1 argument, but its value ranges from 00:00 to 24:00. The format and
value range of the date2 argument are the same as those of the date1 argument. The end time must be
greater than the start time. If not specified, the end time is the maximum time available in the system,
12/31/2100 24:00:00 PM.
Description
Use the time-range command to create a time range.
Use the undo time-range command to delete a time range.
By default, no time range exists.
You may create a maximum of 256 time ranges.
A time range can be one of the following:
z Periodic time range created using the time-range time-range-name start-time to end-time days
command. A time range thus created recurs periodically on the day or days of the week.
z Absolute time range created using the time-range time-range-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.
z Compound time range created using the time-range time-range-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.
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.
Examples
# Create a periodic time range 11, setting it to be active between 8:00 to 18:00 during working days.
<Sysname> system-view
[Sysname] time-range test 8:00 to 18:00 working-day

Table of Contents

Other manuals for H3C S5120-SI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S5120-SI Series and is the answer not in the manual?

H3C S5120-SI Series Specifications

General IconGeneral
BrandH3C
ModelS5120-SI Series
CategorySwitch
LanguageEnglish

Related product manuals