Skip to main content

The BGP Weight Attribute

 The BGP Weight Attribute


by John Freech





When you're studying for the CCNP certification, especially the BSCI exam, you must gain a solid understanding of BGP. BGP isn't just one of the biggest topics on the BSCI exam, it's one of the largest. BGP has a great many details that must be mastered for BSCI success, and those of you with one eye on the CCIE must learn the fundamentals of BGP now in order to build on those fundamentals at a later time.

Path attributes are a unique feature of BGP. With interior gateway protocols such as OSPF and EIGRP, administrative distance is used as a tiebreaker when two routes to the same destination had different next-hop IP addresses but the same prefix length. BGP uses path attributes to make this choice.

The first attribute considered by BGP is weight. Weight is a Cisco-proprietary BGP attribute, so if you're working in a multivendor environment you should work with another attribute to influence path selection.

The weight attribute is significant only to the router on which it is changed. If you set a higher weight for a particular route in order to give it preference (a higher weight is preferred over a lower one), that weight is not advertised to other routers.

BGP uses categories such as "transitive", "non-transitive", "mandatory", and "optional" to classify attributes. Since weight is a locally significant Cisco-proprietary attribute, it does not all into any of these categories.

The weight can be changed on a single route via a route-map, or it can be set for a different weight for all routes received from a given neighbor. To change the weight for all incoming routes, use the "weight" option with the neighbor command after forming the BGP peer relationships.

R2(config)#router bgp 100

R2(config-router)#neighbor 100.1.1.1 remote-as 10

R2(config-router)#neighbor 100.1.1.1 weight 200

Learning all of the BGP attributes, as well as when to use them, can seem an overwhelming task when you first start studying for your BSCI and CCNP exams. Break this task down into small parts, learn one attribute at a time, and soon you'll have the BGP attributes mastered.



by John Freech
Copy writter © 2018 John Freech

Good Luck



Comments

Popular posts from this blog

VIDEO: Swiss ball dumbbell chest press

Improve your upper body strength with this Swiss ball workout. WH&F Head Trainer Nikki Fogden-Moore demonstrates. Read more ...

Health and fitness with Lauren Hannaford

  We chat to Lauren Hannaford ( @lozhannahford ) about her top fitness tips, how she stays motivated and her fitness mantra.   After competing as an elite gymnast for more than 20 years, IsoWhey -sponsored athlete Lauren ‘Loz’ Hannaford turned her fitness sights to gymnastics coaching, modelling and personal training. While touring the world with The Wiggles (yep, she once performed on stage as Dorothy the Dinosaur), Hannaford learnt the importance of the ‘do anywhere, anytime’ workout for boosting her health and wellbeing. “I always remind myself of how much more energised and vibrant I feel all day after I sweat myself through an awesome workout.” Her top tips Write it down - “This is a great way to believe you can do it. There is something about writing it down that makes it become real. When it becomes a real commitment there is no room for self-doubt or sabotage.” Focus on process, not outcome - “I encourage [my clients] to have their specific goals but to ultimately make...

How to avoid dry skin

  Are you prone to dry skin ? If you think your diet has nothing to do with it, your face may beg to differ. The Suspects: Alcohol , Coffee , Poor Diet In the short term, alcohol can cause dehydration , which can cause dry skin. “For women, the recommendation is no more than two standard drinks a day on average,” says dermatologist Ann-Maree Kurzydlo, who recommends limiting consumption and alternating alcoholic drinks with water. “One or two alcohol-free days should be had per week.” Caffeine is a diuretic and can also lead to dehydration of the skin - so steer clear of energy drinks as well as tea and coffee. Meanwhile, dietitian Dr Joanna McMillan says diet can also play havoc with skin. “A lack of fats in the diet can lead to dry skin, whereas good fats such as oily fish, avocado and olive oil deliver fat-soluble nutrients, are anti-inflammatory and promote skin health,” she says. “Certain nutrients are important for the skin including vitamins A, C, E and many antioxidants. ...