User Manual

11.1.13 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.
SWP1(config)#interface ge1
SWP1(config-if)#switchport mode private-vlan promiscuous
SWP1(config-if)#exit
SWP1(config)#interface ge2
SWP1(config-if)#switchport mode private-vlan host
11.1.14 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
128 | Command Reference |
L2 switching function