Spoke-CE1
GigabitEthernet1/0/0
VLANIF 50
-
2001::1/64
Spoke-CE2
GigabitEthernet1/0/0
VLANIF 60
-
2002::1/64
Configuration Roadmap
The configuration roadmap is as follows:
1.
Set up tunnel and IBGP peer relation between the Hub-PE and the Spoke-PE. Do not set
up IBGP peer relation between Spoke-PEs because they do not exchange VPN routes.
2.
Create two IPv6 VPN instances, namely,
vpn_in
and
vpn_out
, on the Hub-PE. The VPN
target received by
vpn_in
is the same as the VPN target advertised by the Spoke-PEs. The
VPN target advertised by
vpn_out
is different from the received VPN target, but is the
same as the VPN target received by the Spoke-PEs.
3.
Create an IPv6 VPN instance on the Spoke-PE. The VPN target received by the IPv6 VPN
instance is the same as the VPN target advertised by
vpn_out
, and the VPN target advertised
by the IPv6 VPN instance is the same as the VPN target received by
vpn_in
.
4.
Configure the default route as follows:
l
Configure the IPv6 default route on the Hub-CE. Set the next hop of the route as the
IPv6 address of the Hub-PE's interface bound to
vpn_in
.
l
Configure the default route for
vpn_out
on the Hub-PE. Set the next hop of the default
route as the address of the Hub-CE.
l
In the BGP VPN6-instance address family view of
vpn_out
on the Hub-PE, run the
network :: 0
command to advertise the default route to all Spoke sites.
5.
Configure BGP4+ between Spoke-PE and Spoke-CE.
Data Preparation
To complete the configuration, you need the following data:
l
MPLS LSR IDs of the PEs
l
VPN instance names, RDs, and VPN targets of the Hub-PE and Spoke-PE
Procedure
Step 1
Configure an IGP protocol on the backbone network to make the Hub-PE and the Spoke-PE
communicate with each other.
In this example, OSPF is used as IGP and the configuration procedure is not mentioned.
After configuration, an OSPF neighbor relation is set up between the PEs. Run the
display ospf
peer
command, and you can see that the neighbor relation is in Full state. Run the
display ip
routing-table
command on the PEs, and you can see that the PEs can learn the routes on the
loopback interface of each other.
Step 2
Configure the basic MPLS capability and MPLS LDP on the backbone network and set up an
LDP LSP.
The configuration details are not mentioned here.
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.
397