305
IPv6 BGP configuration examples
IPv6 BGP basic configuration example
Network requirements
As shown in
Figure 72
, run EBGP between Router A and Router B, and run IBGP between Router B and
Router C so that Router C can access the network 50::/64 connected to Router A.
Figure 72
Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure IBGP:
# Configure Router B.
<RouterB> system-view
[RouterB] bgp 65009
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 9::2 as-number 65009
[RouterB-bgp] address-family ipv6
[RouterB-bgp-ipv6] peer 9::2 enable
[RouterB-bgp-ipv6] quit
# Configure Router C.
<RouterC> system-view
[RouterC] bgp 65009
[RouterC-bgp] router-id 3.3.3.3
[RouterC-bgp] peer 9::1 as-number 65009
[RouterC-bgp] address-family ipv6
[RouterC-bgp-ipv6] peer 9::1 enable
3.
Configure EBGP:
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 65008
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] peer 10::1 as-number 65009
[RouterA-bgp] address-family ipv6
[RouterA-bgp-ipv6] peer 10::1 enable
# Configure Router B.
[RouterB-bgp] peer 10::2 as-number 65008