Which two BGP attributes influence traffic coming into an AS? (Choose two.)
Click on the arrows to vote for the correct answer
A. B. C. D.AB
A: The LOCAL_PREF attribute is a well-known attribute that represents the network operator's degree of preference for a route within the entire AS. The larger the value of the local preference, the more preferable the route is.
B: The BGP NEXT_HOP is a well-known mandatory attribute. The Next Hop attribute is set when a BGP speaker advertises a prefix to a BGP speaker outside its local autonomous system (it may also be set when advertising routes within an AS, this will be discussed in later sections). The Next Hop attribute may also serve as a way to direct traffic to another speaker, rather than the speaker advertising the route itself
http://www.informit.com/articles/article.aspx?p=331613&seqNum=5The two BGP attributes that influence traffic coming into an Autonomous System (AS) are local preference and MED (Multi-Exit Discriminator).
For example, if an AS has two connections to another AS, one connection with a local preference of 200 and another with a local preference of 100, traffic entering the AS through the first connection is preferred because it has a higher local preference value.
For example, if an AS has two connections to another AS, it can set a lower MED value for the path it prefers for outbound traffic to a particular destination. In this case, the neighboring AS will prefer to send traffic for that destination to the AS with the lower MED value.
Note that MED only influences inbound traffic into an AS, and it is not guaranteed to work in all scenarios. Additionally, MED is not always honored by all BGP routers.
Next hop and origin are not attributes that influence traffic coming into an AS. The next hop attribute is used to specify the IP address of the next hop router on the path to the destination network, while the origin attribute is used to indicate the origin of the BGP route (i.e., whether the route was learned via an interior or exterior gateway protocol).