3Com Switch 7750 Configuration Guide Guide
Defining Basic ACLs 597
Note that:
■ If only a periodic time section is defined in a time range, the time range is
active only within the defined periodic time section.
■ If only an absolute time section is defined in a time, the time range is active
only within the defined absolute time section.
■ 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 defines an
absolute time section from 00:00 January 1, 2004 to 23:59 December 31,
2004, and a periodic time section from 12:00 to 14:00 every Wednesday. This
time range is active only from 12:00 to 14:00 every Wednesday in 2004.
■ If the start time is not specified, the time range starts from the smallest time
that the system can get and ends on the end date.
■ If the end date is note specified, the time range is from the date of
configuration till the largest date available in the system.
Configuration Example # Define a periodic time section "test" that will be active from 8:00 to 18:00
Monday through Friday.
<SW7750> system-view
[SW7750] time-range test 8:00 to 18:00 working-day
[SW7750] display time-range test
Current time is 11:14:19 4-27-2006 Thursday
Time-range : test ( Active )
08:00 to 18:00 working-day
Defining Basic ACLs A basic ACL defines rules only based on the L3 source IP addresses to analyze and
process data packets.
The value range for basic ACL numbers is 2,000 to 2,999.
Configuration
Preparation
Before configuring an ACL rule containing time range arguments, you need to
define the corresponding time ranges. For the configuration of time ranges, refer
to
“Configuring Time Ranges”
The source IP address in the rule has been defined.
Configuration Procedure
Display a time range or all the
time ranges
display time-range { all |
time-name }
Optional
This command can be
executed in any view.
Table 465 Configure a time range
Operation Command Description
Table 466 Define a basic ACL rule
Operation Command Description
Enter system view system-view -