Command Reference Guide
294 ● time-range 3Com Router 5000 Family and Router 6000 Family
Command Reference
[3Com] time test 14:00 to 16:00 off-day from 20:00 04/01/2003 to 20:00
12/10/2003
Configure the time range valid between 8:00 and 18:00 in each working day.
[3Com] time-range test 8:00 to 18:00 working-day
Configure the time range valid between 14:00 and 18:00 in each weekend day.
[3Com] time-range test 14:00 to 18:00 off-day
View This command can be used in the following views:
■ System view
Description A time range can be one of the following types:
■ Absolute time range created using the time-range time-name [ from time1
date1
] [ to time2 date2 ] command. For example, you can use the time-range
test from 20:00 04/01/2003 to 20:00 12/10/2003 command in system view to
create an absolute time range spanning from April 1, 2003 20:00 to December 10,
2003 20:00.
■ Periodic time range created using the time-range time-name [ start-time to
end-time ] [ days ] command. For example, you can create a periodic time
range spanning from 12:00 to 17:00 on a daily basis.
■ Periodic time range effective within an absolute time range, created by the
time-range
time-name [ start-time to end-time ] [ days ] [ from time1
date1
] [ to time2 date2 ] command. For example, you can use the
time-range test 14:00 to 16:00 off-day from 20:00 04/01/2003 to 20:00
12/10/2003 command in system view to create a time range spanning from 14:00
to 16:00 and effective on off-days between April 1, 2003 20:00 and December
10, 2003 20:00.
■ Combined time range formed by multiple time range segments. If no periodic time
range segment is included, the combined time range is the union of all the
absolute time range segments. If periodic time range segments are included, the
combined time range is the intersection of the absolute time range segment union
and the periodic time range segment union.
To display the configured time range, use the display time-range command.