#
vlan batch 10 101
#
ipv6 vpn6-instance vpn1
route-distinguisher 100:1
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
#
mpls lsr-id 1.1.1.1
mpls
#
mpls ldp
#
isis 1
network-entity 10.0000.0000.0001.00
#
interface Vlanif10
ip address 100.1.1.1 255.255.255.252
isis enable 1
mpls
mpls ldp
#
interface Vlanif101
ipv6 enable
ipv6 binding vpn6-instance vpn1
ipv6 address 2001::2 64
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 101
port hybrid untagged vlan 101
#
interface GigabitEthernet2/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface LoopBack1
ip address 1.1.1.1 255.255.255.255
isis enable 1
#
bgp 100
peer 3.3.3.3 as-number 100
peer 3.3.3.3 connect-interface LoopBack1
#
ipv4-family unicast
undo synchronization
peer 3.3.3.3 enable
#
ipv6-family vpnv6
policy vpn-target
peer 3.3.3.3 enable
#
ipv6-family vpn6-instance vpn1
peer 2001::1 as-number 65410
import-route direct
#
Return
l
Configuration file of PE2
#
sysname PE2
#
ipv6
#
vlan batch 20 102
#
ipv6 vpn6-instance vpn1
route-distinguisher 100:2
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
#
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.
433