12-17-2009 09:52 PM - edited 03-04-2019 07:01 AM
Hi, I have EIGRP on Core switch and Router. I have few static route on core switch. My target is to chagne Metric of 172.28.20.0/24 route as 3000 1 1 1500 and rest all should be 1600 1 1 1 1500. I have redistribute Static into EIGRP with route-map policy on Core switch, but figure is not reflecting properly on Router. please help.
----------
CORE- router Eigrp 1
no auto
network 0.0.0.0
Redistribute Static route-map R
ip prefix-list R-20 seq 5 permit 172.28.20.0/24
!
route-map R permit 10
match ip address prefix-list R-20
set metric 3000 1 1 1 1500
!
route-map R permit 20
set metric 1600 1 1 1 1500
----------------------------
Router#sh ip route e
172.28.0.0/24 is subnetted, 3 subnets
D EX 172.28.20.0 [170/2218752] via 100.100.100.1, 00:04:34, Serial0/0
D EX 172.28.21.0 [170/2170112] via 100.100.100.1, 00:01:15, Serial0/0
D EX 172.28.25.0 [170/2170112] via 100.100.100.1, 00:01:15, Serial0/0
12-18-2009 03:32 AM
this metric valus are calculated from the interface/route
delay and bandwidth
you may enforce the eigrp to use only one of the above valuse for example only bandwidwidth
yu cam cahnge the k metric valuse to consider only bandwidth
using the command
metric weight 0 1 0 0 0 0
keep in mind this setting must to be same on all eigrp peers to form eigrp adjancency
good luck
if helpful rate
12-18-2009 04:17 AM
rupesh_kashyap wrote:
Hi, I have EIGRP on Core switch and Router. I have few static route on core switch. My target is to chagne Metric of 172.28.20.0/24 route as 3000 1 1 1500 and rest all should be 1600 1 1 1 1500. I have redistribute Static into EIGRP with route-map policy on Core switch, but figure is not reflecting properly on Router. please help.
----------
CORE- router Eigrp 1
no auto
network 0.0.0.0
Redistribute Static route-map R
ip prefix-list R-20 seq 5 permit 172.28.20.0/24
!
route-map R permit 10
match ip address prefix-list R-20
set metric 3000 1 1 1 1500
!
route-map R permit 20
set metric 1600 1 1 1 1500----------------------------
Router#sh ip route e
172.28.0.0/24 is subnetted, 3 subnets
D EX 172.28.20.0 [170/2218752] via 100.100.100.1, 00:04:34, Serial0/0
D EX 172.28.21.0 [170/2170112] via 100.100.100.1, 00:01:15, Serial0/0
D EX 172.28.25.0 [170/2170112] via 100.100.100.1, 00:01:15, Serial0/0
Rupesh
As far as i know the "set metric" command does not work with EIGRP ie. it is for BGP/OSPF/RIP.
If you want to change the metrics of routes in EIGRP then use an offset-list -
Jon
12-18-2009 04:53 AM
Hi, I tried OFFSET list but it is not doing anything with D EX (AD-170)
routes. My target is to add metric in only one route which is D EX.
12-18-2009 05:12 AM
Rupesh
Can you post config that didn't work and i'll test it.
Jon
12-18-2009 05:15 AM
You can do one thing. Like Router A is getting 3 External routes (AD170) for router B. Just try to edit metric as AD-175 on router A. Do not edit for all routes, just select only one. U will see the result.
12-18-2009 05:23 AM
wiht EIGRP you can not edit AD of external route selctivly like internal( from specific source), unless u change the AD for all external eigrp route
the question is can we get the goal the want to achieve becuase we may give here another idea o way to do it
thank you
12-18-2009 05:40 AM
rupesh_kashyap wrote:
You can do one thing. Like Router A is getting 3 External routes (AD170) for router B. Just try to edit metric as AD-175 on router A. Do not edit for all routes, just select only one. U will see the result.
Rupesh
There is a misunderstanding in terminolgy here. The metric of a route and it's AD is not the same thing. So what you actually want to do is change the AD to 175 for one route only and not the metric of the route. Is that correct ?
What are your trying to achieve by doing this ?
Jon
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