Exhibit
What is the correct BGP configuration on CK1 and CK2 to have AS 65102 prefer the path to CK1 over the path to CK2 to reach AS 65001? (Influence the path selection decision by using the MED attribute)
A.
hostname CK1
!
router bgp 65001
neighbor 10.1.1.2 remote-as 65102
neighbor 10.1.1.2 route-map setmed
!
route-map setmed permit 10
set metric 100
hostname CK2
!
router bgp 65001
neighbor 10.2.2.2 remote-as 65102
neighbor 10.2.2.2 route-map setmed
!
route-map setmed permit 10
set metric 200
B.
hostname CK1
!
router bgp 65001
neighbor 10.1.1.2 remote-as 65102
neighbor 10.1.1.2 route-map setmed out
!
route-map setmed permit 10
set metric 100
hostname CK2
!
router bgp 65001
neighbor 10.2.2.2 remote-as 65102
neighbor 10.2.2.2 route-map setmed out
!
route-map setmed permit 10
set metric 200
C.
hostname CK1
!
router bgp 65001
neighbor 10.1.1.2 remote-as 65102
neighbor 10.1.1.2 route-map setmed in
!
route-map setmed permit 10
set metric 100
hostname CK2
!
router bgp 65001
neighbor 10.2.2.2remote-as 65102
neighbor 10.2.2.2 route-map setmed in
!
route-map setmed permit 10
set metric 200
D.
hostname CK1
!
router bgp 65001
neighbor 10.1.1.2 remote-as 65102
neighbor 10.1.1.2 route-map setmed in
!
route-map setmend permit 10
set metric 200
hostname CK2
!
router bgp 65001
neighbor 10.2.2.2 remote-as 65102
neighbor 10.2.2.2 route-map setmed in
!
route-map setmed permit 10
set metric 100