際際滷

際際滷Share a Scribd company logo
Anuj Kumar
                                            ciscobulls@gmail.com

             CCNP SWITCH
        PORTABLE STUDY GUIDE
                       &
         PRACTICE WORK BOOK

ANUJ KUMAR




             email:- ciscobulls@gmail.com
                anuj_dev007@yahoo.com
                  networkbulls.com
Anuj Kumar
                                                                                              ciscobulls@gmail.com

                                                     Private Vlan

Feature:-

Private Vlan provides isolation between ports within the same network.
Its provided security and reduces the number of IP subnet.
pVLANs require VTP switches to be in transparent mode.
pVLANs can span multiple switches that support the pVLANs trunking feature.
Example: - Service providers use pVLANs to deploy hosting services and network access where all devices reside in
the same subnet but only communicate to a default gateway, servers or another network.

PRIVATE VLAN CONSIST TWO TYPES OF VLAN.

1: - Primary VLAN (Promiscuous is also called Primary VLAN)

         It is called high level VLAN.
         It can have many secondary VLANs
         Secondary VLANs belong to same subnet as primary VLAN.
2: - Secondary VLAN

       It is child VLAN to primary VLAN.
       All end devices belong to a secondary VLAN.


TWO TYPES OF SECONDARY VLAN.

1:- Community VLANS
          These ports communicate with other ports in the same community but not another community VLAN port,
and (Primary VLAN Ports) promiscuous port.
2: - Isolated VLANS
          These ports can only communicate with promiscuous ports.
Note: -These ports can not communicate with other port in the same isolated.
Anuj Kumar
                                                          ciscobulls@gmail.com




Configuration of Private VLAN: -

Configure switch as an in transparent mode




Switch(config)#vtp mode transparent

Configure Primary VLAN

Switch(config)# vlan 100
Switch(config-vlan)# private-vlan primary

Configure Secondary VLANs (two community, one isolated)

Switch(config)# vlan          200
Switch(config-vlan)#          private-vlan community
Switch(config)# vlan          300
Switch(config-vlan)#          private-vlan community
Switch(config)# vlan          400
Switch(config-vlan)#          private-vlan isolated


Associate secondary VLANs to primary VLAN
Anuj Kumar
                                                                ciscobulls@gmail.com


Switch(config)# vlan 100
Switch(config-vlan)# private-vlan association 200,300,400




Configure access ports for promiscuous mode.

Switch(config)# interface range fa 0/7  8
Switch(config-if)# switchport mode private-vlan promiscuous
Switch(config-if)#switchport private-vlan mapping 100 200,300,400
Switch(config-if)# exit

Configure access ports for community-A pVLANs.

Switch(config)# interface range fa 0/1  2
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)# switchport private-vlan host-association 100 200
Switch(config-if)# exit

Configure access ports for community-B pVLANs.

Switch(config)# interface range fa 0/3  4
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)# switchport private-vlan host-association 100 300
Switch(config-if)# exit

Configure access ports for Isolated pVLANs.

Switch(config)# interface range fa 0/5  6
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)# switchport private-vlan host-association 100 400
Switch(config-if)# exit


Verify commands: -

Switch#show vlan private-vlan
Switch#show vlan private-vlan type
Ad

Recommended

Mule SSL(TLS) component
Mule SSL(TLS) component
Ankush Sharma
Mule SOAP Router
Mule SOAP Router
Ankush Sharma
Mule RMI transport
Mule RMI transport
Ankush Sharma
Securing networks with private vla ns and vlan access control lists
Securing networks with private vla ns and vlan access control lists
1 2d
Private VLANs
Private VLANs
NetProtocol Xpert
Comandos
Comandos
1 2d
Cisco 2960 basic configuration vlan configuration
Cisco 2960 basic configuration vlan configuration
3Anetwork com
labffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptx
BinyamBekeleMoges
Cisco labs practical6
Cisco labs practical6
Tai Lam
CCNP Switch 300-115 - Course 際際滷s 2016
CCNP Switch 300-115 - Course 際際滷s 2016
Ahmed Abdel Fattah
CCNA Lab 4-Configuring EtherChannels and optimizing Spanning Tree Protocol on...
CCNA Lab 4-Configuring EtherChannels and optimizing Spanning Tree Protocol on...
Amir Jafari
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2
alan moreno
RFI
RFI
correozyx
Vlan lab
Vlan lab
tmim8
Hsrp
Hsrp
Anuj Kumar
Hsrp
Hsrp
Anuj Kumar
corporate network
corporate network
Kaushal Kishore
CCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN Routing
Amir Jafari
Ap7181 cli guide
Ap7181 cli guide
Advantec Distribution
Vrrp
Vrrp
Anuj Kumar
Ccna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_en
vin424
20088 1 ccna3 3.1-06 switch configurations
20088 1 ccna3 3.1-06 switch configurations
Dipak Misra
Cumulus networks conversion guide
Cumulus networks conversion guide
Scott Suehle
CCNA Lab 3-VLAN Configuration on Switch
CCNA Lab 3-VLAN Configuration on Switch
Amir Jafari
How to configure cisco 6500 vss
How to configure cisco 6500 vss
IT Tech
CCNA- part 9 vlan
CCNA- part 9 vlan
Sandeep Sharma IIMK Smart City,IoT,Bigdata,Cloud,BI,DW
Nat report2
Nat report2
Davinder Chauhan
VIRTUAL LANS
VIRTUAL LANS
anilinvns
Hurricane Helene Application Documents Checklists
Hurricane Helene Application Documents Checklists
Mebane Rash
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)

More Related Content

Similar to Private vlan (20)

Cisco labs practical6
Cisco labs practical6
Tai Lam
CCNP Switch 300-115 - Course 際際滷s 2016
CCNP Switch 300-115 - Course 際際滷s 2016
Ahmed Abdel Fattah
CCNA Lab 4-Configuring EtherChannels and optimizing Spanning Tree Protocol on...
CCNA Lab 4-Configuring EtherChannels and optimizing Spanning Tree Protocol on...
Amir Jafari
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2
alan moreno
RFI
RFI
correozyx
Vlan lab
Vlan lab
tmim8
Hsrp
Hsrp
Anuj Kumar
Hsrp
Hsrp
Anuj Kumar
corporate network
corporate network
Kaushal Kishore
CCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN Routing
Amir Jafari
Ap7181 cli guide
Ap7181 cli guide
Advantec Distribution
Vrrp
Vrrp
Anuj Kumar
Ccna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_en
vin424
20088 1 ccna3 3.1-06 switch configurations
20088 1 ccna3 3.1-06 switch configurations
Dipak Misra
Cumulus networks conversion guide
Cumulus networks conversion guide
Scott Suehle
CCNA Lab 3-VLAN Configuration on Switch
CCNA Lab 3-VLAN Configuration on Switch
Amir Jafari
How to configure cisco 6500 vss
How to configure cisco 6500 vss
IT Tech
CCNA- part 9 vlan
CCNA- part 9 vlan
Sandeep Sharma IIMK Smart City,IoT,Bigdata,Cloud,BI,DW
Nat report2
Nat report2
Davinder Chauhan
VIRTUAL LANS
VIRTUAL LANS
anilinvns
Cisco labs practical6
Cisco labs practical6
Tai Lam
CCNP Switch 300-115 - Course 際際滷s 2016
CCNP Switch 300-115 - Course 際際滷s 2016
Ahmed Abdel Fattah
CCNA Lab 4-Configuring EtherChannels and optimizing Spanning Tree Protocol on...
CCNA Lab 4-Configuring EtherChannels and optimizing Spanning Tree Protocol on...
Amir Jafari
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2
alan moreno
Vlan lab
Vlan lab
tmim8
CCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN Routing
Amir Jafari
Ccna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_en
vin424
20088 1 ccna3 3.1-06 switch configurations
20088 1 ccna3 3.1-06 switch configurations
Dipak Misra
Cumulus networks conversion guide
Cumulus networks conversion guide
Scott Suehle
CCNA Lab 3-VLAN Configuration on Switch
CCNA Lab 3-VLAN Configuration on Switch
Amir Jafari
How to configure cisco 6500 vss
How to configure cisco 6500 vss
IT Tech
VIRTUAL LANS
VIRTUAL LANS
anilinvns

Recently uploaded (20)

Hurricane Helene Application Documents Checklists
Hurricane Helene Application Documents Checklists
Mebane Rash
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
Values Education 10 Quarter 1 Module .pptx
Values Education 10 Quarter 1 Module .pptx
JBPafin
Photo chemistry Power Point Presentation
Photo chemistry Power Point Presentation
mprpgcwa2024
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
Mayvel Nadal
Q1_ENGLISH_PPT_WEEK 1 power point grade 3 Quarter 1 week 1
Q1_ENGLISH_PPT_WEEK 1 power point grade 3 Quarter 1 week 1
jutaydeonne
Q1_TLE 8_Week 1- Day 1 tools and equipment
Q1_TLE 8_Week 1- Day 1 tools and equipment
clairenotado3
How to Customize Quotation Layouts in Odoo 18
How to Customize Quotation Layouts in Odoo 18
Celine George
K12 Tableau User Group virtual event June 18, 2025
K12 Tableau User Group virtual event June 18, 2025
dogden2
LDMMIA Yoga S10 Free Workshop Grad Level
LDMMIA Yoga S10 Free Workshop Grad Level
LDM & Mia eStudios
LDMMIA Shop & Student News Summer Solstice 25
LDMMIA Shop & Student News Summer Solstice 25
LDM & Mia eStudios
ENGLISH_Q1_W1 PowerPoint grade 3 quarter 1 week 1
ENGLISH_Q1_W1 PowerPoint grade 3 quarter 1 week 1
jutaydeonne
ECONOMICS, DISASTER MANAGEMENT, ROAD SAFETY - STUDY MATERIAL [10TH]
ECONOMICS, DISASTER MANAGEMENT, ROAD SAFETY - STUDY MATERIAL [10TH]
SHERAZ AHMAD LONE
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
Kweku Zurek
List View Components in Odoo 18 - Odoo 際際滷s
List View Components in Odoo 18 - Odoo 際際滷s
Celine George
How to Manage Different Customer Addresses in Odoo 18 Accounting
How to Manage Different Customer Addresses in Odoo 18 Accounting
Celine George
June 2025 Progress Update With Board Call_In process.pptx
June 2025 Progress Update With Board Call_In process.pptx
International Society of Service Innovation Professionals
Peer Teaching Observations During School Internship
Peer Teaching Observations During School Internship
AjayaMohanty7
HistoPathology Ppt. Arshita Gupta for Diploma
HistoPathology Ppt. Arshita Gupta for Diploma
arshitagupta674
Pests of Maize: An comprehensive overview.pptx
Pests of Maize: An comprehensive overview.pptx
Arshad Shaikh
Hurricane Helene Application Documents Checklists
Hurricane Helene Application Documents Checklists
Mebane Rash
Values Education 10 Quarter 1 Module .pptx
Values Education 10 Quarter 1 Module .pptx
JBPafin
Photo chemistry Power Point Presentation
Photo chemistry Power Point Presentation
mprpgcwa2024
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
Mayvel Nadal
Q1_ENGLISH_PPT_WEEK 1 power point grade 3 Quarter 1 week 1
Q1_ENGLISH_PPT_WEEK 1 power point grade 3 Quarter 1 week 1
jutaydeonne
Q1_TLE 8_Week 1- Day 1 tools and equipment
Q1_TLE 8_Week 1- Day 1 tools and equipment
clairenotado3
How to Customize Quotation Layouts in Odoo 18
How to Customize Quotation Layouts in Odoo 18
Celine George
K12 Tableau User Group virtual event June 18, 2025
K12 Tableau User Group virtual event June 18, 2025
dogden2
LDMMIA Yoga S10 Free Workshop Grad Level
LDMMIA Yoga S10 Free Workshop Grad Level
LDM & Mia eStudios
LDMMIA Shop & Student News Summer Solstice 25
LDMMIA Shop & Student News Summer Solstice 25
LDM & Mia eStudios
ENGLISH_Q1_W1 PowerPoint grade 3 quarter 1 week 1
ENGLISH_Q1_W1 PowerPoint grade 3 quarter 1 week 1
jutaydeonne
ECONOMICS, DISASTER MANAGEMENT, ROAD SAFETY - STUDY MATERIAL [10TH]
ECONOMICS, DISASTER MANAGEMENT, ROAD SAFETY - STUDY MATERIAL [10TH]
SHERAZ AHMAD LONE
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
Kweku Zurek
List View Components in Odoo 18 - Odoo 際際滷s
List View Components in Odoo 18 - Odoo 際際滷s
Celine George
How to Manage Different Customer Addresses in Odoo 18 Accounting
How to Manage Different Customer Addresses in Odoo 18 Accounting
Celine George
Peer Teaching Observations During School Internship
Peer Teaching Observations During School Internship
AjayaMohanty7
HistoPathology Ppt. Arshita Gupta for Diploma
HistoPathology Ppt. Arshita Gupta for Diploma
arshitagupta674
Pests of Maize: An comprehensive overview.pptx
Pests of Maize: An comprehensive overview.pptx
Arshad Shaikh
Ad

Private vlan

  • 1. Anuj Kumar ciscobulls@gmail.com CCNP SWITCH PORTABLE STUDY GUIDE & PRACTICE WORK BOOK ANUJ KUMAR email:- ciscobulls@gmail.com anuj_dev007@yahoo.com networkbulls.com
  • 2. Anuj Kumar ciscobulls@gmail.com Private Vlan Feature:- Private Vlan provides isolation between ports within the same network. Its provided security and reduces the number of IP subnet. pVLANs require VTP switches to be in transparent mode. pVLANs can span multiple switches that support the pVLANs trunking feature. Example: - Service providers use pVLANs to deploy hosting services and network access where all devices reside in the same subnet but only communicate to a default gateway, servers or another network. PRIVATE VLAN CONSIST TWO TYPES OF VLAN. 1: - Primary VLAN (Promiscuous is also called Primary VLAN) It is called high level VLAN. It can have many secondary VLANs Secondary VLANs belong to same subnet as primary VLAN. 2: - Secondary VLAN It is child VLAN to primary VLAN. All end devices belong to a secondary VLAN. TWO TYPES OF SECONDARY VLAN. 1:- Community VLANS These ports communicate with other ports in the same community but not another community VLAN port, and (Primary VLAN Ports) promiscuous port. 2: - Isolated VLANS These ports can only communicate with promiscuous ports. Note: -These ports can not communicate with other port in the same isolated.
  • 3. Anuj Kumar ciscobulls@gmail.com Configuration of Private VLAN: - Configure switch as an in transparent mode Switch(config)#vtp mode transparent Configure Primary VLAN Switch(config)# vlan 100 Switch(config-vlan)# private-vlan primary Configure Secondary VLANs (two community, one isolated) Switch(config)# vlan 200 Switch(config-vlan)# private-vlan community Switch(config)# vlan 300 Switch(config-vlan)# private-vlan community Switch(config)# vlan 400 Switch(config-vlan)# private-vlan isolated Associate secondary VLANs to primary VLAN
  • 4. Anuj Kumar ciscobulls@gmail.com Switch(config)# vlan 100 Switch(config-vlan)# private-vlan association 200,300,400 Configure access ports for promiscuous mode. Switch(config)# interface range fa 0/7 8 Switch(config-if)# switchport mode private-vlan promiscuous Switch(config-if)#switchport private-vlan mapping 100 200,300,400 Switch(config-if)# exit Configure access ports for community-A pVLANs. Switch(config)# interface range fa 0/1 2 Switch(config-if)# switchport mode private-vlan host Switch(config-if)# switchport private-vlan host-association 100 200 Switch(config-if)# exit Configure access ports for community-B pVLANs. Switch(config)# interface range fa 0/3 4 Switch(config-if)# switchport mode private-vlan host Switch(config-if)# switchport private-vlan host-association 100 300 Switch(config-if)# exit Configure access ports for Isolated pVLANs. Switch(config)# interface range fa 0/5 6 Switch(config-if)# switchport mode private-vlan host Switch(config-if)# switchport private-vlan host-association 100 400 Switch(config-if)# exit Verify commands: - Switch#show vlan private-vlan Switch#show vlan private-vlan type