Alcatel-Lucent 9000 Switch User Manual


 
Configuring BGP Configuring BGP for IPv6
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide December 2007 page 4-69
Configuring an IPv4 BGP Peer to Exchange IPv6 Prefixes
A BGP peer that is identified by its IPv4 address can be used to exchange IPv6 prefixes. However, to do
this both the peers should be enabled with IPv6 BGP unicast and should have interfaces that support IPv6
addresses. To configure an IPv4 BGP peer to exchange IPv6 prefixes, follow the steps mentioned below:
1 Create an IPv4 BGP peer with which the BGP speaker will establish peering using its IPv4 address
with the ip bgp neighbor command, as shown:
-> ip bgp neighbor 190.17.20.16
2 Assign an AS number to the IPv4 peer using the ip bgp neighbor remote-as command. For example,
to assign the peer created in Step 1 to AS number 200, you would enter:
-> ip bgp neighbor 190.17.20.16 remote-as 200
3 Enable IPv6 unicast capability for the IPv4 BGP peer using the ip bgp neighbor activate-ipv6
command, as shown:
-> ip bgp neighbor 190.17.20.16 activate-ipv6
4 Set the IPv6 next hop address for IPv6 prefixes advertised to the IPv4 BGP peer using the
ip bgp neighbor ipv6-nexthop command, as shown:
-> ip bgp neighbor 190.17.20.16 ipv6-nexthop 2001::1
5 Enable the BGP peer status using the ip bgp neighbor status command. For example, to enable the
status of the IPv4 BGP peer with an IPv4 address of 190.17.20.16, you would enter:
-> ip bgp neighbor 190.17.20.16 status enable
Configuring an IPv6 BGP Peer to Exchange IPv6 Prefixes
To configure an IPv6 BGP peer to exchange IPv6 prefixes, follow the steps mentioned below:
1 Create an IPv6 BGP peer with which the BGP speaker will establish peering using its IPv6 address
with the ipv6 bgp neighbor command, as shown:
-> ipv6 bgp neighbor 2001::1
2 Assign an AS number to the IPv6 peer using the ipv6 bgp neighbor remote-as command. For exam-
ple, to assign the peer created in Step 1 to AS number 10, you would enter:
-> ipv6 bgp neighbor 2001::1 remote-as 10
3 Enable IPv6 unicast capability for the IPv6 BGP peer using the ipv6 bgp neighbor activate-ipv6
command, as shown:
-> ipv6 bgp neighbor 2001::1 activate-ipv6
4 Enable the BGP peer status using the ipv6 bgp neighbor status command. For example, to enable the
status of the IPv6 BGP peer with an IPv6 address of
2001::1, you would enter:
-> ipv6 bgp neighbor 2001::1 status enable