7.30 BGP Aggregation - Summary Only
• Modify the configuration for the previous task so that no other devices but R2 could see the specific prefixes that make up the summary.
Note
As you learned in the previous scenario, BGP summarization using the aggregate-address command creates new prefix in BGP table but does not suppress the advertisement of the specific prefixes that make up the summary. In order to generate just the summary prefix, use the option summary-only after the aggregate-address command. The BGP process will automatically suppress advertisement of the prefixes in the BGP table encompassed by the new summary address. This is probably the most common use of the aggregation command, as usually only the summarized prefix should be advertised.
Configuration
R2:
router bgp 200
aggregate-address 10.0.0.0 255.255.252.0 summary-only
Copyright
----------------------------------
Rack1R2#show ip bgp
BGP table version is 243, local router ID is 150.1.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
s> 10.0.0.0/24 0.0.0.0 0 32768 i
*> 10.0.0.0/22 0.0.0.0 32768 i
s> 10.0.1.0/24 0.0.0.0 0 32768 i
s> 10.0.2.0/24 0.0.0.0 0 32768 i
s> 10.0.3.0/24 0.0.0.0 0 32768 i
Rack1R2#show ip bgp neighbors 155.1.0.5 advertised-routes
BGP table version is 243, local router ID is 150.1.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.0.0.0/22 0.0.0.0 32768 i
*> 192.10.1.0 0.0.0.0 0 32768 i
*> 205.90.31.0 192.10.1.254 0 0 254 ?
*> 220.20.3.0 192.10.1.254 0 0 254 ?
*> 222.22.2.0 192.10.1.254 0 0 254 ?
Total number of prefixes 5
Rack1R2#
沒有留言:
張貼留言