Configuring BGP for IPv6
Configuring BGP
page 3-70
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide
March 2011
-> 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 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
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 neigh-
bor
command, as shown: