ip address 192.168.2.1 255.255.255.0
isis enable 1
mpls
mpls ldp
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface GigabitEthernet2/0/0
port hybrid pvid vlan 20
port hybrid untagged vlan 20
#
interface LoopBack1
ip address 2.2.2.9 255.255.255.255
isis enable 1
#
return
l Configuration file of PE2
#
sysname PE2
#
ipv6
#
vlan batch 20 100 101
#
ipv6 vpn6-instance vpna
route-distinguisher 300:1
vpn-target 33:33 export-extcommunity
vpn-target 22:22 import-extcommunity
#
ipv6 vpn6-instance vpnb
route-distinguisher 400:1
vpn-target 55:55 export-extcommunity
vpn-target 44:44 import-extcommunity
#
mpls lsr-id 3.3.3.9
mpls
#
mpls ldp
#
isis 1
network-entity 30.3333.3333.3333.00
#
isis 10 vpn6-instance vpna
network-entity 30.4444.4444.4444.4444.00
#
ipv6 enable topology standard
ipv6 import-route bgp
#
#
interface Vlanif20
ip address 192.168.2.2 255.255.255.0
isis enable 1
mpls
mpls ldp
#
interface Vlanif100
ipv6 enable
ipv6 binding vpn6-instance vpna
ipv6 address 2004::2/64
ripng 100 enable
#
interface Vlanif 101
ipv6 enable
ipv6 binding vpn6-instance vpnb
ipv6 address 2005::2/64
isis ipv6 enable 10
#
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.
380