Print This Article Post Comment Add To Favorites Email to Friends Ezine Ready

Cisco Ccnp / Bsci Certification: The Bgp Attribute med"

By: Chris Bryant Home | Computers-and-Technology | Networks


When you're preparing to pass the BSCI exam and earn your CCNP certification, one of the biggest challenges is learning BGP. BGP is totally different from any protocol you learned to earn your CCNA certification, and one of the differences is that BGP uses path attributes to favor one path over another when multiple paths to or from a destination exist.

Notice I said "to or from". In earlier free BGP tutorials, I discussed the BGP attributes "weight" and "local preference". These attributes are used to favor one path to a destination over another; for example, if BGP AS 100 has two paths to a destination in AS 200, these two attributes can be set in AS 100 to favor one path over another. But what if AS 100 wants to inform the routers in AS 200 as to which path it should use to reach a given destination in AS 100?

That's where the BGP attribute "Multi-Exit Discriminator", or MED, comes in. The MED value can be set in AS 100 to tell AS 200 which path it should use to reach a given network in AS 100.

As with many BGP attributes, the MED can be set with a route-map. What you need to watch is that there is no "set med" value in route maps. To change the MED of a path, you need to change the metric of that path. Let's say that there are two entry paths for AS 200 to use to reach destinations in AS 100. You want AS 200 to use the 100.1.1.0/24 path over the 100.2.2.0/24 path. First, identify the two paths with two separate ACLs.

R1(config)#access-list 22 permit 100.1.1.0 0.0.0.255

R1(config)#access-list 23 permit 100.2.2.0 0.0.0.255

Next, write a route-map that assigns a lower metric to the more-desirable path.

R1(config)#route-map PREFER_PATH permit 10

R1(config-route-map)#match ip address 22

R1(config-route-map)#set metric 100

R1(config-route-map)#route-map PREFER_PATH permit 20

R1(config-route-map)#match ip address 23

R1(config-route-map)#set metric 250

Finally, apply the route-map to the neighbor or neighbors.

R1(config-route-map)#router bgp 100

R1(config-router)#neighbor 22.2.2.2 route-map PREFER_PATH out

The key points to keep in mind is that while many BGP attributes prefer a higher value, the MED is basically an external metric - and a lower metric is preferred, just as with the protocols you've already studied to earn your CCNA certification.



Article Source: http://www.eArticlesOnline.com

About the Author:
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage , home of free CCNA and CCNP tutorials! Pass the CCNA exam with Chris Bryant!

Tags: , , , , , , , , , , , , ,

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Networks Articles Via RSS!

Recent Related Articles From Networks

  • Winning Strategy For Ccna Certification
    By: Davis Morris | Jul 13th 2010
    CCNA certification can give you the edge in your job search in the network administration career. To help you select the training materials you need and help you determine your readiness to take the CCNA exam is the goal of this article. Read

  • Ccna Certification - The Door To The Best Networking Careers
    By: James Copper-5768 | Jun 1st 2009
    CCNA Is The Beginning Of Networking Certifications That Add Value To The Credentials Read

  • Ccna Certification Benefits And Tips For Becoming Certified
    By: Anthony Kristovich III | Nov 3rd 2006
    The CCNA (Cisco Certified Network Associate) represents a beginner-level certification offered by Cisco that focuses on building a foundation in networking using Cisco technologies and products. The CCNA certification is suitable for individuals who Read

  • Earn Networking Credential By Taking Up Cisco Ccna Certification And Training Course
    By: George Batey | Mar 11th 2010
    CCNA is one of the most sought after Cisco certification and it is assumed to be one of the most essential parts of networking training. A hard copy document send to the candidate is high regarded by any IT and other business circles. Read

  • Why Get A Ccna Certification?
    By: Anthony Kristovich III | Apr 19th 2007
    CCNA is short for Cisco Certified Network Associate and it represents the first stage in the Cisco certification system. The certifications offered by Cisco are for IT professionals, but for their products alone. Read

  • Get Ready For Ccie Ccna Cisco Training Certification Courses
    By: Jacyspin | Sep 8th 2010
    The internet technology has become an inseparable part of the people’s life. And innovative ideas are the mainstay of such technologies. A lot of computers are at work simultaneously in almost every organization. Information needs to be shared between these computers to keep everyone informed of various technological proc ... Read

  • How To Choose The Right Cisco Ccna Training Program
    By: Anthony Kristovich III | Nov 3rd 2006
    The Cisco Certified Network Associate (CCNA) certification is the starting point for individuals interested in building a rewarding career as a Cisco professional. Read

  • Potential Aspects For A Ccna Certified Network Professional In Coming Years
    By: S. k. Moharana | May 4th 2011
    The World we live in is moving towards full-fledged computerization in a swift manner. The overwhelming growth in IT industry is biggest testimony regarding this. This also creates acute shortage of qualified manpower in all IT related domains. Read

  • Cisco Ccna Certification Exam Tutorial: Distance Vector Command Review
    By: Chris Bryant | May 8th 2006
    To earn your CCNA, you've got to keep a lot of commands straight! In this command review, see many of these commands defined and in action from Chris Bryant, CCIE #12933. Read

  • Cisco Ccna / Ccnp Certification Exam
    By: George Batey | Mar 26th 2010
    CCNA is the second level certification in the Cisco career certification process; this course includes the basic aspect of Local Area Network (LAN) such as installation, configuration, operation, and troubleshooting of mid-size route and switched networks, also including implementation and authentication of connections to r ... Read


Copyright © 2005-2011 eArticlesOnline, LLC - All Rights Reserved
Terms of Service | Privacy Policy