If default summary routes are selected, you can configure the cost for the default summary route that is sent to a stub area.
SEFOS# configure terminal
SEFOS(config)# ipv6 router ospf
SEFOS(config-router)# router-id 10.0.0.1
SEFOS(config-router)# area 0.0.0.6 stub
SEFOS(config-router)# area 0.0.0.6 default-metric 20 SEFOS(config-router)# end
SEFOS# show ipv6 ospf areas OSPFV3 AREA CONFIGURATION INFORMATION AreaId: 0.0.0.0 Area Type: NORMAL AREA Spf Calculation: 11 (times) Area Bdr Rtr Count: 0 As Bdr Rtr Count: 0 Area Summary: Send Summary AreaId: 0.0.0.6 Area Type: STUB AREA Spf Calculation: 11 (times) Area Bdr Rtr Count: 0 As Bdr Rtr Count: 0 Area Summary: Send Summary Stub Metric: 0x14 Stub Metric Type: 1