cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1266
Views
10
Helpful
3
Replies

BGP doesnt send MED value on default route

rasmus.elmholt
Level 7
Level 7

Hi

 

I'm trying to manipulate some bgp attributes but can't get a route-map to change the MED value on the default route.

I have created a simple route-map to change the MED value on outgoing routes to a neighbor:

R2#show run | sec BGP-MED
router bgp 65000
neighbor 195.2.2.5 remote-as 65012
neighbor 195.2.2.5 default-originate neighbor 195.2.2.5 route-map BGP-MED out route-map BGP-MED permit 10 set metric 200

And the metric on all routes exept the default is changed when it arrives at the neighbor router(Se the attached picture)

How do i change the MED value of the default route as well?

2 Accepted Solutions

Accepted Solutions

Hi,

To change the metric value, you will need to add route-map in the default-originate statement:
neighbor 195.2.2.5 default-originate route-map BGP-MED

HTH,
Meheretab
HTH,
Meheretab

View solution in original post

Hello,

neighbor 195.2.2.5 default-originate route-map BGP-MED

View solution in original post

3 Replies 3

Hi,

To change the metric value, you will need to add route-map in the default-originate statement:
neighbor 195.2.2.5 default-originate route-map BGP-MED

HTH,
Meheretab
HTH,
Meheretab

Hi,

Than you, just the command i needed.

Hello,

neighbor 195.2.2.5 default-originate route-map BGP-MED