DES-7200 Configuration Guide Chapter 8 Private VLAN Configuration
8-19
switchport private-vlan host-association 2 10
!
interface GigabitEthernet 0/2
switchport mode private-vlan host
switchport private-vlan host-association 2 10
!
interface GigabitEthernet 0/3
switchport mode private-vlan host
switchport private-vlan host-association 2 20
!
interface GigabitEthernet 0/4
switchport mode private-vlan host
switchport private-vlan host-association 2 20
!
interface GigabitEthernet 0/5
switchport mode private-vlan host
switchport private-vlan host-association 2 30
!
interface GigabitEthernet 0/6
switchport mode private-vlan host
switchport private-vlan host-association 2 30
!
interface GigabitEthernet 0/7
switchport mode private-vlan promiscuous
switchport private-vlan mapping 2 add 10,20,30
!
interface VLAN 2
no ip proxy-arp
ip address 192.168.1.1 255.255.255.0
private-vlan mapping add 10,20,30
!
Step 2: Display PVLAN-related configurations.
SwitchA#show vlan private-vlan
VLAN Type Status Routed Ports Associated VLANs
------------------------------ ------------------
2 primary active Enabled Gi0/7 10,20,30
10 community active Enabled Gi0/1, Gi0/2 2
20 community active Enabled Gi0/3, Gi0/4 2
30 isolated active Enabled Gi0/5, Gi0/6 2