cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
510
Views
0
Helpful
3
Replies

route-map for send ibgp route to ebgp neighbour if metrix

julxu
Level 1
Level 1

on asr1004, can I config to check a subnet metric if it is 30 (an example) than send the subnet to neighper with staticly set metrix to 35?

another way to say, can I do:

route-map to-neigher permit 5

   match metrix 30

   set metrix 35

Please ad

Julxu

1 Accepted Solution

Accepted Solutions

Pawan Raut
Level 4
Level 4

Yes youcan do that but make sure if you want to send other subnet as it is then you have to add one more permit  line in route-map

route-map to-neigher permit 5
match metric 30
set metric 35
!
route-map to-neigher permit 10
!

router bgp xxx

 nei xxxx route-map to-neigher out

!

Kindly rate for useful post

View solution in original post

3 Replies 3

Pawan Raut
Level 4
Level 4

Yes youcan do that but make sure if you want to send other subnet as it is then you have to add one more permit  line in route-map

route-map to-neigher permit 5
match metric 30
set metric 35
!
route-map to-neigher permit 10
!

router bgp xxx

 nei xxxx route-map to-neigher out

!

Kindly rate for useful post

Hi Pawan

Great thanks for the advicd.

The permit 10 do not need anything else, some thing like match or set? please confirm.

Many Regards

Julxu

by default permit statement in route allow everything if we not set any condition like match
Review Cisco Networking for a $25 gift card