3com 8807 Reference Guide

Page of 1099
Ethernet Port Configuration Commands
145
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 4,094. 
&<1-10> indicates that the former parameter can be input 10 times repeatedly at 
most.
all: Joins the trunk port to all VLANs.
Description
Use the port trunk permit vlan command to join trunk port to specified VLAN.
Use the undo port trunk permit vlan command to 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.
Related command: port link-type.
Example
# Remove the trunk port from the default VLAN.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] interface Ethernet2/1/1
 
[3Com-Ethernet2/1/1] undo port trunk permit vlan 1 
# Add the trunk port to all VLANs.
[3Com-Ethernet2/1/1] port trunk permit vlan all 
port trunk pvid vlan
Syntax
port trunk pvid vlan vlan-id
undo port trunk pvid
View
Ethernet port view
Parameter
vlan-id: VLAN ID defined in IEEE802.1Q, ranging from1 to 4,094 and the default 
vlan-id is 1.