Applying Acls On Ports; Applying Acls To A Vlan - H3C S3100-52P Operation Manual

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – ACL
H3C S3100-52P Ethernet Switch
# Display the configuration information of ACL 5000.
[Sysname-acl-user-5000] display acl 5000
User defined ACL
Acl's step is 1
rule 0 deny 06 ff 27

1.2.6 Applying ACLs on Ports

By applying ACLs on ports, you can filter the packets on the corresponding ports.
I. Configuration prerequisites
You need to define an ACL before applying it on a port. For information about defining
an ACL, refer to
2
ACL, and
II. Configuration procedure
Follow these steps to apply an ACL on a port:
To do...
Enter system view
Enter Ethernet port
view
Apply an ACL on the
port
III. Configuration example
# Apply ACL 2000 on Ethernet 1/0/1 to filter inbound packets.
<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] packet-filter inbound ip-group 2000

1.2.7 Applying ACLs to a VLAN

By applying ACLs to a VLAN, you can filter the packets on all the ports in the 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
Advanced
5000, 1 rule
Configuring Basic
Configuring User-defined
Use the command...
system-view
interface interface-type
interface-number
packet-filter { inbound |
outbound } acl-rule
ACL,
Configuring Layer 2
ACL,
Configuring Advanced
ACL.
Required
For information about acl-rule,
refer to ACL Commands.
Configuring Basic
ACL, and
Configuring User-defined
1-12
Chapter 1 ACL Configuration
ACL,
Configuring Layer
Remarks
ACL,
Configuring
ACL.

Advertisement

Table of Contents
loading

Table of Contents