Two ways to get networks into BGP
- Network Commandrouter bgp 6500
network 184.108.40.206By default and based on the config above, BGP will send out a classful advertisement i.e. Class A. This is worked around by using the “mask” parameter but the mask must match exactly what is configured on the interface – it cannot be used for summarisation etc.
router bgp 6500
network 220.127.116.11 mask 255.255.255.0
- RedistributionBy default, BGP auto-summarisation is turned on when using redistribution with IOS prior to 12.2(8)T. From this version onwards, it is turned off by default.