Take the display on PE1 and CE1 as an example:
[PE1] ping -vpn-instance vpna 10.1.1.1
  PING 10.1.1.1: 56  data bytes, press CTRL_C to break
    Reply from 10.1.1.1: bytes=56 Sequence=1 ttl=255 time=5 ms
    Reply from 10.1.1.1: bytes=56 Sequence=2 ttl=255 time=3 ms
    Reply from 10.1.1.1: bytes=56 Sequence=3 ttl=255 time=3 ms
    Reply from 10.1.1.1: bytes=56 Sequence=4 ttl=255 time=3 ms
    Reply from 10.1.1.1: bytes=56 Sequence=5 ttl=255 time=16 ms
  --- 10.1.1.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 3/6/16 ms  
Step 3 Configure BGP to import the direct route to the VPN instance routing table.
# Configure PE1
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpna
[PE1-bgp-vpna] import-route direct
[PE1-bgp] ipv4-family vpn-instance vpnb
[PE1-bgp-vpnb] import-route direct
Step 4 Enable the routing protocol on the CEs.
# Configure CE1.
[CE1] ip route-static 10.2.1.0 24 10.1.1.2
# Configure CE2.
[CE2] ip route-static 10.1.1.0 24 10.2.1.2
Step 5 Verify the configuration.
After the configuration, CE1 and CE2, which are connected to PE1 but belong to different VPNs,
can communicate with each other.
[PE1] display ip routing-table vpn-instance vpna
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpna
         Destinations : 6        Routes : 6
Destination/Mask    Proto  Pre  Cost       Flags NextHop         Interface
       10.1.1.0/24  Direct 0    0            D   10.1.1.1        Vlanif10
       10.1.1.2/32  Direct 0    0            D   127.0.0.1       InLoopBack0
     10.1.1.255/32  Direct 0    0            D   127.0.0.1       InLoopBack0
       10.2.1.0/24  BGP    255  0            D   10.2.1.1        Vlanif20
       10.2.1.2/32  BGP    255  0            D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct 0    0            D   127.0.0.1       InLoopBack0    
[CE1] ping 10.2.1.1
  PING 10.2.1.1: 56  data bytes, press CTRL_C to break
    Reply from 10.2.1.1: bytes=56 Sequence=1 ttl=253 time=72 ms
    Reply from 10.2.1.1: bytes=56 Sequence=2 ttl=253 time=34 ms
    Reply from 10.2.1.1: bytes=56 Sequence=3 ttl=253 time=50 ms
    Reply from 10.2.1.1: bytes=56 Sequence=4 ttl=253 time=50 ms
    Reply from 10.2.1.1: bytes=56 Sequence=5 ttl=253 time=34 ms
  --- 10.2.1.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 34/48/72 ms  
----End
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.
199