IP Networking Configuration
Configuration Guide 116 Document #: LTRT-31657
20.3 OSPFv3 Routing Protocol
Open Shortest Path First (OSPF) is a dynamic routing protocol from the Link-State family,
basing its routing decisions on the bandwidth parameter using the Dijkstra Algorithm. The
protocol establishes adjacencies with other OSPF routers to which it is connected, and
maintains detailed topology and routing tables. OSPF provides fast network convergence
and great scalability. The version of the protocol that is being used is OSPFv3 (RFC 5340).
Note: OSPFv3 is called OSPF6 in Linux and therefore, commands that are written as
ospf6. OSPFv3 and OSPF6 are synonymous.
20.3.1 Configuring OSPF
The following describes the commands for configuring OSPF.
20.3.1.1 Router-Configuration Level
Command Description
Enters the data configuration menu.
(config-data)# router ospf6
Enters the OSPF6 configuration mode.
20.3.1.2 OSPF6 Router Level
Command Description
Configured area parameters.
(config-router)# interface
interface area A.B.C.D
Enables routing on an IPv6 interface and defines
IPv4-formatted area to interface.
(conf-router)# redistribute
Redistributes routes from other protocols.
20.3.1.3 Main options for Interface-Configuration Level
Command Description
(config-data)# interface
gigabitethernet 0/0
Enters the interface configuration menu.
(config-if-GE 0/0)# ipv6 ospf6
advertise
(config-if-GE 0/0)# ipv6 ospf6
passive
Passive interface in listen mode only.
cost
Configures the OSPF6 cost for the specified
interface.