OSPF for GMPLS: OSPF Extensions in Support of Generalized Multi-Protocol Label Switching (GMPLS)
The exact OSPF fields that let routers advertise optical and other non-packet links for GMPLS.
Kompella, K., Ed. and Y. Rekhter, Ed., "OSPF Extensions in Support of Generalized Multi-Protocol Label Switching (GMPLS)", RFC 4203, DOI 10.17487/RFC4203, October 2005, <https://www.rfc-editor.org/info/rfc4203>.
@misc{rfc4203,
series = {Request for Comments},
number = 4203,
howpublished = {RFC 4203},
publisher = {RFC Editor},
doi = {10.17487/RFC4203},
url = {https://www.rfc-editor.org/info/rfc4203},
author = {K. Kompella and Y. Rekhter},
title = {{OSPF Extensions in Support of Generalized Multi-Protocol Label Switching (GMPLS)}},
pagetotal = 11,
year = 2005,
month = oct,
} RFC text
Contents
Network Working Group K. Kompella, Ed.
Request for Comments: 4203 Y. Rekhter, Ed.
Updates: 3630 Juniper Networks
Category: Standards Track October 2005
OSPF Extensions in Support of
Generalized Multi-Protocol Label Switching (GMPLS)
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2005).
Abstract
This document specifies encoding of extensions to the OSPF routing
protocol in support of Generalized Multi-Protocol Label Switching
(GMPLS).
1. Introduction
This document specifies extensions to the OSPF routing protocol
[OSPF] in support of carrying link state information for Generalized
Multi-Protocol Label Switching (GMPLS). The set of required
enhancements to OSPF are outlined in [GMPLS-ROUTING].
In this section, we define the enhancements to the Traffic
Engineering (TE) properties of GMPLS TE links that can be announced
in OSPF TE LSAs. The TE LSA, which is an opaque LSA with area
flooding scope [OSPF-TE], has only one top-level Type/Length/Value
(TLV) triplet and has one or more nested sub-TLVs for extensibility.
The top-level TLV can take one of two values (1) Router Address or
(2) Link. In this document, we enhance the sub-TLVs for the Link TLV
in support of GMPLS. Specifically, we add the following sub-TLVs to
the Link TLV:
Sub-TLV Type Length Name
11 8 Link Local/Remote Identifiers
14 4 Link Protection Type
15 variable Interface Switching Capability Descriptor
16 variable Shared Risk Link Group
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 BCP 14, RFC 2119
[RFC2119].
1.1. Link Local/Remote Identifiers
Link Local/Remote Identifiers is a sub-TLV of the Link TLV. The type
of this sub-TLV is 11, and length is eight octets. The value field
of this sub-TLV contains four octets of Link Local Identifier
followed by four octets of Link Remote Identifier (see Section
"Support for unnumbered links" of [GMPLS-ROUTING]). If the Link
Remote Identifier is unknown, it is set to 0.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Link Local Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Link Remote Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
A node can communicate its Link Local Identifier to its neighbor
using a link local Opaque LSA, as described in Section "Exchanging
Link Local TE Information".
1.2. Link Protection Type
The Link Protection Type is a sub-TLV of the Link TLV. The type of
this sub-TLV is 14, and length is four octets.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Protection Cap | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The first octet is a bit vector describing the protection
capabilities of the link (see Section "Link Protection Type" of
[GMPLS-ROUTING]). They are:
0x01 Extra Traffic
0x02 Unprotected
0x04 Shared
0x08 Dedicated 1:1
0x10 Dedicated 1+1
0x20 Enhanced
0x40 Reserved
0x80 Reserved
The remaining three octets SHOULD be set to zero by the sender, and
SHOULD be ignored by the receiver.
The Link Protection Type sub-TLV may occur at most once within the
Link TLV.
1.3. Shared Risk Link Group (SRLG)
The SRLG is a sub-TLV (of type 16) of the Link TLV. The length is
the length of the list in octets. The value is an unordered list of
32 bit numbers that are the SRLGs that the link belongs to. The
format of the value field is as shown below:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Shared Risk Link Group Value |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ............ |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Shared Risk Link Group Value |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
This sub-TLV carries the Shared Risk Link Group information (see
Section "Shared Risk Link Group Information" of [GMPLS-ROUTING]).
The SRLG sub-TLV may occur at most once within the Link TLV.
1.4. Interface Switching Capability Descriptor
The Interface Switching Capability Descriptor is a sub-TLV (of type
15) of the Link TLV. The length is the length of value field in
octets. The format of the value field is as shown below:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Switching Cap | Encoding | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Max LSP Bandwidth at priority 0 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Max LSP Bandwidth at priority 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Max LSP Bandwidth at priority 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Max LSP Bandwidth at priority 3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Max LSP Bandwidth at priority 4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Max LSP Bandwidth at priority 5 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Max LSP Bandwidth at priority 6 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Max LSP Bandwidth at priority 7 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Switching Capability-specific information |
| (variable) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The Switching Capability (Switching Cap) field contains one of the
following values:
1 Packet-Switch Capable-1 (PSC-1)
2 Packet-Switch Capable-2 (PSC-2)
3 Packet-Switch Capable-3 (PSC-3)
4 Packet-Switch Capable-4 (PSC-4)
51 Layer-2 Switch Capable (L2SC)
100 Time-Division-Multiplex Capable (TDM)
150 Lambda-Switch Capable (LSC)
200 Fiber-Switch Capable (FSC)
The Encoding field contains one of the values specified in Section
3.1.1 of [GMPLS-SIG].
Maximum LSP Bandwidth is encoded as a list of eight 4 octet fields in
the IEEE floating point format [IEEE], with priority 0 first and
priority 7 last. The units are bytes (not bits!) per second.
The content of the Switching Capability specific information field
depends on the value of the Switching Capability field.
When the Switching Capability field is PSC-1, PSC-2, PSC-3, or PSC-4,
the Switching Capability specific information field includes Minimum
LSP Bandwidth, Interface MTU, and padding.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Minimum LSP Bandwidth |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface MTU | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The Minimum LSP Bandwidth is encoded in a 4 octets field in the IEEE
floating point format. The units are bytes (not bits!) per second.
The Interface MTU is encoded as a 2 octets integer. The padding is 2
octets, and is used to make the Interface Switching Capability
Descriptor sub-TLV 32-bits aligned. It SHOULD be set to zero by the
sender and SHOULD be ignored by the receiver.
When the Switching Capability field is L2SC, there is no Switching
Capability specific information field present.
When the Switching Capability field is TDM, the Switching Capability
specific information field includes Minimum LSP Bandwidth, an
indication whether the interface supports Standard or Arbitrary
SONET/SDH, and padding.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Minimum LSP Bandwidth |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Indication | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The Minimum LSP Bandwidth is encoded in a 4 octets field in the IEEE
floating point format. The units are bytes (not bits!) per second.
The indication whether the interface supports Standard or Arbitrary
SONET/SDH is encoded as 1 octet. The value of this octet is 0 if the
interface supports Standard SONET/SDH, and 1 if the interface
supports Arbitrary SONET/SDH. The padding is 3 octets, and is used
to make the Interface Switching Capability Descriptor sub-TLV 32-bits
aligned. It SHOULD be set to zero by the sender and SHOULD be
ignored by the receiver.
When the Switching Capability field is LSC, there is no Switching
Capability specific information field present.
To support interfaces that have more than one Interface Switching
Capability Descriptor (see Section "Interface Switching Capability
Descriptor" of [GMPLS-ROUTING]) the Interface Switching Capability
Descriptor sub-TLV may occur more than once within the Link TLV.
2. Implications on Graceful Restart
The restarting node should follow the OSPF restart procedures
[OSPF-RESTART], and the RSVP-TE restart procedures [GMPLS-RSVP].
When a restarting node is going to originate its TE LSAs, the TE LSAs
containing Link TLV should be originated with 0 unreserved bandwidth,
Traffic Engineering metric set to 0xffffffff, and if the Link has LSC
or FSC as its Switching Capability then also with 0 as Max LSP
Bandwidth, until the node is able to determine the amount of
unreserved resources taking into account the resources reserved by
the already established LSPs that have been preserved across the
restart. Once the restarting node determines the amount of
unreserved resources, taking into account the resources reserved by
the already established LSPs that have been preserved across the
restart, the node should advertise these resources in its TE LSAs.
In addition in the case of a planned restart prior to restarting, the
restarting node SHOULD originate the TE LSAs containing Link TLV with
0 as unreserved bandwidth, and if the Link has LSC or FSC as its
Switching Capability then also with 0 as Max LSP Bandwidth. This
would discourage new LSP establishment through the restarting router.
Neighbors of the restarting node should continue advertise the actual
unreserved bandwidth on the TE links from the neighbors to that node.
Regular graceful restart should not be aborted if a TE LSA or TE
topology changes. TE graceful restart need not be aborted if a TE
LSA or TE topology changes.
3. Exchanging Link Local TE Information
It is often useful for a node to communicate some Traffic Engineering
information for a given interface to its neighbors on that interface.
One example of this is a Link Local Identifier. If nodes X and Y are
connected by an unnumbered point-to-point interface I, then X's Link
Local Identifier for I is Y's Link Remote Identifier for I. X can
communicate its Link Local Identifier for I by exchanging with Y a TE
link local opaque LSA described below. Note that this information
need only be exchanged over interface I, hence the use of a link
local Opaque LSA.
A TE Link Local LSA is an opaque LSA of type 9 (link-local flooding
scope) with Opaque Type 1 (TE LSA) and Opaque ID of 0.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| LS age | Options | 9 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Opaque Type | Opaque ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Advertising Router |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| LS sequence number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| LS checksum | length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+- TLVs -+
| ... |
The format of the TLVs that make up the body of the TE Link Local LSA
is the same as that of the TE TLVs: a 2-octet Type field followed by
a 2-octet Length field which indicates the length of the Value field
in octets. The Top Level Type for the Link Local TLV is 4. The
Value field is zero-padded at the end to a four octet boundary.
The only TLV defined here is the Link Local Identifier TLV, with Type
1, Length 4 and Value the 32 bit Link Local Identifier for the link
over which the TE Link Local LSA is exchanged.
4. Contributors
Ayan Banerjee
Calient Networks
5853 Rue Ferrari
San Jose, CA 95138
Phone: +1.408.972.3645
EMail: abanerjee@calient.net
John Drake
Calient Networks
5853 Rue Ferrari
San Jose, CA 95138
Phone: +1.408.972.3720
EMail: jdrake@calient.net
Greg Bernstein
Ciena Corporation
10480 Ridgeview Court
Cupertino, CA 94014
Phone: +1.408.366.4713
EMail: greg@ciena.com
Don Fedyk
Nortel Networks Corp.
600 Technology Park Drive
Billerica, MA 01821
Phone: +1.978.288.4506
EMail: dwfedyk@nortelnetworks.com
Eric Mannie
Independent Consultant
EMail: eric_mannie@hotmail.com
Debanjan Saha
Tellium Optical Systems
2 Crescent Place
P.O. Box 901
Ocean Port, NJ 07757
Phone: +1.732.923.4264
EMail: dsaha@tellium.com
Vishal Sharma
Metanoia, Inc.
335 Elan Village Lane, Unit 203
San Jose, CA 95134-2539
Phone: +1.408.943.1794
EMail: v.sharma@ieee.org
5. Acknowledgements
The authors would like to thank Suresh Katukam, Jonathan Lang,
Quaizar Vohra, and Alex Zinin for their comments on the document.
6. Security Considerations
This document specifies the contents of Opaque LSAs in OSPFv2. As
Opaque LSAs are not used for SPF computation or normal routing, the
extensions specified here have no direct effect on IP routing.
Tampering with GMPLS TE LSAs may have an effect on the underlying
transport (optical and/or SONET-SDH) network. [OSPF-TE] suggests
mechanisms such as [OSPF-SIG] to protect the transmission of this
information, and those or other mechanisms should be used to secure
and/or authenticate the information carried in the Opaque LSAs.
7. IANA Considerations
The memo introduces four new sub-TLVs of the TE Link TLV in the TE
Opaque LSA for OSPF v2; [OSPF-TE] says that the sub-TLVs of the TE
Link TLV in the range 10-32767 must be assigned by Expert Review, and
must be registered with IANA.
The memo has four suggested values for the four sub-TLVs of the TE
Link TLV; it is strongly recommended that the suggested values be
granted, as there are interoperable implementations using these
values.
Finally, a new Top Level Type for OSPF TE LSAs for the Link Local TLV
has been allocated from the Standards Action space.
8. References
8.1. Normative References
[GMPLS-ROUTING] Kompella, K., Ed., and Y. Rekhter, Ed., "Routing
Extensions in Support of Generalized Multi-Protocol
Label Switching (GMPLS)", RFC 4202, October 2005.
[GMPLS-RSVP] Berger, L., "Generalized Multi-Protocol Label
Switching (GMPLS) Signaling Resource ReserVation
Protocol-Traffic Engineering (RSVP-TE) Extensions",
RFC 3473, January 2003.
[GMPLS-SIG] Berger, L., "Generalized Multi-Protocol Label
Switching (GMPLS) Signaling Functional Description",
RFC 3471, January 2003.
[IEEE] IEEE, "IEEE Standard for Binary Floating-Point
Arithmetic", Standard 754-1985, 1985 (ISBN 1-5593-
7653-8).
[OSPF] Moy, J., "OSPF Version 2", STD 54, RFC 2328, April
1998.
[OSPF-RESTART] Moy, J., Pillay-Esnault, P., and A. Lindem, "Graceful
OSPF Restart", RFC 3623, November 2003.
[OSPF-SIG] Murphy, S., Badger, M., and B. Wellington, "OSPF with
Digital Signatures", RFC 2154, June 1997.
[OSPF-TE] Katz, D., Kompella, K., and Yeung, D., "Traffic
Engineering (TE) Extensions to OSPF Version 2", RFC
3630, September 2003.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
Authors' Addresses
Kireeti Kompella
Juniper Networks, Inc.
1194 N. Mathilda Ave
Sunnyvale, CA 94089
EMail: kireeti@juniper.net
Yakov Rekhter
Juniper Networks, Inc.
1194 N. Mathilda Ave
Sunnyvale, CA 94089
EMail: yakov@juniper.net
Full Copyright Statement
Copyright (C) The Internet Society (2005).
This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at ietf-
ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
AI ELI5
On this page
§1Introduction and the New Sub-TLVs
RFC 4203 specifies how to carry link state information for Generalized Multi-Protocol Label Switching (GMPLS) in the OSPF routing protocol. The set of enhancements OSPF needs is outlined in a companion document, RFC 4202. This RFC supplies the encoding.
OSPF already advertises traffic engineering (TE) properties in a TE LSA, which is an opaque LSA with area flooding scope. That LSA has a single top-level TLV (Router Address, value 1, or Link, value 2) with nested sub-TLVs. This RFC adds four sub-TLVs to the Link TLV.
11, Link Local/Remote Identifiers, length 814, Link Protection Type, length 415, Interface Switching Capability Descriptor, variable length16, Shared Risk Link Group, variable length
OSPF already lets routers share a map of the network. This memo adds four new kinds of sticky note that routers can attach to a link on that map.
§1.1Link Local/Remote Identifiers
Sub-TLV type 11 is eight octets long. It holds a four-octet Link Local Identifier followed by a four-octet Link Remote Identifier, which is how a link without its own IP address (an unnumbered link) is named. If the remote identifier is not known yet, it is set to 0.
A node can tell its neighbor its own Link Local Identifier by using a link local Opaque LSA, described in the section on exchanging link local TE information below.
Each end of a road gives it a nickname. This note carries both nicknames, and if one end has not told the other yet, it writes zero.
| Field | Name | Size | Value | Description |
|---|---|---|---|---|
LOCAL-ID | Link Local Identifier | 4 bytes | The sender's identifier for the link. | |
REMOTE-ID | Link Remote Identifier | 4 bytes | The neighbor's identifier for the link; 0 if unknown. |
§1.2Link Protection Type and SRLG
The Link Protection Type sub-TLV (type 14, four octets) starts with one octet that is a bit vector of the link's protection capabilities: 0x01 Extra Traffic, 0x02 Unprotected, 0x04 Shared, 0x08 Dedicated 1:1, 0x10 Dedicated 1+1 and 0x20 Enhanced. The values 0x40 and 0x80 are reserved. The other three octets SHOULD be zero when sent and SHOULD be ignored on receipt. The sub-TLV may occur at most once in the Link TLV.
The Shared Risk Link Group sub-TLV (type 16) carries an unordered list of 32-bit numbers, one for each SRLG the link belongs to. Its length is the length of that list in octets. It also may occur at most once in the Link TLV.
One note says how a road is backed up if it breaks. Another lists which roads would all break together, for example because they cross the same bridge.
§1.4Interface Switching Capability Descriptor
Sub-TLV type 15 describes what kind of switching an interface can do. It begins with a one-octet Switching Capability, a one-octet Encoding (one of the values in Section 3.1.1 of RFC 3471) and two reserved octets. Then come eight 4-octet Maximum LSP Bandwidth fields, for priority 0 first through priority 7 last, in IEEE floating point format. The units are bytes, not bits, per second.
What follows depends on the Switching Capability value. For the packet types PSC-1 to PSC-4 it is a Minimum LSP Bandwidth, a 2-octet Interface MTU and 2 octets of padding. For TDM it is a Minimum LSP Bandwidth, a one-octet indication (0 for Standard SONET/SDH, 1 for Arbitrary SONET/SDH) and 3 octets of padding. For L2SC and LSC there is no extra information. The padding keeps the sub-TLV 32-bit aligned and SHOULD be zero when sent and ignored on receipt.
An interface with more than one switching capability may have more than one of these sub-TLVs in the Link TLV.
This note says what the road can carry, from small packets to whole beams of light, and how much of it is free at each priority level.
- 1PSC-1 — Packet-Switch Capable-1.
- 2PSC-2 — Packet-Switch Capable-2.
- 3PSC-3 — Packet-Switch Capable-3.
- 4PSC-4 — Packet-Switch Capable-4.
- 51L2SC — Layer-2 Switch Capable.
- 100TDM — Time-Division-Multiplex Capable.
- 150LSC — Lambda-Switch Capable.
- 200FSC — Fiber-Switch Capable.
§2Graceful Restart
A restarting node follows the OSPF restart procedures of RFC 3623 and the RSVP-TE restart procedures of RFC 3473. While it is still working out how much bandwidth is free after the restart, it should originate its Link TLV TE LSAs with 0 unreserved bandwidth and a TE metric of 0xffffffff. If the link's Switching Capability is LSC or FSC, it should also use 0 as the Max LSP Bandwidth.
Before a planned restart, the node SHOULD advertise 0 unreserved bandwidth (and 0 Max LSP Bandwidth for LSC or FSC links), which discourages new LSP setup through it. Its neighbors keep advertising the real unreserved bandwidth on their links toward it. A regular graceful restart should not be aborted when a TE LSA or the TE topology changes.
When a router reboots, it tells everyone its roads are full until it has checked, so no new traffic is sent its way by mistake.
§3Exchanging Link Local TE Information
Sometimes a node needs to tell only the neighbor on one interface about TE information. If X and Y share an unnumbered point-to-point interface I, X's Link Local Identifier for I is Y's Link Remote Identifier for I. X sends its identifier in a TE Link Local LSA, which is an opaque LSA of type 9 (link-local flooding scope) with Opaque Type 1 and Opaque ID 0.
The body uses the usual TE TLV format: a 2-octet type and a 2-octet length, with the value zero-padded to a four-octet boundary. The top-level type for the Link Local TLV is 4. The only TLV defined is the Link Local Identifier TLV, type 1, length 4, holding the 32-bit Link Local Identifier.
Some secrets are only for the neighbor across one road. This is a private note that is passed across that road and goes no further.
§6Security Considerations
The extensions live in Opaque LSAs in OSPFv2. Opaque LSAs are not used for SPF computation or normal routing, so they have no direct effect on IP routing. Tampering with GMPLS TE LSAs may, however, affect the underlying optical or SONET-SDH transport network.
The RFC points to RFC 3630, which suggests mechanisms such as OSPF with digital signatures (RFC 2154), and says these or other mechanisms should be used to secure and authenticate the information.
Nobody should be able to scribble on the map, because a wrong note could send real light beams down the wrong fibers.
§7IANA Considerations
The memo introduces four new sub-TLVs of the TE Link TLV. RFC 3630 says sub-TLVs in the range 10 to 32767 are assigned by Expert Review and must be registered with IANA. The RFC strongly recommends that the suggested values (11, 14, 15 and 16) be granted, because there are interoperable implementations using them.
A new top-level type for the Link Local TLV has been allocated from the Standards Action space.
The new note types need official numbers so that everyone uses the same ones.