Switchport private-vlan mapping – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 451
![background image](/manuals/427254/451/background.png)
VLAN Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
17.23
switchport private-vlan mapping
Use this command to associate a primary VLAN and a set of secondary VLANs to a
promiscuous port.
Use the no variant of this to remove all the association of secondary VLANs to primary
VLANs for a promiscuous port.
Syntax
switchport private-vlan mapping <primary-vlan-id> add
<secondary-vid-list>
switchport private-vlan mapping <primary-vlan-id> remove
<secondary-vid-list>
no switchport private-vlan mapping
Mode
Interface Configuration
Usage
This command can be applied to a switch port or a static channel group, but not a
dynamic (LACP) channel group. LACP channel groups (dynamic/LACP aggregators) cannot
be promiscuous ports in private VLANs.
Examples
Related Commands
Parameter
Description
<primary-vlan-id>
VLAN ID of the primary VLAN.
<secondary-vid-list>
VLAN ID of the secondary VLAN (either isolated or
community), or a range of VLANs, or a comma-separated
list of VLANs and ranges.
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
switchport private-vlan mapping 2 add 3-4
awplus(config-if)#
switchport private-vlan mapping 2 remove 3-4
awplus(config-if)#
no switchport private-vlan mapping