Optimizing Traffic Flow with Port Controls, Port Trunking, and Filters

Traffic/Security Filters

For example, suppose you wanted to configure these six filters on the switch:

Filter Type

Filter Value

Action

Destination Ports

 

 

 

 

Source-Port

Inbound ports: A1, A2*

Drop

D1-D4

Multicast

010000-123456

Drop

C1-C24, D5-D10

Multicast

010000-224466

Drop

B1-B4

Protocol

Appletalk

Drop

C12-C18, D1

Protocol

ARP

Drop

D17, D21-D24

*Because the switch allows one inbound port in a source-port filter, the requirement to filter ports A1 and A2 means you will configure two separate source-port filters.

The following commands configure the filters listed above:

Figure 9-15. Configuring Various Traffic/Security Filters

Displaying Traffic/Security Filters. This command displays a listing of all filters by index number and also enables you to use the index number to display the details of individual filters.

Syntax: show filter

Show a table listing the filters configured in the switch, with corresponding filter index numbers.

[index]

Lists the filter type and other relevant data for the filter corresponding to the index number. Also lists, for each outbound destination port in the switch, the port num­ ber, port type, and filter action (forward or drop). The switch assigns the lowest available index number to a new filter. If you delete a filter, the index number for that filter becomes available for the next new filter you create.

9-36