DES-7200 Configuration Guide Chapter 8 Private VLAN Configuration
8-13
SwitchA(config-vlan)#exit
! Configurations of Switch B are the same as above.
Step 3: Configure the uplink port for connecting gateway device.
! Configure port Gi 0/1 of Switch A as Promiscuous Port
SwitchA(config)#interface gigabitEthernet 0/1
SwitchA(config-if-GigabitEthernet 0/1)#switchport mode private-vlan
promiscuous
SwitchA(config-if-GigabitEthernet 0/1)#switchport private-vlan mapping 99
100-101
SwitchA(config-if-GigabitEthernet 0/1)#exit
Step 4: Associate the user access ports of respective companies to the
corresponding Secondary VLANs (as shown in the above figure).
! On Switch A, associate port Gi 0/2 and Gi 0/3 to Community VLAN 100 and
associate port Gi 0/4 to Isolated VLAN 101.
SwitchA(config)#interface range gigabitEthernet 0/2-3
SwitchA(config-if-range)#switchport mode private-vlan host
SwitchA(config-if-range)#switchport private-vlan host-association 99 100
SwitchA(config-if-range)#exit
SwitchA(config)#interface gigabitEthernet 0/4
SwitchA(config-if-GigabitEthernet 0/4)#switchport mode private-vlan host
SwitchA(config-if-GigabitEthernet 0/4)#switchport private-vlan
host-association 99 101
! On Switch B, associate port Gi 0/2 to Isolated VLAN 101 and associate port Gi
0/3 to Community VLAN 100.
SwitchB(config)#interface gigabitEthernet 0/2
SwitchB(config-if-GigabitEthernet 0/2)#switchport mode private-vlan host
SwitchB(config-if-GigabitEthernet 0/2)# switchport private-vlan
host-association 99 101
SwitchB(config-if-GigabitEthernet 0/2)#exit
SwitchB(config)#interface gigabitEthernet 0/3
SwitchB(config-if-GigabitEthernet 0/3)#switchport mode private-vlan host
SwitchB(config-if-GigabitEthernet 0/3)# switchport private-vlan
host-association 99 100
SwitchB(config-if-GigabitEthernet 0/3)#exit
Step 5: Configure the connection ports for running PVLAN across device.
! Configure port Gi 0/5 of Switch A as Trunk Port
SwitchA(config)#interface gigabitEthernet 0/5
SwitchA(config-if-GigabitEthernet 0/5)#switchport mode trunk
SwitchA(config-if-GigabitEthernet 0/5)#exit
! Configure port Gi 0/1 of Switch B as Trunk Port.