cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
440
Views
0
Helpful
3
Replies

RIPv2 - Suppress static route being advertised

mickd08
Level 1
Level 1

Hello,

Per below, I am advertising a route to a loopback interface (1.1.1.1).

The issue I am having is that the default route is also being advertised which I want to suppress.

I do not have default-route-originate configured.

 

Sep 21 07:22:25.177: RIP: build update entries
*Sep 21 07:22:25.177: 0.0.0.0/0 via 0.0.0.0, metric 1, tag 0 (Can I prevent this line being sent)
*Sep 21 07:22:25.177: 1.1.1.1/32 via 0.0.0.0, metric 1, tag 0
*Sep 21 07:22:54.760: RIP: sending v2 update to 224.0.0.9 via FastEthernet4 (192.168.10.1)

 

Is there a way I can suppress the default route being sent ?

 

router rip
version 2
passive-interface Loopback1
network 192.168.10.0
network 1.0.0.0
no auto-summary

 

3 Replies 3

Hello,

 

post the full config of your router as well as the output of 'show ip route'...

Per the trailing bug report below, I have discovered that the problem is with the Cisco IOS we are using.
I have confirmed this by issuing the command default-information originate and then negating the command with no default-information originate. Once done I no longer see the default route being advertised.
 
Is there a way I can ensure that these 2 commands are always written in the startup-config?  I realize that I can modify the startup-config in a text editor and then copy it to the router, but then if a write command is issued to the router, those two commands will disappear from the config.
 
router rip
version 2
passive-interface Loopback1
network 192.168.10.0
network 1.0.0.0
default-information originate
no default-information originate
no auto-summary
 
 
Cisco BUG CSCvd13306
"no default-information originate" doesn't work unless "default-information originate" is added first
 
Symptom:
Even without "default-information originate" command default route is seen in RIP database.

Conditions:
Issue is seen with c2900-universalk9-mz.SPA.156-2.T1.bin. It is not seen in c2900-universalk9-mz.SPA.155-3.M5.bin

Workaround:
None

Hello

 


@mickd08 wrote:
Is there a way I can ensure that these 2 commands are always written in the startup-config?
Cisco BUG CSCvd13306
"no default-information originate" doesn't work unless "default-information originate" is added first
Workaround:
None

Yes...upgrade IOS. 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card