User guide
Configuring BGP Configuring BGP for IPv6
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide March 2015 page 4-65
4 Enable IPv6 unicast capability to the IPv6 BGP peer using the ip 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 admin-state 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 admin-state enable
Configuring an IPv6 BGP Peer to Exchange Globally Unique IPv6 Unicast
Addresses
By default, globally unique IPv6 unicast addresses are exchanged between internal BGP IPv6 peers.
Exchange of globally unique IPv6 unicast addresses between external BGP IPv6 peers must be explicitly
configured using BGP policy on both the BGP speakers.
To configure an IPv6 BGP Unique IPv6 Unicast Addresses follow the steps mentioned below:
1 Create a prefix list for the well-known Unique IPv6 Unicast address using the ip bgp policy prefix6-
list as shown:
-> ip bgp policy prefix6-list uniqLocal FC00::/48
-> ip bgp policy prefix6-list uniqLocal FC00::/48 action permit
-> ip bgp policy prefix6-list uniqLocal FC00::/48 admin-state enable
2 Create an IPv6 BGP peer with which the BGP speaker will establish peering using the ipv6 bgp
neighbor command, as shown:
-> ipv6 bgp neighbor 2021::10
3 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 2 to AS number 20, you would enter:
-> ipv6 bgp neighbor 2021::10 remote-as 20
4 Enable IPv6 unicast capability to the IPv6 BGP peer using the ipv6 bgp neighbor command, as
shown:
-> ipv6 bgp neighbor 2021::10 activate-ipv6
5 Apply the policy to the bgp neighbor using the ipv6 bgp neighbor in-prefix6list and ipv6 bgp
neighbor out-prefix6list commands as shown:
-> ipv6 bgp neighbor 2021::10 out-prefix6list uniqLocal
-> ipv6 bgp neighbor 2021::10 in-prefix6list uniqLocal
6 Enable the BGP peer status using the ipv6 bgp neighbor admin-state command:
-> ipv6 bgp neighbor 2021::10 admin-state 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: