By configuring the effective period, you can apply an ACL
to packets in a certain period of time.
Context
An effective period describes a special period of time. In practice,
users may want certain ACL rules to be valid during a certain period
but be invalid out of the period. That is, the ACL rules are used
to filter packets based on the period of time. To implement this function,
users can set one or multiple periods, and apply the periods to a
rule. Then, packets are filtered based on the set periods.
An effective period can contain periodic time ranges and absolute
time ranges. A periodic time range takes effect on a certain day in
a week. An absolute time range contains the start time and the end
time.
Procedure
Query the time range.
Choose ACL > Effective Period to open the Effective Period page.
Enter the name of the time range in the text box, for
example, test.
Click Query to display all matching
records.
Add a time range.
Choose ACL > Effective Period to open the Effective Period page.
Click New to open the Add Time Range page.
Table 1 describes the parameters
on the Add Time Range page.
Table 1 Add Time Range
Parameter
Description
Time Range Name
Indicates the name of the created effective period.
Periodic Time Range
Indicates the periodic time range.
A periodic time
range takes effect on a certain day in a week. You can create multiple
periodic time ranges by clicking New or delete all the periodic time ranges by clicking Delete.
NOTE:
If
only one periodic time range is created in an effective period, the
effective period takes effect when the current time is within the
periodic time range.
Absolute Time Range
Indicates the absolute time range.
An absolute time
range contains the start time and the end time. You can create multiple
absolute time ranges by clicking New or delete all the absolute time ranges by clicking Delete.
NOTE:
If only one absolute time range
is created in an effective period, the effective period takes effect
when the current time is within the absolute time range.
Set parameters.
NOTE:
If an effective period contains an absolute time range and a periodic
time range, the effective period takes effect only when the current
time is within the absolute time range and the periodic time range.
The start time and end time of the absolute time range can be
earlier than the current time.
The Periodic Time Range and Absolute Time Range parameters
cannot be kept blank simultaneously.
Click OK.
Modify a time range.
Choose ACL > Effective Period to open the Effective Period page.
Click to open the Modify Time page.
NOTE:
Table 1 describes the parameters on the Modify Time page.
The effective period name cannot be modified.
The periodic time range and absolute time range can only be deleted,
but cannot be modified.
Set parameters.
Click OK.
Delete a time range.
Choose ACL > Effective Period to open the Effective Period page.
Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
NOTE:
To select a record, click the check box of the record.
To delete records in batches, click the check boxes of the records.