[SwitchC] ospf
[SwitchC-ospf-1] area 1
[SwitchC-ospf-1-area-0.0.0.1] nssa
[SwitchC-ospf-1-area-0.0.0.1] quit
[SwitchC-ospf-1] quit
NOTE:
• If Switch C in the NSSA area wants to obtain routes to other areas within the AS, configure the
nssa command with keyword default-route-advertise on Switch A (an ABR) so that Switch C
can obtain a default route.
• Hewlett Packard Enterprise recommends configuring the nssa command with keyword
no-summary on Switch A to reduce the routing table size on NSSA switches. On other NSSA
switches, you only need to configure the nssa command.
# Display OSPF routing information on Switch C.
[SwitchC] display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing for Network
Destination
0.0.0.0/0
10.2.1.0/24
10.4.1.0/24
Total Nets: 3
Intra Area: 2
Configure Switch C to redistribute static routes:
4.
[SwitchC] ip route-static 3.1.3.1 24 10.4.1.2
[SwitchC] ospf
[SwitchC-ospf-1] import-route static
[SwitchC-ospf-1] quit
# Display OSPF routing information on Switch D.
<SwitchD> display ospf routing
OSPF Process 1 with Router ID 10.5.1.1
Routing for Network
Destination
10.2.1.0/24
10.3.1.0/24
10.4.1.0/24
10.5.1.0/24
10.1.1.0/24
Routing for ASEs
Destination
Routing Tables
Cost
Type
65536
Inter
65535
Transit 10.2.1.2
3
Stub
Inter Area: 1
ASE: 0
Routing Tables
Cost
Type
22
Inter
10
Transit 10.3.1.2
25
Inter
10
Stub
12
Inter
Cost
Type
95
NextHop
AdvRouter
10.2.1.1
10.2.1.1
10.4.1.1
10.4.1.1
10.4.1.1
NSSA: 0
NextHop
AdvRouter
10.3.1.1
10.3.1.1
10.3.1.1
10.3.1.1
10.3.1.1
10.5.1.1
10.5.1.1
10.3.1.1
10.3.1.1
Tag
NextHop
Area
0.0.0.1
0.0.0.1
0.0.0.1
Area
0.0.0.2
0.0.0.2
0.0.0.2
0.0.0.2
0.0.0.2
AdvRouter