Configuration Guide IGMP Snooping Configuration
Ruijie(config)# ip igmp snooping
vlan vlan-id mrouter interface
interface-id
Set the interface as the static router
interface.
Ruijie(config)# no ip igmp snooping
vlan vlan-id mrouter interface
interface-id
Cancel the static router interface setting.
Ruijie(config)# ip igmp snooping
vlan vlan-id mrouter learn
pim-dvmrp
Enable the dynamic learning function for the
router interface in the VLAN. By default, the
dynamic learning function is enabled.
Ruijie(config)# no ip igmp snooping
vlan vlan-id mrouter learn
pim-dvmrp
Disable the dynamic learning function for the
router interface in the VLAN and clear all
router ports learned dynamically.
This example sets GigabitEthernet 1/1 as the router port and enables dynamic learning
function in the VLAN1:
Ruijie# configure terminal
Ruijie(config)# ip igmp snooping vlan 1 mrouter interface gigabitEthernet 0/7
Ruijie(config)# ip igmp snooping vlan 1 mrouter learn pim-dvmrp
Ruijie(config)# end
Ruijie# show ip igmp snooping mrouter
Vlan Interface State IGMP profile
---- --------- ------ -------------
1 GigabitEthernet 0/7 static 0
1 GigabitEthernet 0/12 dynamic 0
Ruijie# show ip igmp snooping mrouter learn
Vlan learn method
---- ------------------
1 pim-dvmrp
Configuring Static Member Port
When IGMP Snooping is enabled, you can statically configure a port to receive a specific
multicast flow in disregard of various IGMP packets.
To configure a static member port of IGMP Snooping, execute the following commands in the
global configuration mode:
Ruijie(config)# ip igmp Snooping ivgl
Enable IGMP Snooping and set it as the
IVGL mode.
Ruijie(config)# ip igmp snooping
vlan vlan-id static ip-addr interface
[interface-id]
Statically configure a port to receive a
certain multicast flow.
• vlan-id: vid of multicast flow
• ip-addr : multicast group address
• interface-id: Interface ID