Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Are multiple "redistribute" statements allowed in a dynamic routing protocol

Forum,

I am working at a client site today.  I have come across a routing issue which has raised some quesitons.

Please look at the following config excerpt from the client router

router bgp 65001
no synchronization
bgp log-neighbor-changes
network 0.0.0.0
network 172.31.100.0 mask 255.255.255.0
network 192.168.5.0
network 192.168.15.0
redistribute static metric 30 route-map static-bgp-rm
redistribute eigrp 13 metric 20 route-map eigrp-bgp-rm
neighbor 12.115.94.169 remote-as 7018
neighbor 12.115.94.169 send-community
neighbor 12.115.94.169 soft-reconfiguration inbound
no auto-summary

Is it legal to use more than one "redistribute" statment in this BGP instance, or in any other dynamic routing protocol instance?

Thanks

Kevin

1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: Are multiple "redistribute" statements allowed in a dynamic

This is supported.  You should have a different redistribute statement for each protocol that is redistributed into the protocol in question. 


router bgp XXXXX

redistribute eigrp

redistribute rip

redistribute ospf

redistribute connected

redistribute static

redistribute isis


Using a route map as is done in your example is a great method of preventing route loops as well as filtering routes between protocols.



Chris

2 REPLIES
Silver

Re: Are multiple "redistribute" statements allowed in a dynamic

This is supported.  You should have a different redistribute statement for each protocol that is redistributed into the protocol in question. 


router bgp XXXXX

redistribute eigrp

redistribute rip

redistribute ospf

redistribute connected

redistribute static

redistribute isis


Using a route map as is done in your example is a great method of preventing route loops as well as filtering routes between protocols.



Chris

Hall of Fame Super Silver

Re: Are multiple "redistribute" statements allowed in a dynamic

Hello Kevin,

this is a supported configuration

be aware that only routes installed in IP routing table are actually redistributed into target protocol
(BGP in this case)

you could even have static redistributed into EIGRP also and EIGRP and static routes redistributed into BGP.

Hope to help

Giuseppe

321
Views
5
Helpful
2
Replies
CreatePlease to create content