Various routes can be redistributed into BGP. This task redistributes connected routes into BGP.
-
Enter the
configure terminal command to access global configuration mode.
device# configure terminal
-
Enter the
router bgp command to enable BGP routing.
device(config)# router bgp
-
Enter the
address-family ipv6 unicast command to enter BGP IPv6 address family unicast configuration mode.
device(config-bgp-router)# address-family ipv6 unicast
-
Enter the
redistribute
command using the
connected keyword to redistribute connected routes into BGP4+.
device(config-bgp-ipv6u)# redistribute connected
The following example redistributes connected routes into BGP4+.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# redistribute connected