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.

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

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

Filter Name

Port List

Action--------------------------

Lists the ports and port trunks

 

--------------------

+ --------------------

+

 

dropped by the filter. Ports and

web-only

NOT USED

drop 2-26

port trunks not shown are

accounting

NOT USED

drop 1-6,8-9,12-26

forwarded by the filter.

 

no-incoming-web

NOT USED

drop 7,10-11

To remove a port or port trunk

 

 

 

 

from the list, update the named

ProCurve Switch 2626(config)#

source-port filter definition

using the forward option.

 

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.

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)#

The show filter command shows what ports have filters applied.

10-13