Wednesday, October 5, 2011

LAB: BGP - Aggregation summary only

- modify the previous lab to advertise summary address only.


Configuration:

R2:
router bgp 200
aggregate-address 10.0.0.0 255.255.252.0 summary-only

verification:

Rack1R2#show ip bgp
*Mar  1 01:24:12.151: %SYS-5-CONFIG_I: Configured from console by console
Rack1R2#show ip bgp | inc 10.0.
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 75, 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

*> 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 ?

No comments:

Post a Comment