The system view is displayed.
5.
Run:
vlan
vlan-id
The VLAN view is displayed.
6.
Run:
port
interface-type
{
interface-number1
[
to
interface-number2
] }&<1-10>
The access interface is added to the VLAN, which becomes the default VLAN of the
interface.
By default, VLAN 1 is the default VLAN for all interfaces.
l
Adding an access interface to a VLAN in the interface view
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
The interface view is displayed.
3.
Run:
port link-type access
The link type of the interface is set to access.
By default, the link type of an interface is hybrid.
4.
Run:
port default vlan
vlan-id
The default VLAN of the interface is configured.
By default, VLAN 1 is the default VLAN for all interfaces.
----End
3.4.3 Adding a Trunk Interface to a VLAN
Context
Perform the following steps on the AR3200 to add a trunk interface to a VLAN.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
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.
85