16.1.11 Configuring IPv4 PIM-SM in VRF [SL-L3A]
- Points to note
-
To use IPv4 PIM-SM in a VRF, configure the IPv4 multicast routing functionality for the VRF, and configure IPv4 PIM-SM (sparse mode) on the interface of the VRF.
The settings for IPv4 PIM-SM (sparse mode) are specified in interface configuration mode. The following figure shows an example of a IPv4 PIM-SM configuration in which VRF 10 is associated with VPN 2 and IP of VLAN 20 interfaces of VRF 10 is 192.168.20.1/24.
Figure 16-3: Sample IPv4 PIM-SM Configuration in VRF
Command examples
-
(config)# interface vlan 20
Set VLAN 20.
-
(config-if)# vrf forwarding 10
Configures VLAN 20 in VRF 10.
-
(config-if)# ip address 192.168.3.1 255.255.255.0
Sets IP addressing for VLAN 20.
-
(config-if)# ip pim sparse-mode
(config-if)# exit
Sets IPv4 PIM-SM for VLAN 20.