EasyManua.ls Logo

3Com SuperStack 4 - Page 40

3Com SuperStack 4
432 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
52 CHAPTER 2: PORT OPERATION
Adding an Ethernet Port to Specified VLANs
Use the following commands to add an Ethernet port to a specified VLAN. An
access port can only be added to one VLAN, while hybrid and trunk ports can be
added to multiple VLANs.
Perform the following configuration in Ethernet Port View.
Note that the access port shall be added to an existing VLAN other than VLAN 1.
The VLAN to which a hybrid port is added must have already exist. The one to
which a trunk port is added cannot be VLAN 1.
After adding an Ethernet port to specified VLANs, the local port can forward
packets of these VLANs. Hybrid and trunk ports can be added to multiple VLANs,
thereby implementing the VLAN intercommunication between peers. For a hybrid
port, you can configure to tag some VLAN packets, based on which the packets
can be processed differently.
Setting the Default VLAN ID for the Ethernet Port
Because the access port can only be included in one VLAN, its default VLAN is the
one to which it belongs. Because a hybrid port and a trunk port can be included in
several VLANs, you must configure the default VLAN ID. If the default VLAN ID has
been configured, the packets without VLAN Tag will be forwarded to the port that
belongs to the default VLAN. When sending the packets with VLAN Tag, if the
VLAN ID of the packet is identical to the default VLAN ID of the port, the system
will remove VLAN Tag before sending this packet.
Perform the following configuration in Ethernet Port View.
Table 40 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 }
Table 41 Setting the Default VLAN ID for an Ethernet Port
Operation Command
Set the default VLAN ID for a hybrid port. port hybrid pvid vlan
vlan_id
Set the default VLAN ID for a trunk port port trunk pvid vlan
vlan_id
Restore the default VLAN ID of a hybrid port to the
default value
undo port hybrid pvid
Restore the default VLAN ID of a trunk port to the
default value
undo port trunk pvid

Related product manuals