2013/11/17

WB1 7.31 BGP Aggregation - Suppress Map

7.31 BGP Aggregation - Suppress Map
• Modify the solution for the previous task so that R2 advertises 10.0.2.0/24 prefix in addition to the summary route.


R2:
ip prefix-list NET_2 permit 10.0.2.0/24
!
route-map SUPPRESS_MAP deny 10
match ip address prefix-list NET_2
!
route-map SUPPRESS_MAP permit 100
!
router bgp 200
aggregate-address 10.0.0.0 255.255.252.0 suppress-map SUPPRESS_MAP


---------------------------------------------------------

Rack1R2#show ip bgp                                      
BGP table version is 252, 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
*> 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 252, 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
*> 10.0.2.0/24      0.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 6
Rack1R2#

沒有留言:

張貼留言