![H3C S5500-EI series Скачать руководство пользователя страница 370](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960370.webp)
353
[SwitchD-bgp-af-ipv6] peer 102::1 as-number 200
3.
Configure route reflector.
# Configure Switch C as a route reflector, and configure Switch B and Switch D as its clients.
[SwitchC-bgp-af-ipv6] peer 101::2 reflect-client
[SwitchC-bgp-af-ipv6] peer 102::2 reflect-client
Use the
display bgp ipv6 routing-table
command on Switch B and Switch D; both of them learned the
network 1::/64.
IPv6 BGP IPsec policy configuration example
Network requirements
As shown in the following figure,
•
Configure IPv6 BGP on the switches. Switches A and B establish an iBGP relationship. Switches B
and C establish an eBGP relationship.
•
Configure IPsec policies on the switches to authenticate and encrypt protocol packets.
Figure 117
Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown)
2.
Configure the iBGP connection.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] ipv6
[SwitchA] bgp 65008
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] ipv6-family
[SwitchA-bgp-af-ipv6] group ibgp internal
[SwitchA-bgp-af-ipv6] peer 1::2 group ibgp
[SwitchA-bgp-af-ipv6] quit
[SwitchA-bgp] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] ipv6
[SwitchB] bgp 65008
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] ipv6-family
[SwitchB-bgp-af-ipv6] group ibgp internal
[SwitchB-bgp-af-ipv6] peer 1::1 group ibgp
[SwitchB-bgp-af-ipv6] quit