IGMP configuration example

The output of the following show running-config command shows an example of an IGMP configuration with IGMP snooping.

switch# show running-config
Current configuration:
!
!
!
!
!
vlan 1
    no shutdown
vlan 2
    ip igmp snooping enable
    ip igmp snooping version 2
    ip igmp snooping forward 1/1/1
    ip igmp snooping blocked 1/1/3
    ip igmp snooping static group 239.1.1.10
    ip igmp snooping static group 239.1.1.11
interface 1/1/1
    no shutdown
    no routing
    vlan access 2
interface 1/1/2
    no shutdown
    no routing
    vlan access 2
interface 1/1/3
    no shutdown
    no routing
    vlan access 2
interface vlan2
    no shutdown
    ip address 20.1.1.1/24
    ip igmp enable
    ip igmp version 2
    ip igmp querier interval 5
    ip igmp robustness 5
    ip igmp last-member-query-interval 2
    ip igmp query-max-response-time 50
    ip igmp static-group 239.1.1.1