Editing a source-port filter
The switch includes in one filter the action(s) for all destination ports and/or trunks configured for a given source port or trunk. Thus, if a source-port filter already exists and you want to change the currently configured action for some destination ports or trunks, use the
filter source-port
command to update the existing filter. For example, suppose you configure a filter to drop traffic received on port 8 and destined for ports 1 and 2. The resulting filter is shown on the left in
Assigning additional destination ports to an existing filter. Later, you update the filter to drop traffic received on port 8 and destined for ports 3 through 5. Since only one filter exists for a given source port, the filter on traffic from port 8 appears as shown on the right in
Assigning additional destination ports to an existing filter:
Assigning additional destination ports to an existing filter
switch(config)# show filter 1 switch(config)# show filter 1 Traffic/Security Filters Traffic/Security Filters Filter Type : Source Port Filter Type : Source Port Source Port : 8 Source Port : 8 Dest Port Type | Action Dest Port Type | Action --------- --------- + ------- --------- --------- + ------- 1 100/1000T | Drop 1 100/1000T | Drop 2 100/1000T | Drop 2 100/1000T | Drop 3 100/1000T | Forward 3 100/1000T | Drop 4 100/1000T | Forward 4 100/1000T | Drop 5 100/1000T | Forward 5 100/1000T | Drop 6 100/1000T | Forward 6 100/1000T | Forward 7 100/1000T | Forward 7 100/1000T | Forward