Article

Latest News
Comment on Win a Free b iPod /b by Ryan- Sunday, October 28, 2007
win a b ipod /b really doing nothing NOT A SCAM What Do u got to lose read more...

b iPod /b Song Downloads Involve Plenty Of Fun- Sunday, October 28, 2007
Getting b iPod /b song downloads is always challenging, as there are hundreds read more...

This is an ad produced by a student for the b iPod /b Touch. It has b ... /b- Sunday, October 28, 2007
This is an ad produced by a student for the b iPod /b Touch. It has prompted read more...


Latest Articles
Myspace Backgrounds
Time to get started on this topic. Take a few moments to read every aspect ...more

Blog Myspace
I hope that the following article will help you to better understand this ...more

LG shine: accentuate your lifestyle
Why mobile phones have once again become a status symbol? Its not hard to ...more

Cisco CCNP / BSCI Certification: The Local Preference BGP Attribute by Chris Bryant

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.

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!


Other articles by Chris Bryant

Cisco CCNA Certification: Error Detection vs. Error Recovery
Passing the CCNA, Intro, and ICND exam is all about knowing and noticing the details. (Which makes perfect sense, since becoming a master networking administrator or engineer is also about noticing the details!) One such detail knows the difference between error detection and error recovery. While ...more

Cisco CCNA Certification: Cisco Switching Modes Tutorial
To pass the CCNA exam and earn that coveted certification, you've got to know Cisco switches inside and out. Among the many important details you've got to know are the three methods that Cisco switches use to forward frames, and the differences between the three. The first switching method is ...more

Cisco CCNP / BSCI Certification: The BGP Attribute "MED"
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 ...more

It's 2006. Do You Know Where Your IT Career Is?
Whether you're thinking of starting a career with computers and information technology, or thinking about earning a professional certification such as the CCNA or MCSE to accelerate your career, there is no better time to start than today. Silicon Valley is hiring again, and while we all can't work ...more

Cisco CCNP / BSCI Tutorial: Comparing OSPF and ISIS Hellos
While studying to pass the BSCI exam and preparing to earn your CCNP certification, you'll quickly notice that while OSPF and ISIS are both link-state protocols, there are a lot of differences between the two. One major difference is the way the two protocols handle hello packets. Hello packets ...more