Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-17
After configuring the default VLAN of a trunk port, you need to use the
port trunk
permit vlan
command to configure the trunk port to allow the packets of the default
VLAN to pass through.
If the specified default VLAN has been removed or is not carried on the trunk port, the
port will be unable to receive VLAN untagged packets.
Note:
The local and remote trunk ports must use the same default VLAN ID for the traffic of
the default VLAN to be transmitted properly.
Related commands:
port link-type
,
port trunk permit vlan
.
Examples
# Set the default VLAN ID of the trunk port Ethernet 1/0/1 to 100.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] port trunk pvid vlan 100
1.3 MAC-Based VLAN Configuration Commands
1.3.1 display mac-vlan interface
Syntax
display mac-vlan interface
View
Any view
Description
Use the
display mac-vlan interface
command to display all the ports with MAC-based
VLAN enabled.
Related commands:
mac-vlan enable
.
Examples
# Display all the ports with MAC-based VLAN enabled.
<Sysname> display mac-vlan interface
MAC-VLAN is enabled on following ports: