Example

Routers 2 and 6 are configured as the ABRs between Area 1 and 0, and Router 4 as the ASBR. Router 2 is configured to set Area 1 as an NSSA, and Type 7 routes from the connected domain will be translated to Type 5 routes into the backbone.

ABR Router 2 will only translate Type 7 LSAs; static routes redistributed by router 4. Also, Router 2 will always translate, since it is configured to do so; Router 6 will not, since only one ABR will perform the translation for a given area.

Router 4 will be configured to redistribute static routes.

The following example provides the input required to configure the NSSA topology as displayed in OSPF NSSA Topology:

Router 6 (ABR)

Router 6(rw)->configure
Router 6(rw-config)->interface vlan 1
Router 6(rw-config-intf-vlan.0.1)->ipv6 address 2001:0:1:::1:1/64
Router 6(rw-config-intf-vlan.0.1)->ipv6 forwarding
Router 6(rw-config-intf-vlan.0.1)->ipv6 ospf 1 area 0.0.0.0
Router 6(rw-config-intf-vlan.0.1)->no shutdown
Router 6(rw-config-intf-vlan.0.1)->exit
Router 6(rw-config)->interface vlan 2
Router 6(rw-config-intf-vlan.0.2)->ipv6 address 2001:1:1::1:1/64
Router 6(rw-config-intf-vlan.0.2)->ipv6 forwarding
Router 6(rw-config-intf-vlan.0.2)->ipv6 ospf 1 area 0.0.0.1
Router 6(rw-config-intf-vlan.0.2)->no shutdown
Router 6(rw-config-intf-vlan.0.2)->exit
Router 6(rw-config)->ipv6 router ospf 1
Router 6(rw-config-ospfv3)->router-id 6.6.6.6
Router 6(rw-config-ospfv3)->area 1 nssa
Router 6(rw-config-ospfv3)->exit

Router 2 (ABR)

Router 2(rw)->configure
Router 2(rw-config)->interface vlan 1
Router 2(rw-config-intf-vlan.0.1)->ipv6 address 2001:0:1::2:1/64
Router 2(rw-config-intf-vlan.0.1)->ipv6 forwarding
Router 2(rw-config-intf-vlan.0.1)->ipv6 ospf 1 area 0.0.0.0
Router 2(rw-config-intf-vlan.0.1)->no shutdown
Router 2(rw-config-intf-vlan.0.1)->exit
Router 2(rw-config)->interface vlan 2
Router 2(rw-config-intf-vlan.0.2)->ipv6 address 2001:1:1::2:1/64
Router 2(rw-config-intf-vlan.0.2)->ipv6 forwarding
Router 2(rw-config-intf-vlan.0.2)->ipv6 ospf 1 area 0.0.0.1
Router 2(rw-config-intf-vlan.0.2)->no shutdown
Router 2(rw-config-intf-vlan.0.2)->exit
Router 2(rw-config)->ipv6 router ospf 1
Router 2(rw-config-ospfv3)->router-id 2.2.2.2
Router 2(rw-config-ospfv3)->area 1 nssa
Router 2(rw-config-ospfv3)->area 1 nssa transrole always
Router 2(rw-config-ospfv3)->area 1 nssa-range 2002:1:1::1/64
Router 2(rw-config-ospfv3)->exit

Router 4 (ASBR)

Router 4(rw)->configure
Router 4(rw-config)->interface vlan 2
Router 4(rw-config-intf-vlan.0.2)->ipv6 address 2001:1:1::2:2/64
Router 4(rw-config-intf-vlan.0.2)->ipv6 forwarding
Router 4(rw-config-intf-vlan.0.2)->ipv6 ospf 1 area 0.0.0.1
Router 4(rw-config-intf-vlan.0.1)->no shutdown
Router 4(rw-config-intf-vlan.0.1)->exit
Router 4(rw-config)->interface vlan 3
Router 4(rw-config-intf-vlan.0.3)->ipv6 address 2001:3:1::1:1/64
Router 4(rw-config-intf-vlan.0.3)->ipv6 forwarding
Router 4(rw-config-intf-vlan.0.3)->ipv6 ospf 1 area 0.0.0.1
Router 4(rw-config-intf-vlan.0.3)->no shutdown
Router 4(rw-config-intf-vlan.0.3)->exit
Router 4(rw-config)->ipv6 router ospf 1
Router 4(rw-config-ospfv3)->router-id 4.4.4.4
Router 4(rw-config-ospfv3)->redistribute static metric-type 1
Router 4(rw-config-ospfv3)->exit