3Com 4500 PWR 26-Port Configuration Manual page 528

Hide thumbs Also See for 4500 PWR 26-Port:
Table of Contents

Advertisement

Apply ACL rules on the
port
Configuration example
# Apply ACL 2000 on Ethernet 1/0/1 to filter inbound packets.
<Sysname> system-view
[S
ys
name] interface Ethernet 1/0/1
[S
ys
name-Ethernet1/0/1] packet-filter inbound ip-group 2000
Apply ng ACL Rules to Ports in a VLAN
i
By applying ACL rules to ports
The ACL rules are only applied to ports that are in the VLAN at the time the packet-filter vlan
command is executed. In other words:
A port joining the VLAN later will not use the ACL rules
A port leaving the VLAN later will ke
Co
nfiguration prerequisites
Before applying ACL rules to ports in a VLAN, you need to define the related
a
bout defining an ACL, refer to
ACL,
Configuring User-defined ACL
C
onfiguration procedure
Follow these steps to appl
To do...
Enter system view
Apply ACL
rules to po
VLAN
Configuration example
#
Apply ACL 2000 to all ports
<Sysname> system-view
[Sysname] packet-filter vlan 1 inbound ip-group 2000
packet-filter { inbound
outbound } acl-rule
in a VLAN, you can add filtering of packets on all the ports in the VLAN.
ep using the ACL rules
Configuring Basic ACL
and
Configuring IPv6
y ACL rules to ports in a VLAN:
Use the command...
system-view
packet-filter vlan vlan-id
rts in a
{ inbound
| outbound }
acl-rule
of VL
AN 1 in the inbound direction to filt
44-13
Required
|
For information about acl-rule, refer
to ACL Commands.
for packet filtering.
for packet filteri
,
Configuring Advanced
ACL.
Required
For information
refer to ACL Commands.
er packets.
ng.
ACLs. For info
rmation
ACL,
Configuring Layer 2
Remarks
about acl-ru
le,

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port

Table of Contents