beautypg.com

Ipv6 bgp ipsec policy configuration, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 399

background image

383

[SwitchA-bgp] ipv6-family

[SwitchA-bgp-af-ipv6] peer 100::2 as-number 200

[SwitchA-bgp-af-ipv6] network 1:: 64

#Configure Switch B.

system-view

[SwitchB] ipv6

[SwitchB] bgp 200

[SwitchB-bgp] router-id 2.2.2.2

[SwitchB-bgp] ipv6-family

[SwitchB-bgp-af-ipv6] peer 100::1 as-number 100

[SwitchB-bgp-af-ipv6] peer 101::1 as-number 200

[SwitchB-bgp-af-ipv6] peer 101::1 next-hop-local

# Configure Switch C.

system-view

[SwitchC] ipv6

[SwitchC] bgp 200

[SwitchC-bgp] router-id 3.3.3.3

[SwitchC-bgp] ipv6-family

[SwitchC-bgp-af-ipv6] peer 101::2 as-number 200

[SwitchC-bgp-af-ipv6] peer 102::2 as-number 200

# Configure Switch D.

system-view

[SwitchD] ipv6

[SwitchD] bgp 200

[SwitchD-bgp] router-id 4.4.4.4

[SwitchD-bgp] ipv6-family

[SwitchD-bgp-af-ipv6] peer 102::1 as-number 200

3.

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

4.

Verify the configuration.
Execute the display bgp ipv6 routing-table command on Switch B and Switch D. Both of them have
learned the network 1::/64.

IPv6 BGP IPsec policy configuration

Network requirements

In

Figure 120

, 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.