Company Address: Flat 6, Bldg 4,South 2 of Honghualing Industrial Zone,Liuxian Road, Xili Town, Shenzhen, Guangdong, China(518055)
Tel: +86-755-26014509/4710/4711 Fax:+86-755-26014506
Website: www.cdatatec.com
55
11.2
display time-range
【
Command
】
display time-range
{
all
|
time-name
}
【
View
】
config
view
【
Parameter
】
all
:
Query information all the time
。
time-name
:
the name of time period
。
When you need to query information about the specified time
period, you can use this parameter
。
【
Description
】
You can use the time - range command setting period of time
。
【
Example
】
Query
the
time
period
that
time
‐
range
called
yuanxin
OLT(config)#
show
time
‐
range
yuanxin
Current
time
is
2000
‐
01
‐
01
01:15
Saturday
Time
‐
range
:
yuanxin(Active)
From
2015
‐
12
‐
12
22:33
to
2015
‐
12
‐
12
23:11
11:22
to
11:33
Daily
11.3rule
(basic
acl)
【
Command
】
rulerule-id(permit | deny)source
(
ip-address sour-wildcard
|
any
)
rulerule-id(permit | deny)source
(
ip-address sour-wildcard
|
any
)
time-range name
no rule rule-id
【
View
】
basic
acl
view
【
parameter
】
rule-id
:
ACL Rule-ID
。
ACL
ID
is
the
bigger
the
priority
;
deny
:
Don't
allow
to
match
the
flow
through
the
message
。
permit
:
Eligible packets will be allowed to pass
;
ip-address
:
The original IP address section in the ACl rules
;
s
our-wildcard
:
wildcard mask
;
IP address and the mask used to match with the network number of
hosts
any:
Matches any the original IP packet
;
name
:
The ACL effective time period
【
Description
】
Rule
: this commond is used to creat ACL rule in the Acl-basic mode and Acl6-basic
mode ,you can use this commond ,when you need made ACL rule according to the source ip
address of packets .After successfully create rules, you can use the packet-filter command