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

BGP Quick Clarification Question

Greetings,

Router BGP is redistributing an OSPF instance. The OSPF instance carries a 10.10.10.x/24 and 192.168.10.x/24 networks. Do I need to specify both networks in bgp? For Example

router bgp 65000

network 10.10.10..0 mask 255.255.254.0

network 192.168.10.0 mask 255.255.255.255

redistribute ospf 100

Thanks

2 REPLIES
Hall of Fame Super Blue

Re: BGP Quick Clarification Question

No you don't need to have network statements if these are in the IGP routing table and you are redistributing OSPF into BGP.

The network statements would be needed if they were in the IGP table but you were not redistributing into BGP.

Edit - you may also want to look at this doc as there are a number of options as to which types of OSPF route you redistribute into BGP -

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml

Jon

New Member

Re: BGP Quick Clarification Question

Short and sweet, just what i needed. Thanks

96
Views
5
Helpful
2
Replies
CreatePlease to create content