86
Feature
Command Line
IGMP Snooping
IGMP Snooping -
Global
Switch(config)# ip igmp snooping
IGMP snooping is enabled globally. Please specify on which
vlans IGMP snooping enables
IGMP Snooping - VLAN Switch(config)# ip igmp snooping vlan
VLANLIST allowed vlan list
all all existed vlan
Switch(config)# ip igmp snooping vlan 1-2
IGMP snooping is enabled on VLAN 1-2.
Disable IGMP Snooping
- Global
Switch(config)# no ip igmp snoopin
IGMP snooping is disabled globally ok.
Disable IGMP Snooping
- VLAN
Switch(config)# no ip igmp snooping vlan 3
IGMP snooping is disabled on VLAN 3.
Display – IGMP
Snooping Setting
Switch# sh ip igmp
interface vlan1
enabled: Yes
version: IGMPv1
query-interval; 125s
query-max-response-time: 10s
Switch# sh ip igmp snooping
IGMP snooping is globally enabled
Vlan1 is IGMP snooping enabled
Vlan2 is IGMP snooping enabled
Vlan3 is IGMP snooping disabled
Display – IGMP Table
Switch# sh ip igmp snooping multicast all
VLAN IP Address Type Ports
---- --------------- ------- ------------------------
1 239.192.8.0 IGMP fa6,
1 239.255.255.250 IGMP fa6,
IGMP Query
IGMP Query V1
Switch(config)# int vlan 1 (Go to management VLAN)
Switch(config-if)# ip igmp v1
IGMP Query V2
Switch(config)# int vlan 1 (Go to management VLAN)
Switch(config-if)# ip igmp
IGMP Query version
Switch(config-if)# ip igmp version 1
Switch(config-if)# ip igmp version 2
Disable
Switch(config)# int vlan 1
Switch(config-if)# no ip igmp
Display
Switch# sh ip igmp
interface vlan1
enabled: Yes
version: IGMPv2
query-interval: 125s
query-max-response-time: 10s
Switch# show running-config
….
!
interface vlan1
ip address 192.168.10.17/24