H3C S5600 Series Operation Manual page 806

Hide thumbs Also See for H3C S5600 Series:
Table of Contents

Advertisement

Operation Manual – ACL
H3C S5600 Series Ethernet Switches
I. Configuration procedure
Follow these steps to configure a time range:
To do...
Enter system view
Create a time range
Note that:
If only a periodic time section is defined in a time range, the time range is active
only when the system time is within the defined periodic time section. If multiple
periodic time sections are defined in a time range, the time range is active only
when the system time is within one of the periodic time sections.
If only an absolute time section is defined in a time range, the time range is active
only when the system time is within the defined absolute time section. If multiple
absolute time sections are defined in a time range, the time range is active only
when the system time is within one of the absolute time sections.
If both a periodic time section and an absolute time section are defined in a time
range, the time range is active only when the periodic time range and the absolute
time range are both matched. Assume that a time range contains an absolute time
section ranging from 00:00 January 1, 2004 to 23:59 December 31, 2004, and a
periodic time section ranging from 12:00 to 14:00 on every Wednesday. This time
range is active only when the system time is within the range from 12:00 to 14:00
on every Wednesday in 2004.
If the start time is not specified, the time section starts from 1970/1/1 00:00 and
ends on the specified end date. If the end date is not specified, the time section
starts from the specified start date to 2100/12/31 23:59.
II. Configuration example
# Define a periodic time range that spans from 8:00 to 18:00 on Monday through Friday.
<Sysname> system-view
[Sysname] time-range test 8:00 to 18:00 working-day
[Sysname] display time-range test
Current time is 13:27:32 Apr/16/2005 Saturday
Time-range : test ( Inactive )
08:00 to 18:00 working-day
# Define an absolute time range spans from 15:00 1/28/2006 to 15:00 1/28/2008.
Use the command...
system-view
time-range time-name { start-time to
end-time days-of-the-week [ from start-time
start-date ] [ to end-time end-date ] | from
start-time start-date [ to end-time end-date ]
| to end-time end-date }
1-5
Chapter 1 ACL Configuration
Remarks
Required

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5600-26cS5600-26c-pwrS5600-26fS5600-50cS5600-50c-pwr

Table of Contents