What does the route map named test in the following BGP configuration accomplish?

What does the route map named test in the following BGP configuration accomplish? router bgp 65111
neighbor 10.1.1.1 remote-as 65112
neighbor 10.1.1.1 route-map test out
!
ip as-path access-list 1 permit_65222$
ip as-path access-list 2 permit.*
!
route-map test permit 10
match as-path 1
set metric 200
!
route-map test permit 20
match as-path 2

What does the route map named test in the following BGP configuration accomplish? router bgp 65111
neighbor 10.1.1.1 remote-as 65112
neighbor 10.1.1.1 route-map test out
!
ip as-path access-list 1 permit_65222$
ip as-path access-list 2 permit.*
!
route-map test permit 10
match as-path 1
set metric 200
!
route-map test permit 20
match as-path 2

A.
Marks all prefixes advertised to the 10.1.1.1 neighbor with a MED of 200.

B.
Marks all prefixes received from the 10.1.1.1 neighbor with a MED of 200.

C.
Marks all prefixes originating in autonomous system 65222 advertised to the 10.1.1.1 neighbor with a MED of 200.

D.
Marks all prefixes originating in autonomous system 65222 received from the 10.1.1.1 neighbor with a MED of 200.

Explanation:
_65222$. _ space, $ end of path. The first route map statement does this. Route map is applied out bound to 10.1.1.1



Leave a Reply 0

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