R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
397
Path/Ogn: ?
After the above configuration, you can ping through the IPv6 address 4::4 of CE 2 from CE 1.
IPv6 BGP IPsec policy configuration
Network requirements
• In Figure 111, configure IPv6 BGP on the routers. Routers A and B establish an IBGP relationship.
Routers B and C establish an EBGP relationship.
• Configure IPsec policies on the routers to authenticate and encrypt protocol packets.
Figure 111 Network diagram
Configuration procedure
1. Configure IPv6 addresses for interfaces. (Details not shown.)
2. Configure the IBGP connection:
# Configure Router A.
<RouterA> system-view
[RouterA] ipv6
[RouterA] bgp 65008
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] ipv6-family
[RouterA-bgp-af-ipv6] group ibgp internal
[RouterA-bgp-af-ipv6] peer 1::2 group ibgp
[RouterA-bgp-af-ipv6] quit
[RouterA-bgp] quit
# Configure Router B.
<RouterB> system-view
[RouterB] ipv6
[RouterB] bgp 65008
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] ipv6-family
[RouterB-bgp-af-ipv6] group ibgp internal
[RouterB-bgp-af-ipv6] peer 1::1 group ibgp
[RouterB-bgp-af-ipv6] quit
[RouterB-bgp] quit
3. Configure the EBGP connection:
# Configure Router C.
<RouterC> system-view
[RouterC] ipv6
[RouterC] bgp 65009
[RouterC-bgp] router-id 3.3.3.3