F3215-HP Load Balancing Module Network Management Command Reference-6PW101
79
• If the port is an access port and has been assigned to a secondary VLAN, the device changes the
link type of the port to hybrid and sets the secondary VLAN as the PVID of the port.
• If the port is a trunk or hybrid port and has been assigned to a secondary VLAN, the device does
not change the link type or PVID of the port.
• If the port is a hybrid port, the system automatically assigns the port to the associated
isolate-user-VLAN as an untagged member (if the port has been assigned to the isolate-user-VLAN
as a tagged member, the tagged member attribute is not changed), and keeps the PVID of the port.
You can configure the port isolate-user-vlan host command before or after assigning the port to a
secondary VLAN.
Examples
# Configure access port GigabitEthernet 0/1 to operate in host mode and assign the port to secondary
VLAN 20, which is associated with isolate-user-VLAN 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] port isolate-user-vlan host
[Sysname-GigabitEthernet0/1] display this
#
interface GigabitEthernet0/1
port link-mode bridge
port isolate-user-vlan host
#
return
[Sysname-GigabitEthernet0/1] port access vlan 20
[Sysname-GigabitEthernet0/1] display this
#
interface GigabitEthernet0/1
port link-mode bridge
port isolate-user-vlan host
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 2 20 untagged
port hybrid pvid vlan 20
#
return