Command Reference Guide

278port trunk permit vlan 3Com Router 5000 Family and Router 6000 Family
Command Reference
port trunk permit vlan
Purpose Use the port trunk permit vlan command to assign the trunk port to the
specified VLANs.
Use the undo port trunk permit vlan command to remove the trunk port
from the specified VLANs.
Syntax port trunk permit vlan { vlan_id_list | all }
undo port trunk permit vlan { vlan_id_list | all }
Parameters vlan_id_list
Equals [ vlan_id1 [ to vlan_id2 ] ]&<1-10>. It
specifies a range of contiguous or discrete VLANs to
which the hybrid port is to be assigned. The
vlan_id
ranges from 1 to 4094. &<1-10> indicates that the
former arguments can be input 10 times repeatedly at
most.
all
Assign the trunk port to all VLANs.
Example Assign trunk port Ethernet 1/0/1 to VLANs 2, 4, and 50 through 100.
[3Com -Ethernet1/0/1] port trunk permit vlan 2 4 50 to 100
View This command can be used in the following views:
Ethernet Port view
Description This command can be used on condition that the VLAN specified using vlan_id is not
the default one.
A trunk port can belong to multiple VLANs. If multiple VLAN lists are configured using
the
port trunk permit vlan command, all the VLANs of these list can pass
through the port.
Related Command port link-type