Figure 9-5. Applying Example Named Source-Port Filters
Ports and port trunks using the filter. When NOT USED is displayed the named source-port filter may be deleted.

Traffic/Security Filters and Monitors

Filter Types and Operation

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

 

Lists the ports

 

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

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

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

and port trunks

web-only

NOT USED

drop 2-26

dropped by the

accounting

NOT USED

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

filter. Ports and

port trunks not

no-incoming-web

NOT USED

drop 7,10-11

shown are

 

 

 

 

 

 

 

 

forwarded by the

ProCurve Switch 2626(config)#

 

 

filter.

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

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

Figure 9-6. Source Port Filters Applied to Switch Ports

The show filter command shows what ports have filters applied.

9-10