CCNP - BGP Aggregator

 

Lab 9 Router Aggregator

kita masih menggunakan topologi pada lab sebelumnya. Kita tambahkan beberapa ip loopback di R4 yang nantinya akan di aggregate.

 

R4  
R4(config)#int lo1 
R4(config-if)#ip add 4.1.1.1 255.255.255.255 
R4(config-if)#int lo2 
R4(config-if)#ip add 4.2.1.1 255.255.255.255 
R4(config-if)#int lo3 
R4(config-if)#ip add 4.3.1.1 255.255.255.255 
R4(config-if)#int lo4 
R4(config-if)#ip add 4.4.1.1 255.255.255.255 
R4(config-if)#int lo5 
R4(config-if)#ip add 4.5.1.1 255.255.255.255 
R4(config-if)#int lo6 
R4(config-if)#ip add 4.6.1.1 255.255.255.255
R4 
R4(config)#router bgp 4 
R4(config-router)#network 4.1.1.1 mask 255.255.255.255 
R4(config-router)#network 4.2.1.1 mask 255.255.255.255 
R4(config-router)#network 4.3.1.1 mask 255.255.255.255 
R4(config-router)#network 4.4.1.1 mask 255.255.255.255 
R4(config-router)#network 4.5.1.1 mask 255.255.255.255
R4(config-router)#network 4.6.1.1 mask 255.255.255.255


R2 
R2(config)#do sh ip bgp 
Network          Next Hop         Metric LocPrf Weight Path 
*> 4.1.1.1/32     24.24.24.4                0             0 4 i 
*> 4.2.1.1/32     24.24.24.4                0             0 4 i 
*> 4.3.1.1/32     24.24.24.4                0             0 4 i 
*> 4.4.1.1/32     24.24.24.4                0             0 4 i 
*> 4.4.4.4/32     24.24.24.4                0             0 4 i 
*> 4.5.1.1/32     24.24.24.4                0             0 4 i 
*> 4.6.1.1/32     24.24.24.4                0             0 4 i 


R4  
R4(config)#router bgp 4 
R4(config-router)#aggregate-address 4.0.0.0 255.248.0.0 


R2 
R2(config)#do show ip bgp 
Network           Next Hop          Metric LocPrf Weight Path 
*> 4.0.0.0/13     24.24.24.4                 0              0 4 i 
*> 4.1.1.1/32     24.24.24.4                 0              0 4 i 
*> 4.2.1.1/32     24.24.24.4                 0              0 4 i 
*> 4.3.1.1/32     24.24.24.4                 0              0 4 i 
*> 4.4.1.1/32     24.24.24.4                 0              0 4 i 
*> 4.4.4.4/32     24.24.24.4                 0              0 4 i 
*> 4.5.1.1/32     24.24.24.4                 0              0 4 i 
*> 4.6.1.1/32     24.24.24.4                 0              0 4 i 
 R2 
R2(config)#do show ip bgp 4.0.0.0/13 
BGP routing table entry for 4.0.0.0/13, version 14 
Paths: (1 available, best #1, table Default-IP-Routing-Table) 
 advertised to update-groups: 
     1 2 
4, (aggregated by 4 4.4.4.4) 
 24.24.24.4 from 24.24.24.4 (4.4.4.4) 
  Origin IGP, metric 0, localpref 100, valid, external, atomic-aggregate, best 
  Community: 2:24 


R4 
R4(config)#router bgp 4 
R4(config-router)#aggregate-address 4.0.0.0 255.248.0.0 summary-only
R2(config)#do show ip bgp 
Network           Next Hop     Metric     LocPrf     Weight Path 
*> 4.0.0.0/13      24.24.24.4         0             0             4        i
R4 
R4(config)#access-list 1 permit host 4.2.1.1 
R4(config)#access-list 1 permit host 4.3.1.1 
R4(config)#access-list 1 permit host 4.4.1.1 
R4(config)#access-list 1 deny any 
R4(config)#do show ip bgp 
Network            Next Hop             Metric LocPrf Weight Path 
*> 4.0.0.0/13      0.0.0.0                           32768 i 
*> 4.1.1.1/32      0.0.0.0                     0     32768 i 
s> 4.2.1.1/32      0.0.0.0                     0      32768 i 
s> 4.3.1.1/32      0.0.0.0                     0      32768 i 
s> 4.4.1.1/32 0.0.0.0                          0      32768 i 
*> 4.4.4.4/32 0.0.0.0                          0      32768 i 
*> 4.5.1.1/32 0.0.0.0                          0      32768 i 
*> 4.6.1.1/32 0.0.0.0                          0      32768 i

R2 
R2(config)#do show ip bgp 
Network             Next Hop             Metric LocPrf Weight Path 
*> 4.0.0.0/13         24.24.24.4               0             0 4 i 
*> 4.1.1.1/32         24.24.24.4               0             0 4 i 
*> 4.4.4.4/32         24.24.24.4               0             0 4 i 
*> 4.5.1.1/32         24.24.24.4               0             0 4 i 
*> 4.6.1.1/32         24.24.24.4               0             0 4 i




Komentar

Postingan populer dari blog ini

CCNP - GLBP (Gateway Load Balancing Protocol)

CCNP - eBGP Peering

CCNP - IPv6 Tunneling IPv6IP 6to4