Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to set different metrics for routes learned by a single source of Redistribution ?

user-image
Question added by Khaled Omar , Senior Service Delivery Engineer , Dell Technologies
Date Posted: 2014/06/01
Shahin Syed
by Shahin Syed , IT Administrator, Training Officer , Al-Hamad Enterprises

Good Question. This can be done by using route map  in the redistribute command, where the route map will decide what metrics to assign to which routes by refering an access-list. Here's an Example:

router ospf  1redistribute eigrp90 metric60 subnets route-map ASSIGNnetwork  160.10.0.0  0.0.0.255 area1network  12.10.2.0  0.0.0.255 area0default-metric  30

access-list11 permit  10.1.1.0  0.0.0.255

route-map ASSIGN permit  10  match ip address  11  set metric  100

route-map ASSIGN permit20

 Another possible method is using Offset-list.

Ahmed El Masry
by Ahmed El Masry , IT Regional Manager - Gulf Area , El Sewedy Electric PSP

metric-value -the metric is the Multi-Exit-Discriminator (MED). Valid values are integers0 to.

Use the set metric command to define the metric used when advertising routes via BGP. Metric values set with this command override the default metric value for this route.

Use the no set metric command to select the default metric for this route.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.