Tip

This is the documentation for the 19.12 version. Looking for the documentation of the latest version? Have a look here.

OSPF6 Server ConfigurationΒΆ

To configure the OSPF6 server, start in config-frr-ospf6 mode and run the server command:

tnsr(config-frr-ospf6)# server
tnsr(config-ospf6)#

This changes into config-ospf6 mode, which contains the following commands:

area <area-id>:

Configures area-specific settings in OSPF6 Area Configuration mode.

Note

Currently OSPF6 only supports a single area, 0.0.0.0, but settings for that area are still configured using this command.

auto-cost reference-bandwidth <bw>:

A base value, in Mbit/s, which is used when OSPF6 automatically calculates cost values. The default value is 100 which means that an interface with 100Mbit/s of bandwidth or greater will have a cost of 1, with lower bandwidth values incurring higher cost values.

All routers in the same area should use the same value, otherwise automatic cost calculations would fail to accurately represent total path costs between routers.

distance [(external|inter-area|intra-area)] <dist>:

Sets an administrative distance for routes obtained via OSPF6. This can be configured globally as well as for specific types of OSPF6 routes.

external <dist>:

Sets the administrative distance for external OSPF6 routes.

inter-area <dist>:

Sets the administrative distance for OSPF6 routes between areas.

intra-area <dist>:

Sets the administrative distance for OSPF6 routes inside an area.

interface <if-name>:

Defines an interface for use with OSPF6, and enters OSPF6 Interface Configuration mode.

log-adjacency-changes [detail]:

Instructs the OSPF6 daemon to log changes in neighbor adjacencies. This is useful for tracking changes to neighbor relationships, especially during initial configuration.

The optional detail parameter increases the verbosity of the resulting log messages.

ospf router-id <router-id>:

Sets the router ID for the OSPF6 daemon. This is typically set to an IPv4 address unique to this router, and commonly is set to a local private address.

Note

Even though OSPF6 handles IPv6 routing, router IDs are still specified using IPv4 addresses in dotted quad notation.

redistribute <route-source> [route-map <map>]:

Enables redistribution of routes from another source. Available route sources are listed in Dynamic Routing Protocol Lists.

route-map <map>:

Apply the given route map to the redistributed route advertisements.

stub-router administrative:

Administratively declares this router as a stub router, having no external connections.

timers lsa min-arrival <min>:

The minimum time allowed between advertisements by neighbors, from 0-600000, in milliseconds. Default is 1000.

timers throttle spf (delay|initial-hold|maximum-hold) <val>:

Controls timers that determine when the router will make SPF routing decisions.

delay <val>:

Minimum time after an event occurs before allowing SPF calculation. Lower values will react faster to changes, but can be less stable. Specified in milliseconds from 0-600000, with a default value of 0.

initial-hold <val>:

Lowest time allowed between SPF calculations. Specified in milliseconds from 0-600000, with a default value of 50.

maximum-hold <val>:

Highest time allowed between SPF calculations. Specified in milliseconds from 0-600000, with a default value of 5000.

SPF calculations are adaptive, and if a new event occurs which would otherwise trigger a calculation before the hold timer expires, then the hold is increased by the initial-hold value, up to the specified maximum-hold. This avoids excessive consecutive recalculations.