cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
279
Views
0
Helpful
2
Replies

Question of BGP "network" statement

gwhuang5398
Level 2
Level 2

When using "network" statement to advertise a route in BGP, does the route have to be a BGP route first? or it just needs to be in the routing table?

Thanks

G

2 Replies 2

arun kumar
Level 1
Level 1

Hi,

Using "network" statement in BGP will make the prefix to be "Internal Origin" (i) type. Only criteria is the prefix should be learned by the originating router by any means (IGP even static or e-BGP)... i.e.. originating router should have an entry in its routing table...

Origin is a well-known mandatory which will be used in BGP routing alogrithm...

HTH...

Kevin Dorrell
Level 10
Level 10

It just needs to be in the routing table. But there is one proviso: the mask must match exactly as well as the subnet.

But if you supply the classful network without a mask, then if there is any part of that classful network in the routing table, BGP will take on board the whole classful network. (Although I think you may need auto-summarization enabled for that to happen.)

Kevin Dorrell

Luxembourg

Review Cisco Networking products for a $25 gift card