Internetworks offers a comprehensive collection of articles and tutorials on computer networks, covering basic to advanced concepts such as data link layer, network layer, network security, and more. It’s a great starting point for beginners and a useful reference for advanced learners. A+ N+ CCNA CCNP CCIE
by Edgar C Francis
The BGP weight attribute is a Cisco-proprietary attribute used in the BGP best path selection process. It's the very first attribute that a Cisco router evaluates when choosing the best path to a destination.
Here's a breakdown of what you need to know about the BGP weight attribute:
Local Significance:The weight attribute is only locally significant to the router on which it is configured. It is not advertised to any BGP neighbors. This means that setting the weight on one router will not influence the path selection on any other router.
Preference:The path with the highest weight is preferred. If a router has multiple paths to the same destination, the path with the highest weight will be chosen as the best path, and the router will stop evaluating other attributes for that prefix.
Default Values:
Routes originated by the local router (through network or aggregate commands, or redistribution) are assigned a default weight of 32768.
Routes learned from BGP neighbors have a default weight of 0.
Range:The weight attribute can be set to any value between 0 and 65535.
Use Cases: The weight attribute is typically used to influence the outbound traffic path for a specific router. For example:
Preferring a higher-bandwidth link over a lower-bandwidth link when multiple paths to the internet exist.
Forcing traffic to exit the autonomous system (AS) through a specific peering point.
Creating a primary and backup path for redundancy on a local router.
Configuration: You can configure the weight attribute on a Cisco router using the neighbor weight <value> command under the BGP configuration for a specific neighbor. You can also set it using route maps.
Vendor Specific: Because the weight attribute is Cisco proprietary, it is not recognized by routers from other vendors like Juniper. On non-Cisco devices, the BGP best path selection process starts with other attributes like Local Preference.
In summary, the BGP weight attribute is a powerful, yet locally scoped, tool on Cisco routers that allows administrators to quickly and easily influence the outbound path selection on that specific device.
Before we start BGP configuration check out some important of BGP CCIE exam topics.
No comments:
Post a Comment