R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

343
AttrID: 0x0 Neighbor: 2001::1
Flags: 0x10060 OrigNextHop: 2001::1
Label: NULL RealNextHop: FE80::20C:29FF:FE40:715
BkLabel: NULL BkNextHop: N/A
Tunnel ID: Invalid Interface: GigabitEthernet2/1/2
BkTunnel ID: Invalid BkInterface: N/A
The output shows that Router C communicates with network 1200::0/64 through the path Router
C<—>Router D<—>Router A.
IPsec for IPv6 BGP packets configuration example
Network requirements
As shown in Figure 81, all routers run IPv6 BGP. Establish an IBGP connection between Router A and
Router B. Establish an EBGP connection between Router B and Router C.
To enhance security, configure IPsec to protect IPv6 BGP packets.
Figure 81 Network diagram
Configuration procedure
1. Configure IPv6 addresses for interfaces. (Details not shown.)
2. Establish an IBGP connection between Router A and Router B:
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 65008
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] group ibgp internal
[RouterA-bgp] peer 1::2 group ibgp
[RouterA-bgp] address-family ipv6 unicast
[RouterA-bgp-ipv6] peer ibgp enable
[RouterA-bgp-ipv6] quit
[RouterA-bgp] quit
# Configure Router B.
<RouterB> system-view
[RouterB] bgp 65008
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] group ibgp internal
[RouterB-bgp] peer 1::1 group ibgp
[RouterB-bgp] address-family ipv6 unicast
[RouterB-bgp-ipv6] peer ibgp enable
[RouterB-bgp-ipv6] quit
3. Establish an EBGP connection between Router B and Router C: