cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
529
Views
0
Helpful
1
Replies

Bgp-Eigrp-Bgp redistribution question

marcusbrutus
Level 1
Level 1

Hi Experts,

Just wish to ask if there is an option to retain the as-path information in eigrp when i redistribute from bgp to eigrp then to bgp?

I recall coming across something similar to this before but I can't seem to remember it.

 

Thanks in advance.

 

 

1 Accepted Solution

Accepted Solutions

Hello friend.

 

No, you can't retain the AS-PATH when redistributing prefixes from BGP to EIGRP.

What you CAN do though, is to add the AS-PATH you want when redistributing it BACK to BGP.

You can do something like this:

 

1 - Add a TAG when redistributing the BGP prefixes into EIGRP

route-map SET_TAG permit 10
 set tag 100

 

!

router eigrp 1

redistribute bgp 100 metric 1 1 1 1 1 route-map SET_TAG

 

 

2 - transform the TAG into an AS_PATH, when redistributing it BACK to BGP.

 

route-map set-as-path-from-tag
set as-path tag

 

!

router bgp 100
redistribute eigrp 1 route-map set-as-path-from-tag

 

 

 

Got it ?

 

I hope this helps you !

 

cheers

View solution in original post

1 Reply 1

Hello friend.

 

No, you can't retain the AS-PATH when redistributing prefixes from BGP to EIGRP.

What you CAN do though, is to add the AS-PATH you want when redistributing it BACK to BGP.

You can do something like this:

 

1 - Add a TAG when redistributing the BGP prefixes into EIGRP

route-map SET_TAG permit 10
 set tag 100

 

!

router eigrp 1

redistribute bgp 100 metric 1 1 1 1 1 route-map SET_TAG

 

 

2 - transform the TAG into an AS_PATH, when redistributing it BACK to BGP.

 

route-map set-as-path-from-tag
set as-path tag

 

!

router bgp 100
redistribute eigrp 1 route-map set-as-path-from-tag

 

 

 

Got it ?

 

I hope this helps you !

 

cheers

Review Cisco Networking for a $25 gift card