Setting OSPFv3 network for the area

After you define an OSPFv3 area, you can assign one or more networks to it. The OSPFv3 protocol will run on the interface with the configured link-local ipv6 address. The interfaces that have an IPv6 address configured in this network or in a subset of this network will participate in the OSPFv3 protocol.

Prerequisites

Routing must be enabled on the interface where you are planning to enable OSPFv3.

You must be in the interface configuration context, as indicated by the switch(config-if)# prompt.

Procedure
  1. Set an OSPFv3 network for the area using the following command. For command details, see ipv6 <instance-tag> ospfv3 area.

    ipv6 ospfv3 <instance-tag> area <area-id>

    For example, use the following command to assign interface 1/1/1 to OSPFv3 area 1. The area can alternatively be entered in IO address format.
    switch(config)# interface 1/1/1
    switch(config-if)# ipv6 ospfv3 1 area 1
  2. Optionally, you can disable OSPFv3 on the interface using the following command. For command details, see ipv6 ospfv3 shutdown.

    ipv6 ospfv3 shutdown

    switch(config)# interface 1/1/1
    switch(config-if)# ipv6 ospfv3 shutdown