Traffic Management in BGP | Best Practices | JN0-360 Exam | Juniper Networks

Influencing Traffic with BGP Attributes

Prev Question Next Question

Question

You want to influence how traffic enters your network.

Using industry best practices, which two BGP attributes would you modify to accomplish this goal? (Choose two)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

AD

BGP (Border Gateway Protocol) is a routing protocol that is commonly used to exchange routing information between different networks on the Internet. One of the key features of BGP is the ability to influence how traffic enters and leaves a network. This is accomplished by manipulating BGP attributes, which are used to determine the best path for traffic to take.

To influence how traffic enters your network, you can modify two BGP attributes: AS Path and Local Preference.

  1. AS Path: The AS Path attribute is a list of all the autonomous systems (AS) that a route has passed through to reach a BGP router. By modifying the AS Path attribute, you can influence the path that traffic takes to reach your network. For example, you can add or remove AS numbers from the AS Path to make a particular path more or less attractive to inbound traffic. This can be useful if you have multiple connections to the Internet and want to ensure that traffic enters your network through a specific connection.

  2. Local Preference: The Local Preference attribute is used to indicate the preferred path for traffic within a single AS. By modifying the Local Preference attribute, you can influence the path that traffic takes within your own network. For example, you can set a higher Local Preference for traffic that is entering your network from a specific location or network segment. This can be useful if you have multiple points of entry into your network and want to ensure that traffic takes the most efficient path.

Note that modifying the Next Hop attribute or the MED (Multi-Exit Discriminator) attribute is unlikely to have a significant impact on how traffic enters your network. The Next Hop attribute is used to identify the next router that traffic should be sent to, and the MED attribute is used to indicate the preferred path for outbound traffic. While these attributes can be useful in other contexts, they are not typically used to influence inbound traffic.