ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل Khaled Omar , Senior Service Delivery Engineer , Dell Technologies
تاريخ النشر: 2014/06/01
Shahin Syed
من قبل 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
من قبل 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.

المزيد من الأسئلة المماثلة