port link-type access
port default vlan 3
port mux-vlan enable
#
interface Ethernet2/0/4
port link-type access
port default vlan 4
port mux-vlan enable
#
interface Ethernet2/0/5
port link-type access
port default vlan 4
port mux-vlan enable
#
interface Ethernet2/0/6
port link-type trunk
port trunk allow-pass vlan 2 to 4
#
return
Configuration file of RouterB
#
sysname RouterB
#
vlan batch 2 to 4
#
vlan 2
mux-vlan
subordinate group 3
subordinate separate 4
#
interface Ethernet2/0/1
port link-type access
port default vlan 2
port mux-vlan enable
#
interface Ethernet2/0/2
port link-type access
port default vlan 3
port mux-vlan enable
#
interface Ethernet2/0/3
port link-type access
port default vlan 3
port mux-vlan enable
#
interface Ethernet2/0/4
port link-type access
port default vlan 4
port mux-vlan enable
#
interface Ethernet2/0/5
port link-type access
port default vlan 4
port mux-vlan enable
#
interface Ethernet2/0/6
port link-type trunk
port trunk allow-pass vlan 2 to 4
#
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.
118