Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

BGP Route-maps

HI Gents,

I have configured BGP with ISP like this.

neighbor 10.10.1.1 remote-as 65000

neighbor 10.10.1.1 activate

neighbor 10.10.1.1 soft-reconfiguration inbound

neighbor 10.10.1.1 prefix-list TEST-PREFIX out

no auto-summary

no synchronization

network 20.20.20.0 mask 255.255.255.0 route-map TEST-PREFIX

ip prefix-list TEST-PREFIX seq 5 permit 20.20.20.0/24

route-map TEST-PREFIX permit 10

match ip address prefix-list TEST-PREFIX

Question is:

I want to sending my updates to ISP with MED value - 75.Should i just add "set Metric 75" to existing TEST-PREFIX route-map? Or i need to create another route-map and attach it to neighbor?

For example:

route-map MED_OUT permit 10

set Metric 75

router bgp 65000

neighbor 10.10.1.1 route-map MED_OUT

out

thanks

1 REPLY
Hall of Fame Super Blue

Re: BGP Route-maps

Hi Leo

You can just add the set metric to the route-map ie.

route-map TEST-PREFIX permit 10

match ip address prefix-list TEST-PREFIX

set metric 75

This will set the MED of the routes allowed by this route-map to 75.

Hope i have understood properly.

Jon

174
Views
4
Helpful
1
Replies