ZXR10 2900E Series Command Reference
4.13.60 egress-acl link rule type-any
Purpose
This command sets the rule that the layer–2 egress ACL matches specified cos and VLAN
ID.
Command Mode
Layer 2 egress ACL configuration mode
Syntax
rule
<
1-500
>{
permit
|
deny
}
any
[
cos
<
0-7
>][<
vlan-id
>[<
vlan-mask
>]][<
dest-mac
><
dmac-mas
k
>|
any
]
Parameter Description
Parameter
Parameter
<
1-500
>
Rule number.
permit
If the condition matches, access is permitted.
deny
If the condition matches, access is denied.
any
This rule can match any packet.
cos
<
0-7
>
This rule is only valid for the cos-specified message. Ignore this
rule for other messages. The range of cos is 0 to 7.
<
vlan-id
>
This rule is only valid for messages with the specified VLAN ID.
Ignore this rule for other messages. The rule of VLAN ID is 1
to 4094.
<
vlan-mask
>
Optional VLAN mask. The default value is 0xfff.
<
dest-mac
>
Destination MAC address of the transmitted packet.
<
dmac-mask
>
Destination MAC mask. Compare the result of the destination
MAC address & the mask of the packet with the result of
<
dest-mac
> & the mask to see whether the ACL rule is matched.
any
The any keyword is used as the abbreviation of the destination
MAC address 00.00.00.00.00.00 and the mask 00.00.00.00.00.00.
Guidelines
Any rule can match packets with VLAN fields, cos fields, specified destination MAC, or any
destination MAC.
4-272
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential