[CE3] vlan 60
[CE3] interface gigabitEthernet1/0/0
[CE3-GigabitEthernet1/0/0] port hybrid pvid vlan 60
[CE3-GigabitEthernet1/0/0] port hybrid untagged vlan 60
[CE3-GigabitEthernet1/0/0] quit
[CE3]interface vlanif 60
[CE3-Vlanif60]ip address 10.3.1.1 24
[CE3-Vlanif60] quit
[CE3] rip 100
[CE3-rip-100] version 2
[CE3-rip-100] network 10.0.0.0
[CE3-rip-100] import-route direct
# Configure CE4.
<Quidway> system-view
[Quidway] sysname CE4
[CE4] vlan 70
[CE4] interface gigabitEthernet1/0/0
[CE4-GigabitEthernet1/0/0] port hybrid pvid vlan 70
[CE4-GigabitEthernet1/0/0] port hybrid untagged vlan 70
[CE4-GigabitEthernet1/0/0] quit
[CE4]interface vlanif 70
[CE4-Vlanif70]ip address 10.4.1.1 24
[CE4-Vlanif70] quit
[CE4] rip 200
[CE4-rip-200] version 2
[CE4-rip-200] network 10.0.0.0
[CE4-rip-200] import-route direct
Step 8 Disable loopback detection on MCE and import RIP routes.
<MCE> system-view
[MCE] ospf 100 vpn-instance vpna
[MCE-ospf-100] vpn-instance-capability simple
[MCE-ospf-100] import-route rip 100
[MCE] ospf 200 vpn-instance vpnb
[MCE-ospf-200] vpn-instance-capability simple
[MCE-ospf-200] import-route rip 200
Step 9 Verify the configuration.
After the configuration, run the displayiprouting-tablevpn-instance command on the MCE,
and you can see the route to the peer CE.
Take vpna for example.
[MCE] display ip routing-table vpn-instance vpna
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpna
Destinations : 8 Routes : 8
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.1.0/24 O_ASE 150 1 D 192.1.1.1 vlanif50
10.1.1.1/32 O_ASE 150 1 D 192.1.1.1 vlanif50
10.3.1.0/24 Direct 0 0 D 10.3.1.2 vlanif60
10.3.1.1/32 Direct 0 0 D 10.3.1.1 vlanif60
10.3.1.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0
192.1.1.0/24 Direct 0 0 D 192.1.1.2 vlanif50
192.1.1.1/32 Direct 0 0 D 192.1.1.1 vlanif50
192.1.1.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0
Run the displayiprouting-tablevpn-instance command on the PE, and you can see the route
to the peer CE.
Take vpna on PE1 for example.
[PE1] display ip routing-table vpn-instance vpna
Route Flags: R - relied, D - download to fib
3 BGP/MPLS IP VPN Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
3-132 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2009-08-20)