In this example the two customer sites use different AS numbers, which simplifies
configuration. Alternatively, the same AS numbers can be used.
Customer site 1 has two networks that need to be reachable from customer
site 3—10.3.0.0/16 and 10.12.0.0/16—and uses BGP to announce these prefixes to PE 1.
CE 1 uses a standard BGP update message as shown in Figure 72 on page 392 to carry this
and additional information. CE 1 is withdrawing prefix 10.1.0.0/16. CE 1 specifies its own
address as the next hop; 10.4.1.1 is from the private address space of VPN A.
PE 1 passes the advertisement along the backbone through an IBGP session, but uses
MP-BGP rather than standard BGP-4. Consequently, PE 1 uses an extended BGP update
message, which is different in format from the standard message, as shown in Figure 72
on page 392.
The extended update uses different attributes for some of the advertised information.
For example it carries the advertised prefixes in the MP-Reach-NLRI attribute instead of
the NLRI attribute. Similarly, it uses the MP-Unreach-NLRI attribute for withdrawn routes
rather than the withdrawn-routes attribute.
PE 1 advertises the customer site addresses by prepending information to the addresses
as advertised by CE 1, thus creating
labeled VPN-IPv4 prefixes
. The prepended information
consists of a route distinguisher and an MPLS label.
Because the CE router uses IPv4 addresses from the VPN’s private address space, these
addresses can be duplicated in other VPNs to which PE 1 is attached. PE 1 associates a
route distinguisher with each IPv4 address to create a globally unique address. In this
example, the RD consists of the AS that PE 1 belongs to and a number that PE 1 assigns.
The RD is prepended immediately before the IPv4 address.
PE routers assign MPLS labels to each VRF. In this example, the label for the VRF
associated with customer site 1 is 16. The MPLS label is prepended immediately before
the route distinguisher.
NOTE:
The explicit null label is prepended only to routes that are being withdrawn in
the MP-REACH-NLRI attribute.
Some non–E Series implementations allocate a separate label for each prefix. By default,
the E Series router generates one label for all BGP routes advertised by the VRF, thus
reducing the number of stacked labels to be managed. The
ip mpls forwarding-mode
label-switched
command enables you to have the router generate a label for each
different FEC pointed to by a BGP route in a given VRF. However, some routes always
receive a per-VRF label; see “Creating Labels per FEC” on page 439 for more information.
391
Copyright © 2010, Juniper Networks, Inc.
Chapter 6: Configuring BGP-MPLS Applications
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...