User Manual

Table Of Contents
SWR2311P(config)# interface port1.1
SWR2311P(config-if)# switchport mode private-vlan host
SWR2311P(config-if)# switchport private-vlan host-association 100 add 101
SWR2311P(config-if)# interface port1.2
SWR2311P(config-if)# switchport mode private-vlan host
SWR2311P(config-if)# switchport private-vlan host-association 100 add 102
SWR2311P(config-if)# interface port1.3
SWR2311P(config-if)# switchport mode private-vlan host
SWR2311P(config-if)# switchport private-vlan host-association 100 add 103
6.2.12 Set promiscuous port for private VLAN
[Syntax]
switchport private-vlan mapping pri-vlan-id add 2nd-vlan-ids
switchport private-vlan mapping pri-vlan-id remove 2nd-vlan-ids
no switchport private-vlan mapping
[Keyword]
add : Sets the secondary VLAN for the primary VLAN
remove : Deletes the secondary VLAN for the primary VLAN
[Parameter]
pri-vlan-id : <2-4094>
VLAN ID specified as the primary VLAN
2nd-vlan-ids : <2-4094>
VLAN ID specified as the secondary
To specify multiple items, use "-" or "," as shown below
To select from VLAN #2 through VLAN #4: 2-4
select VLAN #2 and VLAN #4: 2,4
[Initial value]
none
[Input mode]
interface mode
[Description]
Specifies the primary VLAN that is associated with the applicable interface as the promiscuous port, and associates the
secondary VLAN.
If this is executed with the "no" syntax, the setting of the primary VLAN that is associated with the applicable interface as the
promiscuous port, and the association of the secondary VLAN, are deleted.
[Note]
This command can be set only for a LAN/SFP port that has been set as a promiscuous port by the switchport mode private-
vlan command.
In addition, it can also be set for the following interfaces that are specified as promiscuous ports.
Interface that is operating as a trunk port
logical interface
pri-vlan-id and 2nd-vlan-ids must be associated by the private-vlan association command.
If this command is applied to a logical interface, the settings of every LAN/SFP port associated with that interface are changed.
If the switchport mode private-vlan command is used to set the port type to something other than promiscuous port, the
setting of this command is deleted.
A community VLAN can be associated with multiple promiscuous ports.
Multiple promiscuous ports can be specified for one primary VLAN.
Since an interface in an isolated VLAN can communicate only with one promiscuous port, only one promiscuous port can be
associated with one isolated VLAN.
[Example]
Make LAN port #1 operate as a promiscuous port, specify primary VLAN #100, and associate the secondary VLANs #101,
#102, and #103.
188 | Command Reference | Layer 2 functions