32.1.18 Configuring PIM-SM VRF Gateways [SL-L3A]
- Points to note
-
In an IPv6 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, a range of group addresses specified with a prefix are not subject to control by the PIM-SM VRF gateway. The figure below shows a configuration example in which packets of group addresses ff15::10, ff15::11, and ff15::12 are forwarded from VRF 10 to the global network. In this case, a unicast route to the server (2001:db8:20::2) in VPN 2 (VRF 10) must exist in VPN 1 (global network).
Figure 32-6: Sample PIM-SM Configuration in VRF (PIM-SM VRF Gateways)
Command examples
-
(config)# ipv6 access-list MLT6GROUP
(config-ipv6-acl)# permit ipv6 host ff15::10 any
(config-ipv6-acl)# permit ipv6 host ff15::11 any
(config-ipv6-acl)# permit ipv6 host ff15::12 any
(config-ipv6-acl)# exit
(config)# route-map MLT6EXNET permit 10
(config-route-map)# match ipv6 address MLT6GROUP
(config-route-map)# exit
Specifies ff15::10, ff15::11, and ff15::12 as the group addresses used for the PIM-SM VRF gateway.
-
(config)# vrf definition 10
(config-vrf)# ipv6 import multicast inter-vrf MLT6EXNET
(config-vrf)# exit
Specifies the groups that will be forwarded from VRF 10 to other VRFs.
-
(config)# ipv6 pim vrf 10 vrf-gateway
Configures the PIM-SM VRF gateway for VRF 10.