02-15-2010 01:35 PM - edited 03-04-2019 07:30 AM
Hi
Does anyone know what's cisco's preference when dealing with a path that has a MED set to 0 and a path that does not have a MED set (assuming everything else is default)?
Thank you,
Tom
Solved! Go to Solution.
02-15-2010 02:00 PM
Tomek,
As far as I know, this depends on the setting of the BGP process.
By default, if the MED attribute is missing, the IOS assigns the value of 0 to the route. You can change this behavior using the command bgp bestpath med missing-as-worst in which case the missing MED attribute will be internally assigned the value of 4294967294.
You may want to read the following link to the command reference:
http://www.cisco.com/en/US/partner/docs/ios/iproute/command/reference/irp_bgp1.html#wp1012195
Also, this document may be very interesting to read:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml
Best regards,
Peter
02-15-2010 02:00 PM
Tomek,
As far as I know, this depends on the setting of the BGP process.
By default, if the MED attribute is missing, the IOS assigns the value of 0 to the route. You can change this behavior using the command bgp bestpath med missing-as-worst in which case the missing MED attribute will be internally assigned the value of 4294967294.
You may want to read the following link to the command reference:
http://www.cisco.com/en/US/partner/docs/ios/iproute/command/reference/irp_bgp1.html#wp1012195
Also, this document may be very interesting to read:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml
Best regards,
Peter
02-15-2010 02:33 PM
Thank you Peter.
As a reference to other here is another link that talks about the MED not being set.
Thanks
Tom
02-15-2010 03:06 PM
Tom,
Thank you for the link!
Best regards,
Peter
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: