3com 8807 사용자 가이드

다운로드
페이지 883
94
C
HAPTER
 13: E
THERNET
 P
ORT
 C
ONFIGURATION
By default, Ethernet ports works in LAN mode. 10GE Ethernet ports support WAN 
mode.
Setting the Link Type for 
the Ethernet Port
Ethernet port can operate in three different link types, access, hybrid, and trunk 
types. The access port carries one VLAN only, used for connecting to the user’s 
computer. The trunk port can belong to more than one VLAN and receive/send the 
packets on multiple VLANs, used for connection between the switches. The hybrid 
port can also carry more than one VLAN and receive/send the packets on multiple 
VLANs, used for connecting both the switches and user’s computers. The 
difference between the hybrid port and the trunk port is that the hybrid port 
allows the packets from multiple VLANs to be sent without tags, but the trunk 
port only allows the packets from the default VLAN to be sent without tags.
Perform the following configuration in Ethernet port view.
You can configure three types of ports concurrently on the same switch, but you 
cannot switch between trunk port and hybrid port. You must turn it first into 
access port and then set it as other type. For example, you cannot configure a 
trunk port directly as hybrid port, but first set it as access port and then as hybrid 
port.
By default, the port is access port.
Adding the Ethernet 
Port to Specified VLANs
The following commands are used for adding an Ethernet port to a specified 
VLAN. The access port can only be added to one VLAN, while the hybrid and trunk 
ports can be added to multiple VLANs.
Perform the following configuration in Ethernet port view.
Table 78   Setting the link type for the Ethernet port
Operation 
Command 
Configure the port as access port 
port link-type access 
Configure the port as hybrid port 
port link-type hybrid 
Configure the port as trunk port 
port link-type trunk 
Restore the default link type, that is, the access port 
undo port link-type
Table 79   Adding the Ethernet port to specified VLANs
Operation 
Command 
Add the current access port to a specified 
VLAN 
port access vlan vlan-id 
Add the current hybrid port to specified 
VLANs 
port hybrid vlan vlan-id-list { tagged | 
untagged } 
Add the current trunk port to specified VLANs  port trunk permit vlan { vlan-id-list | all } 
Remove the current access port from to a 
specified VLAN 
undo port access vlan 
Remove the current hybrid port from to 
specified VLANs 
undo port hybrid vlan vlan-id-list 
Remove the current trunk port from specified 
VLANs 
undo port trunk permit vlan { vlan-id-list | 
all }