Quick Reference Guide

304 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
Configuring private VLANs
10
The pvlan mapping command identifies the other private VLANs for which this VLAN is the primary.
The command also specifies the primary VLAN ports to which you are mapping the other private
VLANs.The parameters of the pvlan mapping command are as follows:
The <vlan-id> parameter specifies another private VLAN. The other private VLAN you want to
specify must already be configured.
The ethernet <portnum> parameter specifies the primary VLAN port to which you are mapping
all the ports in the other private VLAN (the one specified by <vlan-id>).
To configure a primary private VLAN, on PowerConnect B-Series TI24X device enter the following
commands:
PowerConnect(config)# vlan 7
PowerConnect(config-vlan-7)# untagged ethernet 2
PowerConnect(config-vlan-7)# pvlan type primary
PowerConnect(config-vlan-7)# pvlan mapping 901
These commands create port-based VLAN 7, add port 2 as an untagged port, identify the VLAN as
the primary VLAN in a private VLAN, and map the secondary private VLANs to the primary VLAN.
NOTE
For PowerConnect devices, you do not have to specify the port in the primary vlan mapping.
CLI example for Figure 71
To configure the private VLANs shown in Figure 71 on page 300, enter the following commands.
PowerConnect(config)# vlan 901
PowerConnect(config-vlan-901)# untagged ethernet 5 to 6
PowerConnect(config-vlan-901)# pvlan type community
PowerConnect(config-vlan-901)# exit
PowerConnect(config)# vlan 902
PowerConnect(config-vlan-902)# untagged ethernet 9 to 10
PowerConnect(config-vlan-902)# pvlan type isolated
PowerConnect(config-vlan-902)# exit
PowerConnect(config)# vlan 903
PowerConnect(config-vlan-903)# untagged ethernet 7 to 8
PowerConnect(config-vlan-903)# pvlan type community
PowerConnect(config-vlan-903)# exit
PowerConnect(config)# vlan 7
PowerConnect(config-vlan-7)# untagged ethernet 2
PowerConnect(config-vlan-7)# pvlan type primary
PowerConnect(config-vlan-7)# pvlan mapping 901
PowerConnect(config-vlan-7)# pvlan mapping 902
PowerConnect(config-vlan-7)# pvlan mapping 903
Enabling broadcast, unregistered multicast or
unknown unicast traffic to the private VLAN on
PowerConnect device
To configure the ports in primary VLAN to forward broadcast, unregistered multicast, or unknown
unicast, enter the following commands:
PowerConnect(config-vlan-7)# pvlan preference unknown-unicast flood
PowerConnect(config-vlan-7)# pvlan preference broadcast flood