Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Not able to get nssa routes into routing table

Hi all,

I am having the following need:

Consider there three routers

R1------area0-----R2-----area1-----R3

Area1 is nsssa.

In R3, I have the following configs:

router ospf 100

redistribute static

area 1 nssa

network 10.1.1.0/24 area 1

ip route 150.x.1.0/24 10.1.1.10 250

ip route 160.x.1.0/24 10.1.1.10 250

where 10.1.1.10 is R2's address .

I redistributed static routes into ospf (changed to metric of static routes so that nssa routes can get preferrence), in 'sh ip ospf database', I can see the nsa routes:

Type-7 AS External Link States (Area 0.0.0.1)

Link ID ADV Router Age Seq# Checksum Tag

150.1.1.0 101.101.101.20 1713 0x80000003 0x2AB0 0

160.1.1.0 101.101.101.20 1713 0x80000003 0xA729 0

But , in 'show ip route' , I can see only static routes

S 150.1.1.0 [250/0] via 10.1.1.10, 00:29:59, Gi0/0/3

160.1.0.0/24 is subnetted, 1 subnets

S 160.1.1.0 [250/0] via 10.1.1.10, 00:29:59, Gi0/0/3

Kindly, can some one explain on it. Isn't it possible to get nssa routes in the routing table ?

Thanks,

2 REPLIES
Cisco Employee

Re: Not able to get nssa routes into routing table

The ospf routes cannot replace the static routes they were created from on the redistributing router (R3). You should see the two routes being installed on R2 though, assuming there are not known via another routing protocol with a lower admin distance.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Hall of Fame Super Silver

Re: Not able to get nssa routes into routing table

Vijaybabu

I note that the static routes in the original post are configured as floating static routes with a high administrative distance. It is not clear why they are floating static routes but I suspect that it may have been an attempt to give them an administrative distance higher than OSPF so that the OSPF version of the routes would show up in the routing table. However when routes are redistributed they will not show up in the routing table as ospf routes but will show up as the originating protocol (in this case static).

And Harold is correct that if you want to know whether the redistribution is working you need to look in the routing table of R2.

HTH

Rick

118
Views
7
Helpful
2
Replies
CreatePlease to create content