Configuring a (Totally) NSSA Area 115
Use the display ospf lsdb command on Switch C to display the LSDB. You can
see that no Type-4 LSAs or Type-5 LSAs exist in the LSDB. But Type-7 LSAs and
a Type-7 default LSA are installed.
Totally NSSA area configuration (area 1 is a totally NSSA area)
Based on the configuration in “Non-backbone area and backbone area
configuration (area 1 is a non-backbone area)” on page 107, perform the
following steps:
# Configure area 1 as a totally NSSA area.
[SwitchA-ospf-1-area-0.0.0.1] nssa no-summary
[SwitchC-ospf-1-area-0.0.0.1] nssa
nThe steps above configure a totally NSSA area.
Use the display ospf lsdb command on Switch C to display the LSDB. You can
see that no Type-3 LSAs, Type-4 LSAs, or Type-5 LSAs exist in the LSDB. But
Type-7 LSAs and a default Type-3 LSA are added.
Complete Configuration
nIn the following example, the ASBR of the NSSA area will forward all the packets
destined for other ASs. For the configurations in other cases, refer to
“Configuration Procedure” on page 112.
Perform the following configuration on Switch A.
#
vlan 100
#
vlan 200
#
interface Vlan-interface100
ip address 10.1.1.1 255.255.255.0
#
interface Vlan-interface200
ip address 10.2.1.1 255.255.255.0
#
ospf 1 router-id 1.1.1.1
area 0.0.0.1
network 10.2.1.0 0.0.0.255
nssa
#
area 0.0.0.0
network 10.1.1.0 0.0.0.255
#
Perform the following configuration on Switch B.
#
vlan 100
#
vlan 200
#
interface Vlan-interface100
ip address 10.1.1.2 255.255.255.0
#