Private Vlan IntroDuction and Configuration
Private Vlan IntroDuction and Configuration
Allow us to permit and deny the access from ports and we using one subnet for all
vlans
In private vlan we just create a primary vlan
And primary vlan we add different sub vlan
These vlan is isolated with each other
One subnet for all vlans
All Rights Reserved. ©Best Cisco CCNA CCNP and Linux Notes
www.ccnaccnplinux.com®
Private-vlan configuration
Switch(config)#vtp mode transparent
Private vlan only be configured on transparent mode
Switch(config)#vlan 110
Switch(config-vlan)#private-vlan community {communicating in same vlan 110 and
internet}
Switch(config-vlan)#exit
Switch(config)#vlan 120
Switch(config-vlan)#private-vlan isolated {communicate with gateway as
well as internet}
Switch(config-vlan)#exit
Switch(config)#vlan 130
Switch(config-vlan)#private-vlan community (communicating with same vlan
130 and internet)
Switch(config-vlan)#exit
All Rights Reserved. ©Best Cisco CCNA CCNP and Linux Notes
www.ccnaccnplinux.com®
Switch(config-if)#switchport private-vlan host-association 100 120 {First
primary vlan then followed by secondary vlans 120}
Switch(config-if)#exit
All Rights Reserved. ©Best Cisco CCNA CCNP and Linux Notes
www.ccnaccnplinux.com®