IPv6 BGP Application Example
Configuring BGP
page 3-78
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide
March 2011
-> ipv6 interface Link_To_Speaker3 vlan 3
-> ipv6 address 2001:DB8:C18:1::1/64 Link_To_Speaker3
-> ipv6 bgp neighbor 2001:DB8:C18:1::2
-> ipv6 bgp neighbor 2001:DB8:C18:1::2 remote-as 100
-> ipv6 bgp neighbor 2001:DB8:C18:1::2 activate-ipv6
-> ipv6 bgp neighbor 2001:DB8:C18:1::2 admin-state enable
Peer with the external speaker in AS 200 using its IPv4 address and an IPv6 forwarding interface (for IPv6
traffic):
-> ip interface Link_To_AS200 vlan 4
-> ip interface Link_To_AS200 address 20.0.0.2/24
-> ipv6 interface Link_to_AS200 vlan 4
-> ipv6 address 2001:ABCD:B02:1::2/64 Link_to_AS200
-> ip bgp neighbor 20.0.0.1
-> ip bgp neighbor 20.0.0.1 remote-as 200
-> ip bgp neighbor 20.0.0.1 activate-ipv6
-> ip bgp neighbor 20.0.0.1 ipv6-nexthop 2001:ABCD:B02:1::2
-> ip bgp neighbor 20.0.0.1 admin-state enable
Administratively enable BGP:
-> ip bgp admin-state enable
BGP Speaker 2
Assign the speaker to AS 100:
-> ip bgp autonomous-system 100
Enable IPv6 BGP unicast:
-> ipv6 bgp unicast
Peer with the other speakers in AS 100 (for internal BGP, and to create a fully meshed BGP network):
-> ip interface Link_To_Speaker1 vlan 2
-> ip interface Link_To_Speaker1 address 10.0.0.2/24
-> ipv6 interface Link_To_Speaker1 vlan 2
-> ipv6 address 2001:DB8:C17:1::2/64 Link_To_Speaker1
-> ipv6 bgp neighbor 2001:DB8:C17:1::1
-> ipv6 bgp neighbor 2001:DB8:C17:1::1 remote-as 100
-> ipv6 bgp neighbor 2001:DB8:C17:1::1 activate-ipv6
-> ipv6 bgp neighbor 2001:DB8:C17:1::1 ipv4-nexthop 10.0.0.2
-> ipv6 bgp neighbor 2001:DB8:C17:1::1 admin-state enable
-> ipv6 interface Link_To_Speaker3 vlan 3
-> ipv6 address 2001:DB8:C19:1::1/64 Link_To_Speaker3
-> ipv6 bgp neighbor 2001:DB8:C19:1::2
-> ipv6 bgp neighbor 2001:DB8:C19:1::2 remote-as 100
-> ipv6 bgp neighbor 2001:DB8:C19:1::2 activate-ipv6
-> ipv6 bgp neighbor 2001:DB8:C19:1::2 admin-state enable