#
interface Vlanif10
ip address 20.20.20.1 255.255.255.0
#
interface Vlanif30
ip address 30.30.30.2 255.255.255.0
#
interface Ethernet2/0/1
port link-type trunk
port trunk allow-pass vlan 30
#
interface Ethernet2/0/2
port link-type trunk
port trunk allow-pass vlan 10
#
ospf 1
area 0.0.0.0
network 20.20.20.0 0.0.0.255
network 30.30.30.0 0.0.0.255
#
return
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN 3 VLAN Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
122