User Manual

Table Of Contents
[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.
SWP2(config)# interface port1.1
SWP2(config-if)# switchport mode private-vlan promiscuous
SWP2(config-if)# switchport private-vlan mapping 100 add 101
SWP2(config-if)# switchport private-vlan mapping 100 add 102
SWP2(config-if)# switchport private-vlan mapping 100 add 103
6.2.13 Set voice VLAN
[Syntax]
switchport voice vlan type
no switchport voice vlan
[Parameter]
type : Type
Setting value Description
<1-4094> VLAN ID
dot1p Use priority tagged frames
untagged Use untagged frames
[Initial value]
none
[Input mode]
interface mode
[Description]
Sets voice VLAN. This can be specified only for a physical interface that is specified as an access port.
If a VLAN ID is specified, frames with an 802.1p tag of the specified VLAN are used as voice traffic.
If dot1p is specified, priority tag frames (VLAN ID of 0, and CoS value of the specified 802.1p tag) are used as voice traffic.
If untagged is specified, untagged frames are used as voice traffic.
[Example]
Assign LAN port #1 as voice VLAN to VLAN #100.
SWP2(config)#interface port1.1
SWP2(config-if)#switchport voice vlan 100
184 | Command Reference | Layer 2 functions