HP 6120G/XG HP ProCurve Series 6120 Blade Switches Access Security Guide - Page 320
Applying Example Named Source-Port Filters
View all HP 6120G/XG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 320 highlights
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 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 a-nd-p-o-rt-trunks web-only accounting no-incoming-web | NOT USED | NOT USED | NOT USED | drop 2-26 | drop 1-6,8-9,12-26 | drop 7,10-11 dropped by the filter. Ports and port trunks not 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. Figure 9-5. 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)# Figure 9-6. Source Port Filters Applied to Switch Ports The show filter command shows what ports have filters applied. 9-10