Model Interfaces: OSPF
The following sections discuss the topics necessary for interfacing with the OSPF model:
- Packet Formats
- ICI Formats
Packet Formats
The following table lists the packet formats used in the OSPF model suite. Each packet format corresponds to an OSPF Message, as described below.
Table 175: OSPF Packet Formats
| Name | Message Type | Description |
|---|---|---|
ospf_hello_v2ospf_hello_v3 |
Hello | Hello messages are sent periodically on all OSPF interfaces in order to establish and maintain neighbor relationships. Hello messages are multicast on networks having multicast or broadcast capability, allowing dynamic discovery of routers on these networks. |
ospf_dbase_desc_v2 |
Database Description | Database Description packets are exchanged when an adjacency is formed. These packets describe the contents of the Topological Database. |
ospf_ls_request_v2 |
Link State Request | Link State Requests are used to request link state advertisements so that a router can synchronize its topological database with its neighbor. |
ospf_ls_update_v2ospf_ls_update_v3 |
Link State Update | Link State Updates carry one or more link state advertisements. These messages may be sent as part of database synchronization with a neighbor (in response to a Link State Request) or as part of flooding advertisements to an area. |
ospf_ls_ack_v2 |
Link State Acknowledgement | The communication of link state advertisements is reliable; advertisements are explicitly acknowledged through Link State Acknowledgments. The format is similar to a Database Description message in that the message contains a list of advertisement headers. |
ICI Formats
The following table lists the interface control information (ICI) formats used in the OSPF model suite.
Table 176: OSPF ICI Formats
| Name | Description |
|---|---|
ip_encap_req_v4 |
Used to communicate to IP the destination address and interface on which to send an IP multicast. |
ip_encap_ind_v4 |
Used to determine the source address and the local IP interface on which the packet has arrived. |