9
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Create a Layer 2 ACL and
enter its view.
acl mac
{
acl-number
|
name
acl-name
} [
match-order
{
auto
|
config
} ]
By default, no ACLs exist.
The value range for a numbered
Layer 2 ACL is 4000 to 4999.
Use the
acl mac
acl-number
command to enter the view of a
numbered Layer 2 ACL.
Use the
acl mac name
acl-name
command to enter the view of a
named Layer 2 ACL.
3.
(Optional.) Configure a
description for the Layer 2
ACL.
description
text
By default, a Layer 2 ACL does
not have a description.
4.
(Optional.) Set the rule
numbering step.
step
step-value
[
start
start-value
]
By default, the rule numbering
step is 5 and the start rule ID is 0.
5.
Create or edit a rule.
rule
[
rule-id
] {
deny
|
permit
}
[
cos
dot1p
|
counting
|
dest-mac
dest-address
dest-mask
| {
lsap
lsap-type
lsap-type-mask
|
type
protocol-type
protocol-type-mask
} |
source-mac
source-address
source-mask
|
time-range
time-range-name
] *
By default
,
no Layer 2 ACL rules
exist.
6.
(Optional.) Add or edit a rule
comment.
rule
rule-id comment
text
By default, no rule comment is
configured.
Configuring a user-defined ACL
User-defined ACLs allow you to customize rules based on information in protocol headers. You can
define a user-defined ACL to match packets. A specific number of bytes after an offset (relative to the
specified header) are compared against a match pattern after being ANDed with a match pattern
mask.
To configure a user-defined ACL:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a user-defined ACL
and enter its view.
acl user-defined
{
acl-number
|
name
acl-name
}
By default, no ACLs exist.
The value range for a numbered
user-defined ACL is 5000 to 5999.
Use the
acl user-defined
acl-number
command to enter the
view of a numbered user-defined
ACL.
Use the
acl
user-defined
name
acl-name
command to enter the
view of a named user-defined
ACL.
3.
(Optional.) Configure a
description for the
user-defined ACL.
description
text
By default, a user-defined ACL
does not have a description.
Summary of Contents for FlexFabric 5940 Series
Page 23: ...17 Figure 3 QoS processing flow ...
Page 84: ...78 Figure 26 MPLS label structure ...
Page 91: ...85 Switch burst mode enable ...