Question 63 of 120 from exam 350-501-SPCOR: Implementing and Operating Cisco Service Provider Network Core Technologies

Question 63 of 120 from exam 350-501-SPCOR: Implementing and Operating Cisco Service Provider Network Core Technologies

Question

A network engineer is configuring a BGP route policy for the SUBNET prefix set.

Matching traffic must be dropped, and other traffic must have its MED value set to 400 and community 4:400 added to the route.

Which configuration must an engineer apply? A.

route-policy SUBNET

if destination in SUBNET then
drop

endif

set med 400

set local-preference 400

if community matches-any SUBNET then
set community (4:400)

endif

end-policy

end

B.

route-policy CISCO
if destination in SUBNET then
drop
endif
set med 400
if community matches-any SUBNET then
set local-preference 400
set med 500
set community (4:400) additive
endif
end-policy
end

C.

route-policy CISCO
if destination in SUBNET then
drop
else
set med 400
set community (4:400) additive
endif
end-policy
end

D.

route-policy SUBNET
if destination in BGP then
drop
else
set med 400
set community (4:400)
endif
end-policy
end

Explanations

C.