This document describes how to configure each Multicast VPN (mVPN) profile within the Cisco IOS®.
Note: The configurations that are described in this document apply to the Provider Edge (PE) routers.
Before you proceed with the configuration that is described in this document, verify whether there is support for an mVPN profile on the specific platform that runs Cisco IOS.
The information in this document is based on all versions of the Cisco IOS.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
This section describes how to configure the mVPN profiles within the Cisco IOS.
For the profiles in the global context, multicast-routing must be enabled:
For the profiles in the VRF context, multicast-routing must be enabled for the VRF:
ip multicast-routing vrf one
You can enable the logging of Multipoint Label Distribution Protocol (MLDP) with this global command for the profiles with MLDP:
mpls mldp logging notifications
The Protocol Independent Multicast (PIM) must be enabled for the Provider Edge (PE) router on the Provider Edge-Customer Edge (PE-CE) link for both the cases (global or VRF context):
interface Ethernet2/0 vrf forwarding one ip address 10.2.1.1 255.255.255.0 ip pim sparse-mode
FRR for MLDP
Fast Re-Route (FRR) for MLDP is available in the Cisco IOS. The multicast traffic for which MLDP is the control plane protocol must use a primary Traffic Engineering (TE) tunnel in order to have the traffic protected by FRR. The primary TE tunnel can be a manual TE tunnel or a primary auto-tunnel. The link must be protected by TE FRR, either by a manual backup tunnel or a backup auto-tunnel.
This example uses a manual primary and manual backup tunnel.
This global command must be configured in order for MLDP to use Multiprotocol Label Switching (MPLS) TE tunnels:
mpls mldp path traffic-eng
This configuration is used for the protected interface that is used by the primary one-hop tunnel:
interface Ethernet3/0 ip address 10.1.6.6 255.255.255.0 load-interval 30 mpls ip mpls traffic-eng tunnels mpls traffic-eng backup-path Tunnel0 ip rsvp bandwidth 10000 end
Note : The mpls ip configuration is required on the primary tunnel because MLDP must be enabled on the protected tunnel. The autoroute announce configuration is required in order to ensure that the TE tunnel is used to forward traffic.
MBB for MLDP
The Make Before Break (MBB) feature is supported in the Cisco IOS, but only the method that uses a fixed delay after the new path is available. There is no Query/Acknowledge mechanism in the Cisco IOS.
This is the global command that is used in order to configure the MBB fixed delay:
P1(config)#mpls mldp make-before-break delay ? <0-60000> Delay in milliseconds
The default value is 0, so there is no MBB by default.
This section describes the required configurations for each mVPN profile.
Profile 0 Default MDT - GRE - PIM C-mcast Signaling
Use this configuration for profile 0:
vrf definition one rd 1:1 ! address-family ipv4 mdt default 126.96.36.199 route-target export 1:1 route-target import 1:1 exit-address-family ! ip multicast-routing ip multicast-routing vrf one
interface Loopback0 ip address 10.100.1.1 255.255.255.255 ip pim sparse-mode ! interface Ethernet2/0 vrf forwarding one ip address 10.2.1.1 255.255.255.0 ip pim sparse-mode !
Note: For this profile, PIM must be enabled on the global loopback interface. The Address Family (AF) IPv4 Multicast Distribution Tree (MDT) must be used for all types of PIM signaling in the core (not only for PIM Source Specific Multicast (SSM)).
ip multicast-routing vrf one ! interface Loopback0 ip address 10.100.1.1 255.255.255.255 ip pim sparse-mode ! interface Ethernet2/0 vrf forwarding one ip address 10.2.1.1 255.255.255.0 ip pim sparse-mode ! router bgp 1 bgp log-neighbor-changes neighbor 10.100.1.7 remote-as 1 neighbor 10.100.1.7 update-source Loopback0 ! address-family ipv4 mvpn neighbor 10.100.1.7 activate neighbor 10.100.1.7 send-community extended exit-address-family ! address-family vpnv4 neighbor 10.100.1.7 activate neighbor 10.100.1.7 send-community extended exit-address-family ! address-family ipv4 vrf one redistribute connected neighbor 10.2.1.8 remote-as 65001 neighbor 10.2.1.8 activate exit-address-family
Note: For this profile, PIM must be enabled on the global loopback interface. Because Border Gateway Protocol-Auto Discovery (BGP-AD) for PIM is used, there is no longer a need for AF IPv4 MDT, which was needed for profile 0.
Profile 26 and P2MP Auto-Tunnels TE are not currently supported in the Cisco IOS.
The information in this section is provided under the assumption that the proper configuration is implemented on the routers in order to make inter-AS MPLS VPN operational for unicast.
Option D is not supported for mVPN.
The regular mVPN configuration is required for Option A. You can have any profile in the autonomous systems, and the profiles do not have to match in the different autonomous systems.
For Options B and C, if the loopback interface IP addresses are redistributed from the Border Gateway Protocol (BGP) into the Interior Gateway Protocol (IGP) of the other Autonomous Systems (AS), then the PIM vector is not required.
Only inter-Autonomous System (inter-AS) mVPN is supported with profile 0 (with non-segmented tunnels).
The regular mVPN configuration is required for Option B. Only AF IPv4 MDT can be used; AF IPv4 MVPN is not supported.
The PIM vector origination with Route Distinguisher (RD) is required on the PE routers, with this additional configuration:
ip multicast vrf one rpf proxy rd vector
The Autonomous System Border Routers (ASBRs) must have PIM enabled on the ASBR-to-ASBR link. The ASBRs must also have AF IPv4 MDT configured for the internal Border Gateway Protocol (iBGP) neighbors and the ASBR external Border Gateway Protocol (eBGP) neighbor.
This additional configuration is required on the ASBR:
interface Ethernet0/0 description inter-as link ip address 10.3.1.3 255.255.255.0 ip pim sparse-mode mpls bgp forwarding
Note: The AF IPv4 MDT between the Autonomous Systems can also be configured on the Route Reflectors (RRs) on an eBGP multihop session instead of on the ASBRs.
Option B is not currently supported.
There is no support for Recursive Forwarding Equivalence Class (FEC) in the Cisco IOS. Hence, redistribution of the PE loopbacks by iBGP into the other AS is not sufficient, as the P (Provider) routers lack the knowledge of the PE routers in the other AS.
There is support if the PE loopbacks are redistributed by the IGP into the other AS. In this case, the profiles with Partitioned MDT and full mesh P2MP MLDP are supported. The AF IPv4 MDT cannot be used here; AF IPv4 MVPN must be used. The BGP mVPN session can run between the PEs and RRs. Between the RRs, there is already an eBGP multihop session that runs for the AF VPNv4/6.
The MLDP BGP-AD must be enabled. The inter-as keyword is required on the PE routers in order to ensure that the BGP-AD Type 1 routes do not have the no-export community.
Profiles with MLDP Full Mesh P2MP
This section describes the configurations for profiles 12 and 17.
Profile 17 Configuration
Here is the configuration on the PE routers for profile 17:
This information is provided under the assumption that the proper configuration is implemented on the routers in order to have Carrier’s Carrier (CsC) MPLS VPN operational for unicast.
Only profile 0 is supported for CsC. This means that there can be hierarchical CsC with multicast-enabled VPNs. The VPN of the CsC has mVPN profile 0 configured. The Carrier’s network has mVPN profile 0 configured as well. This means that there is the regular mVPN configuration, on the CsC-PE routers of the CsC and on the PE routers of the Carrier, and then there is no additional configuration needed for multicast.
There is currently no verification procedure available for this configuration.
There is currently no specific troubleshooting information available for this configuration.