BGP Multi Exit Discriminator (MED) & Configuration

Multi Exit Discriminator (MED) also called metric. MED is optional and non transitive attribute, MED allows an autonomous system to tell a neighboring autonomous system the best way to forward packets into the first autonomous system. MED is used to advertise by one autonomous system into another, propagated inside the autonomous system, but not sent to any other autonomous systems. A smaller MED value means more preferred, by default 0 and range is 0 through 4,294,967,295. MED originally worked for a dual-homed design.

MED is used in the route selection process only if all the paths come the same Autonomous system. BGP use the bgp always-compare-med command to force the router to compare the MED even if the paths come from different autonomous systems. If you are enabling this option then enable it entire autonomous system otherwise loops can be occur.

 Let see the configuration :

Topology:

No alt text provided for this image

Goal:https://www.internetworks.in/2018/12/bgp-multi-exit-discriminator-med.html

  • configure the topology as per the diagram.
  • configure iBGP and EBGP and advertise the interface as per the topology
  • configure the autonomous system (65222) to exit via router 1 - router 4 (AS 65444).
  • configure autonomous system 65111 return traffic from 65222 also should use the same path ( R2-R3-R4) as exit.
  • use MED 


internetworks

要查看或添加评论,请登录

Edgar C Francis的更多文章

  • What is Quality Of Service (QOS)?

    What is Quality Of Service (QOS)?

    Quality of service models: Best-effort service Integrated services Differentiated services Best-effort service model –…

  • IGMP (Internet Group Management Protocol)

    IGMP (Internet Group Management Protocol)

    IGMP IGMP (Internet Group Management Protocol) is a networking protocol it is used with multicast by hosts and the…

  • BGP Communities_No-advertise configuration

    BGP Communities_No-advertise configuration

    BGP Communities The community attribute is a transitive optional attribute. Communities can be used to mark a set of…

  • BGP Route Reflectors (RR) & configuration

    BGP Route Reflectors (RR) & configuration

    BGP Route Reflectors (RR) Route reflectors (RR) are one of the methods to get rid of the full-mesh of IBGP peers in…

  • BGP AS Path Prepending & configuration

    BGP AS Path Prepending & configuration

    BGP AS Path Prepending AS Pathis the fourth BGP attribute, AS Path is well known, mandatory attribute. BGP prefer the…

  • BGP Multi Exit Discriminator (MED) & Configuration

    BGP Multi Exit Discriminator (MED) & Configuration

    Multi Exit Discriminator (MED) also called metric. MED is optional and non transitive attribute, MED allows an…

  • BGP Local preference & configuration

    BGP Local preference & configuration

    BGP Local preference (Local_Pref) Path attribute gives the router inside a single autonomous system a value that they…

  • BGP Weight Attribute

    BGP Weight Attribute

    A Cisco router can use the BGP weight, in that router to influence that one router’s choice of outbound route. To do…

  • BGP Neighbors

    BGP Neighbors

    BGP Neighbors BGP neighbors are routers forming TCP connection for exchanging BGP updates it’s also called as BGP peers…

  • Introduction of BGP

    Introduction of BGP

    Introduction of BGP Border Gateway Protocol (BGP) advertises, learn, and choose the best paths inside the wide…

社区洞察

其他会员也浏览了