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

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

Question

)

RP/0/0/CPUO:ASBR1#show run router bgp

Tue Jun 2 07:18:58.154 UTC

router bgp 65200

address-family ipv4 unicast

neighbor 10.101.101.2
remote-as 65300
address-family ipv4 unicast
xoute-policy BGP-CUSTOMER-IN (ASN-65300) in
maximum-prefix 100 90
route-policy BGP-DEFAULT-ONLY-OUT out
default-originate
soft-reconfiguration inbound always

101.101.0/30 SS LL
AS 65300 )

RP/0/0/CPUO:ASBR1#show running-config prefix-set ASN-65300
Tue Jun 2 07:09:28.863 UTC
prefix-set ASN-65300

172.16.3.0/24

end-set
'

Refer to the exhibit.

A network engineer is implementing a standard customer route-policy on router ASBR1 with these requirements: -> It must accept only customer-assigned prefixes.

-> It must preserve customer-advertised BGP communities.

-> It must set the local-preference to 110 for all prefixes.

It must attach the ORIGINATION-PE and LOCAL-CITY communities to all accepted prefixes.

Which route policy must the engineer implement on ASBR1 to satisfy the requirements? A.

route-policy BGP-CUSTOMER-IN(SCUSTOMER_PREFIX)
if destination in $CUSTOMER_PREFIX then
done
else
drop
endif
set local-preference 110
‘set community ORIGINATION-PE additive
set community LOCAL-CITY additive
end-policy

B.

route-policy BGP-CUSTOMER-IN(SCUSTOMER_PREFIX)
if destination in $CUSTOMER_PREFIX then
pass
else
drop
endif
set local-preference 110
set community ORIGINATION-PE
set community LOCAL-CITY additive
end-policy

C.

route-policy BGP-CUSTOMER-IN(SCUSTOMER_PREFIX)
if destination in $CUSTOMER_PREFIX then
done
else
drop
endif
set local-preference 110
‘set community ORIGINATION-PE
set community LOCAL-CITY additive
end-policy

D.

route-policy BGP-CUSTOMER-IN(SCUSTOMER_PREFIX)
if destination in $CUSTOMER_PREFIX then
pass
else
drop
endif
‘set local-preference 110
‘set community ORIGINATION-PE additive
‘set community LOCAL-CITY additive
end-policy

Explanations

D.