EasyManua.ls Logo

Huawei AR3200 Series - Page 127

Huawei AR3200 Series
275 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
# Configure the principal VLAN and subordinate VLANs.
<RouterA> system-view
[RouterA] vlan 2
[RouterA-vlan2] mux-vlan
[RouterA-vlan2] subordinate group 3
[RouterA-vlan2] subordinate separate 4
[RouterA-vlan2] quit
# Add Ethernet2/0/1 to Ethernet2/0/5 to VLANs and enable the MUX VLAN function on the
interfaces.
[RouterA] interface ethernet 2/0/1
[RouterA-Ethernet2/0/1] port link-type access
[RouterA-Ethernet2/0/1] port default vlan 2
[RouterA-Ethernet2/0/1] port mux-vlan enable
[RouterA-Ethernet2/0/1] quit
[RouterA] interface ethernet 2/0/2
[RouterA-Ethernet2/0/2] port link-type access
[RouterA-Ethernet2/0/2] port default vlan 3
[RouterA-Ethernet2/0/2] port mux-vlan enable
[RouterA-Ethernet2/0/2] quit
[RouterA] interface ethernet 2/0/3
[RouterA-Ethernet2/0/3] port link-type access
[RouterA-Ethernet2/0/3] port default vlan 3
[RouterA-Ethernet2/0/3] port mux-vlan enable
[RouterA-Ethernet2/0/3] quit
[RouterA] interface ethernet 2/0/4
[RouterA-Ethernet2/0/4] port link-type access
[RouterA-Ethernet2/0/4] port default vlan 4
[RouterA-Ethernet2/0/4] port mux-vlan enable
[RouterA-Ethernet2/0/4] quit
[RouterA] interface ethernet 2/0/5
[RouterA-Ethernet2/0/5] port link-type access
[RouterA-Ethernet2/0/5] port default vlan 4
[RouterA-Ethernet2/0/5] port mux-vlan enable
[RouterA-Ethernet2/0/5] quit
# Configure Ethernet2/0/6 to allow the principal VLAN and subordinate VLANs to pass through.
[RouterA] interface ethernet 2/0/6
[RouterA-Ethernet2/0/6] port link-type trunk
[RouterA-Ethernet2/0/6] port trunk allow-pass vlan 2 to 4
[RouterA-Ethernet2/0/6] quit
Step 2 Configure the MUX VLAN function on RouterB.
# Create VLAN 2, VLAN 3, and VLAN 4.
<Huawei> system-view
[Huawei] sysname RouterB
[RouterB] vlan batch 2 3 4
[RouterB] quit
# Configure the principal VLAN and subordinate VLANs.
<RouterB> system-view
[RouterB] vlan 2
[RouterB-vlan2] mux-vlan
[RouterB-vlan2] subordinate group 3
[RouterB-vlan2] subordinate separate 4
[RouterB-vlan2] quit
# Add Ethernet2/0/1 to Ethernet2/0/5 to VLANs and enable the MUX VLAN function on the
interfaces.
[RouterB] interface ethernet 2/0/1
[RouterB-Ethernet2/0/1] port link-type access
[RouterB-Ethernet2/0/1] port default vlan 2
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.
116

Table of Contents

Related product manuals