RE: eBGP Metric

From: Paresh Khatri (Paresh.Khatri@aapt.com.au)
Date: Thu Jun 02 2005 - 20:17:07 GMT-3


By default, the MED will be stripped from EBGP updates unless the router sending the update is the one that originated the route into BGP. In that case, by default, it will set the MED to be the IGP metric for the route. Based on the above, the IBGP-learnt route will have its MED stripped.

However, if you really want to send the neighbor, configure an outgoing route-map to R6 on R9 and use the following set command: "set metric-type internal". THe MED will then be correctly sent.

Cheers,
Paresh.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
gladston@br.ibm.com
Sent: Friday, 03 June 2005 08:36 AM
To: ccielab@groupstudy.com
Subject: eBGP Metric

Something does not make sense (I must be missing something).

BB1 and R9 are on AS1. R9 is receiveing Metric from iBGP peer.(10.10.10.11 is BB1).

r9#sb

   Network Next Hop Metric LocPrf Weight Path
*>i210.1.2.0 10.10.10.11 100 100 0 i
*>i210.2.2.0 10.10.10.11 100 100 0 i
*>i210.3.2.0 10.10.10.11 100 100 0 i
*>i210.4.2.0 10.10.10.11 100 100 0 i
*>i210.5.2.0 10.10.10.11 100 100 0 i
r9#

Debug on R9 shows it is sending the Metric to its eBGP peer R6.

*Mar 1 05:23:23.354: BGP(0): 150.100.3.6 send UPDATE (format) 210.1.2.0/24, next 150.100.3.254, metric 100, path
 
But output from R6 shows it is not present on show ip bgp on routers received from R9.

r6#sb

   Network Next Hop Metric LocPrf Weight Path
*> 210.2.2.0 150.100.3.254 0 1 i
* 150.100.1.254 100 0 1 i
*> 210.3.2.0 150.100.3.254 0 1 i
* 150.100.1.254 100 0 1 i
*> 210.4.2.0 150.100.3.254 0 1 i
* 150.100.1.254 100 0 1 i
*> 210.5.2.0 150.100.3.254 0 1 i



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:40 GMT-3