Operation Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
2.2.6 Troubleshooting Ethernet Port Configuration
Symptom: Fail to configure the default VLAN ID of an Ethernet port.
Solution: Take the following steps.
Use the display interface or display port command to check if the port is a trunk
port or a hybrid port.
If the port is not a trunk or hybrid port, configure it to be a trunk or hybrid port.
Configure the default VLAN ID of the port.
Note:
For information about the display interface command, refer to Port Basic
Configuration in this manual.
2.3 Configuring a MAC-Based VLAN
2.3.1 Configuring a MAC-Based VLAN
Note:
MAC-based VLANs are available only on hybrid ports.
Follow these steps to configure a MAC-based VLAN:
Enter system view
Associate a MAC address
or a MAC address range
with a VLAN
Enter Ethernet port view
Configure the link type of
the port as hybrid
Configure the hybrid port
to carry the VLAN in the
MAC-to-VLAN mapping
you created
To do...
system-view
mac-vlan mac-address
mac-addr vlan vlan-id
[ priority priority ]
interface interface-type
interface-number
port link-type hybrid
port hybrid vlan
vlan-id-list untagged
Use the command...
2-8
Chapter 2 VLAN Configuration
Remarks
—
Required
You can repeat the step to
create multiple
MAC-to-VLAN mappings.
—
Required
Required
By default, a hybrid port
only permits the packets
of VLAN 1 to pass
through.