Using industry best practices, which two BGP attributes would you modify to influence how traffic enters your network? (Choose two)
Click on the arrows to vote for the correct answer
A. B. C. D.AD
Based on industry best practices, you can use the BGP attributes AS-path (by prepending additional ASs into the outgoing BGP messages) and MED to influence how traffic enters your network.
BGP (Border Gateway Protocol) is a routing protocol used to exchange routing information between different autonomous systems (AS). When multiple paths are available for a destination, BGP uses attributes to select the best path for the traffic. Two important BGP attributes that can be modified to influence how traffic enters your network are:
For example, if you have multiple connections to the same ISP and you want to prefer traffic to enter your network through a certain link, you can set a higher local preference for the route learned through that link. The router will prefer that route for inbound traffic.
For example, if you want traffic from a certain region to enter your network through a specific link, you can prepend your AS number multiple times to the AS path of the route learned through that link. This will make that path appear longer and less attractive to inbound traffic, causing traffic to prefer other paths with shorter AS paths.
Other BGP attributes that can be used to influence inbound traffic include Next Hop and MED (Multi-Exit Discriminator). However, these attributes are less commonly used for this purpose, and are typically used for other functions such as load balancing and path selection within an AS.