Configure Basic OSPFv3 Functions
Before configuring OSPFv3 functions, you must first enable the OSPFv3 protocol before the other functions can take effect.
Configuration Conditions
Before configuring the basic OSPFv3 functions, ensure that:
- The link layer protocol has been configured to ensure normal communication at the link layer.
- Enable the IPv6 forwarding functions
Enable OSPFv3
To enable OSPFv3, you must create an OSPFv3 process, specify the Router ID of the process, and enable the OSPFv3 protocol on the interface.
A device that runs the OSPFv3 protocol must have a Router ID, which is used to uniquely identify a device in an OSPFv3 AS. You must ensure that the Router ID is unique in an AS; otherwise, setup of neighbors and route learning are affected. In OSPFv3, you need to manually configure one Router ID of the IPv4 address format.
OSPFv3 supports multiple processes, and uses the process number to identify one process. Different processes are independent of each other and have no influence on each other.
Table 8-2 Enable the OSPFv3 protocol
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Create an OSPFv3 process and enter the OSPF configuration mode.
|
ipv6 router ospf process-id [vrf vrf-name ]
|
Mandatory.
Enable the OSPFv3 process or enable the OSPF process from VRF. By default, the OSPFv3 protocol is disabled.
If you enable OSPFv3 from VRF, the OSPFv3 process that belongs to a VRF can manage only interfaces under the VRF.
|
Configure the Router ID of the OSPFv3 process.
|
router-id ipv4-address
|
Mandatory
|
Return to the global configuration mode
|
exit
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Configure enabling the OSPFv3 protocol on the interface
|
ipv6 router ospf process-id area area-id [ instance-id instance-id ]
|
Mandatory
By default, the OPSFv3 protocol is disabled on the interface.
|