Importing routes into BGP4+

Routes can be explicitly specified for advertisement by BGP.

Before you begin

The routes imported into BGP4+ must first exist in the IPv6 unicast route table.

Procedure

  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 neighbor remote-as command, specifying an IPv6 address, to specify the ASN in which the remote neighbor resides.
    device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 remote-as 1001
  4. Enter the address-family ipv6 unicast command to enter IPv6 address family configuration mode.
    device(config-bgp-router)# address-family ipv6 unicast
  5. Enter the network command and specify a network/mask to import the specified prefix into the BGP4+ database.
    device(config-bgp-ipv6u)# network 2001:db8::/32

Example

The following example imports the 2001:db8::/32 prefix in to the BGP4+ database for advertising.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 remote-as 1001
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# network 2001:db8::/32