cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2405
Views
5
Helpful
4
Replies

how to redistribute default route into both eigrp & BGP using ACL

Dr.X
Level 2
Level 2

hi ,

assume i have

EIGRP 1 WITH ASN1 ===================EIGRP 2 WITH ASN2

assume  IN eigrp 1 , there is a defualt route and we want to redistriube obly this route to asn 2

note that  the default route is in the routign table ,

note that typing

network 0.0.0.0 0.0.0.0 under eigrp command  is uncorrect .

my question is how to redistribute the default route in to eigrp using ACL  ?

im concentrating about the ACL wt i need to type in the ACL .

regards

4 Replies 4

cadet alain
VIP Alumni
VIP Alumni

Hi,

is the default route a default static route already redistributed into EIGRP  1 with redistribute static command?

if so it appears in the topology table  for EIGRP 1 of the router with the 2 EIGRP ASes .

Do you want to redistribute this prefix only in EIGRP 2 and does it have to be with an ACL, not a prefix-list?

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

yes ,  i want only to redistribute the defualt route

I WILL Type :

rediatribute static route-map xxx

and the route map will refer to ACL which match only a defualt route connected on the router .

plz i want all the possibilities of typing the ACL



Here are a few ways to match the default route in order to filter or allow in routing updates.

Using ip prefix-list (the preferred way)

ip prefix-list MATCH_DEFAULT seq 5 permit 0.0.0.0/0

using ACLs (least preferred method)

standard ACL

access-list 1 permit 0.0.0.0

HTH

Sorry this was a little vague.  Here are a few examples for EIGRP and BGP:

EIGRP

=====

In the following example, EIGRP process 1 is configured to accept two networks, the default network 0.0.0.0 and network 10.108.0.0:

access-list 1 permit 0.0.0.0
access-list 1 permit 10.108.0.0
access-list 1 deny 0.0.0.0 255.255.255.255
!

router eigrp 1
network 10.108.0.0
distribute-list 1 in

BGP

====

In this example BGP is configured to deny the network 10.10.10.0/24 from the BGP neighbor 172.16.1.2.  Example:

access-list 1 deny 10.10.10.0 0.0.0.255

access-list 1 permit any

!

router bgp 100

neighbor 172.16.1.2 remote-as 200

neighbor 172.16.1.2 distribute-list 1 in

HTH

Brian

Review Cisco Networking products for a $25 gift card