When you’re getting ready to pass the BSCI Examination and generate your CCNP certification, certainly one of the most significant worries is learning BGP. BGP is totally various from any protocol you acquired to make your CCNA certification, and among the variances is always that BGP works by using route attributes to favor one particular route over Yet another when many paths to or from a desired destination exist.
Recognize I explained “to or from”. In before absolutely free BGP tutorials, I reviewed the BGP attributes “pounds” and “regional preference”. These attributes are accustomed to favor just one route to some place more than A different; for instance, if BGP AS 100 has two paths to your destination in AS 200, these two characteristics may be established in AS one hundred to favor a single route around another. But Let's say AS 100 needs to tell the routers in AS 200 as to which path it must use to succeed in a given spot in AS 100?
That’s exactly where the BGP attribute “Multi-Exit Discriminator”, or MED, is available in. The MED value can be established in AS a hundred to inform AS 200 which path it need to use to succeed in a supplied network in AS 100.
As with a lot of BGP characteristics, the MED is usually set which has a route-map. What you need to view is that there is no “established med” value in route maps. To alter the MED of a path, you should alter the metric of that path. Permit’s say there are two entry paths for AS 200 to use to succeed in destinations in AS a hundred. You'd like AS two hundred to use the one hundred.one.one.0/24 path around the one hundred.2.two.0/24 route. 1st, detect The 2 paths https://en.wikipedia.org/wiki/?search=토토사이트 with two individual ACLs.
R1(config)#access-list 22 allow one hundred.one.1.0 0.0.0.255
R1(config)#accessibility-checklist 23 permit one hundred.2.2.0 0.0.0.255
Next, write a route-map that assigns a lower metric to the more-appealing route.
R1(config)#route-map PREFER_PATH permit ten
R1(config-route-map)#match ip tackle 22
R1(config-route-map)#set metric one hundred
R1(config-route-map)#route-map PREFER_PATH permit 20
R1(config-route-map)#match ip deal with 23
R1(config-route-map)#established metric 250
Ultimately, use the route-map on the neighbor or neighbors.
R1(config-route-map)#router bgp 100
R1(config-router)#neighbor 22.2.two.two route-map PREFER_PATH out
The key points to keep in mind is the fact while a lot of BGP 메이저사이트 attributes prefer an increased worth, the MED is essentially an external metric – and also a decrease metric is preferred, equally as With all the protocols you’ve previously examined to receive your CCNA certification.