2013/12/01

WB1 8.34 Catalyst IGMP Profiles

8.34 Catalyst IGMP Profiles

• Configure SW4 to permit only the IGMP reports for groups in ranges
232.0.0.0/8 and 239.0.0.0/8 from R4.

---------------------------------------------------------

Catalyst switches allow filtering of IGMP messages sent by directly connected
hosts to multicast routers. This feature is similar to the ip igmp access-group
command used on routers, but this command applies to transit IGMP
messages. This functionality is accomplished by using IGMP profiles. IGMP
profiles have global numbers, and every profile defines a list of ranges plus the
accompanying operation – “permit” or “deny” (default). In the first case, the
switch permits IGMP reports for the groups specified by the range and denies
everything else. In the second case, the switch denies the group range
configured and permits everything else. To configure the profile, use the
command

ip igmp profile <global-number>
  range low-address1 [high-address1]
  range low-address2 [high-address2]
...
[permit|deny]

The profile applies ingress to layer 2 ports only using the interface-level
command ip igmp filter <number> and affects all IGMP reports sent by
hosts connected to the particular port.

--------------------------------------------------

SW4:
ip igmp profile 1
permit
range 232.0.0.0 232.255.255.255
range 239.0.0.0 239.255.255.255
!
interface FastEthernet 0/4
ip igmp filter 1

---------------------------------------------------------

Join R4’s VLAN 146 interface to a couple of groups. One group should match the
profile criteria, while the other should not. After this, verify what IGMP groups are
seen on the switch, using the IGMP snooping function.

Rack1SW4#show ip igmp snooping groups vlan 146
Vlan      Group                    Type        Version     Port List
-----------------------------------------------------------------------
146       224.0.1.40               igmp        v2          Fa1/0/4, Fa1/0/13
146       239.1.1.100              igmp        v2          Fa1/0/4, Fa1/0/13
Rack1SW4#


R4:
interface FastEthernet0/1
ip igmp join-group 232.4.4.4
ip igmp join-group 233.4.4.4
ip igmp join-group 234.4.4.4
ip igmp join-group 239.4.4.4

Rack1SW4#show ip igmp snooping groups vlan 146
Vlan      Group                    Type        Version     Port List
-----------------------------------------------------------------------
146       224.0.1.40               igmp        v2          Fa1/0/4, Fa1/0/13
146       232.4.4.4                igmp        v2          Fa1/0/4, Fa1/0/13
146       239.1.1.100              igmp        v2          Fa1/0/4, Fa1/0/13
146       239.4.4.4                igmp        v2          Fa1/0/4, Fa1/0/13
Rack1SW4#


沒有留言:

張貼留言