Configuration example: using a distribute list that references a prefix list to control redistribution

Verifying prefix lists

Using route maps with route redistribution

Configuration example: route maps

Manipulating redistribution using route tagging

Changing administrative distance for internal and external routes

Passive interfaces

Defining Seed and Default Metrics

Router(config)#router eigrp 100

Starts the EIGRP routing process.

Router(config-router)#network 172.16.0.0

Specifies which network to advertise in EIGRP.

Router(config-router)#redistribute rip

Redistributes routes learned from RIP into EIGRP.

Router(config-router)#default-metric 1000 100 250 1 1500

Or

The metrics assigned to these learned routes will be calculated using the following components:

Router(config-router)#redistribute rip metric 1000 100 250 1 1500

1000 = Bandwidth in Kbps

100 = Delay in tens of microseconds

255 = Reliability out of 255

1 = Load out of 255

1500 = Maximum transmission unit (MTU) size

The metric keyword in the second option assigns a starting EIGRP metric that is calculated using the following components: 1000, 100, 255, 1 1500.

NOTE

The values used in this command constitute the seed metric for these RIP routes being redistributed into EIGRP. The seed metric is the initial value of an imported route and it must be consistent with the destination protocol.

NOTE

The default seed metrics are as follows:

Connected: 1

Static: 1

RIP: Infinity

EIGRP: Infinity

OSPF: 20 for all except for BGP, which is 1

BGP: BGP metric is set to IGP metric value

NOTE

If both the metric keyword in the redistribute command and the default-metric command are used, the value of the metric keyword in the redistribute command takes precedence.

TIP

If a value is not specified for the metric option, and no value is specified using the default-metric command, the default metric value is 0, except for Open Shortest Path First (OSPF) Protocol, where the default cost is 20. Routing Information Protocol (RIP) and Enhanced Interior Gateway Routing Protocol (EIGRP) must have the appropriate metrics assigned to any redistributed routes; otherwise, redistribution will not work. Border Gateway Protocol (BGP) will use the Internal Gateway Protocol (IGP) metric, while both connected networks and static routes will receive an initial default value of 1.

TIP

The default-metric command is useful when routes are being redistributed from more than one source because it eliminates the need for defining the metrics separately for each redistribution.

TIP

Redistributed routes between EIGRP processes do not need metrics configured. Redistributed routes are tagged as EIGRP external routes and will appear in the routing table with a code of D EX.