Configuration Procedure; Configuration Example - Huawei Quidway S3100 Series Operation Manual

Table of Contents

Advertisement

Operation Manual – ACL
Quidway S3100 Series Ethernet Switches

1.4.1 Configuration Procedure

Table 1-2 Configure time range
Operation
Enter system view
Configure a time
range
Display the time
range
A time range-based ACL rule with only a periodic time range configured takes
effect only when the system time is within the periodic time range.
A time range-based ACL rule with only an absolute time range configured takes
effect only when the system time is within the absolute time range.
A time range-based ACL rule with both periodic and absolute time ranges
configured takes effect only when the system time is within both the time ranges.
A time range-based ACL rule with only the end time of the time range configured
takes effect from the time when it is created to the specified end time.
A time range-based ACL rule with the end time of the time range not configured
takes effect from the time when it is created to the most forward time the system
can hold.
For example, assume that a time range contains the following two time ranges:
An absolute time: from 00: 00 Jan 1, 2004 to 23:59 Dec 31, 2004
An periodic time: 12:00 to 14:00 Wednesday
The time range-based ACL rules configured with this time range take effect from 12:00
to 14:00 on each Wednesday in 2004.

1.4.2 Configuration Example

# Configure a time range that ranges from 8:00 to 18:00 on Monday to Friday.
<Quidway> system-view
[Quidway] time-range test 8:00 to 18:00 working-day
[Quidway] display time-range test
Current time is 00:32:52 Apr/2/2000 Sunday
Time-range : test ( Inactive )
08:00 to 18:00 working-day
Command
system-view
time-range
time-name
{ start-time to end-time days
| from time1 date1 [ to time2
date2 ] | to time2 date2 }
display time-range { all |
time-name }
Huawei Technologies Proprietary
1-3
Chapter 1 ACL Configuration
Description
Required
You can Use the display
command in any view

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents