Bgp Next-Hop-Self - Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Junose software for e series routing platforms
Table of Contents

Advertisement

neighbor send-label
set mpls-label

BGP Next-Hop-Self

When a BGP router reports itself as the next hop, whether because of an explicit
neighbor next-hop-self configuration or implicitly as a result of participating in an
EBGP session, BGP allocates a new in label and adds an entry to the MPLS forwarding
table, creating a label-to-next-hop mapping.
When a BGP router does not report itself as the next hop, whether because of an
explicit neighbor next-hop-unchanged configuration or implicitly as a result of a
participating in an IBGP session, BGP does not allocate a new in label. Instead, if the
route is advertised as a labeled route, BGP uses the existing out label. This feature is
used mainly on route reflectors.
The determination to allocate an in label is made only after the outbound route map
has been processed. Therefore, the in label allocation and the creation of the
label-to-next-hop mapping are performed after the need is apparent, conserving the
number of in labels allocated.
Example
host1:pe1(config-route-map)#match mpls-label
Use the no version to remove the configuration.
See match mpls-label.
Use to configure a BGP peer to distribute an MPLS label with the advertisements
for its IPv4 and IPv6 routes.
This command enables BGP to dynamically negotiate SAFI 1 and SAFI 4 with
this neighbor.
Example
host1(config-router-af)#neighbor 10.19.1.2 send-label
Use the no version to halt distribution of the MPLS label with route
advertisements.
See neighbor send-label.
Use to configure BGP to advertise prefixes that match the route map as labeled
prefixes.
Example
host1:pe1(config-route-map)#set mpls-label
Use the no version to remove the configuration.
See set mpls-label.
Chapter 5: Configuring BGP-MPLS Applications
Configuring BGP VPN Services
459

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents