6. Enter the neighbor ipv6-address peer-group command to associate a neighbor with the peer group.
device(config-bgp-router)# neighbor 2001:2018:8192::124 peer-group p1
7. Enter the neighbor ip address peer-group command to associate a neighbor with the peer group.
device(config-bgp-router)# neighbor 10.0.0.1 peer-group p1
8. Enter the address-family command and specify the ipv6 and unicast keywords to enter IPv6 address family conguration
mode.
device(config-bgp-router)# address-family ipv6 unicast
9. Enter the neighbor peer-group-name activate command to establish an IPv6 BGP session with the peer group.
device(config-bgp-ipv6u)# neighbor p1 activate
The following example creates a peer group with both IPv6 and IPv4 peers and activates the peer group in the IPv6 address family.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# neighbor p1 peer-group
device(config-bgp-router)# neighbor p1 remote-as 11
device(config-bgp-router)# neighbor 2001:2018:8192::124 peer-group p1
device(config-bgp-router)# neighbor 10.0.0.1 peer-group p1
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor p1 activate
Importing routes into BGP4+
Routes can be explicitly
specied for advertisement by BGP.
The routes imported into BGP4+ must rst exist in the IPv6 unicast route table.
1. Enter the congure terminal command to access global conguration mode.
device# configure terminal
2. Enter the router bgp command to enable BGP routing.
device(config)# router bgp
3. Enter the address-family command and specify the ipv6 and unicast keywords to enter IPv6 address family
conguration
mode.
device(config-bgp-router)# address-family ipv6 unicast
4. Enter the network command and specify a network/mask to import the specied prex into the BGP4+ database.
device(config-bgp-ipv6u)# network 2001:db8::/32
The following example imports the 2001:db8::/32 prex 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
Conguring BGP4+
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 487