05-30-2019 07:11 AM
Solved! Go to Solution.
05-30-2019 07:25 AM
Hello Ibrahim,
BGP now has a default of no auto-summary.
This means that an exact match for the prefix is needed to advertise in BGP
Example:
router bgp 100
no auto-summary
network 10.0.0.0.0
network 10.4.0.0 mask 255.252.0.0
The first command advertises 10.0.0.0/8 only if the prefix is present in the IP routing table in any form.
The second command advertises 10.4.0.0/22 again if present in IP routing table.
BGP can advertise both if both are present in IP routing table, it does not think in a classful way.
The protocol is classless and looks for prefixes and their prefix lengths.
If you want to create an aggregate and to advertise only that you need
router bgp 100
aggregate-address 10.0.0.0 255.0.0.0 summary-only
Hope to help
Giuseppe
05-30-2019 07:25 AM
Hello Ibrahim,
BGP now has a default of no auto-summary.
This means that an exact match for the prefix is needed to advertise in BGP
Example:
router bgp 100
no auto-summary
network 10.0.0.0.0
network 10.4.0.0 mask 255.252.0.0
The first command advertises 10.0.0.0/8 only if the prefix is present in the IP routing table in any form.
The second command advertises 10.4.0.0/22 again if present in IP routing table.
BGP can advertise both if both are present in IP routing table, it does not think in a classful way.
The protocol is classless and looks for prefixes and their prefix lengths.
If you want to create an aggregate and to advertise only that you need
router bgp 100
aggregate-address 10.0.0.0 255.0.0.0 summary-only
Hope to help
Giuseppe
05-31-2019 12:23 AM
thanks Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide