3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
641
Example
# Configure the default VLAN ID for the Hybrid port Ethernet 1/0 to be 100.
<Sysname> system-view
[Sysname] vlan 100
[Sysname-vlan100] quit
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] port link-type hybrid
[Sysname-Ethernet1/0] 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
Parameter
vlan-id-list: The range of VLANs that the Hybrid ports will be added to, vlan-id-list 
= [ vlan-id1 [ to vlan-id2 ] ]&<1-10>,  where  vlan-id ranges from 1 to 4,094 and 
&<1-10> indicates that you can specify up to 10 times.
tagged: Specifies to tag the packets of the specified VLAN (s).
untagged: Specifies not to tag the specified VLAN(s).
Description
Use the port hybrid vlan command to add the current Hybrid port to the 
specified VLAN(s).
Use the undo port hybrid vlan command to remove the current Hybrid port 
from the specified VLAN(s).
A hybrid port can belong to multiple VLANs and thus can allow packets of multiple 
VLANs to pass. Repetitive execution of the port hybrid vlan vlan-id-list { tagged | 
untagged } command will yield a set VLANs, to which the Hybrid port belongs.
Configured in Ethernet interface view, the setting is effective on the current port 
only; configured in port group view, the setting is effective on all ports in the port 
group.
Related command:
Example
# Add the Hybrid port Ethernet 1/0 to VLAN 2, VLAN 4, and the range of VLANs 
from VLAN 50 to VLAN 100. Tag all packets of these VLANs.
<Sysname> system-view
[Sysname] vlan all
Please wait... Done.
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] port link-type hybrid
[Sysname-Ethernet1/0] port hybrid vlan 2 4 50 to 100 tagged