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 ...

Robyn Lawley: I don't do fad diets or fake food

Robyn Lawley is the face of Pantene , a swimware designer and cookbook author. Here, she tells us how she stays in shape. "I am an Australian size 16, which is really rare in the fashion world," Robyn says. "People don’t understand that models are so, so, so much smaller than I am. I’m trying to spread body love and body positivity because the message can get lost when people are focusing on things like weight loss stories; that’s not what I’m about." Instead of focusing on extreme diet plans , Robyn concentrates on getting fit and healthy. "I think exercise is a really great combat to depression, sadness and generally not feeling good about yourself," she says. "Fitness is where you get your endorphins and how you’re going to make yourself feel empowered. I like kickboxing, swimming and SoulCycle, which is a crazy American trend of cycling in the dark to crazy music. I’m terrible at it. I enjoy yoga as well. "I get into the trends like everyone...

Smores protein cup

  Looking for drool-worthy recovery snacks? Try this smores protein cup recipe for a healthy treat.   What you'll need (makes 1) 1 ½ scoops chocolate protein powder 1 tbsp cacao 2 tbsp melted marshmallow (or marshmallow fluff) ½ digestive biscuit Water What you'll do Combine protein and cacao with one to two tablespoons of water to create a thick pudding. Lightly grease a small, round plastic container with coconut oil (this will be your serving dish). Place half the mixture into the cup and place the biscuit on top. Freeze for 10 to 20 minutes. Remove from freezer and top with melted marshmallow before pouring remaining protein pudding on top. Freeze for another 20 to 30 minutes. Macros are for the entire portion but you can also divide the mixture into two or three using a mini muffin tin.   Recipe by Kyla Gagnon of Insideout Fitness Victoria . Check out our recipes section for more healthy treats. {nomultithumb}   Read more ...