5

What is the OSPF Opaque LSA Option, exactly? In what case scenarios would someone use that? I just skimmed RFC 5250 and RFC 2370 but could not get the real world usage and how to set up.

8

Opaque LSA's are used to extend the capabilities of OSPF, and to allow for transmission of arbitrary data that OSPF does not necessarily need to care about. For example, if you were writing an application and you decided you wanted to use OSPF to transport the application's data but you did not want OSPF to use this data for its own purposes, ie route calculations.

There are three types of Opaque LSA's (in context of the subtype of the Opaque LSA, similar to other LSA types), which determine the scope of flooding of those LSA's:

  • Type 9 - link-local scope
  • Type 10 - area-local scope
  • Type 11 - AS scope

The Opaque LSA has 32 bits allocated for the Opaque Type (8 bits) and the Opaque ID (24 bits). There are (AFAIK) currently four Opaque types that have been allocated by the IANA:

  1. Traffic Engineering LSA - used for MPLS-TE
  2. Sycamore Optical Topology Descriptions - likely proprietary. I wasn't able to find much info on this, other than the fact that John Moy works for Sycamore.
  3. Grace LSA - used for OSPF graceful restart
  4. Router Information LSA - Intended (but not yet implemented AFAIK) to supplement the options field to allow for communication of optional capabilities between neighbors. Currently the options field is only 8 bits and there is only a single bit that can be used that just determines if a neighbor supports Opaque LSA's. This RI LSA would provide TLV values to signal support of up to 32 different capabilities between neighbors without needing to add more bits to the options field in the LSA.

In regards to practical application of the Opaque LSA, likely the most common implementation you'll see of this in the wild is in MPLS traffic engineering. In OSPF extensions for MPLS traffic engineering, Opaque LSA's are used to communicate traffic engineering interface parameters (such as maximum bandwidth, maximum reservable bandwidth, unreserved bandwidth, etc) throughout an area in order to populate the traffic engineering databases of the routers within the area.

As for "how to use it" - you shouldn't have to, unless you're writing code that you would need to use it. In terms of practical application on a routing platform, on platforms I have experience with, there's not a specific knob you need to turn that "enables" Opaque LSAs. These should be implicitly enabled if you implement something that has dependencies on them, such as MPLS.

| improve this answer | |
  • so you mean by using Opaque LSA Options, we could have an overlay network on top of OSPF? for example a we could implement some kinda Peer-2-Peer network on top of OSPF??? U mentioned MPLS, did you mean OSPF Opaque LSA use it by design,I mean when we configure MPLS,the software module of our process on our networking device use these fileds by design/by default? – Mjaryan May 6 '14 at 18:17
1

Just leaving the comment. As today, another use for the Opaque LSA is for Segment Routing with OSPF as the IGP.

| improve this answer | |
  • Did you mean to leave this as a comment instead of an answer? – jwbensley Apr 16 '17 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.