Redistribution seed metrics

By stretch | Friday, November 7, 2008 at 1:40 a.m. UTC

Redistributed routes are treated differently depending on which routing protocol they are being redistributed into. On IOS, each routing protocol has its own seed metric which is assigned by default to redistributed routes when no metric is configured manually. Below is a table listing the default behavior when no metric is defined with the metric argument on the redistribute command.

Connected 1 Int metric 20 (E2) 0 0
Static 1 Int metric 20 (E2) 0 0
RIP -- Infinite 20 (E2) 0 IGP metric
EIGRP Infinite -- 20 (E2) 0 IGP metric
OSPF Infinite Infinite -- 0 IGP metric
ISIS Infinite Infinite 20 (E2) -- IGP metric
BGP Infinite Infinite 1 (E2) 0 --

As illustrated in the table, routes being distributed from another routing protocol into RIP or EIGRP must have a configured metric to be eligible for placement in the RIP database or EIGRP topology. Also interesting to note is that BGP will automatically assigned the IGP-learned metric of a redistributed route to the route's MED in the BGP table.

About the Author

Jeremy Stretch is a network engineer living in the Raleigh-Durham, North Carolina area. He is known for his blog and cheat sheets here at Packet Life. You can reach him by email or follow him on Twitter.

Posted in Routing


Roger (guest)
November 7, 2008 at 10:12 p.m. UTC

awesomeness, pure awesomeness

Patryk (guest)
November 21, 2008 at 9:42 a.m. UTC

Hey - is it possible to find this info on the cisco website as I've spend 2 days without a luck ? Did you find any refrence for seed metric values for Juniper ?

Martin (guest)
December 8, 2008 at 9:35 p.m. UTC

Patryk, check page 384-386 in the book Building Scalable Cisco Internetworks (BSCI) Third Edition. A book used for CCNP learning.

December 28, 2010 at 7:55 a.m. UTC

Super cool..

Sergio (guest)
July 25, 2012 at 12:05 p.m. UTC

Thanks for this excellent information.

Coldplayer (guest)
February 27, 2013 at 11:27 p.m. UTC

Great Post,

God Bless you for this great work and clarifications.

Keep doing well and sharing this great info.

Rezapackets (guest)
March 11, 2013 at 9:19 p.m. UTC

Thanks a lot for all of the valuable information Jeremy. It's very big of you to share your knowledge and experience.

shehar (guest)
March 25, 2014 at 12:59 p.m. UTC

Hi does seed metric value is differ in ipv6 supported routing protocol

Joan (guest)
July 1, 2014 at 4:02 p.m. UTC

Is possible to redistribute the native RIP metric into EIGRP?

I mean, if I receive the same RIP route in two differents routers and I want to redistribute it into EIGRP, how I can redistribute it into EIGRP with different metrics dynamically?

Abulfaz (guest)
August 22, 2014 at 5:40 a.m. UTC

Very useful information. You are great, thanks a lot!

November 23, 2014 at 12:21 p.m. UTC


RG (guest)
June 3, 2015 at 5:05 a.m. UTC

I like the way you explain in simple english..

ivan (guest)
October 12, 2015 at 3:21 a.m. UTC

nice post, thank you

Daro (guest)
February 2, 2016 at 9:01 a.m. UTC

Great post, helps a lot!

Comments have closed for this article due to its age.