Port Trunk Permit Vlan; Port Trunk Pvid Vlan - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - Port
Quidway S2000 Series Ethernet Switches

1.1.21 port trunk permit vlan

Syntax
port trunk permit vlan { vlan_id_list | all }
undo port trunk permit vlan { vlan_id_list | all }
View
Ethernet port view
Parameter
vlan_id_list: vlan_id_list = [ vlan_id1 [ to vlan_id2 ] ]&<1-10> is the VLAN range joined
by the trunk port. It can be discrete. The vlan_id ranges from 2 to 4094. &<1-10>
indicates that the former parameter can be input 10 times repeatedly at most.
all: Join the trunk port to all VLANs.
Description
Using port trunk permit vlan command, you can join trunk port to specified VLAN.
Using undo port trunk permit vlan command, you can cancel trunk port from
specified VLAN.
Trunk port can belong to multiple VLANs. If the port trunk permit vlan command is
used many times, then the VLAN enabled to pass on trunk port is the set of these
vlan_id_list.
This command can be used on condition that the VLAN specified with vlan_id is not
the default one.
For the related command, see port link-type.
Example
# Join the trunk port Ethernet0/1 to VLAN 2, 4 and 50-100.
[Quidway-Ethernet0/1] port trunk permit vlan 2 4 50 to 100

1.1.22 port trunk pvid vlan

Syntax
port trunk pvid vlan vlan_id
undo port trunk pvid
View
Ethernet port view
Chapter 1 Ethernet Port Configuration Commands
1-16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents