cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
351
Views
4
Helpful
1
Replies

BGP Route-maps

Leo_Stobbe
Level 1
Level 1

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 1

Jon Marshall
Hall of Fame
Hall of Fame

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

Review Cisco Networking products for a $25 gift card