Cisco CCNP 350-401 (ENCOR) & 300-410 (ENARSI) Enterprise Networking
Duration: 60–75 minutes | Difficulty: Intermediate-Advanced | Version: 1.0
This lab focuses on Private VLAN (PVLAN) design and configuration for Layer 2 network segmentation and port isolation. Students will implement PVLAN port types, communication rules, router gateway access, and verification testing using primary, community, and isolated VLANs.
Use the provided topology image for this lab.
conf t
vtp mode transparent
vtp domain pvlan-domain
end
show vtp status
conf t
vlan 999
name Primary-VLAN
private-vlan primary
exit
vlan 100
name Community-VLAN-100
private-vlan community
exit
vlan 200
name Community-VLAN-200
private-vlan community
exit
vlan 300
name Isolated-VLAN-300
private-vlan isolated
exit
vlan 999
private-vlan association 100,200,300
end
conf t
interface gigabitEthernet0/1
description Uplink to R1
switchport mode private-vlan promiscuous
switchport private-vlan mapping 999 100,200,300
no shutdown
end
conf t
interface gigabitEthernet1/1
description To SW1 - Community 100
switchport mode private-vlan host
switchport private-vlan host-association 999 100
no shutdown
exit
interface gigabitEthernet1/2
description To SW2 - Community 200
switchport mode private-vlan host
switchport private-vlan host-association 999 200
no shutdown
exit
interface gigabitEthernet2/1
description To SW3 - Isolated 300
switchport mode private-vlan host
switchport private-vlan host-association 999 300
no shutdown
exit
interface gigabitEthernet2/2
description To SW4 - Isolated 300
switchport mode private-vlan host
switchport private-vlan host-association 999 300
no shutdown
end
conf t
interface gigabitEthernet0/1
description Link to DS
ip address 192.168.10.1 255.255.255.0
no shutdown
end
show ip interface brief
PC1 (Community VLAN 100): 192.168.10.11 /24
PC2 (Community VLAN 200): 192.168.10.12 /24
PC3 (Isolated VLAN 300): 192.168.10.13 /24
PC4 (Isolated VLAN 300): 192.168.10.14 /24
Default Gateway: 192.168.10.1
! Verify router interface
show ip interface brief
! Verify PVLAN settings
show vlan private-vlan
show vlan private-vlan type
show vlan private-vlan association
show interface switchport private-vlan
show vlan id 999 private-vlan
! Test connectivity
ping 192.168.10.1
ping 192.168.10.11
ping 192.168.10.12
ping 192.168.10.13
ping 192.168.10.14
| Check | Command | Expected Result |
|---|---|---|
| VTP mode | show vtp status |
Operating mode is Transparent |
| VLAN types | show vlan private-vlan type |
Primary, community, and isolated VLANs displayed correctly |
| PVLAN associations | show vlan private-vlan association |
Secondary VLANs associated with primary 999 |
| Port roles | show interface switchport private-vlan |
Promiscuous and host port roles verified |
| Primary VLAN details | show vlan id 999 private-vlan |
Primary VLAN 999 shows associated secondary VLANs |
| Router interface | show ip interface brief |
G0/1 is up/up with 192.168.10.1 assigned |
| MAC learning | show mac address-table vlan 999 |
Addresses learned on correct ports |
vtp mode transparent before creating PVLANs
ip address 192.168.10.1 255.255.255.0