What will the configuration on R1 accomplish?

Given the following:
router bgp 65102
neighbor 10.1.1.1 remote-as 65103
neighbor 10.2.2.2 remote-as 65104
neighbor 172.16.1.4 remote-as 65102
neighbor 10.1.1.1 route-map setlp in
!
route-map setlp permit 10
match community 1
set local-preference 150
!
route-map setlp permit 20
!
ip community-list 1 permit 65103:150
What will the configuration on R1 accomplish?

Given the following:
router bgp 65102
neighbor 10.1.1.1 remote-as 65103
neighbor 10.2.2.2 remote-as 65104
neighbor 172.16.1.4 remote-as 65102
neighbor 10.1.1.1 route-map setlp in
!
route-map setlp permit 10
match community 1
set local-preference 150
!
route-map setlp permit 20
!
ip community-list 1 permit 65103:150
What will the configuration on R1 accomplish?

A.
Routes from AS 65103 marked with a Community of 65103: 150 will have the default Local Preference; all other routes will have a Local Preference of 150

B.
Routes from AS 65103 marked with a Community of 65103: 150 will have a Local Preference of 150; all other routes will have the default Local Preference.

C.
Routes from AS 65103 and AS 65104 marked with a Community of 65103: 150 will have the default Local Preference; all other routes will have a Local Preference of 150.

D.
Routes from AS 65103 and AS 65104 marked with a Community of 65103: 150 will have a Local Preference of 150; all other routes will have the default Local Preference.

Explanation:
Route Map applies to only BGP routes from AS 65103. Local Preference is increased if the community string is set. Route Map is only applied to 10.1.1.1 neighbor (AS 65103).



Leave a Reply 0

Your email address will not be published. Required fields are marked *