Assigning OSPFv3 areas
Areas can be assigned as OSPFv3 areas.
Enable IPv6 on each interface on which you plan to enable OSPFv3. You enable IPv6 on an interface by configuring an IP address or explicitly enabling IPv6 on that interface.
Note: For the ICX 7150, a maximum of 4 OSPF areas is supported for each OSPF instance.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
ip router-idcommand to specify the router ID. - Enter the
ipv6 router ospfcommand to enter OSPFv3 router configuration mode and enable OSPFv3 on the device. - Enter the
areacommand to define an OSPFv3 area ID. - Enter the
areacommand to define a second OSPFv3 area ID.
The following example assigns an OSPFv3 ID to two areas. One of the areas is assigned by decimal number. The second area is assigned by IP address.
device# configure terminal device(config)# ip router-id 10.11.12.13 device(config)# ipv6 router ospf device(config-ospf6-router)# area 0 device(config-ospf6-router)# area 10.1.1.1