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

OSPFv3 LSA (ospfv3_lsa)

  • Layer: L3 (network)
  • Header: 20 octets (fixed)

Reached from

Lower layerSelectorValue
ospfv3_lsunum_lsas(any other value)

Fields

FieldTypeDefaultAutoDescription
ls_ageuint(16)0Time since the LSA was originated, in seconds (keep 0 for an exact Auto checksum).
ls_typeenum(16)8193 (router)Protocol number of the next layer (see Next layer)LSA function code with U / S scope bits (Auto from the LSA body layer).
link_state_iduint(32)0Link State ID identifying the described part of the network.
advertising_routeripv4192.0.2.1Router ID of the router that originated the LSA.
ls_sequenceuint(32)2147483649LSA sequence number (0x80000001 = initial).
ls_checksumuint(16)Fletcher checksum over the header and everything after it; ls_age counted as zeroFletcher checksum of the LSA without LS age (Auto).
lengthuint(16)Length of the header and payload in octetsLength of the LSA including its header, in octets (Auto).

ls_type

ValueName
8193 (0x2001)router
8194 (0x2002)network
8195 (0x2003)inter_area_prefix
8196 (0x2004)inter_area_router
16389 (0x4005)as_external
8199 (0x2007)nssa
8 (0x0008)link
8201 (0x2009)intra_area_prefix

Next layer

The next layer is selected by ls_type; when the field is Auto the builder writes the value of the protocol stacked above.

ValueProtocolNote
8193 (0x2001)ospfv3_router_lsa
8194 (0x2002)ospfv3_network_lsa
8195 (0x2003)ospfv3_inter_area_prefix_lsa
16389 (0x4005)ospfv3_as_external_lsa
8199 (0x2007)ospfv3_as_external_lsa
8 (0x0008)ospfv3_link_lsa
8201 (0x2009)ospfv3_intra_area_prefix_lsa

Sample templates