HP 2600 Series User Manual

Page 281

Advertising
background image

10-13

Traffic/Security Filters (ProCurve Series 2600/2600-PWR and 2800 Switches)

Using Source-Port Filters

Defining and Configuring Example Named Source-Port Filters.

While

named source-port filters may be defined and configured in two steps, this is
not necessary. Here we define and configure each of the named source-port
filters for our example network in a single step.

Applying Example Named Source-Port Filters.

Once the named source-port filters have been defined and configured we now
apply them to the switch ports.

The

show filter command shows what ports have filters applied.

ProCurve(config)# filter source-port named-filter web-only drop 2-26
ProCurve(config)# filter source-port named-filter accounting drop 1-6,8,9,12-26
ProCurve(config)# filter source-port named-filter no-incoming-web drop 7,10,11

ProCurve(config)# show filter source-port

Traffic/Security Filters

Filter Name | Port List | Action
-------------------- + -------------------- + --------------------------
web-only | NOT USED | drop 2-26
accounting | NOT USED | drop 1-6,8-9,12-26
no-incoming-web | NOT USED | drop 7,10-11

ProCurve Switch 2626(config)#

Ports and port trunks using the
filter. When NOT USED is
displayed the named source-port
filter may be deleted.

Lists the ports and port trunks
dropped by the filter. Ports and
port trunks not shown are
forwarded by the filter.

To remove a port or port trunk
from the list, update the named
source-port filter definition
using the forward option.

ProCurve(config)# filter source-port 2-6,8,9,12-26 named-filter web-only
ProCurve(config)# filter source-port 7,10,11 named-filter accounting
ProCurve(config)# filter source-port 1 named-filter no-incoming-web
ProCurve(config)#

Advertising