40 CHAPTER 6: PORT BASIC CONFIGURATION GUIDE
# Enter Ethernet port view of Ethernet 1/0/1.
<3Com> system-view
System View: return to User View with Ctrl+Z.
[3Com] interface ethernet1/0/1
# Configure Ethernet 1/0/1 as a trunk port.
[3Com-Ethernet1/0/1] port link-type trunk
# Configure Ethernet 1/0/1 to permit the packets of VLAN 2, VLAN 6 through
VLAN 50, and VLAN 100 to pass through.
[3Com-Ethernet1/0/1] port trunk permit vlan26to50100
# Configure VLAN 100 as the default VLAN of Ethernet 1/0/1.
[3Com-Ethernet1/0/1] port trunk pvid vlan 100
Complete Configuration #
interface Ethernet1/0/1
port link-type trunk
port trunk permit vlan 1 to26to50100
port trunk pvid vlan 100
#
nRefer to “VLAN Configuration Guide” on page 21 for the use of hybrid ports.
Precautions Do not configure the port trunk permit vlan all command on a trunk port with
GVRP disabled. To configure the trunk port to permit the packets of multiple
VLANs to pass through, use the port trunk permit vlan vlan-id-list command
instead.