Huawei quidway s3526 series Getting Started page 440

Hide thumbs Also See for quidway s3526 series:
Table of Contents

Advertisement

Command Manual - QoS/ACL
Quidway S3500 Series Ethernet Switches
precedence precedence: Specifies IP precedence with a number in the range of 0 to 7
or a name.
tos tos: Classifies the data packets with a number in the range of 0 to 15 or a name.
dscp dscp: Classifies the data packets with a number in the range of 0 to 63 or a name.
fragment: Indicates that the rule takes effect on fragmented packets only and will be
ignored for other packets.
The parameter of link ACL
ingress { { source-vlan-id | source-mac-addr source-mac-wildcard }* | any }: Source
information of a data packet. source-vlan-id specifies the source VLAN of the packet,
and source-mac-addr source-mac-wildcard specifies the source MAC address of the
data packets. any represents all the packets received from all the ports.
egress { { dest-vlan-id | dest-mac-addr dest-mac-wildcard }* | any }: Specifies the
destination information of data packets. dest-vlan-id specifies the destination VLAN of
the packet. dest-mac-addr dest-mac-wildcard specifies the destination MAC address of
the data packets. any represents all the packets forwarded by all the ports.
[ tagged | untagged ]: Specifies filtering the packets according the VLAN tag. Tagged
means filtering the packets which have VLAN tag. untagged means filtering the
packets which have no VLAN tag.
Description
Using rule command, you can add a rule to an ACL. Using undo rule command, you
can cancel a rule from an ACL.
You can add a lot of rules to an ACL. If you input the parameter when use the undo rule
command, the system will delete the corresponding content of the rule according to the
parameter input.
For related configurations, refer to command acl.
Example
# Add a rule to an advanced ACL.
[Quidway-acl-adv-3000] rule 1 permit tcp established source 1.1.1.1 0
destination 2.2.2.2 0
# Add a rule to a basic ACL.
[Quidway-acl-basic-2000] rule 1 permit source 1.1.1.1 0 fragment
# Add a rule to an L2 ACL.
[Quidway-acl-link-4000] rule 1 permit ingress 1 egress any
Huawei Technologies Proprietary
1-38
Chapter 1 ACL Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents