[c-nsp] Cisco and BGP MED

Adam Vitkovsky adam.vitkovsky at swan.sk
Mon Apr 1 14:17:49 EDT 2013


>From elders of the internet:
(Haven't tested it myself though)

If a route is learned from an iBGP peer border router removes the MED before
advertising the route to an eBGP peer.

To force the border router to advertise the MED in such a case, the
route-map set metric-type internal command can be configured for that eBGP
peer. 


Routes injected into BGP locally on a border router 			
  are advertised to an eBGP peer with MED.
  Metric values are determined as follows:
  -if injected using network or redistribute cmd -from IGP: 
	BGP MED is derived from the IGP metric
  -if injected using network or redistribute cmd -from connected: 
	BGP MED is = 0
  -if injected using aggregate-address
	BGP MED is not set


adam



More information about the cisco-nsp mailing list