16.1.16 Configuring IGMP in VRF [SL-L3A]
- Points to note
-
Configure IGMP for a VRF to run IGMP on the VRF. However, IGMP can also run if IPv4 PIM-SM (sparse mode) is set on the interface of the VRF.
By default, IGMP uses a mixed mode of versions 2 and 3. Use the ip igmp version configuration command to change the IGMP version.
The following figure shows an example of a IGMP configuration in which VRF 10 is associated with VPN 2 and IP of VLAN 10 interfaces of VRF 10 is 192.168.1.1/24.
Figure 16-5: Sample IGMP Configuration in VRF
Command examples
-
(config)# interface vlan 10
Set VLAN 10.
-
(config-if)# vrf forwarding 10
Set VLAN 10 to VRF 10.
-
(config-if)# ip address 192.168.1.1 255.255.255.0
Sets an IP address for VLAN 10.
-
(config-if)# ip igmp router
(config-if)# exit
Specifies IGMP for VLAN 10.