H3C Technologies H3C SR8800 User Manual
Page 133
117
NOTE:
•
If Router C in the NSSA area wants to obtain routes to other areas within the AS, you must configure the
nssa command with the keyword default-route-advertise on Router A (an ABR) so that Router C can
obtain a default route.
•
Configuring the nssa command with the keyword no-summary on Router A to reduce the routing table
size on NSSA routers. On other NSSA routers, you only need to configure the nssa command.
# Display routing information on Router C
[RouterC] display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
0.0.0.0/0 1 Inter 10.2.1.1 10.2.1.1 0.0.0.1
10.2.1.0/24 1 Transit 10.2.1.2 10.2.1.1 0.0.0.1
10.4.1.0/24 1 Stub 10.4.1.1 10.4.1.1 0.0.0.1
Total Nets: 3
Intra Area: 2 Inter Area: 1 ASE: 0 NSSA: 0
4.
Configure Router C to redistribute static routes:
[RouterC] ip route-static 3.1.3.1 24 GigabitEthernet 1/1/2 10.4.1.2
[RouterC] ospf
[RouterC-ospf-1] import-route static
[RouterC-ospf-1] quit
# Display routing information on Router D.
<RouterD> display ospf routing
OSPF Process 1 with Router ID 10.5.1.1
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
10.2.1.0/24 3 Inter 10.3.1.1 10.3.1.1 0.0.0.2
10.3.1.0/24 1 Transit 10.3.1.2 10.3.1.1 0.0.0.2
10.4.1.0/24 4 Inter 10.3.1.1 10.3.1.1 0.0.0.2
10.5.1.0/24 1 Stub 10.5.1.1 10.5.1.1 0.0.0.2
10.1.1.0/24 2 Inter 10.3.1.1 10.3.1.1 0.0.0.2
Routing for ASEs
Destination Cost Type Tag NextHop AdvRouter
3.1.3.0/24 1 Type2 1 10.3.1.1 10.2.1.1
Total Nets: 6
Intra Area: 2 Inter Area: 3 ASE: 1 NSSA: 0