
No.
Data
4
Source IP address and port number, destination IP address and port number, fragment
flag, ICMP packet type and code, packet priority, ToS value, and time range
5
(Optional) Description of an advanced ACL
6
(Optional) Description of an advanced ACL rule
7
(Optional) Step value between advanced ACL rule IDs
10.4.2 (Optional) Creating a Time Range for an Advanced ACL
To make an advanced ACL take effect during a specified period of time, create a time range and
reference the time range in the advanced ACL. If no time range is specified for the ACL, the
ACL remains effective until it is deleted or the rules of the ACL are deleted.
Context
Some services or functions that reference advanced ACLs need to be started during a specified
period of time, for example, QoS needs to be started during peak hours. You can create a time
range and reference the time range in an advanced ACL so that the advanced ACL takes effect
in the time range. The service or function that references the advanced ACL is also started in
the specified time range.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
time-range
time-name
{
start-time
to
end-time
days
|
from
time1
date1
[
to
time2
date2
] }
A time range is created.
To configure multiple time ranges with the same name on the AR1200-S, run the preceding
command with the same value of
time-name
multiple times.
NOTE
You can configure the same name for multiple time ranges to describe a special period. Assume that the same
name
test
is configured for the following time ranges:
l
Time range 1: 2010-01-01 00:00 to 2010-12-31 23:59 (absolute time range)
l
Time range 2: 8:00 to 18:00 from Monday to Friday (periodic time range)
l
Time range 3: 14:00 to 18:00 on Saturday and Sunday (periodic time range)
The time range
test
includes 8:00-18:00 on Monday to Friday and 14:00-18:00 on Saturday and Sunday in 2010.
----End
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
10 ACL Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
196