Create the OSPFv3 instance and enter the OSPFv3 configuration context. From this context, you can proceed with other OSPFv3 configuration.
Prerequisites
You must be in the global configuration context, as indicated by the
switch(config)#
prompt to create the OSPFv3 instance and enter the OSPFv3 configuration context.
To configure a router ID, and other OSPFv3 configuration you must be in the OSPFv3 router configuration context, as indicated by the
switch(config-ospfv3-1 )#
prompt.
Procedure
-
Create the OSPFv3 instance and enter the OSPFv3 configuration context using the following command. For command details, see
router ospfv3.
router ospfv3
<instance-tag> [vrf
<vrf-name>]
For example, the following command creates OSPF instance 1.
switch(config)# router ospfv3 1
switch(config-ospfv3-1)#
-
Configure a global router ID using the following command. For command details, see
router-id.
router-id
<router_address>
For example, the following command sets the router ID to 1.1.1.1.
switch(config-ospfv3-1)# router-id 1.1.1.1
-
Optionally, if the OSPFv3 process was disabled (it is enabled by default), enable the OSPFv3 process using the following command.
enable
For command details, see
enable. (Refer to
disable for disabling the OSPFv3 process).