Koolarticles.com Menu
Newest Articles
Most Viewed Articles
Koolarticles.com RSS
Submit Article
Login
Signup
Search the articles

Articles Main Categories
Advice
Animals
Automobiles
Business
Career
Communications
Computer Programming
Computers
Entertainment
Environment
Family
Fashion
Finance
Food
Health & Medical
Home & Garden
Humor
Internet Business
Internet Marketing
Legal
Leisure & Recreation
Marketing
Other
Politics
Reference & Education
Religion
Self Improvement
Sports
Technology & Science
Travel
Writing
Subscribe
Receive alert message from us when new articles submitted to our site for free.

Enter your name

Enter your email

Syndicate

















Home::Computer Certification

Cisco CCNP / BSCI Certification: The Local Preference BGP Attribute

Author : Chris Bryant, CCIE #12933
When studying for your BSCI exam for the CCNP, you get your first taste of BGP. One of the major differences between BGP and the other protocols you've studied to date is that BGP uses attributes to describe paths, and to influence the selection of one path over the other.



In this free tutorial, we're going to take a look at the Local Preference attribute and compare it to the Cisco-proprietary BGP attribute "weight".



The Local Preference (LOCAL_PREF) attribute is used to influence how traffic will flow from one Autonomous System (AS) to another when multiple paths exist. For example, if AS 100 has two different paths to a destination network in AS 200, the LOCAL_PREF attribute can be used to influence the path selection.



The major difference between the Weight and LOCAL_PREF attributes is that when the LOCAL_PREF attribute is changed, that change is reflected throughout the AS. The new LOCAL_PREF value will be advertised to all other routers in the AS, as compared to the Weight attribute, which is locally significant only. If you change the Weight for a path on one router in an AS, the other routers in the AS will not learn of the change.



A route-map can be used to change a local preference value. For example, if you want to change the local preference value to 200 for the path advertisement 10.2.2.0/24 coming in from neighbor 10.1.1.1, there are three steps involved. First, write an ACL matching the remote network you want to change the local preference for.



R1(config)#access-list 5 permit 10.2.2.0 0.0.0.255



Second, write a route-map setting the local preference to 200. This will double the default value of 100, and the path with the highest local preference will be the preferred path.



R1(config)#route-map PREFER_PATH permit 10



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



R1(config-route-map)#set local-pref 200



Finally, apply the route-map to routes that are being received from 10.1.1.1.



R1(config)#router bgp 100



R1(config-router)#network 10.1.1.1 route-map PREFER_PATH in



R1 will then advertise this new local preference value to all other routers in AS 100 - all of its iBGP neighbors.


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





Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage (www.thebryantadvantage.com), home of free http://www.thebryantadvantage.com/">CCNA and http://www.thebryantadvantage.com/ccnpstorebsci.htm">CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages. Video courses and training, binary and subnetting help, and corporate training are also available. Pass the http://www.thebryantadvantage.com/UltimateCCNAStudyPackage.html">CCNA exam and http://www.thebryantadvantage.com/ccnpstorebsci.htm">BSCI exam with Chris Bryant, CCIE #12933!

For a copy of his FREE ebooks, “How To Pass The CCNA” and “How To Pass The CCNP”, visit the website and download your copies! Get your http://www.thebryantadvantage.com/">CCNP certification with The Bryant Advantage!





Related articles


  1. MCSE? CCNA? How To Choose The Best Computer Certification For You
  2. MCSE 70-290 Certification Primer
  3. Cisco CCNP / BSCI Certification: The BGP Attribute “MED”
  4. Cisco CCNA Certification: Cisco Switching Modes Tutorial
  5. Cisco CCNP / BSCI Certification: The Local Preference BGP Attribute
  6. Cisco CCNA Certification: Error Detection vs. Error Recovery
  7. Cisco CCNA Certification: Broadcasts, Unicasts, And Multicasts
  8. Taking A Look At Cisco's CCVP Certification
More related feeds
 

 

© 2007 koolarticles.com - All Rights Reserved

eXTReMe Tracker