BGP Route-maps

Unanswered Question
Apr 10th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Jon Marshall Tue, 04/10/2007 - 05:35

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

Actions

This Discussion