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 allow-pass vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>
The trunk interface is added to a VLAN or multiple VLANs.
By default, VLAN 1 is the default VLAN of a trunk interface.
----End
3.4.4 Adding a Hybrid Interface to a VLAN
Context
Perform the following steps on the AR3200 to add a hybrid 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:
port link-type hybrid
The link type of the interface is set to hybrid.
By default, the interface type is hybrid.
Step 4 Run one of the following commands depending on the mode being used:
l To add the hybrid interface to a VLAN or multiple VLANs in tagged mode, run port hybrid
tagged vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>.
l To add the hybrid interface to a VLAN or multiple VLANs in untagged mode, run port
hybrid untagged vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>.
By default, a hybrid interface is added to VLAN 1 in untagged mode.
----End
3.4.5 (Optional) Specifying the Default VLAN for a Trunk Interface
Context
Perform the following steps on the AR3200 to specify the default VLAN for a trunk interface.
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.
86