beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 390

background image

379

[CE3-Vlan-interface11] quit

[CE3] bgp 65410

[CE3-bgp] ipv6-family

[CE3-bgp-af-ipv6] peer 2001:1::2 as-number 100

[CE3-bgp-af-ipv6] import-route direct

[CE3-bgp-af-ipv6] quit

# Configure PE 3.

[PE3] ip vpn-instance vpn1

[PE3-vpn-instance-vpn1] route-distinguisher 100:1

[PE3-vpn-instance-vpn1] vpn-target 1:1

[PE3-vpn-instance-vpn1] quit

[PE3] interface Vlan-interface11

[PE3-Vlan-interface11] ip binding vpn-instance vpn1

[PE3-Vlan-interface11] ipv6 address 2001:1::2 64

[PE3-Vlan-interface11] quit

[PE3] bgp 100

[PE3-bgp] ipv6-family vpn-instance vpn1

[PE3-bgp-ipv6-vpn1] peer 2001:1::1 as-number 65410

[PE3-bgp-ipv6-vpn1] import-route direct

[PE3-bgp-ipv6-vpn1] quit

[PE3-bgp] quit

NOTE:

The configurations for PE 4 and CE 4 are similar to those for PE 3 and CE 3. (Details not shown)

5.

Configure MP-iBGP peer relationship between PEs of the customer carrier to exchange the VPN

routes of the customer carrier’s customers.

# Configure PE 3.

[PE3] bgp 100

[PE3-bgp] peer 6.6.6.9 as-number 100

[PE3-bgp] peer 6.6.6.9 connect-interface loopback 0

[PE3-bgp] ipv6-family vpnv6

[PE3-bgp-af-vpnv6] peer 6.6.6.9 enable

[PE3-bgp-af-vpnv6] quit

[PE3-bgp] quit

NOTE:

The configurations for PE 4 are similar to those for PE 3. (Details not shown)

6.

Verify your configurations

# Issue the display ip routing-table command on PE 1 and PE 2. The output shows that only routes of the

provider carrier network are present in the public network routing table of PE 1 and PE 2. Take PE 1 as

an example:

[PE1] display ip routing-table

Routing Tables: Public

Destinations : 7 Routes : 7

Destination/Mask Proto Pre Cost NextHop Interface

3.3.3.9/32 Direct 0 0 127.0.0.1 InLoop0