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 Extended Link LSA (ospfv2_ext_link_lsa)

Reached from

Lower layerSelectorValue
ospfv2_opaque_lsaopaque_type8 (0x08)

Fields

FieldTypeDefaultAutoDescription
tlvstlv — rest of the PDU1 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)extended_linklink_type, reserved, link_id, link_data, sub_tlvs
FieldTypeDefaultAutoDescription
link_typeenum(8)
reserveduint(24)
link_idipv4
link_dataipv4
sub_tlvstlv — rest of the PDU
ValueName
1 (0x01)point_to_point
2 (0x02)transit
3 (0x03)stub
4 (0x04)virtual
  • 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
2 (0x0002)adj_sidflags, reserved, mt_id, weight, label; when the value is 7 octets
2 (0x0002)adj_sid_indexflags, reserved, mt_id, weight, index; when the value is 8 octets
3 (0x0003)lan_adj_sidflags, reserved, mt_id, weight, neighbor_id, label; when the value is 11 octets
3 (0x0003)lan_adj_sid_indexflags, reserved, mt_id, weight, neighbor_id, index; when the value is 12 octets
FieldTypeDefaultAutoDescription
flagsflags(8)
reserveduint(8)
mt_iduint(8)
weightuint(8)
labeluint(24)

tlvs › extended_link › sub_tlvs › adj_sid › flags

BitMaskName
7128 (0x80)b
664 (0x40)v
532 (0x20)l
416 (0x10)g
38 (0x08)p
FieldTypeDefaultAutoDescription
flagsflags(8)
reserveduint(8)
mt_iduint(8)
weightuint(8)
indexuint(32)

tlvs › extended_link › sub_tlvs › adj_sid_index › flags

BitMaskName
7128 (0x80)b
664 (0x40)v
532 (0x20)l
416 (0x10)g
38 (0x08)p
FieldTypeDefaultAutoDescription
flagsflags(8)
reserveduint(8)
mt_iduint(8)
weightuint(8)
neighbor_idipv4
labeluint(24)

tlvs › extended_link › sub_tlvs › lan_adj_sid › flags

BitMaskName
7128 (0x80)b
664 (0x40)v
532 (0x20)l
416 (0x10)g
38 (0x08)p
FieldTypeDefaultAutoDescription
flagsflags(8)
reserveduint(8)
mt_iduint(8)
weightuint(8)
neighbor_idipv4
indexuint(32)

tlvs › extended_link › sub_tlvs › lan_adj_sid_index › flags

BitMaskName
7128 (0x80)b
664 (0x40)v
532 (0x20)l
416 (0x10)g
38 (0x08)p

Sample templates