
NextHop : :: LocPrf :
MED : 0 PrefVal : 0
Label :
Path/Ogn : ?
----End
Configuration Files
l
Configuration file of Spoke-CE1
#
sysname Spoke-CE1
#
ipv6
#
vlan batch 50
#
interface Vlanif50
ipv6 enable
ipv6 address 2001::1/64
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 50
port hybrid untagged vlan 50
#
bgp 65410
router-id 10.10.10.10
peer 2001::2 as-number 100
#
ipv6-family unicast
undo synchronization
import-route direct
peer 2001::2 enable
#
return
l
Configuration file of Spoke-PE1
#
sysname Spoke-PE1
#
ipv6
#
vlan batch 10 50
#
ipv6 vpn6-instance vpna
route-distinguisher 100:1
vpn-target 100:1 export-extcommunity
vpn-target 200:1 import-extcommunity
#
mpls lsr-id 1.1.1.9
mpls
#
mpls ldp
#
interface Vlanif10
ip address 10.1.1.1 255.255.255.0
mpls
mpls ldp
#
interface Vlanif50
ipv6 enable
ipv6 binding vpn6-instance vpna
ipv6 address 2001::2/64
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 50
port hybrid untagged vlan 50
#
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.
391