Which option can a network specialist use to configure connected route redistribution inside VRF
“TEST” on Cisco IOS XR and allow only the prefix 10.10.10.0/24?
A.
route-policy ALLOW-CONN
if destination in PERMIT_PREFIX then
pass
else
drop
end-policy
prefix-set PERMIT_PREFIX
10.10.10.0/24
end-set
router bgp 65000
vrf TEST
rd 65000:10000
address-family ipv4 unicast
redistribute connected route-policy ALLOW-CONN
B.
route-policy ALLOW-CONN
if source in PERMIT_PREFIX then
pass
else
drop
end-policy
prefix-set PERMIT_PREFIX
10.10.10.0/24
end-set
router bgp 65000
vrf TEST
rd 65000:10000
address-family ipv4 unicast
redistribute connected route-policy ALLOW-CONN
C.
route-policy ALLOW-CONN
if protocol is connected and source in PERMIT_PREFIX then
pass
else
drop
end-policy
prefix-set PERMIT_PREFIX
10.10.10.0/24
end-set
router bgp 65000
vrf TEST
rd 65000:10000
address-family ipv4 unicast
redistribute connected route-policy ALLOW-CONN”
D.
route-policy ALLOW-CONN
if route-type is local and destination in PERMIT_PREFIX then
pass
else
drop
end-policy
prefix-set PERMIT_PREFIX
10.10.10.0/24
end-set
router bgp 65000
vrf TEST
rd 65000:10000
address-family ipv4 unicast
redistribute connected route-policy ALLOW-CONN