R3166-R3206-HP High-End Firewalls Access Control Command Reference-6PW101
17
Time range resource commands
display time-range
Syntax
display time-range { time-range-name | all }
View
Any view
Default level
1: Monitor level
Parameters
time-range-name: Specifies a time range name, which is a case insensitive string of 1 to 32 characters.
It must start with an English letter.
all: Displays the configuration and status of all existing time ranges.
Description
Use the display time-range command to display the configuration and status of the specified time range
or all time ranges.
Examples
# Display the configuration and status of time range t4.
<Sysname> display time-range t4
Current time is 17:12:34 4/13/2010 Tuesday
Time-range : t4 ( Inactive )
10:00 to 12:00 Mon
14:00 to 16:00 Wed
from 00:00 1/1/2010 to 23:59 1/31/2010
from 00:00 6/1/2010 to 23:59 6/30/2010
Table 7 Output description
Field
Descri
p
tion
Current time Current system time
Time-range
Configuration and status of the time range, including its name,
status (active or inactive), and start time and end time.
time-range
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 }