cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
405
Views
0
Helpful
7
Replies

Two Metric in Redistribution

Rupesh Kashyap
Level 1
Level 1

Hi, What will effect if I use Metric two times (1 1 1 1 1 & Route-map) in redistributing from BGP into Eigrp ?

Router Eigrp 10

Redistribute BGP 200 1 1 1 1 1 Route-map RR

Route-map RR

set Metric 30

7 Replies 7

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Rupesh,

EIGRP seed metric requires the usage of a list of 5 parameters

so with this configuration the set metric 30 is ignored.

I also suggest to use more reasonable values like

10000 10 255 1 1500

BW delay reliability load mtu

probably EIGRP hasn't a route-map command for the 5 parameters seed values so the only valid option is to specify them in the same line.

If you specify the seed metric in a separate line it will apply to all redistribution commands in the eigrp process.

if you specify the parameters also in a line for a specific source protocol those more specific parameters override those in stand alone line.

Hope to help

Giuseppe

Thanks, I was also thinking the same. But in all protocols you can change the Metric with Route-map link BGP into OSPF. So why Route-map will not work in this scenario.

Hello Rupesh,

as I wrote EIGRP uses a seed metric made of 5 parameters the normal command set metric xx doesn't apply to it

It is a question of implementation.

Hope to help

Giuseppe

Thanks sir. I have 50.0.0.0, 60.0.0.0 & 70.0.0.0 in BGP advertisement. I want to redistribute it in EIGRP but with different metric like 50,60 & 70. How we can do it as we have one common seed metric in BGP into EiGRP Redistribution. Please help.

Hello Rupesh,

an update to this issue.

a set metric command for EIGRP is available in route-map configuration mode providing the set of 5 values.

Verify with this link

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_eig2.html#wp1012576

so the config can be:

access-list 11 permit 50.0.0.0 0.255.255.255

access-list 12 permit 60.0.0.0 0.255.255.255

access-list 13 permit 70.0.0.0 0.255.255.255

route-map BGP-to-EIGRP permit 10

match ip address 11

set metric 10000 1000 255 1 1500

route-map BGP-to-EIGRP permit 20

match ip address 12

set metric 10000 2000 255 1 1500

route-map BGP-to-EIGRP permit 30

match ip address 13

set metric 10000 3000 255 1 1500

route-map BGP-to-EIGRP permit 40

! last empty block to be used if there are other routes to be imported usind the default seed metric.

the best choice to have different seed metric is to change the second parameter that is delay.

Hope to help

Giuseppe

Thanks Giuseppe. You are a champion.

Hello Rupesh,

rating useful posts is enough ...:)

if you look at this thread I said something wrong before, and then after checking the command reference I realized that the set metric with 5 parameters is available in route-map config mode.

Best Regards

Giuseppe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco