10-24-2018 01:24 AM - edited 03-08-2019 04:27 PM
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
10-24-2018 01:25 AM
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?
10-24-2018 01:43 AM
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
10-24-2018 02:11 AM
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?
10-24-2018 02:19 AM
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
10-24-2018 02:22 AM
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.
10-24-2018 04:00 AM
No, default information will send 0.0.0.0 route to OSPF neighbors, it will not redistribute it....
10-24-2018 04:08 AM
Hi Georg,
Could you please advice is default information originate always will propogate the default route in OSPF domain in Nexus 7706?
10-24-2018 04:14 AM
Hello,
yes it does. Below is the link to the command reference:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide