If you want the ABR that connects the NSSA to other areas to summarize the routes in the NSSA before translating them into type 5 LSAs and flooding them into the other areas, configure an address range summary-address. The ABR creates an aggregate value based on the address range. The aggregate value becomes the address that the ABR advertises instead of advertising the individual addresses represented by the aggregate. You can configure up to 32 ranges in an OSPFv2 area.
device# configure terminal
device(config)# router ospf
device(config-router-ospf-vrf-default-vrf)# area 10.1.1.1 nssa 10
device(config-router-ospf-vrf-default-vrf)# summary-address 10.10.1.0 10.10.2.0
The following example configures a summary-address in NSSA 10.1.1.1.
device# configure terminal device(config)# router ospf device(config-router-ospf-vrf-default-vrf)# area 10.1.1.1 nssa 10 device(config-router-ospf-vrf-default-vrf)# summary-address 10.10.1.0 10.10.2.0