<CE2> display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 8 Routes : 9
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.1.0/30 Direct 0 0 D 10.1.1.2 Vlanif60
10.1.1.1/32 Direct 0 0 D 10.1.1.1 Vlanif60
10.1.1.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.1.2.0/30 Direct 0 0 D 10.1.2.2 Vlanif60
10.1.2.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.1.3.1/32 OSPF 10 2 D 10.1.1.1 Vlanif60
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
----End
Configuration Files
l Configuration file of CE1
#
sysname CE1
#
vlan batch 10 70
#
interface Vlanif10
ip address 10.1.1.1 255.255.255.252
ip address 10.1.2.1 255.255.255.252 sub
#
interface Vlanif70
ip address 10.1.3.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet1/0/1
port trunk allow-pass vlan 70
#
ospf 1
area 0.0.0.0
network 10.1.1.0 0.0.0.3
network 10.1.2.0 0.0.0.3
network 10.1.3.0 0.0.0.255
#
return
l Configuration file of CE2
#
sysname CE2
#
vlan batch 50 60
#
interface Vlanif50
ip address 10.1.2.2 255.255.255.252
#
interface Vlanif60
ip address 10.1.1.2 255.255.255.252
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 60
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 50
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 4 VLL Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4-99