Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[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 batch 70
[CE4] interface gigabitethernet 1/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 display ip routing-table vpn-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
Destination/Mask
255.255.255.255/32
Run the display ip routing-table vpn-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
------------------------------------------------------------------------------
Routing Tables: vpna
Issue 01 (2011-07-15)
Destinations : 8
Proto
10.1.1.0/24
O_ASE
10.3.1.0/24
Direct 0
10.3.1.2/32
Direct 0
10.3.1.255/32
Direct 0
192.1.1.0/24
Direct 0
192.1.1.2/32
Direct 0
192.1.1.255/32
Direct 0
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 8
Pre
Cost
Flags
150
1
D
0
D
0
D
0
D
0
D
0
D
0
D
0
D
3 BGP MPLS IP VPN Configuration
NextHop
Interface
192.1.1.1
vlanif50
10.3.1.2
vlanif60
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
192.1.1.2
vlanif50
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
263