12-20-2011 08:43 PM - edited 03-04-2019 02:42 PM
I try to filter default route by command like that
default-information {in | out} {access-list-number | access-list-name}
I build a default route and redistribute static route in order that default route can be learnt by other eigrp routers. Then I try to filter default route by command default-information, but it does not work. I also use other method to advertise default route and also could not filter default route by this command.
How does this command use and why it could not be used to filter default route?
Thanks a lot
Martin
Solved! Go to Solution.
12-21-2011 06:07 PM
"No Default-information in" has no effect on an actual default route (0.0.0.0/0). It impacts routes with the candidate default bit set, which happens based on the "ip default-network x.x.x.x" command. Same word, but different meaning.
Sent from Cisco Technical Support iPad App
12-20-2011 11:23 PM
Hi Martin,
Do you want to prevent one of the eigrp neighbhors from learning the default route ?
did you use default information in ?
Can you post the exact configuration you made ?
To supress the candidate default route you need to use
no default-information in | out
12-21-2011 12:04 AM
R3(F1/0)---(F1/0)R1(F0/0)—(F0/0)R2
R1
interface FastEthernet0/0
ip address 192.168.12.1 255.255.255.0
!
interface FastEthernet1/0
ip address 192.168.13.1 255.255.255.0
!
router eigrp 1
redistribute static
network 192.168.0.0 0.0.255.255
!
ip route 0.0.0.0 0.0.0.0 192.168.13.3
R2
interface FastEthernet0/0
ip address 192.168.12.2 255.255.255.0
!
router eigrp 1
network 192.168.0.0 0.0.255.255
R3
interface FastEthernet1/0
ip address 192.168.13.3 255.255.255.0
!
router eigrp 1
network 192.168.0.0 0.0.255.255
!
R2 could learn default route from R1. I do not want R2 to learn this default route. So I try following two ways, but both of them do not work.
Method 1:
R1
router eigrp 1
no default-information out
method 2:
R2
router eigrp 1
no default-information in
12-21-2011 12:21 AM
have you reset the eigrp neighbor after implementing this command ?
Thanks
Ajay
12-21-2011 05:49 PM
clear ip eigrp 1 neighbor after no default-information in|out was implemented.
12-21-2011 06:07 PM
"No Default-information in" has no effect on an actual default route (0.0.0.0/0). It impacts routes with the candidate default bit set, which happens based on the "ip default-network x.x.x.x" command. Same word, but different meaning.
Sent from Cisco Technical Support iPad App
08-12-2017 12:47 PM
How do we filter an actual default route (0.0.0.0/0) then?
Matching it using 0.0.0.0/0 in a prefix-list does not work. What can we do to stop one neighbor from receiving this default route?
I have a setup with following topology:
R1 --- R2 ---- Provider --- R3
R2 has the following config:
I want R3 to receive the default route, but not R1.
Thanks,
Varun
08-12-2017 02:05 PM
I think I found my problem. I was using "permit 0.0.0.0/0" instead of "deny 0.0.0.0/0" in the prefix list to match the default route.
It's working now.
Thanks,
Varun
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