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
58
【
Command
】
rulerule-id(permit | deny)( [cos cos-value ] | [destinationmac-addrmac-wildcard
] |
[
sourcemac-addrmac-wildcard
] | [
inner-cosinner-cos-value
] | [
vlan vlan-id
] | [
inner-vlan
inner-vlan-id
] | [
typeEthernet-type] |
[
time-rangetime-range-name
])
no rule rule-id
【
View
】
basic
acl
view
【
Parameter
】
rule-id
:
ACL Rule-ID
。
ACL
ID
is
the
bigger
the
priority
;
permit
:
Don't
allow
to
match
the
flow
through
the
message
;
deny
:
The
original
IP
address
section
in
the
ACl
rules
;
source:
the original IP address of a ACL matching message
;
destination:
The
Destination
IP address of a ACL matching message
;
mac-addr
:
mac address
mac-wildcard
:
the wildcard mask of mac address
;
time-range-name
:
The ACL effective time period
;
inner-cos-value
:
matching the cos value of the inner vlan in the massage of data link layer
cos-value
:
matching the value of the outer vlan
vlan-id
:
matching the value of the outer vlanid
inner-cos-value
:
matching the value of the inner vlanid
Ethernet-type
:
matching the type option of Ethernet
【
Describtion
】
Rule
:Commond is used to creat ACL rule in ACL-link mode,you can use this commond ,when
you need match rules according to the source address
,
destination address
,
the protocol type
based data link layer. Successfully create rules, you can use the command reference for packet
filtering rules. Or cooperate with QoS command used for a particular message service quality
assurance.
no rule
:Command is used to delete the access control list specified ACL rules
。
【
Example
】
In the worktime period, specified port 1 only can receive from the destination MAC address is
22-22-22-22-22-22 message
OLT(config)#
time
‐
range
worktime
8:00
to
18:00
working
‐
day
OLT(config)#
acl
5000
OLT(acl
‐
link
‐
5000)#
rule
2
permit
destination
22:22:22:22:22:22
0000
‐
0000
‐
0000
OLT(acl
‐
link
‐
5000)#
rule
1deny
destination
22:22:22:22:22:22
FFFF
‐
FFFF
‐
FFFF
OLT(acl
‐
link
‐
5000)#exit
OLT(config)#
packet
‐
filter
inbound
5000
port
ge
1
11.6
show
acl
【
Commond
】
Show
acl
(
acl
‐
id
|
all
)
【
View
】
config
view
【
parameter
】