peer 3.3.3.9 enable
#
 ipv4-family vpn-instance vpn1
  peer 10.2.1.1 as-number 65002
  import-route direct
#
ospf 1
 area 0.0.0.0
  network 4.4.4.9 0.0.0.0
  network 162.1.1.0 0.0.0.255
#
return
l Configuration file of CE2
#
 sysname CE2
#
 vlan batch 10
#
interface Vlanif10
 ip address 10.2.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
 port link-ype trunk
 port trunk allow-pass vlan 10
#
bgp 65002
 peer 10.2.1.2 as-number 200
 #
 ipv4-family unicast
  undo synchronization
  import-route direct
  peer 10.2.1.2 enable
#
return
3.17.8 Example for Configuring Inter-AS VPN Option B
Networking Requirements
As shown in Figure 3-10, CE1 and CE2 are deployed on the same VPN. CE1 is connected to
the network through PE1 in AS100 and CE2 is connected to the network through PE2 in AS200.
The inter-AS BGP/MPLS IP VPN is implemented in Option B mode.
l ASBR1 and ASBR2 exchanges VPNv4 routing information with each other through MP-
EBGP.
l The ASBRs do not filter the received VPNv4 routes based on the VPN target.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
230