User guide
Configuring BGP for IPv6 Configuring BGP
page 4-64 OmniSwitch AOS Release 7 Advanced Routing Configuration Guide March 2015
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 admin-state 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 admin-state 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
example, 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 admin-state 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 admin-state enable
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
example, 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