Wednesday, September 7, 2011

LAB: BGP Auto Summary

- Configure R4 and R6 to originate classful auto-summaries for all of your internally assigned address space.
-  BB1 and BB3 should not see any of the subnet advertisements that make up this summary.
-  Ensure full reachability from your internal network to all routes learned
from AS 54.
- Do not use the aggregate-address command to accomplish this and use different methods to originate routes at R4 and R6.



R4
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 204.12.1.0
 redistribute connected route-map CONNECTED_TO_BGP
 neighbor 150.1.1.1 remote-as 100
 neighbor 150.1.1.1 update-source Loopback0
 neighbor 204.12.1.254 remote-as 54
 auto-summary
!
route-map CONNECTED_TO_BGP
match interface Loopback0
match interface FastEthernet 0/1

R6
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 54.1.1.0 mask 255.255.255.0
 network 150.1.0.0
 network 155.1.0.0
 neighbor 54.1.1.254 remote-as 54
 neighbor 150.1.1.1 remote-as 100
 neighbor 150.1.1.1 update-source Loopback0
 auto-summary

verification of advertised routes.


Rack1R4#show ip bgp neighbors 204.12.1.254 advertised-routes
BGP table version is 76, local router ID is 150.1.4.4
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
r>i54.1.1.0/24      150.1.6.6                0    100      0 i
*> 150.1.0.0        0.0.0.0                  0         32768 ?
*> 155.1.0.0        0.0.0.0                  0         32768 ?
*> 204.12.1.0       0.0.0.0                  0         32768 i

Rack1R6#show ip bgp neighbors 54.1.1.254 advertised-routes
BGP table version is 71, local router ID is 150.1.6.6
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
*> 54.1.1.0/24      0.0.0.0                  0         32768 i
*> 150.1.0.0        0.0.0.0                  0         32768 i
*> 155.1.0.0        0.0.0.0                  0         32768 i
r>i204.12.1.0       150.1.4.4                0    100      0 i


No comments:

Post a Comment