The full name of MED is MULTI_EXIT_DISC. An MED is an optional non-transitive attribute. The format of an MED is an integer of four bytes. The MED attribute is exchanged only between two neighboring ASs. The AS that receives the MED does not advertise it to any other AS. The MED serves as the metric used by an IGP. It is used to determine the optinal route when traffic enters an AS. When a BGP router obtains multiple routes with the same destination address but different next hops from EBGP peers, the route with the smallest MED value is selected as the optinal route when other conditions of the routes are the same.
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."