cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1754
Views
0
Helpful
8
Replies

Static Default route redistribute into OSPF

Adnan Khan
Level 4
Level 4

Hi I want to redistribute statc default route into OSPF in Nexus 7706 but its asking through routemap?

 

can anyone give the syntax how i can redistribute default static route into ospf

 

ip route 0.0.0.0 0.0.0.0 192.168.1.1

8 Replies 8

Adnan Khan
Level 4
Level 4

Hi I want to redistribute statc default route into OSPF in Nexus 7706 but its asking through routemap?

 

can anyone give the syntax how i can redistribute default static route into ospf

 

ip route 0.0.0.0 0.0.0.0 192.168.1.1

 

do I also need to create access list and if yes what will be the syntax for this too?

Hello,

 

the below should do it:

 

ip prefix-list DEFAULT_PREFIX seq 5 permit 0.0.0.0/0
!
route-map DEFAULT_RM permit 10
match ip address prefix-list DEFAULT_PREFIX
!
router ospf 1
redistribute static route-map DEFAULT_RM
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1

Thank a lot Georg for quick reponse. Could you share the link form Cisco document for the same also

is "default information originate" can aslso work to advertise static default route into OSPF?

 

 

Yes, But I dont know about NEXUS, talking about normal router, it would generate default route to OSPF but only if it has default route in the RIB

but you can use #default-information originate always

 

I checked Default information originate command is available in Nexus under router ospf process so this can redistribute default static route in to ospf routing.

No, default information will send 0.0.0.0 route to OSPF neighbors, it will not redistribute it....

 

Hi Georg,

 

Could you please advice is default information originate always will propogate the default route in OSPF domain in Nexus 7706?