![HP FlexNetwork 5130 HI series Command Reference Manual Download Page 214](http://html.mh-extra.com/html/hp/flexnetwork-5130-hi-series/flexnetwork-5130-hi-series_command-reference-manual_165888214.webp)
206
Field Description
Untagged ports
Untagged members of the VLAN.
Related commands
•
private-vlan
(VLAN view)
•
private-vlan
primary
port private-vlan host
Use
port private-vlan host
to configure a port as a host port.
Use
undo port private-vlan
to restore the default.
Syntax
port private-vlan host
undo port private-vlan
Default
A port is not a host port.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
Usage guidelines
If the port has been assigned to a secondary VLAN, the command assigns the port to the primary
VLAN associated with the secondary VLAN. Also, the following events occur:
•
For an access port, the device performs the following tasks:
{
Changes the port link type to hybrid.
{
Configures the secondary VLAN as the PVID.
{
Assigns the port to the primary VLAN as an untagged member.
•
For a trunk port, the device does not change the port link type or PVID.
•
For a hybrid port, the device does not change the port link type or PVID.
{
If the hybrid port has been a tagged or untagged member of the primary VLAN, this member
attribute remains in the primary VLAN.
{
If the hybrid port does not allow the primary VLAN, the device assigns the port to the primary
VLAN as an untagged member.
The
undo port private-vlan
command does not change the VLAN attributes (allowed VLANs, port
link type, and PVID) of the port.
You can assign the port to a secondary VLAN before or after you execute the
port private-vlan host
command.
The
port private-vlan host
command is mutually exclusive with the
port private-vlan
trunk
promiscuous
and
port private-vlan trunk secondary
commands.
Examples
In this example, VLAN 20 is a secondary VLAN associated with primary VLAN 2.
# Configure GigabitEthernet 1/0/1 as a host port, and then verify the configuration.
<Sysname> system-view
Summary of Contents for FlexNetwork 5130 HI series
Page 302: ...294 ...