3Com S7902E Command Reference Manual - page 204
1-12
Examples
# Configure VLAN 100 as the default VLAN of the hybrid port GigabitEthernet 2/0/1.
[Sysname] vlan 100
[Sysname-vlan100] quit
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] port link-type hybrid
[Sysname-GigabitEthernet2/0/1] port hybrid pvid vlan 100
# Configure VLAN 100 as the default VLAN of the hybrid Layer-2 aggregate interface
Bridge-aggregation 1
.
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port hybrid pvid vlan 100
port hybrid vlan
Syntax
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
undo port hybrid
vlan
vlan-id-list
View
Ethernet interface view, port group view, Layer-2 aggregate interface view
Default Level
2: System level
Parameters
vlan-id-list
: VLANs that the hybrid ports will be assigned to. This argument is expressed in the format of
[
vlan-id1
[
to
vlan-id2
] ]&, where
vlan-id
ranges from 1 to 4094 and & indicates that you
can specify up to 10 VLAN IDs or VLAN ID ranges. Be sure that the specified VLANs already exist.
tagged
: Configures the port(s) to send the packets of the specified VLAN(s) with the tags kept.
untagged
: Configures the port to send the packets of the specified VLAN(s) with the tags removed.
Description
Use the
port hybrid vlan
command to assign the current hybrid port(s) to the specified VLAN(s).
Use the
undo port hybrid vlan
command to remove the current hybrid port(s) from the specified
VLAN(s).
By default, a hybrid port only allows packets from VLAN 1 to pass through untagged.
A hybrid port can carry multiple VLANs. If you execute the
port hybrid
vlan
command multiple times,
the VLANs the hybrid port carries are the set of VLANs specified by
vlan-id-list
in each execution.
z
In Ethernet interface view, this command only applies to the current port.
z
In port group view, this command applies to all ports in the port group. For information about port
groups, refer to
Ethernet Interface Configuration
in the
Access Volume
.
z
In Layer-2 aggregate interface view, this command applies to the Layer-2 aggregate interface and
all its member ports. After you perform the configuration, the system starts applying the