Debugs and Verification

Example 15-30 shows an example in which R1 has a static route for 100.100.100.0/24 and 131.108.5.0/24. Notice that these are subnetted Class A and B routes, respectively.

When these static routes are redistributed in BGP, BGP autosummarizes them to their natural class masks, which are /8 and /16 respectively.

Example 15-30 shows the relative configuration in R1 to redistribute these static routes in BGP; it also displays the BGP table output for these advertisements.

Example 15-30 Configuring Redistribution of Static Routes in BGP

R1# router bgp 109 no synchronization redistribute static neighbor 131.108.1.2 remote-as 109

ip route 100.100.100.0 255.255.255.0 NullO ip route 131.108.5.0 255.255.255.0 Null0

ip route 100.100.100.0 255.255.255.0 NullO ip route 131.108.5.0 255.255.255.0 Null0

Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to non peer-group peers: 131.108.1.2 Local

Origin incomplete, metric 0, localpref

* PREVIOUS

< Free Open Study >

BSD

Was this article helpful?

0 0

Post a comment