6. Configure IGMP filtering policies.
Switch(config)# ip igmp filter
Globally enable IGMP filtering
function.
Switch(config)# ip igmp profile
[profile_name]
Create or modify a profile for IGMP
filter. The maximum length of profile
name is 20 characters. Up to 60
profiles can be created.
Switch(config-profile-ID)#
segment [1-400]
Specify an existing segment ID to the
selected profile.
Switch(config)# ip igmp
segment [1-400]
Create or modify a segment ID for
IGMP filter.
Switch(config-segment-ID)#
name [segment_name]
Specify a name for the selected
segment ID. The maximum is 20
characters.
Switch(config-segment-ID)#
range [E.F.G.H] [E.F.G.H]
Specify Low IP multicast address and
High IP multicast address for the
selected segment ID.
Switch(config)# no ip igmp filter
Disable IGMP filtering function.
Switch(config)# no ip igmp
profile [profile_name]
Delete the specified profile.
Switch(config)# no ip igmp
segment [1-400]
Delete the specified segment ID. Only
the segment that does not belong to
any profiles can be deleted.
Switch(config-profile-ID)# no
segment
Remove all existing segment IDs from
the selected profile.
Switch(config-segment-ID)# no
name
Reset a name of the selected
segment ID back to the default.
Switch(config-segment-ID)# no
range
Reset a multicast IP range of the
selected segment ID back to the
default.
Switch(config)# show ip igmp
filter
Show IGMP filter configuration.
Switch(config)# show ip igmp
filter interface
Show all ports’ IGMP filtering
configuration.
Switch(config)# show ip igmp
filter interface [port_list]
Show the specified ports’ IGMP
filtering configuration.
Switch(config)# show ip igmp
profile
Show the profile configuration of
IGMP filter.
Switch(config)# show ip igmp
profile [profile_name]
Show the specified profile’s
configuration.
Switch(config)# show ip igmp
segment
Show the segment configuration of
IGMP filter.
Switch(config)# show ip igmp
segment [1-400]
Show the specified segment’s
configuration.
Switch(config-segment-ID)#
show
Show the selected segment’s
configuration.
Switch(config-profile-ID)# show
Show the selected profile’s
configuration.