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

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

Question

ASN 65001 is peering with ASN 65002 to exchange IPv6 BGP routes.

All routes that originate in ASN 65001 have a standard community value of 65001:100, and ASN 65002 is allowed to advertise only 2001:db8:aaaa::/48

An engineer needs to update the ASN 65001 route-filtering configuration to meet these conditions: -> Looped routes into ASN 65001 and routes that have traversed 10 or more ASNs must be denied.

-> Routes accepted into ASN 65001 must be assigned a community value of 65001:200

Which configuration must be engineer apply to the ASN 65001 border router? A.

route-policy PEER-AS65002-IN
if as-path length ge 10 then
drop
endif
if as-path passes-through °65001" or community matches-any (65001:100) then
drop
endif
if destination in (2001:db8:aaa
pass
endif
set community (65001:200)
end-policy

/48) then

B.

route-policy PEER-AS65002-IN
if as-path length ge 10 then
drop
endif
if as-path passes-through °65001" or community matches-any (65001:100) then
drop
endif
if destination in (2001:db8:aaai
set community (65001200)
else
drop
endif
end-policy

/48) then

C.

route-policy PEER-AS€5002.IN
if as-path length ge 10 and as-path passes-through ‘65001’ or community matches-any (65001:100) then
drop
endif
if destination in (2001:db8:aaa:
pass
endif
‘set community (66001:200)
end-policy

8) then

D.

route-policy PEER-AS65002-IN
> if as-path length ge 10 or as-path passes-through '65001' or community matches-any (65001:100) then

if destination in (2001:db8:aaa:
done
else
drop
endif
‘set community (65001:200)
end-policy

Explanations

C.