This procedure specifies the cost for the default summary route sent into a stub or NSSA.
SEFOS# configure terminal
SEFOS(config)# router ospf
SEFOS(config-router)# router-id 10.10.2.1
SEFOS(config-router)# network 10.4.0.1 area 0.0.0.0 SEFOS(config-router)# network 10.10.2.1 area 0.0.0.6
SEFOS(config-router)# area 0.0.0.6 nssa
SEFOS(config-router)# area 0.0.0.6 default-cost 50