Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 4 Fundamental Logical Interface
Configuration Commands
3Com Corporation
3-11
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.
Description
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.
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.
This command can be used on condition that the VLAN specified using vlan_id is not
the default one.
Related command: port link-type.
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
3.1.15 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, in the range 1 to 4094. It defaults to 1.
Description
Use the port trunk pvid vlan command to configure the default VLAN ID of the trunk
port.
Use the undo port trunk pvid command to restore the default VLAN ID of the port.
To ensure correct transmission of packets, the default VLAN ID of the hybrid port must
be the same as the one used by the connected hybrid port.
Related command: port link-type.