Internet Draft
Network Working Group Yakov Rekhter
Internet Draft Eric C. Rosen
Expiration Date: July 2000 Cisco Systems, Inc.
January 2000
Carrying Label Information in BGP-4
draft-ietf-mpls-bgp4-mpls-04.txt
Status of this Memo
This document is an Internet-Draft and is in full conformance with
all provisions of Section 10 of RFC2026.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet-
Drafts.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html.
Abstract
When BGP is used to distribute a particular route, it can be also be
used to distribute an MPLS label which is mapped to that route
[MPLS-ARCH]. This document specifies the way in which this is done.
The label mapping information for a particular route is piggybacked
in the same BGP Update message that is used to distribute the route
itself.
Rekhter & Rosen [Page 1]
Internet Draft draft-ietf-mpls-bgp4-mpls-04.txt January 2000
Table of Contents
1 Specification of Requirements .......................... 2
2 Overview ............................................... 2
3 Carrying Label Mapping Information ..................... 3
4 Advertising Multiple Routes to a Destination ........... 4
5 Capability Negotiation ................................. 5
6 When the BGP Peers are not Directly Adjacent ........... 5
7 Security Considerations ................................ 6
8 Acknowledgments ........................................ 7
9 References ............................................. 7
10 Author Information ..................................... 7
1. Specification of Requirements
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in RFC 2119.
2. Overview
When BGP is used to distribute a particular route, it can also be
used to distribute an MPLS label that is mapped to that route [MPLS-
ARCH]. This document specifies the way in which this is done. The
label mapping information for a particular route is piggybacked in
the same BGP Update message that is used to distribute the route
itself.
This can be useful in the following situations:
- If two immediately adjacent Label Switched Routers (LSRs) are
also BGP peers, then label distribution can be done without the
need for any other label distribution protocol.
- Suppose one's network consists of two "classes" of LSR: exterior
LSRs, which interface to other networks, and interior LSRs, which
serve only to carry traffic between exterior LSRs. Suppose that
the exterior LSRs are BGP speakers. If the BGP speakers
distribute MPLS labels to each other along with each route they
distribute, then as long as the interior routers support MPLS,
they need not receive any of the BGP routes from the BGP
Rekhter & Rosen [Page 2]
Internet Draft draft-ietf-mpls-bgp4-mpls-04.txt January 2000
speakers.
If exterior router A needs to send a packet to destination D, and
A's BGP next hop for D is exterior router B, and B has mapped
label L to D, then A first pushes L onto the packet's label
stack. A then consults its IGP to find the next hop to B, call
it C. If C has distributed to A an MPLS label for the route to
B, A can push this label on the packet's label stack, and then
send the packet to C.
If a set of BGP speakers are exchanging routes via a Route Reflector
[BGP-RR], then by piggybacking the label distribution on the route
distribution, one is able to use the Route Reflector to distribute
the labels as well. This improves scalability quite significantly.
Note that if the Route Reflector is not in the forwarding path, it
need not even be capable of forwarding MPLS packets.
Label distribution can be piggybacked in the BGP Update message by
using the BGP-4 Multiprotocol Extensions attribute [RFC 2283]. The
label is encoded into the NLRI field of the attribute, and the SAFI
("Subsequent Address Family Identifier") field is used to indicate
that the NLRI contains a label. A BGP speaker may not use BGP to
send labels to a particular BGP peer unless that peer indicates,
through BGP Capability Negotiation, that it can process Update
messages with the specified SAFI field.
3. Carrying Label Mapping Information
Label mapping information is carried as part of the Network Layer
Reachability Information (NLRI) in the Multiprotocol Extensions
attributes. The AFI indicates, as usual, the address family of the
associated route. The fact that the NLRI contains a label is
indicated by using SAFI value 4 [assignment to be confirmed by IANA].
The Network Layer Reachability information is encoded as one or more
triples of the form