HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 108

Syntax, Default, Views, Predefined user roles, Parameters, Usage guidelines, Friday, and Saturday.

Page 108 highlights

Syntax 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 } undo 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 ] Default No time range exists. Views System view Predefined user roles network-admin Parameters time-range-name: Specifies a time range name. The name is a case-insensitive string of 1 to 32 characters. It must start with an English letter and to avoid confusion, it cannot be all. start-time to end-time: Specifies a periodic statement. Both start-time and end-time are in hh:mm format (24-hour clock). The value is in the range of 00:00 to 23:59 for the start time, and 00:00 to 24:00 for the end time. The end time must be greater than the start time. days: Specifies the day or days of the week (in words or digits) on which the periodic statement is valid. If you specify multiple values, separate each value with a space, and make sure they do not overlap. These values can take one of the following forms: • A digit in the range of 0 to 6, respectively for Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. • A day of a week in abbreviated words: sun, mon, tue, wed, thu, fri, and sat. • working-day for Monday through Friday. • off-day for Saturday and Sunday. • daily for the whole week. from time1 date1: Specifies the start time and date of an absolute statement. The time1 argument specifies the time of the day in hh:mm format (24-hour clock). Its value is in the range of 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 of 1 to 12, DD is the day of the month with the range depending on MM, and YYYY is the year in the calendar in the range of 1970 to 2100. If the start time is not specified, the start time is 01/01/1970 00:00 AM, the earliest time available in the system. to time2 date2: Specifies the end time and date of the absolute time statement. The time2 argument has the same format as the time1 argument, but its value is in the range of 00:00 to 24:00. The date2 argument has the same format and value range as the date1 argument. The end time must be greater than the start time. If not specified, the end time is 12/31/2100 24:00 PM, the maximum time available in the system. Usage guidelines If you provide an existing time range name for the time-range command, the command adds a statement to the time range. You can create multiple statements in a time range. Each time statement can take one of the following forms: 103

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114

103
Syntax
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
}
undo
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
]
Default
No time range exists.
Views
System view
Predefined user roles
network-admin
Parameters
time-range-name
: Specifies a time range name. The name is a case-insensitive string of 1 to 32
characters. It must start with an English letter and to avoid confusion, it cannot be
all
.
start-time
to
end-time
: Specifies a periodic statement. Both
start-time
and
end-time
are in hh:mm format
(24-hour clock). The value is in the range of 00:00 to 23:59 for the start time, and 00:00 to 24:00 for
the end time. The end time must be greater than the start time.
days
: Specifies the day or days of the week (in words or digits) on which the periodic statement is valid.
If you specify multiple values, separate each value with a space, and make sure they do not overlap.
These values can take one of the following forms:
A digit in the range of 0 to 6, respectively for Sunday, Monday, Tuesday, Wednesday, Thursday,
Friday, and Saturday.
A day of a week in abbreviated words:
sun
,
mon
,
tue
,
wed
,
thu
,
fri
, and
sat
.
working-day
for Monday through Friday.
off-day
for Saturday and Sunday.
daily
for the whole week.
from
time1 date1
: Specifies the start time and date of an absolute statement. The
time1
argument
specifies the time of the day in hh:mm format (24-hour clock). Its value is in the range of 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 of 1 to 12, DD is the day of the month with the range depending on MM
,
and YYYY is the year in the calendar in the range of 1970 to 2100. If the start time is not specified, the
start time is 01/01/1970 00:00 AM, the earliest time available in the system.
to
time2 date2
: Specifies the end time and date of the absolute time statement. The
time2
argument has
the same format as the
time1
argument, but its value is in the range of 00:00 to 24:00. The
date2
argument has the same format and value range as the
date1
argument. The end time must be greater
than the start time. If not specified, the end time is 12/31/2100 24:00 PM, the maximum time available
in the system.
Usage guidelines
If you provide an existing time range name for the
time-range
command, the command adds a statement
to the time range.
You can create multiple statements in a time range. Each time statement can take one of the following
forms: