Port| Port Type | Port Mode | Expires | Access
----+---------------+ ----------+-------------------------------------
A1 | 100/1000T | Auto | 1hr 2min 5sec | Host
ip igmp
You can enable IGMP on a VLAN, along with the last-saved or default IGMP configuration (whichever was most
recently set), or you can disable IGMP on a selected VLAN.
Syntax:
[no] ip igmp
Enables IGMP on a VLAN. This command must be executed in a VLAN context.
Enable IGMP on VLAN 1
switch(vlan-1)# vlan 1 ip igmp
– or –
ip igmp
Disable IGMP on VLAN 1
switch(config)# no vlan 1 ip igmp
NOTE:
If you disable IGMP on a VLAN and then later re-enable IGMP on that VLAN, the switch restores the
last-saved IGMP configuration for that VLAN. For more information, see the
Management and
Configuration Guide
for your switch.
You can also combine the
ip igmp
command with other IGMP-related commands, as described in the following
sections.
vlan ip igmp
Syntax:
vlan
vid
ip igmp [auto
port-list
| blocked
port-list
| forward
port-list
]
Used in the VLAN context, specifies how each port should handle IGMP traffic.
Default: auto.
NOTE:
Where a static multicast filter is configured on a port, and an IGMP filter created by this
command applies to the same port, the IGMP filter overrides the static multicast filter for any inbound
multicast traffic carrying the same multicast address as is configured in the static filter. For more
information, see the
Management and Configuration Guide
for your switch.
Example:
Suppose you want to configure IGMP as follows for VLAN 1 on the 100/1000T ports on a module in slot 1:
Chapter 2 Multimedia traffic control with IP multicast (IGMP)
23