![background image](http://html.mh-extra.com/html/foundry-networks/switch-and-router/switch-and-router_installation-and-configuration-manual_2324275325.webp)
Configuring Basic Features
December 2000
10 - 67
BigIron(config-bcast-filter-id-1)# write memory
To configure two filters, one to filter IP UDP traffic on ports 1/1 – 1/4, and the other to filter all broadcast traffic on
port 4/6, enter the following commands:
BigIron(config)# broadcast filter 2 ip udp
BigIron(config-bcast-filter-id-2)# exclude-ports ethernet 1/1 to 1/4
BigIron(config-bcast-filter-id-2)# exit
BigIron(config)# broadcast filter 3 any
BigIron(config-bcast-filter-id-3)# exclude-ports ethernet 4/6
BigIron(config-bcast-filter-id-3)# write memory
To configure an IP UDP broadcast filter and apply that applies only to port-based VLAN 10, then apply the filter to
two ports within the VLAN, enter the following commands:
BigIron(config)# broadcast filter 4 ip udp vlan 10
BigIron(config-bcast-filter-id-4)# exclude-ports eth 1/1 eth 1/3
BigIron(config-bcast-filter-id-4)# write memory
Configuring a Layer 2 Multicast Filter
To configure a multicast filter, you must have access to the CONFIG level of the CLI. You can configure up to
eight multicast filters on a device.
Syntax:
[no] multicast filter <filter-id> any | ip udp mac <multicast-address> | any [mask <mask>]
[vlan <vlan-id>]
The parameter values are the same as the for the broadcast filter command. In addition, the multicast filter
command requires the
mac
<multicast-address>
| any
parameter, which specifies the multicast address. Enter
mac any
to filter on all multicast addresses.
Enter
mac
followed by a specific multicast address to filter only on that multicast address. To filter on a range of
multicast addresses, use the
mask
<mask> parameter. For example, to filter on multicast groups
0100.5e00.5200 – 0100.5e00.52ff, use
mask ffff.ffff.ff00
. The default mask matches all bits (is all Fs). You can
leave the mask off if you want the filter to match on all bits in the multicast address.
Configuration Examples
To configure a Layer 2 multicast filter to filter all multicast groups, then apply the filter to ports 2/4, 2/5, and 2/8,
enter the following commands:
BigIron(config)# multicast filter 1 any
BigIron(config-mcast-filter-id-1)# exclude-ports ethernet 2/4 to 2/5 ethernet 2/8
BigIron(config-mcast-filter-id-1)# write memory
To configure a multicast filter to block all multicast traffic destined for multicast addresses 0100.5e00.5200 –
0100.5e00.52ff on port 4/8, enter the following commands:
BigIron(config)# multicast filter 2 any 0100.5e00.5200 mask ffff.ffff.ff00
BigIron(config-mcast-filter-id-2)# exclude-ports ethernet 4/8
BigIron(config-mcast-filter-id-2)# write memory
The software calculates the range by combining the mask with the multicast address. In this example, all but the
last eight bits in the mask are “significant bits” (ones). The last eight bits are zeros and thus match on any value.
Each “f” or “0” is four bits.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...