The system view is displayed.
2.
Run
ipv6 vpn6-instance
vpn6-instance-name
The IPv6 VPN instance view of the VPN-spoke is displayed.
3.
Run
vpn-target
vpn-target2
&<1-8>
import-extcommunity
The VPN target extended community for the IPv6 VPN instance is created. The VPN-
IPv6 routes advertised by the Hub-PE are imported.
vpn-target2
is the export community attribute of
vpn-target
advertised by the Hub-
PE.
4.
Run
vpn-target
vpn-target1
&<1-8>
export-extcommunity
The VPN target extended community for the IPv6 VPN instance is created. The IPv6
routes of stations the Spoke-PE accesses are advertised.
5.
(Optional) Run
import route-policy
policy-name
The import routing policy of the IPv6 VPN instance is configured.
6.
(Optional) Run
export route-policy
policy-name
The export routing policy of the IPv6 VPN instance is configured.
----End
4.5.4 Binding an Interface to an IPv6 VPN Instance
After binding an interface to an IPv6 VPN Instance, you can change the interface to a VPN
interface. As a result, packets that pass through the interface are forwarded according to the
forwarding information of the VPN instance, and such Layer 3 attributes as IP address and
routing protocol that are configured for the interface are deleted. These Layer 3 attributes need
to be re-configured if required.
Context
The configuration on the Hub-PE involves two interfaces or sub-interfaces: one is bound with
the VPN-spoke and receives the routes advertised by the Spoke-PE; the other is bound with the
VPN-hub and advertises the routes of the Hub and all the Spokes.
Do as follows on the Hub-PE and all the Spoke-PEs.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The view of the interface that is to be bound with the IPv6 VPN instance is displayed.
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.
344