Configuring a stub area

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the ip router-id command to specify the router ID.
    device(config) ip router-id 10.4.4.4
  3. Enter the ipv6 router ospf command to enter OSPFv3 router configuration mode and enable OSPFv3 on the device.
    device(config)# ipv6 router ospf
  4. Enter the area stub command and specify a metric value.
    device(config-ipv6-router-ospf-vrf-default-vrf)# area 4 stub 100
    Area 4 is defined as a stub area with an additional cost of 100.

The following example sets an additional cost of 100 on a stub area defined as 4.

device# configure terminal
device(config)# ip router-id 10.4.4.4 
device(config)# ipv6 router ospf 
device(config-ipv6-router-ospf-vrf-default-vrf)# area 4 stub 100