cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
2
Helpful
15
Replies

EIGRP distribute-list and redistribute connected

sebastien3
Level 4
Level 4

Hello,

 

 

router eigrp EIGRP
 !        
 address-family ipv4 unicast autonomous-system 10
  !       
  af-interface default
   passive-interface
  exit-af-interface
  !       
  af-interface Tunnel1
   no passive-interface
  exit-af-interface
!
  topology base
   distribute-list prefix NO_IP-TUN1 out Tunnel1
   redistribute connected route-map MY_PREFIXE
!
route-map MY_PREFIXE permit 10
 description *** list of authorized Loopback ***
 match ip address 20
!
ip prefix-list NO_IP-TUN1 seq 5 deny 10.0.0.1/32
access-list 20 permit 192.168.1.100
access-list 20 permit 192.168.2.100

 

 

I want to not distribute the IP address of Tunnel 1 interface (10.0.0.1) => It's OK with NO_IP-TUN1 out
I want to redistribute only the prefixes being in access-list 20 using the MY_PREFIXE route-map in EIGRP.

With the configuration above this does not work, no IP from access-list 20 is redistributed !
If I add the following rule ip prefix-list NO_IP-TUN1 seq 10 permit 0.0.0.0/0 le 32 the IP present on the router (with code  C - connected) are all redistributed even if they are not in the access-list 20...

What is my mistake ?

Thanks

15 Replies 15

Please close this issue if you get solve 

MHM

Review Cisco Networking for a $25 gift card