User guide
Configuring BGP for IPv6 Configuring BGP
page 4-70 OmniSwitch AOS Release 7 Advanced Routing Configuration Guide March 2015
Configuring a BGP Peer with the IPv6 Loopback0 Interface
An IPv6 Loopback0 virtual interface is used to identify a consistent IPv6 address for network management
purposes. The IPv6 Loopback0 interface is not bound to any VLAN or other physical interface, so it will
always remain operationally active. This differs from other IPv6 interfaces, If there are no active ports in
the VLAN, all IPv6 interfaces associated with that VLAN are not active. In addition, the IPv6 Loopback0
interface provides a unique IPv6 address for the switch that is easily identifiable to network management
applications.
It is possible to create BGP peers using the IPv6 Loopback0 interface address of the peering router and
binding the source address (that is, outgoing IPv6 address for the TCP connection) to its own configured
IPv6 Loopback0 interface address. The IPv6 Loopback0 interface address can be used for both internal
and external BGP peer sessions. For EBGP sessions, if the external peer router is multiple hops away, the
ebgp-multihop parameter may need to be used.
The following example configures a BGP peering session using an IPv6 Loopback0 interface which is
configured with the address 2004::2:
-> ipv6 bgp neighbor 2001::1 update-source-address 2004::2
See the OmniSwitch AOS Release 7 Network Configuration Guide for more information about configuring
an IPv6 Loopback0 interface.
Configuring the advertising of IPv4 routes for IPv6 peers
You can enable or disable the advertising of IPv4 routes to an IPv6 neighbor. To enable the advertisement
of IPv4 unicast capability to the IPv6 BGP peer, use the following command.
-> ipv6 bgp neighbor 2001::1 activate-ipv4
The advertising capability is enabled for the IPv6 BGP peer with IPv6 address 2001::1.
Note. The advertisement of IPv4 unicast capability is enabled by default.
To disable the advertising capability use the no form of the command.
-> no ipv6 bgp neighbor 2001::1 activate-ipv4
Setting Peer Authentication
You can set which MD5 authentication key this router will use when contacting a peer. To set the MD5
authentication key, enter the peer IPv6 address and key with the ipv6 bgp neighbor md5 key command:
-> ipv6 bgp neighbor 2001::1 md5 key openpeer2
The peer with IPv6 address 2001::1 will be sent messages using “openpeer2” as the encryption password.
If this is not the password set on peer 2001::1, then the local router will not be able to communicate with
this peer.