16-18
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 16 Identifying Traffic with Access Lists
Scheduling Extended Access List Activation
The text can be up to 100 characters in length. You can enter leading spaces at the beginning of the text.
Trailing spaces are ignored.
For example, you can add remarks before each ACE, and the remark appears in the access list in this
location. Entering a dash (-) at the beginning of the remark helps set it apart from ACEs.
hostname(config)#
access-list OUT remark - this is the inside admin address
hostname(config)#
access-list OUT extended permit ip host 209.168.200.3 any
hostname(config)#
access-list OUT remark - this is the hr admin address
hostname(config)#
access-list OUT extended permit ip host 209.168.200.4 any
Scheduling Extended Access List Activation
You can schedule each ACE to be activated at specific times of the day and week by applying a time
range to the ACE. This section includes the following topics:
•
Adding a Time Range, page 16-18
•
Applying the Time Range to an ACE, page 16-19
Adding a Time Range
To add a time range to implement a time-based access list, perform the following steps:
Step 1
Identify the time-range name by entering the following command:
hostname(config)#
time-range
name
Step 2
Specify the time range as either a recurring time range or an absolute time range.
Multiple periodic entries are allowed per
time-range
command. If a
time-range
command has both
absolute
and
periodic
values specified, then the
periodic
commands are evaluated only after the
absolute
start time is reached, and are not further evaluated after the
absolute
end time is reached.
•
Recurring time range:
hostname(config-time-range)#
periodic
days-of-the-week time
to
[
days-of-the-week
]
time
You can specify the following values for
days-of-the-week
:
–
monday
,
tuesday
,
wednesday
,
thursday
,
friday
,
saturday
, and
sunday
.
–
daily
–
weekdays
–
weekend
The
time
is in the format
hh
:
mm
. For example, 8:00 is 8:00 a.m. and 20:00 is 8:00 p.m.
•
Absolute time range:
hostname(config-time-range)# absolute
start
time
date
[
end
time
date
]
The
time
is in the format
hh
:
mm
. For example, 8:00 is 8:00 a.m. and 20:00 is 8:00 p.m.
The
date
is in the format
day
month
year
; for example,
1 january 2006
.
Содержание 500 Series
Страница 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Страница 45: ...P A R T 1 Getting Started and General Information ...
Страница 46: ......
Страница 277: ...P A R T 2 Configuring the Firewall ...
Страница 278: ......
Страница 354: ...17 38 Cisco Security Appliance Command Line Configuration Guide OL 12172 03 Chapter 17 Configuring NAT NAT Examples ...
Страница 561: ...P A R T 3 Configuring VPN ...
Страница 562: ......
Страница 891: ...P A R T 4 System Administration ...
Страница 892: ......
Страница 975: ...P A R T 5 Reference ...
Страница 976: ......