DES-7200 Configuration Guide Chapter 8 Private VLAN Configuration
8-9
DES-7200(config-if)# end
DES-7200#
Note
The primary VLAN and the secondary VLANs in this process are
associated.
8.2.7 Configuring a Layer 2
Interface as the
Promiscuous Port of a
Private VLAN
To configure a layer 2 interface as the promiscuous port of a private VLAN,
execute the following commands:
Command Description
configure terminal
Enter the global configuration mode.
interface <interface>
Enter the interface configuration mode.
Three kinds of interfaces are available: Megabit, Gigabit,
and 10 Gigabit.
switchport mode
private-vlan
promiscuous
Configure the interface as the promiscuous port of the
private VLAN.
no switchport mode
Remove the configuration.
switchport private-vlan
mapping
p_vid{svlist | add svlist |
remove svlist}
Map the secondary VLANs to the promiscuous port.
no switchport
private-vlan mapping
Remove the mapping.
For example:
DES-7200# configure terminal
DES-7200(config)# interface gigabitEthernet 0/2
DES-7200(config-if)# switchport mode private-vlan promiscuous
DES-7200(config-if)# switchport private-vlan mapping 202 add 203
DES-7200(config-if)# end
Note
The primary VLAN and the secondary VLANs in this process are
associated.