User Manual

Table Of Contents
6.2.10 Set private VLAN port type
[Syntax]
switchport mode private-vlan port-type
no switchport mode private-vlan port-type
[Parameter]
port-type : Port mode
Setting value Description
promiscuous Promiscuous port
host Host port
[Initial value]
none
[Input mode]
interface mode
[Description]
Specifies the private VLAN port type for the applicable interface.
If this is executed with the "no" syntax, the setting of the private VLAN specified for the applicable interface is deleted.
[Note]
This command can be set only for a LAN/SFP+ port for which the switchport mode access command is set.
In addition, promiscuous can be specified for the following interfaces.
Interface that is operating as a trunk port
logical interface
[Example]
Set LAN port #1 as a promiscuous port, and LAN port #2 as a host port.
SWP2(config)#interface port1.1
SWP2(config-if)#switchport mode private-vlan promiscuous
SWP2(config-if)#exit
SWP2(config)#interface port1.2
SWP2(config-if)#switchport mode private-vlan host
6.2.11 Set private VLAN host port
[Syntax]
switchport private-vlan host-association pri-vlan-id add 2nd-vlan-id
no switchport private-vlan host-association
[Keyword]
add : Sets the secondary VLAN for the primary VLAN
[Parameter]
pri-vlan-id : <2-4094>
VLAN ID specified as the primary VLAN
2nd-vlan-id : <2-4094>
VLAN ID specified as the secondary VLAN
[Initial value]
none
[Input mode]
interface mode
182 | Command Reference | Layer 2 functions