If you’re planning to move the BSCI exam and generate your CCNP certification, certainly one of the most important troubles is Discovering BGP. BGP is totally different from any protocol you uncovered to earn your CCNA certification, and among the list of variations is the fact that BGP utilizes path characteristics to favor one path above A further when many paths to or from the location exist.
Recognize I explained “to or from”. In earlier free BGP tutorials, I mentioned the BGP attributes “fat” and “regional preference”. These attributes are utilized to favor just one path to a place more than A different; one 안전공원 example is, if BGP AS one hundred has two paths to the destination in AS 200, these two attributes can be set in AS one hundred to favor a single path over A different. But Let's say AS one hundred wants to tell the routers in AS 200 concerning which route it should use to reach a given spot in AS a hundred?
That’s exactly where the BGP attribute “Multi-Exit Discriminator”, or MED, comes in. The MED worth may be established in AS 100 to inform AS two hundred which path it ought to use to succeed in a given network in AS 100.
Just like lots of BGP attributes, the MED could be set having a route-map. What you might want to view is that there is no “set med” benefit in route maps. To change the MED of the route, you might want to alter the metric of that route. Permit’s say there are two entry paths for AS 200 to use to reach Locations in AS a hundred. You'd http://query.nytimes.com/search/sitesearch/?action=click&contentCollection®ion=TopBar&WT.nav=searchWidget&module=SearchSubmit&pgtype=Homepage#/토토사이트 like AS 200 to make use of the one hundred.one.1.0/24 route over the a hundred.two.two.0/24 route. To start with, discover the two paths with two independent ACLs.
R1(config)#obtain-record 22 allow 100.1.one.0 0.0.0.255
R1(config)#entry-list 23 allow one hundred.two.2.0 0.0.0.255
Following, produce a route-map that assigns a lower metric to the greater-appealing path.
R1(config)#route-map PREFER_PATH allow ten
R1(config-route-map)#match ip handle 22
R1(config-route-map)#set metric one hundred
R1(config-route-map)#route-map PREFER_PATH allow twenty
![]()
R1(config-route-map)#match ip handle 23
R1(config-route-map)#established metric 250
At last, apply the route-map to the neighbor or neighbors.
R1(config-route-map)#router bgp one hundred
R1(config-router)#neighbor 22.two.two.2 route-map PREFER_PATH out
The main element points to keep in mind is when numerous BGP characteristics favor an increased value, the MED is largely an exterior metric – plus a lessen metric is most well-liked, equally as Together with the protocols you’ve by now examined to make your CCNA certification.