3com 5500G ユーザーズマニュアル

ページ / 336
40
C
HAPTER
 6: P
ORT
 B
ASIC
 C
ONFIGURATION
 G
UIDE
# 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 vlan 2 6 to 50 100 
# 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 to 2 6 to 50 100
port trunk pvid vlan 100
n
Refer 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.