Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring Point-to-Multipoint LDP LSPs as the Data Plane for Intra-AS MBGP MVPNs

This example shows how to configure point-to-multipoint (P2MP) LDP label-switched paths (LSPs) as the data plane for intra-autonomous system (AS) multiprotocol BGP (MBGP) multicast VPNs (MVPNs). This feature is well suited for service providers who are already running LDP in the MPLS backbone and need MBGP MVPN functionality.

Requirements

Before you begin:

Overview

This example shows how to configure P2MP LSP LSPs as the data plane for intra-AS selective provider tunnels. Selective P2MP LSPs are triggered only based on the bandwidth threshold of a particular customer’s multicast stream. A separate P2MP LDP LSP is set up for a given customer source and customer group pair (C-S, C-G) by a PE router. The C-S is behind the PE router that belongs in the sender site set. Aggregation of intra-AS selective provider tunnels across MVPNs is not supported.

When you configure selective provider tunnels, leaves discover the P2MP LSP root as follows. A PE router with a receiver for a customer multicast stream behind it needs to discover the identity of the PE router (and the provider tunnel information) with the source of the customer multicast stream behind it. This information is auto-discovered dynamically using the S-PMSI AD routes originated by the PE router with the C-S behind it.

The Junos OS also supports P2MP LDP LSPs as the data plane for intra-AS inclusive provider tunnels. These tunnels are triggered based on the MVPN configuration. A separate P2MP LSP LSP is set up for a given MVPN by a PE router that belongs in the sender site set. This PE router is the root of the P2MP LSP. Aggregation of intra-AS inclusive provider tunnels across MVPNs is not supported.

When you configure inclusive provider tunnels, leaves discover the P2MP LSP root as follows. A PE router with a receiver site for a given MVPN needs to discover the identities of PE routers (and the provider tunnel information) with sender sites for that MVPN. This information is auto-discovered dynamically using the intra-AS auto-discovery routes originated by the PE routers with sender sites.

Figure 2 shows the topology used in this example.

Figure 2: P2MP LDP LSPs as the Data Plane for Intra-AS MBGP MVPNs

P2MP LDP LSPs as the Data Plane
for Intra-AS MBGP MVPNs

In Figure 2, the routers perform the following functions:

  • R1 and R2 are provider (P) routers.
  • R0, R3, R4, and R5 are provider edge (PE) routers.
  • MBGP MVPN is configured on all PE routers.
  • Two VPNs are defined: green and red.
  • Router R0 serves both green and red CE routers in separate routing instances.
  • Router R3 is connected to a green CE router.
  • Router R5 is connected to overlapping green and red CE routers in a single routing instance.
  • Router R4 is connected to overlapping green and red CE routers in a single routing instance.
  • OSPF and multipoint LDP (mLDP) are running in the core.
  • Router R1 is a route reflector (RR), and router R2 is a redundant RR.
  • Routers R0, R3, R4, and R5 are client internal BGP (IBGP) peers.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

set protocols ldp interface fe-0/2/1.0set protocols ldp interface fe-0/2/3.0set protocols ldp p2mpset routing-instance red instance-type mvpnset routing-instance red interface vt-0/1/0.1set routing-instance red interface lo0.1set routing-instance red route-distinguisher 10.254.1.1:1 set routing-instance red provider-tunnel ldp-p2mpset routing-instance red provider-tunnel selective group 224.1.1.1/32 source 192.168.1.1/32 ldp-p2mp

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure P2MP LDP LSPs as the data plane for intra-AS MBGP MVPNs:

  1. Configure LDP on all routers.

    [edit protocols ldp]user@host# set interface fe-0/2/1.0user@host# set interface fe-0/2/3.0user@host# set p2mp
  2. Configure the provider tunnel.

    [edit routing-instance red ]user@host# set instance-type mvpnuser@host# set interface vt-0/1/0.1user@host# set interface lo0.1user@host# set route-distinguisher 10.254.1.1:1user@host# set provider-tunnel ldp-p2mp
  3. Configure the selective provider tunnel.

    user@host# set provider-tunnel selective group 224.1.1.1/32 source 192.168.1.1/32 ldp-p2mp
  4. If you are done configuring the device, commit the configuration.

    user@host# commit

Results

From configuration mode, confirm your configuration by entering the show protocols and show routing-intances commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

user@host# show protocols
ldp {interface fe-0/2/1.0;interface fe-0/2/3.0;p2mp;}
user@host# show routing-instances
red {instance-type vrf;interface vt-0/1/0.1; interface lo0.1;route-distinguisher 10.254.1.1:1;provider-tunnel {ldp-p2mp;}selective {group 224.1.1.1/32 {source 192.168.1.1/32 {ldp-p2mp;}}}}}

Verification

To verify the configuration, run the following commands:

  • ping mpls ldp p2mp to ping the end points of a P2MP LSP.
  • show ldp database to display LDP P2MP label bindings and to ensure that the LDP P2MP LSP is signaled.
  • show ldp session detail to display the LDP capabilities exchanged with the peer. The Capabilities advertised and Capabilities received fields should include p2mp.
  • show ldp traffic-statistics p2mp to display the data traffic statistics for the P2MP LSP.
  • show mvpn instance, show mvpn neighbor, and show mvpn c-multicast to display multicast VPN routing instance information and to ensure that the LDP P2MP LSP is associated with the MVPN as the S-PMSI.
  • show multicast route instance detail on PE routers to ensure that traffic is received by all the hosts and to display statistics on the receivers.
  • show route label label detail to display the P2MP forwarding equivalence class (FEC) if the label is an input label for an LDP P2MP LSP.

Published: 2013-08-13