Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OSPFv2 Router Information LSA (ospfv2_ri_lsa)

Reached from

Lower layerSelectorValue
ospfv2_opaque_lsaopaque_type4 (0x04)

Fields

FieldTypeDefaultAutoDescription
tlvstlv — rest of the PDU4 itemsTLVs of the opaque LSA (16-bit type and length, values padded to 4 octets; lengths Auto).

tlvs

  • Type 16 bits, length 16 bits.
  • The length counts the value only.
  • Each item is zero-padded to a multiple of 4 octets (not counted in the length)
  • Unknown types are kept as raw value octets.
TypeNameValue fieldsDescription
1 (0x0001)informational_capabilitiescapabilities
2 (0x0002)functional_capabilitiescapabilities
7 (0x0007)hostnamehostname
8 (0x0008)sr_algorithmalgorithms
9 (0x0009)sid_label_rangerange_size, reserved, sub_tlvs
14 (0x000e)sr_local_blockrange_size, reserved, sub_tlvs
15 (0x000f)srms_preferencepreference, reserved

tlvs › informational_capabilities

FieldTypeDefaultAutoDescription
capabilitiesflags(32)
tlvs › informational_capabilities › capabilities
BitMaskName
312147483648 (0x80000000)graceful_restart
301073741824 (0x40000000)graceful_restart_helper
29536870912 (0x20000000)stub_router
28268435456 (0x10000000)traffic_engineering
27134217728 (0x08000000)p2p_over_lan
2667108864 (0x04000000)experimental_te

tlvs › functional_capabilities

FieldTypeDefaultAutoDescription
capabilitiesuint(32)

tlvs › hostname

FieldTypeDefaultAutoDescription
hostnamebytes — rest of the PDU

tlvs › sr_algorithm

FieldTypeDefaultAutoDescription
algorithmslist<uint(8)> — rest of the PDU

tlvs › sid_label_range

FieldTypeDefaultAutoDescription
range_sizeuint(24)
reserveduint(8)
sub_tlvstlv — rest of the PDU
tlvs › sid_label_range › sub_tlvs
  • Type 16 bits, length 16 bits.
  • The length counts the value only.
  • Each item is zero-padded to a multiple of 4 octets (not counted in the length)
  • Unknown types are kept as raw value octets.
TypeNameValue fieldsDescription
1 (0x0001)sid_labellabel; when the value is 3 octets
1 (0x0001)sid_label_indexindex; when the value is 4 octets
tlvs › sid_label_range › sub_tlvs › sid_label
FieldTypeDefaultAutoDescription
labeluint(24)
tlvs › sid_label_range › sub_tlvs › sid_label_index
FieldTypeDefaultAutoDescription
indexuint(32)

tlvs › sr_local_block

FieldTypeDefaultAutoDescription
range_sizeuint(24)
reserveduint(8)
sub_tlvstlv — rest of the PDU
tlvs › sr_local_block › sub_tlvs
  • Type 16 bits, length 16 bits.
  • The length counts the value only.
  • Each item is zero-padded to a multiple of 4 octets (not counted in the length)
  • Unknown types are kept as raw value octets.
TypeNameValue fieldsDescription
1 (0x0001)sid_labellabel; when the value is 3 octets
1 (0x0001)sid_label_indexindex; when the value is 4 octets
tlvs › sr_local_block › sub_tlvs › sid_label
FieldTypeDefaultAutoDescription
labeluint(24)
tlvs › sr_local_block › sub_tlvs › sid_label_index
FieldTypeDefaultAutoDescription
indexuint(32)

tlvs › srms_preference

FieldTypeDefaultAutoDescription
preferenceuint(8)
reserveduint(24)

Sample templates