Which configuration accomplishes this task?

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?

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



Leave a Reply 0

Your email address will not be published. Required fields are marked *