Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 Access Control List Configuration
Commands
3Com Corporation
3-8
Description
Use the display time-range command to view the configuration and the status of time
range. For the active time range at present, it displays "active" and for the inactive time
range, it displays "inactive".
Since there is a time deviation when the system updates acl status, which is about 1
minute, but display time-range will display the information of time range at the current
time exactly. Thus, the following case may happen: use the command display
time-range to find that a time range is activated but the acl that should be active in the
time range is inactive. This case is normal.
Example
# Display all time ranges.
[3Com] display time-range all
# Display the time range named trname.
[3Com] display time-range trname
Current time is 02:49:36 2/15/2003 Saturday
Time-range : trname ( Inactive )
14:00 to 16:00 off-day from 00:00 12/1/2002 to 00:00 12/1/2003
3.2.2 time-range
Syntax
time-range time-name [ start-time to end-time ] [ days ] [ from time1 date1 ] [ to time2
date2 ]
undo time-range time-name [ start-time to end-time ] [ days ] [ from time1 date1 ] [ to
time2 date2 ]
View
System view
Parameter
time-name: Name of time range.
start-time: Start time of a time range, in the format of HH:MM.
end-time: End time of a time range, in the format of HH:MM.
days: Indicates on which day of a week the time range is valid or from which day in a
week the time range is valid. It is represented by numbers 0 through 6, respectively for
Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.
z Working-day includes Monday through Friday;
z Off-day includes Saturday and Sunday;
z Daily includes the seven days of a week.