Assigning An Acl Globally; Assigning An Acl To A Vlan - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

ACLs assigned globally take precedence over those that are assigned to VLANs. That is, when a
packet matches a rule of a globally assigned ACL and a rule of an ACL assigned to a VLAN, the
device will perform the action defined in the rule of the globally assigned ACL if the actions defined
in the two rules conflict.
When a packet matches a rule of an ACL assigned globally (or assigned to a VLAN) and a rule of
an ACL assigned to a port (or port group), the device will deny the packets if the actions defined in
the two rules conflict.
ACLs assigned globally or to a VLAN take precedence over the default ACL. However, assigning
ACLs globally or to a VLAN may affect device management that is implemented through Telnet and
so on.

Assigning an ACL Globally

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
Configuring Layer 2
Configure procedure
Table 1-5 Assign an ACL globally
Operation
Enter system view
Assign an ACL
globally
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

Assigning an ACL to a VLAN

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
Configuring Layer 2
Configuring Basic
ACL.
Command
system-view
packet-filter inbound acl-rule
Configuring Basic
ACL.
ACL, section
Configuring Advanced
Required
For description on the acl-rule
argument, refer to ACL Command.
ACL, section
Configuring Advanced
1-9
ACL, section
Description
ACL, section

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents