Справочное Руководство для 3com S7906E

Скачать
Страница из 2327
 
1-5 
Absolute time range created using the time-range time-range-name { from time1 date1 [ to time2 
date2 ] | to time2 date2 } command. Unlike a periodic time range, a time range thus created does 
not recur. For example, to create an absolute time range that is active between January 1, 2004 
00:00 and December 31, 2004 23:59, you may use the time-range test from 00:00 01/01/2004 to 
23:59 12/31/2004 command.  
Compound time range created using the time-range time-range-name start-time to end-time days 
from time1 date1 [ to time2 date2 ] | to time2 date2 } command. A time range thus created recurs 
on the day or days of the week only within the specified period. For example, to create a time range 
that is active from 12:00 to 14:00 on Wednesdays between January 1, 2004 00:00 and December 
31, 2004 23:59, you may use the time-range test 12:00 to 14:00 wednesday from 00:00 
01/01/2004 to 23:59 12/31/2004 command.  
Note that: 
You may create individual time ranges identified with the same name. They are regarded as one 
time range whose active period is the result of ORing periodic ones, ORing absolute ones, and 
ANDing periodic and absolute ones. 
Up to 256 time ranges can be defined. 
Examples 
# Create an absolute time range named test, setting it to become active from 00:00 on January 1, 2008.  
<Sysname> system-view 
[Sysname] time-range test from 0:0 2008/1/1 
# Create a periodic time range named test, setting it to be active between 14:00 and 18:00 on Saturday 
and Sunday.  
<Sysname> system-view 
[Sysname] time-range test 14:00 to 18:00 off-day 
# Create a periodic time range named test, setting it to be active between 14:00 and 18:00 on Saturday 
and Sunday.  
<Sysname> system-view 
[Sysname] time-range test 14:00 to 18:00 off-day 
IPv4 ACL Configuration Commands 
acl  
Syntax 
acl number acl-number [ name acl-name ] [ match-order { auto config } ] 
undo acl { all | name acl-name | number acl-number 
View 
System view 
Default Level 
2: System level 
Parameters 
number: Defines a numbered access control list (ACL).