Redistributing routes into BGP4

Various routes can be redistributed into BGP. This task redistributes connected routes into BGP4.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router bgp command to enable BGP routing.
    device(config)# router bgp
  3. Enter the redistribute command using the connected keyword to redistribute connected routes.
    device(config-bgp-router)# redistribute connected

The following example redistributes connected routes into BGP4.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# redistribute connected