OcNOS-SP : Multicast Guide : Multicast Configuration Guide : IGMP Snooping Configuration : Configuration
Configuration
To enable IGMP Snooping on an interface:
1. Add a bridge to the spanning-tree table
2. Specify the interface to be configured
3. Associate the interface with bridge group
4. IGMP snooping will be enabled by default
5. Configure ports that are connected to routers as multicast router ports
6. By default, IGMP report suppression is enabled on the switch
S1
 
#configure terminal
Enter the Configure mode.
(config)#bridge 1 protocol ieee vlan-bridge
Add bridge 1 to the spanning-tree table.
(config)#interface eth0
Specify the interface eth0 to be configured, and enter the Interface mode.
(config-if)#shutdown
Shut down the interface.
(config-if)#switchport
Configure the interface as a switch port.
(config-if)#bridge-group 1
Associate the interface eth1 with bridge-group 1.
(config-if)#switchport mode access
Configure the port as an access port.
(config-if)#no shutdown
Bring up the interface.
(config-if)#exit
Exit the Interface mode.
(config)#interface eth1
Specify interface eth1 to be configured.
(config-if)#shutdown
Shut down the interface.
(config-if)#switchport
Configure the interface as a switch port.
(config-if)#bridge-group 1
Associate interface eth1 with bridge-group 1.
(config-if)#switchport mode access
Configure the port as an access port.
(config-if)#no shutdown
Bring up the interface.
(config-if)#exit
Exit the Interface mode.
(config)#interface eth2
Specify interface eth2 to be configured.
(config-if)#shutdown
Shut down the interface.
(config-if)#switchport
Configure the interface as a switch port.
(config-if)#bridge-group 1
Associate interface eth2 with bridge-group 1.
(config-if)#switchport mode access
Configure the port as an access port.
(config-if)#no shutdown
Bring up the interface.
(config-if)#exit
Exit the Interface mode.
(config)#interface vlan1.1
Specify interface vlan1.1 to be configured.
(config-if)# igmp snooping mrouter interface eth1
Configure this port as a multicast router port
(config-if)#commit
Commit the transaction.
Validation
#show running-config interface eth0
!
interface eth0
switchport
bridge-group 1
switchport mode access
!
#show running-config interface eth1
!
interface eth1
switchport
bridge-group 1
switchport mode access
!
 
#show running-config interface eth2
!
interface eth2
switchport
bridge-group 1
switchport mode access
!
 
#show igmp snooping groups
IGMP Snooping Group Membership
Group source list: (R - Remote, S - Static)
Vlan Group/Source Address Interface Flags Uptime Expires Last Reporter Version
1 224.1.1.1 eth0 R 00:00:03 00:04:17 0.0.0.0 V3
1 224.1.1.1 eth2 R 00:00:03 00:04:17 0.0.0.0 V3
 
#show igmp snooping interface vlan1.1
IGMP Snooping information for vlan1.1
IGMP Snooping enabled
Snooping Querier none
IGMP Snooping other querier timeout is 255 seconds
Group Membership interval is 260 seconds
IGMPv2 fast-leave is disabled
IGMPv1/v2 Report suppression disabled
IGMPv3 Report suppression disabled
Router port detection using IGMP Queries
Number of router-ports: 1
Number of Groups: 1
Number of v1-reports: 0
Number of v2-reports: 0
Number of v2-leaves: 0
Number of v3-reports: 2
Active Ports:
eth0
eth1
eth2
Last modified date: 08/29/2023