Configuration Guide Manual
Brocade TurboIron 24X Series Configuration Guide 415
53-1003053-01
Dual-mode VLAN ports
• 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, enter the following commands:
TurboIron(config)#vlan 7
TurboIron(config-vlan-7)#untagged ethernet 2
TurboIron(config-vlan-7)#pvlan type primary
TurboIron(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
You do not have to specify the port in the primary VLAN mapping.
CLI example for Figure 52
To configure the private VLANs shown in Figure 52 on page 411, enter the following commands.
TurboIron(config)#vlan 901
TurboIron(config-vlan-901)#untagged ethernet 5 to 6
TurboIron(config-vlan-901)#pvlan type community
TurboIron(config-vlan-901)#exit
TurboIron(config)#vlan 902
TurboIron(config-vlan-902)#untagged ethernet 9 to 10
TurboIron(config-vlan-902)#pvlan type isolated
TurboIron(config-vlan-902)#exit
TurboIron(config)#vlan 903
TurboIron(config-vlan-903)#untagged ethernet 7 to 8
TurboIron(config-vlan-903)#pvlan type community
TurboIron(config-vlan-903)#exit
TurboIron(config)#vlan 7
TurboIron(config-vlan-7)#untagged ethernet 2
TurboIron(config-vlan-7)#pvlan type primary
TurboIron(config-vlan-7)#pvlan mapping 901
TurboIron(config-vlan-7)#pvlan mapping 902
TurboIron(config-vlan-7)#pvlan mapping 903
Dual-mode VLAN ports
Configuring a tagged port as a dual-mode port allows it to accept and transmit both tagged traffic
and untagged traffic at the same time. A dual-mode port accepts and transmits frames belonging
to VLANs configured for the port, as well as frames belonging to the default VLAN (that is, untagged
traffic).
For example, in Figure 53, port 11 is a dual-mode port belonging to VLAN 20. Traffic for VLAN 20,
as well as traffic for the default VLAN, flows from a hub to this port. The dual-mode feature allows
traffic for VLAN 20 and untagged traffic to go through the port at the same time.
FIGURE 53 Dual-mode VLAN port example