
Step 5
Set up MP-IBGP peer relations between PEs.
Set up MP-IBGP peer relation between the Spoke-PE and the Hub-PE, but do not set up the MP-
IBGP peer relation between the Spoke-PEs.
NOTE
The Spoke-PE does not need to allow the repeated ASN, because the Switch does not check the AS path
attribute in the routing information advertised by the IBGP peers.
# Configure Spoke-PE1.
[Spoke-PE1]
bgp 100
[Spoke-PE1-bgp]
peer 2.2.2.9 as-number 100
[Spoke-PE1-bgp]
peer 2.2.2.9 connect-interface loopback 1
[Spoke-PE1-bgp]
ipv6-family vpnv6
[Spoke-PE1-bgp-af-vpnv6]
peer 2.2.2.9 enable
[Spoke-PE1-bgp-af-vpnv6]
quit
# Configure Spoke-PE2.
[Spoke-PE2]
bgp 100
[Spoke-PE2-bgp]
peer 2.2.2.9 as-number 100
[Spoke-PE2-bgp]
peer 2.2.2.9 connect-interface loopback 1
[Spoke-PE2-bgp]
ipv6-family vpnv6
[Spoke-PE2-bgp-af-vpnv6]
peer 2.2.2.9 enable
[Spoke-PE2-bgp-af-vpnv6]
quit
# Configure the Hub-PE.
[Hub-PE]
bgp 100
[Hub-PE-bgp]
peer 1.1.1.9 as-number 100
[Hub-PE-bgp]
peer 1.1.1.9 connect-interface loopback 1
[Hub-PE-bgp]
peer 3.3.3.9 as-number 100
[Hub-PE-bgp]
peer 3.3.3.9 connect-interface loopback 1
[Hub-PE-bgp]
ipv6-family vpnv6
[Hub-PE-bgp-af-vpnv6]
peer 1.1.1.9 enable
[Hub-PE-bgp-af-vpnv6]
peer 3.3.3.9 enable
[Hub-PE-bgp-af-vpnv6]
quit
After the configuration, run the
display bgp peer
or
display bgp vpnv6 all peer
command on
each PE, and you can see that the BGP peer relation between the PEs is in Established state.
Step 6
Verify the configuration.
After the configuration, the Spoke-CEs can ping each other. Run the
tracert
command, and you
can see that the traffic between the Spoke-CEs is forwarded through the Hub-CE. You can also
deduce the number of forwarding devices between the Spoke-CEs based on the TTL in the ping
result.
Take the display on Spoke-CE1 as an example.
[Spoke-CE1]
ping ipv6 2002::1
PING 2002::1 : 56 data bytes, press CTRL_C to break
Reply from 2002::1
bytes=56 Sequence=1 hop limit=59 time = 187 ms
Reply from 2002::1
bytes=56 Sequence=2 hop limit=59 time = 187 ms
Reply from 2002::1
bytes=56 Sequence=3 hop limit=59 time = 187 ms
Reply from 2002::1
bytes=56 Sequence=4 hop limit=59 time = 187 ms
Reply from 2002::1
bytes=56 Sequence=5 hop limit=59 time = 187 ms
--- 2002::1 ping statistics ---
5 packet(s) transmitted
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
4 BGP MPLS IPv6 VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
389