EasyManua.ls Logo

H3C S3100 8C SI - Assigning an ACL to a VLAN

H3C S3100 8C SI
944 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operation Manual – ACL
H3C S3100 Series Ethernet Switches Chapter 1 ACL Configuration
1-11
Operation Command Description
Assign an ACL
globally
packet-filter inbound
acl-rule
Required
For description on the acl-rule
argument, refer to ACL
Command.
III. Configuration example
# Apply ACL 2000 globally to filter the inbound packets on all the ports.
<Sysname> system-view
[Sysname] packet-filter inbound ip-group 2000
1.3.2 Assigning an ACL to a VLAN
I. Configuration prerequisites
Before applying ACL rules to a VLAN, you need to define the related ACLs. For
information about defining an ACL, refer to section
1.2.2 Configuring Basic ACL,
section
1.2.3 Configuring Advanced ACL, section 1.2.4 Configuring Layer 2 ACL.
II. Configuration procedure
Table 1-6 Assign an ACL to a VLAN
Operation Command Description
Enter system view
system-view
—
Apply an ACL to a
VLAN
packet-filter vlan
vlan-id inbound
acl-rule
Required
For description on the acl-rule
argument, refer to ACL Command.
Caution:
An ACL assigned to a VLAN takes effect only for the packets tagged with 802.1Q
header. For more information about 802.1Q header, refer to the VLAN part.
III. Configuration example
# Apply ACL 2000 to VLAN 10 to filter the inbound packets of VLAN 10 on all the ports.
<Sysname> system-view
[Sysname] packet-filter vlan 10 inbound ip-group 2000

Table of Contents

Related product manuals