Exchanging Route-Target Membership Information
BGP peers exchange route-target membership information in the following sequence:
1.
When the BGP peers negotiate the BGP multiprotocol extensions capability during
the establishment of a BGP session, they indicate support for the route-target
address family by including the (AFI, SAFI) value pair for the route-target
membership NLRI (RT-MEM-NLRI) attribute. This pair has an AFI value of 1 and
a SAFI value of 132.
2.
If the capability is successfully negotiated, BGP speaker Router A expresses its
interest in a VPN route target by advertising to its peers the RT-MEM-NLRI
attribute that contains the particular route target. This attribute is represented
as a prefix in the following format:
AS number
:
route-target extended community
/
prefix length
■
AS number
—Number of the originating AS
■
route-target extended community
—Two-part number identifying the route
target extended community. Consists of
number1
:
number2
, where:
■
number1
—Autonomous system (AS) number or an IP address
■
number2
—Unique integer; 32 bits if
number1
is an AS number; 16 bits
if
number1
is an IP address
■
prefix length
—Length of the prefix. A prefix less than 32 or greater than 96
is invalid. However, the prefix for the Default-RT-MEM-NLRI attribute is an
exception to this rule. For the Default-RT-MEM-NLRI attribute, 0 is a valid
prefix length.
For example, 100:100:53/36 is a valid RT--MEM-NLRI.
3.
Remote peers of Router A use the route-target membership advertised by Router
A to filter their VPN routes that are outbound to Router A. A peer advertises a
VPN route to Router A only when one of the following conditions is true
■
Router A advertised a default route-target membership.
■
Router A advertised membership in any of the route targets associated with
the VPN route.
4.
Router A then receives and processes the RT-MEM-NLRI attributes sent by its
peers to determine which VPN routes it advertises to the peers.
BGP speakers advertise and withdraw the RT-MEM-NLRI attribute in MP-BGP update
messages. BGP speakers ignore RT-MEM-NLRI attributes received from peers that
have not successfully negotiated this capability with the speaker.
If dynamic negotiation for the route-refresh capability is enabled, BGP negotiates the
route-refresh capability for the RT-MEM-AFI-SAFI address family when a peer is
activated in that family. As a consequence, you can use the
clear ip bgp soft
command to refresh the RT-MEM-NLRI routes in the BGP speaker’s Adj-RIBs-Out
table.
Constraining Route Distribution with Route-Target Filtering
■
405
Chapter 5: Configuring BGP-MPLS Applications
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...