Exam 642-883 | Question id=3492 | BGP Routing in Service Provider Environments |
An engineer wants to define a route policy that sets MED to a given value in case the extended community attributes of a network prefix match at least one of the values: 65000:10, 65000:20, or 65000:30. Which configuration accomplishes this task?
A. |
extcommunity-set rt my-list
65000:10
65000:20
65000:30
end-set
route-policy my-list ($med)
if extcommunity rt matches-within my-list then
set met $med
| |
B. |
extcommunity-set rt my-list
65000:10
65000:20
65000:30
end-set
route-policy my-list ($med)
if extcommunity rt matches-any my-list then
set met $med
| |
C. |
extcommunity-set rt my-list
65000:10
65000:20
65000:30
end-set
route-policy my-list ($med)
if extcommunity rt matches-within my-list or med is $med is then set met $med
| |
D. |
extcommunity-set rt my-list
65000:10
65000:20
65000:30
end-set
route-policy my-list ($med)
if extcommunity rt matches-any my-list or med is $med then pass
|