A new L2 Bundle Member Attributes sub-TLV is introduced to advertise L2 bundle member attributes in both OSPFv2 and OSPFv3. In the case of OSPFv2, this sub-TLV is an optional sub-TLV of the OSPFv2 Extended Link TLV that is used to describe link attributes via the OSPFv2 Extended Link Opaque LSA (Link State Advertisement) [
RFC 7684]. In the case of OSPFv3, this sub-TLV is an optional sub-TLV of the Router-Link TLV of the OSPFv3 E-Router-LSA [
RFC 8362].
When the OSPF adjacency is associated with an L2 bundle interface, this sub-TLV is used to advertise the underlying L2 bundle member links along with their respective link attributes. The inclusion of this information implies that the identified link is a member of the L2 bundle associated with an OSPF L3 link and that the member link is operationally up. Therefore, advertisements of member links
MUST NOT be done when the member link becomes operationally down or is no longer a member of the identified L2 bundle.
The advertisement of the L2 Bundle Member Attributes sub-TLV may be asymmetric for an OSPF link, depending on the underlying L2 connectivity, i.e., advertised by the router on only one end.
The L2 Bundle Member Attributes sub-TLV has the following format:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| L2 Bundle Member Descriptor |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Member Link Attribute sub-TLVs (variable) //
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Where:
-
Type:
-
24 for OSPFv2 and 29 for OSPFv3
-
Length:
-
The total length (in octets) of the value portion of the TLV including nested sub-TLVs.
-
L2 Bundle Member Descriptor:
-
A 4-octet link-local identifier for the member link. This identifier is described as "link local identifier" in [RFC 4202] and used as "Local Interface ID" in [RFC 8510].
Link attributes for L2 bundle member links are advertised as sub-TLVs of the L2 Bundle Member Attributes sub-TLV.
In the case of OSPFv2, the L2 Bundle Member Attributes sub-TLV shares the sub-TLV space of the Extended Link TLV, and the sub-TLVs of the Extended Link TLV
MAY be used to describe the attributes of the member link.
Table 1 lists sub-TLVs and their applicability for L2 bundle member links. The sub-TLVs that are not applicable
MUST NOT be used as sub-TLVs for the L2 Bundle Member Attributes sub-TLV. Specifications that introduce new sub-TLVs of the Extended Link TLV
MUST indicate their applicability to the L2 Bundle Member Attributes sub-TLV. Typically, attributes that have L3 semantics would not be applicable, but L2 attributes would apply. An implementation
MUST ignore any sub-TLVs received that are not applicable in the context of the L2 Bundle Member Attributes sub-TLV.
Value |
Description |
Applicability |
1 |
SID/Label |
N |
2 |
Adj-SID |
Y |
3 |
LAN Adj-SID/Label |
Y |
4 |
Network-to-Router Metric |
N |
5 |
RTM Capability |
N |
6 |
OSPFv2 Link MSD |
N |
7 |
Graceful-Link-Shutdown |
N |
8 |
Remote IPv4 Address |
N |
9 |
Local/Remote Interface ID |
N |
10 |
Application-Specific Link Attributes |
Y |
11 |
Shared Risk Link Group |
Y |
12 |
Unidirectional Link Delay |
Y |
13 |
Min/Max Unidirectional Link Delay |
Y |
14 |
Unidirectional Delay Variation |
Y |
15 |
Unidirectional Link Loss |
Y |
16 |
Unidirectional Residual Bandwidth |
Y |
17 |
Unidirectional Available Bandwidth |
Y |
18 |
Unidirectional Utilized Bandwidth |
Y |
19 |
Administrative Group |
Y |
20 |
Extended Administrative Group |
Y |
22 |
TE Metric |
Y |
23 |
Maximum Link Bandwidth |
Y |
24 |
L2 Bundle Member Attributes |
N |
Table 1: Applicability of OSPFv2 Link Attribute Sub-TLVs for L2 Bundle Members
Applicability:
-
Y:
-
This sub-TLV MAY appear in the L2 Bundle Member Attributes sub-TLV.
-
N:
-
This sub-TLV MUST NOT appear in the L2 Bundle Member Attributes sub-TLV.
In the case of OSPFv3, the L2 Bundle Member Attributes sub-TLV shares the sub-TLV space of the Router-Link TLV, and the sub-TLVs of the Router-Link TLV
MAY be used to describe the attributes of the member link.
Table 2 lists sub-TLVs that are applicable to the Router-Link TLV and their applicability for L2 bundle member links. The sub-TLVs that are not applicable
MUST NOT be used as sub-TLVs for the L2 Bundle Member Attributes sub-TLV. Specifications that introduce new sub-TLVs of the Router-Link TLV
MUST indicate their applicability to the L2 Bundle Member Attributes sub-TLV. An implementation
MUST ignore any sub-TLVs received that are not applicable in the context of the L2 Bundle Member Attributes sub-TLV.
Value |
Description |
Applicability |
1 |
IPv6-Forwarding-Address |
X |
2 |
IPv4-Forwarding-Address |
X |
3 |
Route-Tag |
X |
4 |
Prefix SID |
X |
5 |
Adj-SID |
Y |
6 |
LAN Adj-SID |
Y |
7 |
SID/Label |
N |
8 |
Graceful-Link-Shutdown |
N |
9 |
OSPFv3 Link MSD |
N |
11 |
Application-Specific Link Attributes |
Y |
12 |
Shared Risk Link Group |
Y |
13 |
Unidirectional Link Delay |
Y |
14 |
Min/Max Unidirectional Link Delay |
Y |
15 |
Unidirectional Delay Variation |
Y |
16 |
Unidirectional Link Loss |
Y |
17 |
Unidirectional Residual Bandwidth |
Y |
18 |
Unidirectional Available Bandwidth |
Y |
19 |
Unidirectional Utilized Bandwidth |
Y |
20 |
Administrative Group |
Y |
21 |
Extended Administrative Group |
Y |
22 |
TE Metric |
Y |
23 |
Maximum Link Bandwidth |
Y |
24 |
Local Interface IPv6 Address |
N |
25 |
Remote Interface IPv6 Address |
N |
26 |
Flexible Algorithm Prefix Metric (FAPM) |
X |
27 |
Prefix Source OSPF Router-ID |
X |
28 |
Prefix Source Router Address |
X |
29 |
L2 Bundle Member Attributes |
N |
33 |
OSPF Flexible Algorithm ASBR Metric |
X |
Table 2: Applicability of OSPFv3 Link Attribute Sub-TLVs for L2 Bundle Members
Applicability:
-
Y:
-
This sub-TLV MAY appear in the L2 Bundle Member Attributes sub-TLV.
-
N:
-
This sub-TLV MUST NOT appear in the L2 Bundle Member Attributes sub-TLV.
-
X:
-
This is not a sub-TLV of the Router-Link TLV; it MUST NOT appear in the L2 Bundle Member Attributes sub-TLV.