CCIE SPv5.1 Labs
  • Intro
    • Setup
  • Purpose
  • Video Demonstration
  • Containerlab Tips
  • Labs
    • ISIS
      • Start
      • Topology
      • Prefix Suppression
      • Hello padding
      • Overload Bit
      • LSP size
      • Default metric
      • Hello/Hold Timer
      • Mesh groups
      • Prefix Summarization
      • Default Route Preference
      • ISIS Timers
      • Log Neighbor Changes
      • Troubleshooting 1 - No routes
      • Troubleshooting 2 - Adjacency
      • IPv6 Single Topology
      • IPv6 Single Topology Challenge
      • IPv6 Multi Topology
      • IPv6 Single to Multi Topology
      • Wide Metrics Explained
      • Route Filtering
      • Backdoor Link
      • Non-Optimal Intra-Area routing
      • Multi Area
      • Authentication
      • Conditional ATT Bit
      • Troubleshooting iBGP
      • Troubleshooting TE Tunnel
    • LDP
      • Start
      • Topology
      • LDP and ECMP
      • LDP and Static Routes
      • LDP Timers
      • LDP Authentication
      • LDP Session Protection
      • LDP/IGP Sync (OSPF)
      • LDP/IGP Sync (ISIS)
      • LDP Local Allocation Filtering
      • LDP Conditional Label Advertisement
      • LDP Inbound Label Advertisement Filtering
      • LDP Label Advertisement Filtering Challenge
      • LDP Implicit Withdraw
      • LDP Transport Address Troubleshooting
      • LDP Static Labels
    • MPLS-TE
      • Start
      • Topology
      • Basic TE Tunnel w/ OSPF
      • Basic TE Tunnel w/ ISIS
      • TE Tunnel using Admin Weight
      • TE Tunnel using Link Affinity
      • TE Tunnel with Explicit-Null
      • TE Tunnel with Conditional Attributes
      • RSVP message pacing
      • Reoptimization timer
      • IGP TE Flooding Thresholds
      • CSPF Tiebreakers
      • TE Tunnel Preemption
      • TE Tunnel Soft Preemption
      • Tunneling LDP inside RSVP
      • PE to P TE Tunnel
      • Autoroute Announce Metric (XE)
      • Autoroute Announce Metric (XR)
      • Autoroute Announce Absolute Metric
      • Autoroute Announce Backup Path
      • Forwarding Adjacency
      • Forwarding Adjacency with OSPF
      • TE Tunnels with UCMP
      • Auto-Bandwidth
      • FRR Link Protection (XE, BFD)
      • FRR Link Protection (XE, RSVP Hellos)
      • FRR Node Protection (XR)
      • FRR Path Protection
      • FRR Multiple Backup Tunnels (Node Protection)
      • FRR Multiple Backup Tunnels (Link Protection)
      • FRR Multiple Backup Tunnels (Backwidth/Link Protection)
      • FRR Backup Auto-Tunnels
      • FRR Backup Auto-Tunnels with SRLG
      • Full Mesh Auto-Tunnels
      • Full Mesh Dynamic Auto-Tunnels
      • One-Hop Auto-Tunnels
      • CBTS/PBTS
      • Traditional DS-TE
      • IETF DS-TE with MAM
      • IETF DS-TE with RDM
      • RDM w/ FRR Troubleshooting
      • Per-VRF TE Tunnels
      • Tactical TE Issues
      • Multicast and MPLS-TE
    • SR
      • Start
      • Topology
      • Basic SR with ISIS
      • Basic SR with OSPF
      • SRGB Modifcation
      • SR with ExpNull
      • SR Anycast SID
      • SR Adjacency SID
      • SR LAN Adjacency SID (Walkthrough)
      • SR and RSVP-TE interaction
      • SR Basic Inter-area with ISIS
      • SR Basic Inter-area with OSPF
      • SR Basic Inter-IGP (redistribution)
      • SR Basic Inter-AS using BGP
      • SR BGP Data Center (eBGP)
      • SR BGP Data Center (iBGP)
      • LFA
      • LFA Tiebreakers (ISIS)
      • LFA Tiebreakers (OSPF)
      • Remote LFA
      • RLFA Tiebreakers?
      • TI-LFA
      • Remote LFA or TILFA?
      • TI-LFA Node Protection
      • TI-LFA SRLG Protection
      • TI-LFA Protection Priorities (ISIS)
      • TI-LFA Protection Priorities (OSPF)
      • Microloop Avoidance
      • SR/LDP Interworking
      • SR/LDP SRMS OSPF Inter-Area
      • SR/LDP Design Challenge #1
      • SR/LDP Design Challenge #2
      • Migrate LDP to SR (ISIS)
      • OAM with SR
      • SR-MPLS using IPv6
      • Basic SR-TE with AS
      • Basic SR-TE with AS and ODN
      • SR-TE with AS Primary/Secondary Paths
      • SR-TE Dynamic Policies
      • SR-TE Dynamic Policy with Margin
      • SR-TE Explicit Paths
      • SR-TE Disjoint Planes using Anycast SIDs
      • SR-TE Flex-Algo w/ Latency
      • SR-TE Flex-Algo w/ Affinity
      • SR-TE Disjoint Planes using Flex-Algo
      • SR-TE BSIDs
      • SR-TE RSVP-TE Stitching
      • SR-TE Autoroute Include
      • SR Inter-IGP using PCE
      • SR-TE PCC Features
      • SR-TE PCE Instantiated Policy
      • SR-TE PCE Redundancy
      • SR-TE PCE Redundancy w/ Sync
      • SR-TE Basic BGP EPE
      • SR-TE BGP EPE for Unified MPLS
      • SR-TE Disjoint Paths
      • SR Converged SDN Transport Challenge
      • SR OAM DPM
      • SR OAM Tools
      • Performance-Measurement (Interface Delay)
    • SRv6
      • Start
      • Topology
      • Basic SRv6
      • SRv6 uSID
      • SRv6 uSID w/ EVPN-VPWS and BGP IPv4/IPv6
      • SRv6 uSID w/ SR-TE
      • SRv6 uSID w/ SR-TE Explicit Paths
      • SRv6 uSID w/ L3 IGW
      • SRv6 uSID w/ Dual-Connected PE
      • SRv6 uSID w/ Flex Algo
      • SRv6 uSID - Scale (Pt. 1)
      • SRv6 uSID - Scale (Pt. 2)
      • SRv6 uSID - Scale (Pt. 3) (UPA Walkthrough)
      • SRv6 uSID - Scale (Pt. 4) (Flex Algo)
      • SRv6 uSID w/ TI-LFA
    • Multicast
      • Start
      • Topology
      • Basic PIM-SSM
      • PIM-SSM Static Mapping
      • Basic PIM-SM
      • PIM-SM with Anycast RP
      • PIM-SM with Auto-RP
      • PIM-SM with BSR
      • PIM-SM with BSR for IPv6
      • PIM-BiDir
      • PIM-BiDir for IPv6
      • PIM-BiDir with Phantom RP
      • PIM Security
      • PIM Boundaries with AutoRP
      • PIM Boundaries with BSR
      • PIM-SM IPv6 using Embedded RP
      • PIM SSM Range Note
      • PIM RPF Troubleshooting #1
      • PIM RPF Troubleshooting #2
      • PIM RP Troubleshooting
      • PIM Duplicate Traffic Troubleshooting
      • Using IOS-XR as a Sender/Receiver
      • PIM-SM without Receiver IGMP Joins
      • RP Discovery Methods
      • Basic Interdomain Multicast w/o MSDP
      • Basic Interdomain Multicast w/ MSDP
      • MSDP Filtering
      • MSDP Flood Reduction
      • MSDP Default Peer
      • MSDP RPF Check (IOS-XR)
      • MSDP RPF Check (IOS-XE)
      • Interdomain MBGP Policies
      • PIM Boundaries using MSDP
    • MVPN
      • Start
      • Topology
      • Profile 0
      • Profile 0 with data MDTs
      • Profile 1
      • Profile 1 w/ Redundant Roots
      • Profile 1 with data MDTs
      • Profile 6
      • Profile 7
      • Profile 3
      • Profile 3 with S-PMSI
      • Profile 11
      • Profile 11 with S-PMSI
      • Profile 11 w/ Receiver-only Sites
      • Profile 9 with S-PMSI
      • Profile 12
      • Profile 13
      • UMH (Upstream Multicast Hop) Challenge
      • Profile 13 w/ Configuration Knobs
      • Profile 13 w/ PE RP
      • Profile 12 w/ PE Anycast RP
      • Profile 14 (Partitioned MDT)
      • Profile 14 with Extranet option #1
      • Profile 14 with Extranet option #2
      • Profile 14 w/ IPv6
      • Profile 17
      • Profile 19
      • Profile 21
    • MVPN SR
      • Start
      • Topology
      • Profile 27
      • Profile 27 w/ Constraints
      • Profile 27 w/ FRR
      • Profile 28
      • Profile 28 w/ Constraints and FRR
      • Profile 28 w/ Data MDTs
      • Profile 29
    • VPWS
      • Start
      • Topology
      • Basic VPWS
      • VPWS with Tag Manipulation
      • Redundant VPWS
      • Redundant VPWS (IOS-XR)
      • VPWS with PW interfaces
      • Manual VPWS
      • VPWS with Sequencing
      • Pseudowire Logging
      • VPWS with FAT-PW
      • MS-PS (Pseudowire stitching)
      • VPWS with BGP AD
    • VPLS
      • Start
      • Topology
      • Basic VPLS with LDP
      • VPLS with LDP and BGP
      • VPLS with BGP only
      • Hub and Spoke VPLS
      • Tunnel L2 Protocols over VPLS
      • Basic H-VPLS
      • H-VPLS with BGP
      • H-VPLS with QinQ
      • H-VPLS with Redundancy
      • VPLS with Routing
      • VPLS MAC Protection
      • Basic E-TREE
      • VPLS with LDP/BGP-AD and XRv RR
      • VPLS with BGP and XRv RR
      • VPLS with Storm Control
    • EVPN
      • Start
      • Topology
      • EVPN VPWS
      • EVPN VPWS Multihomed
      • EVPN VPWS Multihomed Single-Active
      • Basic Single-homed EVPN E-LAN
      • EVPN E-LAN Service Label Allocation
      • EVPN E-LAN Ethernet Tag
      • EVPN E-LAN Multihomed
      • EVPN E-LAN on XRv
      • EVPN IRB
      • EVPN-VPWS Multihomed IOS-XR (All-Active)
      • EVPN-VPWS Multihomed IOS-XR (Port-Active)
      • EVPN-VPWS Multihomed IOS-XR (Single-Active)
      • EVPN-VPWS Multihomed IOS-XR (Non-Bundle)
      • PBB-EVPN (Informational)
    • BGP Multi-Homing (XE)
      • Start
      • Topology
      • Lab1 ECMP
      • Lab2 UCMP
      • Lab3 Backup Path
      • Lab4 Shadow Session
      • Lab5 Shadow RR
      • Lab6 RR with Add-Path
      • Lab7 MPLS + Add Path ECMP
      • Lab8 MPLS + Shadow RR
      • Lab9 MPLS + RDs + UCMP
    • BGP Multi-Homing (XR)
      • Start
      • Topology
      • Lab1 ECMP
      • Lab2 UCMP
      • Lab3 Backup Path
      • Lab4 “Shadow Session”
      • Lab5 “Shadow RR”
      • Lab6 RR with Add-Path
      • Lab7 MPLS + Add Path ECMP
      • Lab8 MPLS + “Shadow RR”
      • Lab9 MPLS + RDs + UCMP
      • Lab10 MPLS + Same RD + Add-Path + UCMP
      • Lab11 MPLS + Same RD + Add-Path + Repair Path
    • BGP
      • Start
      • Conditional Advertisement
      • Aggregation and Deaggregation
      • Local AS
      • BGP QoS Policy Propagation
      • Non-Optimal eBGP Routing
      • Multihomed Enterprise Challenge
      • Provider Communities
      • Destination-Based RTBH
      • Destination-Based RTBH (Community-Based)
      • Source-Based RTBH
      • Source-Based RTBH (Community-Based)
      • Multihomed Enterprise Challenge (XRv)
      • Provider Communities (XRv)
      • DMZ Link BW Lab1
      • DMZ Link BW Lab2
      • PIC Edge in the Global Table
      • PIC Edge Troubleshooting
      • PIC Edge for VPNv4
      • AIGP
      • AIGP Translation
      • Cost-Community (iBGP)
      • Cost-Community (confed eBGP)
      • Destination-Based RTBH (VRF Provider-triggered)
      • Destination-Based RTBH (VRF CE-triggered)
      • Source-Based RTBH (VRF Provider-triggered)
      • Flowspec (Global IPv4/6PE)
      • Flowspec (VRF)
      • Flowspec (Global IPv4/6PE w/ Redirect)
      • Flowspec (Global IPv4/6PE w/ Redirect) T-Shoot
      • Flowspec (VRF w/ Redirect)
      • Flowspec (Global IPv4/6PE w/ CE Advertisement)
    • Intra-AS L3VPN
      • Start
      • Partitioned RRs
      • Partitioned RRs with IOS-XR
      • RT Filter
      • Non-Optimal Multi-Homed Routing
      • Troubleshoot #1 (BGP)
      • Troubleshoot #2 (OSPF)
      • Troubleshoot #3 (OSPF)
      • Troubleshoot #4 (OSPF Inter-AS)
      • VRF to Global Internet Access (IOS-XE)
      • VRF to Global Internet Access (IOS-XR)
    • Inter-AS L3VPN
      • Start
      • Inter-AS Option A
      • Inter-AS Option B
      • Inter-AS Option C
      • Inter-AS Option AB (D)
      • CSC
      • CSC with Option AB (D)
      • Inter-AS Option C - iBGP LU
      • Inter-AS Option B w/ RT Rewrite
      • Inter-AS Option C w/ RT Rewrite
      • Inter-AS Option A Multi-Homed
      • Inter-AS Option B Multi-Homed
      • Inter-AS Option C Multi-Homed
    • Russo Inter-AS
      • Start
      • Topology
      • Option A L3NNI
      • Option A L2NNI
      • Option A mVPN
      • Option B L3NNI
      • Option B mVPN
      • Option C L3NNI
      • Option C L3NNI w/ L2VPN
      • Option C mVPN
    • BGP RPKI
      • Start
      • RPKI on IOS-XE (Enabling the feature)
      • RPKI on IOS-XE (Validation)
      • RPKI on IOS-XR (Enabling the feature)
      • Enable SSH in Routinator
      • RPKI on IOS-XR (Validation)
      • RPKI on IOS-XR (RPKI Routes)
      • RPKI on IOS-XR (VRF)
      • RPKI iBGP Mesh (No Signaling)
      • RPKI iBGP Mesh (iBGP Signaling)
    • NAT
      • Start
      • Egress PE NAT44
      • NAT44 within an INET VRF
      • Internet Reachability between VRFs
      • CGNAT
      • NAT64 Stateful
      • NAT64 Stateful w/ Static NAT
      • NAT64 Stateless
      • MAP-T BR
    • BFD
      • Start
      • Topology
      • OSPF Hellos
      • ISIS Hellos
      • BGP Keepalives
      • PIM Hellos
      • Basic BFD for all protocols
      • BFD Asymmetric Timers
      • BFD Templates
      • BFD Tshoot #1
      • BFD for Static Routes
      • BFD Multi-Hop
      • BFD for VPNv4 Static Routes
      • BFD for VPNv6 Static Routes
      • BFD for Pseudowires
    • QoS
      • Start
      • QoS on IOS-XE
      • Advanced QoS on IOS-XE Pt. 1
      • Advanced QoS on IOS-XE Pt. 2
      • MPLS QoS Design
      • Notes - QoS on IOS-XR
    • NSO
      • Start
      • Basic NSO Usage
      • Basic NSO Template Service
      • Advanced NSO Template Service
      • Advanced NSO Template Service #2
      • NSO Template vs. Template Service
      • NSO API using Python
      • NSO API using Python #2
      • NSO API using Python #3
      • Using a NETCONF NED
      • Python Service
      • Nano Services
    • MDT
      • Start
      • MDT Server Setup
      • Basic Dial-Out
      • Filtering Data using XPATH
      • Finding the correct YANG model
      • Finding the correct YANG model #2
      • Event-Driven MDT
      • Basic Dial-In using gNMI
      • Dial-Out with TLS
      • Dial-In with TLS
      • Dial-In with two-way TLS
    • App-Hosting
      • Start
      • Lab - iperf3 Docker Container
      • Notes - LXC Container
      • Notes - Native Applications
      • Notes - Process Scripts
    • ZTP
      • Notes - Classic ZTP
      • Notes - Secure ZTP
    • L2 Connectivity Notes
      • 802.1ad (Q-in-Q)
      • MST-AG
      • MC-LAG
      • G.8032
    • Ethernet OAM
      • Start
      • Topology
      • CFM
      • y1731
      • Notes - y1564
    • Security
      • Start
      • Notes - Security ACLs
      • Notes - Hybrid ACLs
      • Notes - MPP (IOS-XR)
      • Notes - MPP (IOS-XE)
      • Notes - CoPP (IOS-XE)
      • Notes - LPTS (IOS-XR)
      • Notes - WAN MACsec White Paper
      • Notes - WAN MACsec Config Guide
      • Notes - AAA
      • Notes - uRPF
      • Notes - VTY lines (IOS-XR)
      • Lab - uRPF
      • Lab - MPP
      • Lab - AAA (IOS-XE)
      • Lab - AAA (IOS-XR)
      • Lab - CoPP and LPTS
    • Assurance
      • Start
      • Notes - Syslog on IOS-XE
      • Notes - Syslog on IOS-XR
      • Notes - SNMP Traps
      • Syslog (IOS-XR)
      • RMON
      • Netflow (IOS-XE)
      • Netflow (IOS-XR)
Powered by GitBook
On this page
  • Answer
  • Theory/Verification
  • IOS-XE Strict-RPF interface
  • Summary
  1. Labs
  2. MVPN

Profile 14 (Partitioned MDT)

Load basic.startup.config.with.cpim.and.bgp.cfg

#IOS-XE
config replace flash:basic.startup.config.with.cpim.and.bgp.cfg
Y

#IOS-XR
configure
load bootflash:basic.startup.config.with.cpim.and.bgp.cfg
commit replace
y

The basic IP addresses, L3VPN, and C-PIM between the PEs and CEs is pre-configured.

  • Configure multicast VPN using mLDP with P2MP.

  • Use a partitioned default MDT tree instead of default MDT tree.

  • Use BGP for auto-discovery of participating PEs.

  • CE1 is configured as the BSR for the C-PIM.

  • Use BGP as the overlay - PEs are not allowed to form C-PIM adjacencies with each other.

See answer below (scroll down).

Answer

#PE1, PE2
vrf def CUSTOMER
 add ipv4
  mdt partitioned mldp p2mp
  mdt auto-discovery mldp
  mdt overlay use-bgp
  mdt strict-rpf interface
!
router bgp 100
 add ipv4 mvpn
  neighbor 10.10.10.10 activate

#P1
mpls ldp mldp add ipv4
!
router bgp 100
 add ipv4 mvpn
 neighbor-group IBGP
  add ipv4 mvpn
   route-reflector-client

#P2
mpls ldp mldp add ipv4

#PE3
mpls ldp mldp add ipv4
!
router bgp 100
 add ipv4 mvpn
 neighbor 10.10.10.10
  add ipv4 mvpn
 vrf CUSTOMER
  add ipv4 mvpn
!
route-policy USE_MLDP_PARITIONED
 set core-tree mldp-partitioned-p2mp
end-policy
!
router pim vrf CUSTOMER add ipv4
 rpf top route-policy USE_MLDP_PARITIONED
 mdt c-multicast-routing bgp
!
multicast-routing add ipv4 int lo0 en
multicast-routing vrf CUSTOMER add ipv4
 mdt so lo0
 mdt partitioned mldp ipv4 p2mp
 bgp auto-discovery mldp

Before we get into the verification, let’s explore the theory behind partitioned MDT.

Theory/Verification

The idea behind partitioned MDT is to reduce state in the core. With “regular” default MDT using mLDP P2MP, we would have a P2MP tree rooted at every PE participating in the multicast VPN. This full mesh of P2MP trees is setup by default by:

  • First discovering all PEs participating in the multicast VPN using the type 1 BGP ipv4/mvpn route

  • Each PE joins a P2MP mLDP tree rooted at every PE learned via BGP, using the FEC (PE lo0, opaque value) found in the BGP route

In contrast, when using paritioned MDTs, the only MDTs that are created in the core are created “on-demand.” When you bring up all PEs, none of the PEs will join any P2MP trees unless they specifically want to receive traffic from a certain PE.

A PE knows it wants to receive traffic from another PE usually based on PIM Joins from the customer site. The RPF interface points to a nexthop PE, and the local PE then joins a P2MP rooted at the nexthop PE.

Interestingly, with partitioned MDT, we still have data MDT switchover, or S-PMSI tunnels. But we now longer have any I-PMSI tunnels. The I-PMSI is replaced by a “partitioned” PMSI.

So how does a PE know what FEC to use to receive traffic on a “partitioned” PMSI for a given PE? The FEC is learned via the type 3 route.

Examine the current routing table on PE1.

First we can notice that each PE originates a type 1 and type 3 route. We have seen the auto-generated type 1 routes before, however they do not appear to be useful in this profile. Because we are using partitioned MDTs instead of a default MDT, which means there is no I-PMSI, the type 1 routes are not really necessary.

The type 3 routes are of interest though. The partitioned MDT is essentially created by a wildcard S-PMSI tree rooted at each PE. We have seen the type 3 route before, which is used to indicate that “I have customer S, G traffic, so if you want to receive it on my new S-PMSI, use this FEC.”

With a wildcard (*) for both the Customer S and Customer G, it essentially means “I have an S-PMSI for any traffic (default traffic). If you wish to receive traffic on the partitioned MDT rooted at me, use this FEC.” Inspecting the details of any single type 3 route shows us that a FEC is provided as we would expect:

Notice that there is one additional entry , which is *, 224.0.0.13 advertised by PE1. This happens because CE1 is the BSR. PE1 advertises the BSR using PIM, which uses 224.0.0.13. So PE1 is essentially advertising “if you want to receive any PIM traffic, I have some, so use this FEC.” Let’s inspect the details to see the opaque value.

As you can guess, all PEs are interested in receiving PIM traffic, so they all join the P2MP tree rooted at PE1, using that given opaque value. We can see this on P2. The only P2MP tree so far is this one tree.

Using this tree, all CEs will learn the BSR. Verify that CE3 has the correct RP mapping.

Next, let’s join a (S, G) on a customer receiver using SSM. First we enable SSM in the C-PIM (not shown) and then join (10.1.1.10, 232.1.2.3) on C2 (not shown). SSM will be easier to verify before we move on to ASM.

As we would expect, this (S, G) Join prompts a type 7 route from PE2 and is “sent to” PE1 using PE1’s RT.

However, what you might not have expected, is that now PE2 has joined PE1’s paritioned MDT, which PE2 learned from PE1’s (*, *) type 3 route. We can verify this on P2:

We now see two P2MP trees on P2:

  • The P2MP tree for (*, 224.0.0.13) rooted at PE1 as we saw before

  • The paritioned P2MP tree for (*, *) rooted at PE1 with only PE2 as the downstream client

Now we can appreciate how the paritioned MDT saves state in the core. So far only PE2 is interested in receiving data traffic from PE1, so that is the only P2MP tree in the core right now (besides the tree for the BSR messages). If we used default MDT, we would have three P2MP trees right now, with all PEs as downstream clients of all other PEs.

Note that PE2 joined PE1’s partitioned MDT before any traffic was even sent.

If we send traffic from C1 to 232.1.2.3, it flows down the P2MP paritioned tree rooted at PE1. Because we have not configured data MDTs, the traffic will not switch over to its own S-PMSI tunnel.

Let’s now look at ASM traffic. On C3 we join (*, 239.1.2.3) (not shown). PE3 creates a type 6 route (*, G Join) which only PE1 imports (as PE1 is the PE connecting to the RP).

As we can guess this time, PE3 joins the paritioned P2MP rooted at PE1 which it learned via PE1’s (*, *) type 3 route. Now P2 still has state for only two trees, but PE3 has been added as a downstream client to the paritioned MDT rooted at PE1.

When we ping 239.1.2.3 from C1, we see the same process as we have seen before with SPT-switchover. The PE infront of the source (PE1 here) originates a type 5 source active message. The LHR joins the (S, G) tree rooted at this source.

IOS-XE Strict-RPF interface

The summary is that PE3 joins (S1, G) rooted at PE1 on its partitioned MDT and (S2, G) rooted at PE2 on its partitioned MDT. PE4 joins (S1, G) but rooted at PE2 on its paritioned MDT.

PE3 will receive the stream (S1, G) on both the PE1 and PE2 partitioned MDTs. PE3 will accept both streams because they both arrive via the RPF interface, Lspvif0. PE3 is now forwarding duplicate traffic onto the customer site.

To prevent this, the command mdt strict-rpf interface can be used. This causes a Lspvif interface per-PE for each VRF, allowing the RPF check to be done on a per RPF neighbor basis (the neighbor is the PE), instead of per-VRF basis.

Back to our lab, PE2 has joined three P2MP trees:

  • The (*, 224.0.0.13) tree rooted at PE1

  • The (*, *) tree rooted at PE1

  • The (*, *) tree rooted at PE3

PE2 has created three Lspvif interfaces, one to receive traffic for each tree:

We can see which interface is used for which (S, G) entry in the mroute table:

Because we only want PE2 to accept traffic from each Lspvif individually, per (S, G) entry, we use the command mdt strict-rpf interface. I don’t exactly understand why this can’t be a default command that IOS-XE implements automatically, as it seems to be the case for IOS-XR. But just remember this command when implementing partitioned MDT.

Note, upon looking at this again, I’m not clear whether IOS-XR implements this or not. I find that only a single Lmdt interface appears to be used for the VRF, not per-PE.

Summary

Profile 14 is now the preferred mVPN profile. You achieve maximal optimization of state in the core by using only P2MP trees and only on demand. The MP2MP tree is inefficient (all traffic must go through the arbitrary node) and prone to failure, requiring root node redundancy techniques. A default MDT built using P2MP trees requires a full mesh as in profile 12. This full mesh of P2MP trees uses up state in the core and is maintained even when no mVPN traffic is being forwarded!

Profile 14’s use of on-demand (partitioned) P2MP trees is much more efficient. Only PEs that are forwarding traffic will have P2MP trees rooted at themselves being built in the core.

Note that the following is supported with profile 14:

  • Extranet (sources and receivers in different VRFs)

  • Inter-AS

  • CSC (only with IOS-XR)

    • mLDP runs on the VRF interface

  • Profile 14 in global context (on IOS-XR)

As another note, LFA and TI-LFA will automatically provide protection for mLDP trees. You can also use RSVP-TE for FRR as well.

Because many operators are now using SR-only in the core, they have two options for mVPN:

  • Use mLDP for only multicast

    • You can disable IPv4 label bindings by using mpls ldp capabilities sac mldp-only

      • sac means State Advertisement Control

  • Use Tree-SID

    • Requires SR-PCE

PreviousProfile 12 w/ PE Anycast RPNextProfile 14 with Extranet option #1

Last updated 4 months ago

By default, a single LSPvif interface is used for all partitioned MDTs. This leads to the possibility of the egress PE receiving duplicate traffic for the same stream. See this article for details:

https://www.cisco.com/c/en/us/support/docs/ip/multicast/118677-technote-mvpn-00.html