
BGP route selection with MEDs
03/14/10 • -1 min
In BGP, MED stands for Multi Exit Discriminator. It is a well-known optional attribute which allows one autonomous system to inject it's IGP route metrics into its BGP advertisements to another BGP autonomous system. This allows the second autonomous system to make intelligent routing decisions regarding which of multiple paths to take to send traffic to a particular destination in the first autonomous system.
Because different AS's use different IGP's and can calculate metrics in different ways, by default MEDs are only compared when multiple paths exist between the same two autonomous systems.
BGP MEDs are fairly late in the BGP route selection process, coming after local-preference and AS-PATH length.
In this episode we show how to inject MEDs into BGP advertisements, and how they are used to influence routing decisions.
In BGP, MED stands for Multi Exit Discriminator. It is a well-known optional attribute which allows one autonomous system to inject it's IGP route metrics into its BGP advertisements to another BGP autonomous system. This allows the second autonomous system to make intelligent routing decisions regarding which of multiple paths to take to send traffic to a particular destination in the first autonomous system.
Because different AS's use different IGP's and can calculate metrics in different ways, by default MEDs are only compared when multiple paths exist between the same two autonomous systems.
BGP MEDs are fairly late in the BGP route selection process, coming after local-preference and AS-PATH length.
In this episode we show how to inject MEDs into BGP advertisements, and how they are used to influence routing decisions.
Previous Episode

BGP route filtering
We filter BGP routes in 4 different ways.
Next Episode

How ARP and Ethernet Work
So far we've talked about how IPv4 encodes data into a packet, and how routers learn which direction to forward those IPv4 packets based on the destination IP address and the route table.
But in the end, routers and hosts need to encode the IPv4 packet onto a physical medium. Examples of physical mediums include fiber, twisted pair, coax, radio waves, lasers, and microwaves. Each encoding rate and medium requires a specification or protocol definition.
Ethernet is a family of similar encoding specifications which is dominant on the Internet today. Ethernet uses a 48-bit address known as a MAC address or hardware address. There are ethernet specifications for speeds ranging from 10 megabit to 10 gigabit and for various copper and fiber physical media.
Using ethernet requires the ability to map an IPv4 address into a MAC address. That is accomplished using the address resolution protocol (ARP).
In this episode, we introduce the ethernet frame format, ethernet address, and how ARP works.
If you like this episode you’ll love
Episode Comments
Generate a badge
Get a badge for your website that links back to this episode
Select type & size
<a href="https://goodpods.com/podcasts/cisco-hands-on-training-podcast-23073/bgp-route-selection-with-meds-813971"> <img src="https://storage.googleapis.com/goodpods-images-bucket/badges/generic-badge-1.svg" alt="listen to bgp route selection with meds on goodpods" style="width: 225px" /> </a>
Copy