beautypg.com

Setting acl time ranges, Ble 187. time range commands 5, Absolute time range example 5 – Allied Telesis AT-8100 Series User Manual

Page 1555

background image

AT-8100 Switch Command Line User’s Guide

1555

Setting ACL Time Ranges

By default, an ACL filter is effective immediately. However, if you want to
set a date and time when the ACL filter begins and ends, you need to
assign a time range. The time range commands support Named IPv4 and
Named IPv6 ACLs only. There are five time range commands which are
listed in Table 187.

The first step is to create a time setting with the TIME-RANGE command.
Also, the TIME-RANGE command places you in the Configuration Time-
Range mode which allows you to enter the ABSOLUTE START,
PERIODIC, or PERIODIC (DAILY) time settings commands.

The following example creates a time range setting that starts on February
1, 2012 at 9 am and ends on February 28, 2012 at 5 pm:

Table 187. Time Range Commands

To do this task

Use this Command

Create a time range and enter the Time-Range
mode.

time-range <

time-range-name>

Set beginning and ending time and dates for
ACL filtering.

absolute start

(time date) end

(time date)

Set reoccurring days of the week and time of
day for filtering.

periodic

day days-of-the-week

time (hh:mm:ss) to day days-of-
the-week time (hh:mm:ss)

Set a daily, weekday, or weekend date and
time range for ACL filtering.

periodic (daily)

day

(daily|weekdays|weekend)

time

(hh:mm:ss) to time (hh:mm:ss)

Display time range settings on the switch.

show time-range

Table 188. Absolute Time Range Example

Command

Description

awplus> enable

Enter the Privileged Executive mode from the
User Executive mode.

awplus# configure terminal

Enter the Global Configuration mode.

awplus(config)# time-range
t1

Create a time range called “t1.”