#
isis 50 vpn-instance vpn1
 network-entity 50.0000.0000.0003.00
 import-route bgp
#
interface Vlanif40
 ip address 110.1.1.2 255.255.255.0
 mpls
 mpls ldp
#
interface Vlanif50
 ip binding vpn-instance vpn1
 ip address 11.1.1.2 255.255.255.0
 isis enable 50
#
interface GigabitEthernet1/0/0
 port hybrid pvid vlan 40
 port hybrid untagged vlan 40
#
interface GigabitEthernet2/0/0
 port hybrid pvid vlan 50
 port hybrid untagged vlan 50
#
interface LoopBack1
 ip address 3.3.3.9 255.255.255.255
#
bgp 100
 peer 1.1.1.9 as-number 100
 peer 1.1.1.9 connect-interface LoopBack1
 #
 ipv4-family unicast
  undo synchronization
  peer 1.1.1.9 enable
 #
 ipv4-family vpnv4
  policy vpn-target
  peer 1.1.1.9 enable
 #
 ipv4-family vpn-instance vpn1
  import-route direct
  import-route isis 50
#
ospf 10
 area 0.0.0.0
  network 3.3.3.9 0.0.0.0
  network 110.1.1.0 0.0.0.255
#
return
l Configuration file of CE2
#
 sysname CE2
#
 vlan batch 50 60
#
isis 50
 network-entity 50.0000.0000.0004.00
#
interface Vlanif50
 ip address 11.1.1.1 255.255.255.0
 isis enable 50
#
interface Vlanif60
 ip address 41.1.1.2 255.255.255.0
 isis enable 50
#
interface GigabitEthernet1/0/0
 port hybrid pvid vlan 50
 port hybrid untagged vlan 50
#
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 2 GRE Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
91