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:
port link-type
trunk
The link type of the interface is set to trunk.
By default, the interface type is hybrid.
Step 4
Run:
port trunk pvid vlan
vlan-id
The default VLAN of the trunk interface is specified.
By default, VLAN 1 is the default VLAN of trunk interfaces.
An interface does not belong to the default VLAN after the default VLAN is specified. To enable
the interface to forward packets of the default VLAN, add the interface to the default VLAN.
----End
3.4.6 (Optional) Specifying the Default VLAN for a Hybrid
Interface
Context
Perform the following steps on the AR3200 to specify the default VLAN for a hybrid interface.
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:
port link-type
hybrid
The link type of the interface is set to hybrid.
By default, the interface type is hybrid.
Step 4
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.
87