16.1.18 Configuring PIM-SM VRF Gateways [SL-L3A]
- Points to note
-
In an IPv4 multicast extranet, a unicast extranet to the sender must be configured for the forwarding destination VRF and a unicast route must exist.
To use multicast extranets with PIM-SM to perform communication between multicast VRFs, a PIM-SM VRF gateway must be configured. The PIM-SM VRF gateway must be set for the VRF that has the multicast sender. Specify the settings in global configuration mode. The PIM-SM VRF gateway is configured by specifying all group addresses used for the extranet in multicast route filtering as host addresses. At this time, the group addresses specified in a range by using a wildcard mask are not subject to control by the PIM-SM VRF gateway. The figure below shows a configuration example in which packets of group addresses 224.10.10.10, 224.10.10.11, and 224.10.10.12 are forwarded from VRF 10 to the global network. In this situation, VPN 1 (global network) must have a unicast route to the servers (192.168.2.2) on VPN 2(VRF 10.
Figure 16-7: Sample PIM-SM Configuration in VRF (PIM-SM VRF Gateways)
Command examples
-
(config)# ip access-list standard MLTGROUP
(config-std-nacl)# permit host 224.10.10.10
(config-std-nacl)# permit host 224.10.10.11
(config-std-nacl)# permit host 224.10.10.12
(config-std-nacl)# exit
(config)# route-map MLTEXNET permit 10
(config-route-map)# match ip address MLTGROUP
(config-route-map)# exit
Specifies 224.10.10.10, 224.10.10.11, and 224.10.10.12 as the group addresses used for the PIM-SM VRF gateway.
-
(config)# vrf definition 10
(config-vrf)# import multicast inter-vrf MLTEXNET
(config-vrf)# exit
Specifies the groups that will be forwarded from VRF 10 to other VRFs.
-
(config)# ip pim vrf 10 vrf-gateway
Configures the PIM-SM VRF gateway for VRF 10.