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 TE LSA (ospfv2_te_lsa)

Reached from

Lower layerSelectorValue
ospfv2_opaque_lsaopaque_type1 (0x01)

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)router_addressaddress
2 (0x0002)linksub_tlvs

tlvs › router_address

FieldTypeDefaultAutoDescription
addressipv4
FieldTypeDefaultAutoDescription
sub_tlvstlv — rest of the PDU
  • 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)link_typelink_type
2 (0x0002)link_idlink_id
3 (0x0003)local_addressaddresses
4 (0x0004)remote_addressaddresses
5 (0x0005)te_metricmetric
6 (0x0006)max_bandwidthbandwidth
7 (0x0007)max_reservable_bandwidthbandwidth
8 (0x0008)unreserved_bandwidthbandwidths
9 (0x0009)admin_groupgroups
FieldTypeDefaultAutoDescription
link_typeenum(8)

tlvs › link › sub_tlvs › link_type › link_type

ValueName
1 (0x01)point_to_point
2 (0x02)multi_access
FieldTypeDefaultAutoDescription
link_idipv4
FieldTypeDefaultAutoDescription
addresseslist<ipv4> — rest of the PDU
FieldTypeDefaultAutoDescription
addresseslist<ipv4> — rest of the PDU
FieldTypeDefaultAutoDescription
metricuint(32)
FieldTypeDefaultAutoDescription
bandwidthuint(32)
FieldTypeDefaultAutoDescription
bandwidthuint(32)
FieldTypeDefaultAutoDescription
bandwidthslist<uint(32)> — rest of the PDU
FieldTypeDefaultAutoDescription
groupsuint(32)

Sample templates