Configuring Time Ranges; Configuration Procedure; Displaying And Maintaining Time Ranges; Time Range Configuration Example - HP FlexNetwork MSR Series Configuration Manuals

Comware 7 acl and qos
Hide thumbs Also See for FlexNetwork MSR Series:
Table of Contents

Advertisement

Configuring time ranges

You can implement a service based on the time of the day by applying a time range to it. A
time-based service takes effect only in time periods specified by the time range. For example, you
can implement time-based ACL rules by applying a time range to them. If a time range does not exist,
the service based on the time range does not take effect.
The following basic types of time ranges are available:
Periodic time range—Recurs periodically on a day or days of the week.
Absolute time range—Represents only a period of time and does not recur.
A time range is uniquely identified by the time range name. You can create a maximum of 1024 time
ranges, each with a maximum of 32 periodic statements and 12 absolute statements. The active
period of a time range is calculated as follows:
1.
Combining all periodic statements.
2.
Combining all absolute statements.
3.
Taking the intersection of the two statement sets as the active period of the time range.

Configuration procedure

Step
1.
Enter system view.
2.
Create or edit a time
range.

Displaying and maintaining time ranges

Execute the display command in any view.
Task
Display time range configuration and status.

Time range configuration example

Network requirements
As shown in
during 8:00 and 18:00 on working days from June 2015 to the end of the year.
Command
system-view
time-range
{ start-time to end-time days [ from
time1 date1 ] [ to time2 date2 ] | from
time1 date1 [ to time2 date2 ] | to time2
date2 }
Figure
41, configure an ACL on Device A to allow Host A to access the server only
time-range-name
Command
display time-range { time-range-name | all }
136
Remarks
N/A
By default, no time ranges exist.

Advertisement

Table of Contents
loading

Table of Contents