C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
439
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
VLAN C
OMMANDS
SWITCHPORT
PRIVATE
-
VLAN
MAPPING
switchport private-vlan mapping
Overview
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
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
Related
Commands
switchport mode private-vlan
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.