
OSPF
124
Note
Note that this does not yet offer OSPF via interfaces (e.g. tunnels) other than Ethernet.
19.2.3. Simple example setup
<ospf/>
Yes, that is all you need for an unauthenticated OSPF set up working on all Ethernet interfaces and announcing
all connected subnets!
19.2.4. <ospf> configelement
Table 19.1. OSPF config attributes
Attribute
Meaning
area-id
Area ID (default is backbone area 0.0.0.0)
router-id
Router ID (default is an IP address)
table
You need different OSPF entries for each routing table.
interfaces
You can lock a config to specific interfaces - the first matching config is used so you can
have multiple configurations for different interfaces and even a final default if you wish.
priority
Router priority setting - impacts choice of designated router on a network.
instance
OSPFv3 instance value.
password
OSPFv2 MD5 based password or simple authentication.
key-id
OSPFv2 MD5 key-id (or -1 for simple auth instead of MD5).
localpref
Base localpref for OSPF routes, to which a type 2 external value can be added (up to
16777216).
spi
The SPI to use for AH/ESP for OSPFv3 authentication
bgp
If OSPF routes are announced in to BGP (and what community tag applies).
Other settings define timeouts and logging, etc.
Note
For OSPFv3 authentication a manual keyed IPsec configuration much be defined for transport mode.