[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.
If you specify the
switchport private-vlan mapping add
command with a combination of "-" or "," in the
2nd-vlan-ids
, the
command setting will fail if you revert to an older version (Rev.2.00.08 or earlier). As a result, normal communication might
become impossible. (Example setting: switchport private-vlan mapping 100 add 101,103-105)
[Example]
Make LAN port #1 operate as a promiscuous port, specify primary VLAN #100, and associate the secondary VLANs #101,
#102, and #103.
SWR2311P(config)# interface port1.1
SWR2311P(config-if)# switchport mode private-vlan promiscuous
SWR2311P(config-if)# switchport private-vlan mapping 100 add 101
SWR2311P(config-if)# switchport private-vlan mapping 100 add 102
SWR2311P(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.
168
| Command Reference | Layer 2 functions