Users Guide

The OSPFv3 ipv6 ospf area command enables OSPFv3 on the interface and places the interface in an area. With OSPFv2,
two commands are required to accomplish the same tasks — the router ospf command to create the OSPF process, then
the
network area command to enable OSPF on an interface.
NOTE: The OSPFv2 network area command enables OSPF on multiple interfaces with the single command. Use the
OSPFv3 ipv6 ospf area command on each interface that runs OSPFv3.
All IPv6 addresses on an interface are included in the OSPFv3 process that is created on the interface.
Enable OSPFv3 for IPv6 by specifying an OSPF process ID and an area in INTERFACE mode. If you have not created an OSPFv3
process, it is created automatically. All IPv6 addresses configured on the interface are included in the specified OSPF process.
NOTE: IPv6 and OSPFv3 do not support Multi-Process OSPF. You can only enable a single OSPFv3 process.
Enabling IPv6 Unicast Routing
To enable IPv6 unicast routing, use the following command.
Enable IPv6 unicast routing globally.
CONFIGURATION mode
ipv6 unicast routing
Assigning IPv6 Addresses on an Interface
To assign IPv6 addresses to an interface, use the following commands.
1 Assign an IPv6 address to the interface.
CONF-INT-type slot/port mode
ipv6 address ipv6 address
IPv6 addresses are normally written as eight groups of four hexadecimal digits; separate each group by a colon (:).
The format is A:B:C::F/128.
2 Bring up the interface.
CONF-INT-type slot/port mode
no shutdown
Assigning Area ID on an Interface
To assign the OSPFv3 process to an interface, use the following command.
The ipv6 ospf area command enables OSPFv3 on an interface and places the interface in the specified area. Additionally,
the command creates the OSPFv3 process with ID on the router. OSPFv2 requires two commands to accomplish the same
tasks — the router ospf command to create the OSPF process, then the network area command to enable OSPFv2 on an
interface.
NOTE
: The OSPFv2 network area command enables OSPFv2 on multiple interfaces with the single command. Use the
OSPFv3 ipv6 ospf area command on each interface that runs OSPFv3.
Assign the OSPFv3 process and an OSPFv3 area to this interface.
CONF-INT-type slot/port mode
ipv6 ospf process-id area area-id
Open Shortest Path First (OSPFv2 and OSPFv3) 643