C
iday.
e range spans from 15:00 1/28/2006 to 15:00 1/28/2008.
<Sysname> system-view
/28/2008
Fro
Configuring Basic ACL
addresses.
A basic ACL can be numbered from 2000 to 2999.
Configuration prerequisites
z
s
ed to cre
responding time range
fer to
Config
onfiguration example
# Define a periodic time range that spans from 8:00 to 18:00 on Monday through Fr
<Sysname> system-view
[Sysname] time-range test 8:00 to 18:00 working-day
[Sysname] display time-range test
Current time is 13:27:32 Apr/16/2005 Saturday
Time-range : test ( Inactive )
08:00 to 18:00 working-day
# Define an absolute tim
[Sysname] time-range test from 15:00 1/28/2006 to 15:00 1
[Sysname] display time-range test
Current time is 13:30:32 Apr/16/2005 Saturday
Time-range : test ( Inactive )
m 15:00 Jan/28/2006 to 15:00 Jan/28/2008
A basic ACL filters packets based on their source IP
To configure a time range-ba
first. For information about tim
ed basic ACL rule, you ne
e range configuration, re
ate the cor
uring Time Range
.
z
The source IP addresses base
the ACL filters packets are d
Configuration procedure
Follow these steps to define a basi
d on which
etermined.
c ACL rule:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create an ACL and enter basic
acl number
acl-number
[
match-order
{
auto
|
config
} ]
Required
config
by default
ACL view
Define an ACL rule
rule
[
rule-id
] {
deny
|
permit
}
[
rule-string
]
Required
For information about
rule-string
, refer to
ACL
Command
.
Co
to
nfigure a description string
the ACL
description
text
Optional
Not configured by default
Note that:
44-5