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
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