DES-7200 Configuration Guide Chapter 8 Private VLAN Configuration
8-18
SwitchA(config-if-range)#exit
SwitchA(config)#interface range gigabitEthernet 0/5-6
SwitchA(config-if-range)#switchport mode private-vlan host
SwitchA(config-if-range)#switchport private-vlan host-association 2 30
SwitchA(config-if-range)#exit
Step 4: Configure the server-connecting port.
! Configure port Gi 0/7 of Switch A as Promiscuous Port
SwitchA(config)#interface gigabitEthernet 0/7
SwitchA(config-if-GigabitEthernet 0/7)#switchport mode private-vlan
promiscuous
SwitchA(config-if-GigabitEthernet 0/7)#switchport private-vlan maping 2
10,20,30
SwitchA(config-if-GigabitEthernet 0/7)#exit
Step 5: Configure the gateway address of PVLAN on layer-3 device.
! On Switch A, configure the SVI of Primary VLAN 2 as 192.168.1.1/24, and
configure Community VLAN 10, Community VLAN 20 and Isolated VLAN 30
mapping.
SwitchA(config)#interface vlan 2
SwitchA(config-if-VLAN 2)#ip address 192.168.1.1 255.255.255.0
SwitchA(config-if-VLAN 2)#private-vlan mapping 10,20,30
SwitchA(config-if-VLAN 2)#exit
8.4.2.5 Verify Configurations
Step 1: Display the configurations of Switch A.
SwitchA#show running-config
!
vlan 2
private-vlan primary
private-vlan association add 10,20,30
!
vlan 10
private-vlan community
!
vlan 20
private-vlan community
!
vlan 30
private-vlan isolated
!
interface GigabitEthernet 0/1
switchport mode private-vlan host