R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

191
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
port link-type hybrid
port hybrid vlan 20 30 tagged
port hybrid vlan 1 untagged
#
return
Related commands
private-vlan
private-vlan primary
port private-vlan promiscuous
port private-vlan host
private-vlan
Use private-vlan to associate a primary VLAN with the specified secondary VLANs.
Use undo private-vlan to dissociate the specified secondary VLANs from the primary VLAN.
Syntax
private-vlan secondary vlan-id-list
undo private-vlan [ secondary vlan-id-list ]
Default
A primary VLAN is not associated with any secondary VLAN.
Views
VLAN view
Predefined user roles
network-admin
mdc-admin
Parameters
secondary vlan-id-list: Specifies a VLAN list in the format of vlan-id-list = { vlan-id1 [ to
vlan-id2 ] }&<1-10>, where the value range for vlan-id1 and vlan-id2 is 1 to 4094, vlan-id2 cannot be
smaller than vlan-id1, and &<1-10> indicates that you can specify up to 10 vlan-id1 [ to vlan-id2 ]
parameters. Though the default VLAN (VLAN 1) is in the valid value range, it cannot be configured in the
command.
Usage guidelines
A primary VLAN can be associated with multiple secondary VLANs. When you execute the private-vlan
command in the same VLAN view multiple times, the secondary VLANs associated with the primary
VLAN are the union of the configured secondary VLANs.
When the vlan-id-list argument is not specified for the undo private-vlan command, the command
dissociates all secondary VLANs from the current primary VLAN. Otherwise, the command dissociates
the specified secondary VLANs from the current primary VLAN.
When you configure this command for a primary VLAN and some ports on the device are operating in
promiscuous mode, trunk promiscuous mode, or host mode, the configuration synchronization is