Alcatel-Lucent 6850 Switch User Manual


 
Configuring BGP for IPv6 Configuring BGP
page 4-70 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide December 2007
Configuring an IPv6 BGP Peer Using Link-Local IPv6 Addresses to Exchange
IPv6 Prefixes
To configure an IPv6 BGP peer using its link-local IPv6 address 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 link-local IPv6
address with the ipv6 bgp neighbor command, as shown:
-> ipv6 bgp neighbor fe80::2d0:95ff:fee2:6ed0
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 20, you would enter:
-> ipv6 bgp neighbor fe80::2d0:95ff:fee2:6ed0 remote-as 20
3 Configure the local IPv6 interface from which the BGP peer will be reachable using the
ipv6 bgp neighbor update-source command. For example, to configure Vlan2 as the IPv6 interface name
from which the BGP peer is connected, you would enter:
-> ipv6 bgp neighbor fe80::2d0:95ff:fee2:6ed0 update-source Vlan2
4 Enable IPv6 unicast capability to the IPv6 BGP peer using the ipv6 bgp neighbor activate-ipv6
command, as shown:
-> ipv6 bgp neighbor fe80::2d0:95ff:fee2:6ed0 activate-ipv6
5 Enable the BGP peer status using the ipv6 bgp neighbor status command. For example, to enable the
status of the BGP peer with a link-local IPv6 address of fe80::2d0:95ff:fee2:6ed0, you would enter,
-> ipv6 bgp neighbor fe80::2d0:95ff:fee2:6ed0 status enable
Configuring an IPv6 BGP peer to Exchange IPv4 Prefixes
A BGP peer that is identified by its IPv6 address can be used to exchange IPv4 prefixes. However, to do
this, both peers should be enabled with IPv4 BGP unicast and should have interfaces that support IPv4
addresses. To configure an IPv6 BGP peer to exchange IPv4 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 Set the IPv4 next hop address for IPv4 prefixes advertised to the IPv6 BGP peer using the
ipv6 bgp neighbor ipv4-nexthop command, as shown:
-> ipv6 bgp neighbor 2001::1 ipv4-nexthop 190.17.20.1
4 Enable the BGP peer status using the ipv6 bgp neighbor status command, as shown:
-> ipv6 bgp neighbor 2001::1 status enable