Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-12
Caution:
By default, all access ports belong to VLAN 1. You cannot assign an access port to or
remove an access port from VLAN 1 with the
port access vlan
command or its
undo
form. To assign an access port that has been assigned to a VLAN other than VLAN 1,
you can use the
undo port access vlan
command.
Description
Use the
port access vlan
command to assign the current access port to the specified
VLAN.
Use the
undo port access vlan
command to remove the access port from the
specified VLAN. After that, the access port joins VLAN 1 automatically.
Examples
# Assign Ethernet 1/0/1 to VLAN 3.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port access vlan 3
1.2.4 port hybrid pvid vlan
Syntax
port hybrid pvid vlan vlan-id
undo port hybrid pvid
View
Ethernet port view
Parameters
vlan-id
: Specifies the default VLAN ID of the current hybrid port, in the range of 1 to
4094. The specified VLAN can be one already created or not.
Description
Use the
port hybrid pvid vlan
command to set the default VLAN ID of the hybrid port.
Use the
undo port hybrid pvid
command to restore the default VLAN ID of the hybrid
port.