cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1286
Views
7
Helpful
12
Replies

C3850, Why is below static route EIGRP redistributed?

MicJameson1
VIP Alumni
VIP Alumni

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.

 

1 Accepted Solution

Accepted Solutions

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.

HTH

Rick

View solution in original post

12 Replies 12

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

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

 

the

access-list 

can allow this prefix that why you see it redistribute via EIGRP.

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

I try using

prefix-list

 same behave the static route show redistribute via eigrp even if the

prefix-list

not include it 

Screenshot (501).png

 

Screenshot (502).png

MicJameson1
VIP Alumni
VIP Alumni

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.

Yes sorry I think you are right.

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.

HTH

Rick

Verified- EIGRP neighbors exist. The route is not redistributed into neighbor router tables.

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.

HTH

Rick

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. 

Some bug cosmetics' you open TAC to cisco and sure they will put number of it.

Thanks 

Review Cisco Networking for a $25 gift card