Configuring a multicast or protocol traffic filter
Syntax
[multicast <mac-address>]
Specifies a multicast address. Inbound traffic received (on any port) with this multicast address will be filtered. (Default: Forward on all ports.) The
no
form of the command deletes the multicast filter for the <mac-address> multicast address and returns the destination ports for that filter to theForward
action.[<forward l drop> <port-list>]
Specifies whether the designated destination ports should forward or drop the filtered traffic.
Syntax
[protocol <ip | ipx | arp | appletalk | sna | netbeui>]
Specifies a protocol type. Traffic received (on any port) with this protocol type will be filtered. (Default: Forward on all ports.)
The no
form of the command deletes
the protocol filter for the specified protocol and returns the destination
ports for that filter to the Forward
action.
[<forward | drop> <port-list>]
Specifies whether the designated destination ports should forward or drop the filtered traffic.
Example
Filter Type |
Filter Value |
Action |
Destination Ports |
---|---|---|---|
source-port |
Inbound ports: A1, A21 |
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: