Port Hybrid Vlan - H3C MSR Series Command Reference Manual

Comware 5 layer 2 - lan switching
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

If the system fails to apply the configuration to an aggregation member port, it skips the port and
moves to the next member port.
Examples
# Configure VLAN 100 as the PVID of the hybrid port Ethernet 1/1.
<Sysname> system-view
[Sysname] vlan 100
[Sysname-vlan100] quit
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] port link-type hybrid
[Sysname-Ethernet1/1] port hybrid pvid vlan 100
# Configure VLAN 100 as the PVID of the hybrid Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid pvid vlan 100
Related commands
port link-type

port hybrid vlan

port hybrid vlan
Use port hybrid vlan to assign the hybrid ports to the specified VLANs.
Use undo port hybrid vlan to remove the hybrid ports from the specified VLANs.
Syntax
port hybrid vlan vlan-list { tagged | untagged }
undo port hybrid vlan vlan-list
Default
A hybrid port only allows packets from VLAN 1 to pass through untagged.
Views
Ethernet interface view, Layer 2 aggregate interface view
Default command level
2: System level
Parameters
vlan-list: Specifies a list of VLANs that the hybrid ports will be assigned to in the format of { vlan-id1
[ to vlan-id2 ] }&<1-10>, where vlan-id1 and vlan-id2 represent VLAN IDs and each range from 1 to
4094, vlan-id2 must be no smaller than vlan-id1, and &<1-10> indicates that you can specify up to 10
VLAN IDs or VLAN ID ranges. Make sure that the specified VLANs already exist.
tagged: Configures the ports to send the tagged packets of the specified VLANs.
untagged: Configures the ports to send the untagged packets of the specified VLANs.
Usage guidelines
The following matrix shows the command and hardware compatibility in Layer 2 aggregate interface
view:
29

Advertisement

Table of Contents
loading

Table of Contents