03-30-2023
07:10 AM
- last edited on
04-04-2023
11:36 PM
by
Translator
Hello.
Inside a C3850 switch 4 stack, I don't understand why the below static route is being redistributed. Please assist?...
#sh run | inc ip route 1.1.1.1
ip route 1.1.1.1 255.255.255.255 172.16.12.25
--
#sh ip route 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "static", distance 1, metric 0
Redistributing via eigrp 1
Routing Descriptor Blocks:
* 172.16.12.25
Route metric is 0, traffic share count is 1
--
#sh run | section eigrp
router eigrp 1
network 172.17.1.0 0.0.0.255
redistribute static route-map static-to-eigrp
passive-interface Vlan12
passive-interface Vlan13
eigrp router-id 192.168.1.2
router eigrp 2
network 172.16.5.0 0.0.0.255
auto-summary
route-map static-to-eigrp permit 10
match ip address 10
set metric 1500 1 255 1 1500
--
#sh access-lists 10
Standard IP access list 10 !! network 1.1.1.1 is not here !!!
10 permit 172.16.9.0 (3 matches)
20 permit 172.19.1.10
--
#sh route-map static-to-eigrp
route-map static-to-eigrp, permit, sequence 10
Match clauses:
ip address (access-lists): 10
Set clauses:
metric 1500 1 255 1 1500
Policy routing matches: 0 packets, 0 bytes
--
QUESTION: Why is below static route EIGRP redistributed?
#sh ip route 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "static", distance 1, metric 0
Redistributing via eigrp 1
Routing Descriptor Blocks:
* 172.16.12.25
Route metric is 0, traffic share count is 1
--
Thank you.
Solved! Go to Solution.
03-30-2023
02:52 PM
- last edited on
04-04-2023
11:58 PM
by
Translator
Thanks for the additional information. It is good to have confirmation that the route is not advertised to neighbors. So the routing protocol is doing exactly what it should.
It is unfortunate that the
show ip route
command seems to report something that is not accurate. But as I think about it I believe that there is a reason why it is this way.
show ip route
processes information in the routing table. And it knows that redistribution of static routes into eigrp is configured. So it reports that. The routing table logic has no way to know that as static routes are redistributed that there is a policy that limits which static routes are advertised to neighbors. The routing table logic knows that static routes are presented to eigrp for redistribution and reports that, but has no way to report which routes are actually advertised to neighbors.
03-30-2023
07:12 AM
- last edited on
04-04-2023
11:37 PM
by
Translator
route-map static-to-eigrp permit 10
match ip address prefix 1.1.1.1
set metric 1500 1 255 1 1500
ip prefix-list 1.1.1.1 seq 10 deny 1.1.1.1/32
ip prefix-list 1.1.1.1 seq 20 permit 0.0.0.0/0 le 32
03-30-2023
07:23 AM
- last edited on
04-04-2023
11:47 PM
by
Translator
Hi.
My question is not how to redistribute it, my question is why the output says
Redistributing via eigrp 1
My understanding is that it should NOT be redistributed right now. Am I misunderstanding what means
Redistributing via eigrp 1 ?
#sh ip route 1.1.1.1
Routing entry for 1.1.1.1/32
Known via "static", distance 1, metric 0
Redistributing via eigrp 1
Routing Descriptor Blocks:
* 172.16.12.25
Route metric is 0, traffic share count is 1
03-30-2023
07:31 AM
- last edited on
04-04-2023
11:50 PM
by
Translator
the
access-list
can allow this prefix that why you see it redistribute via EIGRP.
03-30-2023
07:38 AM
- last edited on
04-04-2023
11:51 PM
by
Translator
the
access-list
can allow this prefix that why you see it redistribute via EIGRP."
#sh access-lists 10
Standard IP access list 10 !! network 1.1.1.1 is not here !!!
10 permit 172.16.9.0 (3 matches)
20 permit 172.19.1.10
03-30-2023
07:40 AM
- last edited on
04-04-2023
11:52 PM
by
Translator
I try using
prefix-list
same behave the static route show redistribute via eigrp even if the
prefix-list
not include it
03-30-2023
10:26 AM
- last edited on
04-04-2023
11:54 PM
by
Translator
It seems that
Redistributing via eigrp 1
does not mean what it seems to specifically imply for this route, but just means that EIGRP is being somehow redistributed, not necessarily for this specific route.
If that is true, then clearly that is poor IOS design in its info output.
03-30-2023 10:34 AM
Yes sorry I think you are right.
03-30-2023
01:20 PM
- last edited on
04-04-2023
11:56 PM
by
Translator
So far the original poster has shown us only outputs from the router where the static route is configured. I would be very interested to know whether that router has eigrp neighbors and if it does whether any of those neighbors see 1.1.1.1 as an eigrp external route?
I agree that it seems that the information in
show ip route
knows that eigrp is redistributing some static routes but does not have information about any filtering that might be applied to the redistribution. And to some extent the
show ip route
information is somewhat misleading.
03-30-2023 01:23 PM
Verified- EIGRP neighbors exist. The route is not redistributed into neighbor router tables.
03-30-2023
02:52 PM
- last edited on
04-04-2023
11:58 PM
by
Translator
Thanks for the additional information. It is good to have confirmation that the route is not advertised to neighbors. So the routing protocol is doing exactly what it should.
It is unfortunate that the
show ip route
command seems to report something that is not accurate. But as I think about it I believe that there is a reason why it is this way.
show ip route
processes information in the routing table. And it knows that redistribution of static routes into eigrp is configured. So it reports that. The routing table logic has no way to know that as static routes are redistributed that there is a policy that limits which static routes are advertised to neighbors. The routing table logic knows that static routes are presented to eigrp for redistribution and reports that, but has no way to report which routes are actually advertised to neighbors.
03-30-2023
03:00 PM
- last edited on
04-04-2023
11:59 PM
by
Translator
Use instead the EIGRP topology it more accurate.
if the static route pass
ACL/prefix-list
the route will add to EIGRP topology and this never misleading since what you see there is waht all other router will receive.
03-31-2023 12:24 PM
Some bug cosmetics' you open TAC to cisco and sure they will put number of it.
Thanks
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