Click the Exhibit button.
Which statement is true about the configuration shown in the exhibit?
A. Only the local-pref import policy will be evaluated when routes are learned from neighbor 172.30.1.1
B. Only the add-community import policy will be evaluated when routes are learned from neighbor 172.30.1.1
C. No import policy will be evaluated when routes are learned from neighbor 172.30.2.1
D. Both the add-community and local-pref import policies will be evaluated when routes are learned from neighbor 172.30.2.1
A peer-level import or export statement overrides a group import or export statement. A group-level import or export statement overrides a global BGP import or export statement.
https://www.juniper.net/documentation/en_US/junos/topics/example/policy-bgp-levels.html
The most specific is Neighbor > Group > Protocol
A. – more specific parameter is win.
A is the answer
The correct answer is actually B.
If you carefully read this white paper (https://www.juniper.net/documentation/en_US/junos/topics/topic-map/basic-routing-policies.html). You will see “A key point, and one that is often misunderstood and that can lead to problems, is that in such a configuration, only the most explicit policy is applied”.
Sorry, thats actually A.
Neighbor–>Group–> Protocol
The router always applies the most specific (and only the most specific) import or export policy.
Probably – “C”