cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1310
Views
0
Helpful
13
Replies

Changing eigrp type route after redistribution mpls

Dear Mister

I had a scenary, where I have a MPLS network. In the borders, the protocol is EIGRP.

By someone reason the redistributed routes EIGRP -> mpbgp >> EIGRP are show like "internal".

Is possible to change this toward EXternao EIGRP??? I am trying with "cost community", but do not result.

I appreciatte a little help.

Best Regdra

13 Replies 13

Hi Rodrigo,

You should see them like internal AD 90, could you please share the config of the PEs and CEs? 

You could be receiving the routes as external if you are leaking route-targets between VRFs.




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Thanks ...

I going to investigate "leaking route-targets" ..

Is just a one VRFs:

* CE ROUTER LEAF SIDE

ip vrf Arauco
 rd 100:1
 route-target export 100:1
 route-target import 100:1

router eigrp 100
 no auto-summary
 !
 address-family ipv4 vrf Arauco
  redistribute bgp 100 metric 10000 10 255 1 1500
  network 172.16.252.104 0.0.0.3
  no auto-summary
  autonomous-system 18
 exit-address-family

router bgp 100
 no synchronization
 bgp log-neighbor-changes
 bgp bestpath cost-community ignore
 neighbor 1.1.1.1 remote-as 100
 neighbor 1.1.1.1 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 1.1.1.1 activate
  neighbor 1.1.1.1 send-community both
 exit-address-family
 !
 address-family ipv4 vrf Arauco
  redistribute eigrp 18
  no synchronization
 exit-address-family

* CENTRAL CE SIDE

ip vrf Arauco
 rd 100:1
 route-target export 100:1
 route-target import 100:1

router eigrp 100
 auto-summary
 !
 address-family ipv4 vrf Arauco
  redistribute bgp 100 metric 10000 10 255 1 1500
  network 172.16.252.8 0.0.0.3
  no auto-summary
  autonomous-system 18
 exit-address-family

router bgp 100
 no synchronization
 bgp log-neighbor-changes
 neighbor 6.6.6.6 remote-as 100
 neighbor 6.6.6.6 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 6.6.6.6 activate
  neighbor 6.6.6.6 send-community both
   exit-address-family
 !
 address-family ipv4 vrf Arauco
  redistribute eigrp 18
  no synchronization
 exit-address-family

Thanks in advance.

Regards

Hi Rodrigo,

Your configuration looks fine on the PEs, the only different think is bgp bestpath cost-community ignore, but it should not affect. 

Could you please provide the configuration of the CE routers

CE - PE  -MPLS-   PE - CE

This is my configuration on a PE router, try to replace your EIGRP configuration like mine. 

router eigrp TEST

address-family ipv4 unicast vrf VPN_A autonomous-system 18

topology base
redistribute bgp 100 metric 10000 10 255 1 1500
exit-af-topology
network <your network>
exit-address-family

router ospf 1
mpls ldp autoconfig
router-id 2.2.2.2
network 0.0.0.0 255.255.255.255 area 0

router bgp 100
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 100.100.100.100 remote-as 100
neighbor 100.100.100.100 update-source Loopback0

address-family ipv4
exit-address-family

address-family vpnv4
neighbor 100.100.100.100 activate
neighbor 100.100.100.100 send-community extended
exit-address-family

address-family ipv4 vrf VPN_A
redistribute eigrp 18
exit-address-family




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Thanks Mister

I attach the config.

Best Regards and thanks a lot.

Try modifying the EIGRP like 

router eigrp TEST

address-family ipv4 unicast vrf VPN_A autonomous-system 18

topology base
redistribute bgp 100 metric 10000 10 255 1 1500
exit-af-topology
network <your network>
exit-address-family

Not sure if it is on production to make changes. 

Just a question, eigrp 50 is not working right?




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hi Mister

My version router do not support "topology base" command.

Eigrp 50 does exist, but here does not interest.

Regards

Thank you Rodrigo, please provide me the output of:

show bgp vpnv4 unicast all summary

and

show ip route vrf Arauco

from both PE routers. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Dear Mister

Here goes the files.

Best Regards

Thank you Rodrigo, Im going to verify it. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hi Rodrigo,

I have tested your configuration on my lab and the config is working perfectly, both client routers are receiving the routes as Internal, so something else is affecting, Im going to double check your other configurations. 

PE01

router eigrp 100
!
address-family ipv4 vrf Arauco
redistribute bgp 100 metric 10000 10 255 1 1500
network 10.12.0.0 0.0.0.255
network 172.16.252.104 0.0.0.3
autonomous-system 18
exit-address-family
!
router ospf 1
mpls ldp autoconfig
network 2.2.2.2 0.0.0.0 area 0
network 10.23.0.0 0.0.0.255 area 0
!
router bgp 100
bgp log-neighbor-changes
bgp bestpath cost-community ignore
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
!
address-family vpnv4
neighbor 4.4.4.4 activate
neighbor 4.4.4.4 send-community both
exit-address-family
!
address-family ipv4 vrf Arauco
redistribute eigrp 18
exit-address-family

PE02

router eigrp 100
!
address-family ipv4 vrf Arauco
redistribute bgp 100 metric 10000 10 255 1 1500
network 10.45.0.0 0.0.0.255
autonomous-system 18
exit-address-family
auto-summary
!
router ospf 1
mpls ldp autoconfig
network 4.4.4.4 0.0.0.0 area 0
network 10.34.0.0 0.0.0.255 area 0
!
router bgp 100
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 update-source Loopback0
!
address-family vpnv4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community both
exit-address-family
!
address-family ipv4 vrf Arauco
redistribute eigrp 18
exit-address-family




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Are you redistributing other protocol or static routes into EIGRP 18 from Movistar side? Your MPLS config is good, but the EX routes can be originated by other router redistributing into EIGRP 18




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

willwetherman
Spotlight
Spotlight

Hi,

 

As far as I'm aware, when using BGP L3 VPNs with EIGRP as the CE to PE routing protocol, if the source and destination EIGRP AS numbers are the same then the routes will show up as internal (AD 90). If the source and destination EIGRP AS numbers are different then the routes will show up as external (AD 170).

I can see in your configuration that EIGRP uses the same AS number of 18 on both sides of the MP-BGP network so the routes will show up as internal. BGP uses an extended community value to preserve the EIGRP AS number, as well as other attributes such as cost, over the MP-BGP network. I don’t believe that it is possible to instruct BGP to ignore the AS number that is carried in the extended community value, nor is there a way to manipulate it. The only way to force the routes to appear as external is to use different source and destination EIGRP AS numbers. Someone else may need to verify this.

 

Thanks a lot.

I must to redistribute with other router, and the routes are showed like External.

Thank you for your help

Best Regards

Review Cisco Networking products for a $25 gift card