CCNA Lab – VLAN Trunking Protocol (VTP)
CCNA Lab – VLAN Trunking Protocol (VTP)
Lab Objective.
Network Topology.
Steps to Configure the Lab.
Interview questions for Network Engineer asked from VTP CCNA Lab.
VTP (VLAN Trunking Protocol) CCNA Lab – Table of Contents:
Let’s now
understand VTP practically using a simple CCNA-level lab.
Lab Objective:-
In this lab, you will:
Configure VTP Domain
Create and propagate VLANs using VTP
Configure trunk and access ports
Perform inter-VLAN routing using a Multilayer Switch
Verify VLAN and VTP operation
Network Topology:-
Access Switches: Cisco 2960
Multilayer Switch: Cisco 3560
VLANs:
VLAN 10 → HR →
10.11.11.0/24VLAN 20 → IT →
20.11.11.0/24VLAN 50 → SERVER →
50.11.11.0/24
VTP Domain:
cns.com
Step 1: Configure VTP Domain (All Access Switches)
enable
configure terminal
vtp domain cns.com
vtp version 2
Step 2: Configure VTP Modes
Switch0 – VTP Server
vtp mode server
Switch1 – VTP Server
vtp mode server
Switch2 – VTP Client
vtp mode client
Switch3 – VTP Transparent
vtp mode transparent
Step 3: Configure Trunk Links (Between Switches)
interface range fa0/1 - 2
switchport mode trunk
exit
Tip: VTP advertisements are sent only over trunk links.
Step 4: Create VLANs (Only on VTP Server – Switch0)
vlan 10
name HR
vlan 20
name IT
vlan 50
name SERVER
exit
✔ VLANs will automatically propagate to VTP Clients
✖ VLANs will not propagate to Transparent switch
Step 5: Configure Access Ports (Only on Switch0 except Vlan 50)
HR VLAN (VLAN 10)
interface fa0/4
switchport mode access
switchport access vlan 10
IT VLAN (VLAN 20)
interface fa0/3
switchport mode access
switchport access vlan 20
Server VLAN (VLAN 50 – Switch3)
interface fa0/4
switchport mode access
switchport access vlan 50
Step 6: Verify VLAN Propagation
show vlan brief
Expected:
VLAN 10 & 20 on Server & Client switches
VLAN 50 only on Transparent switch
Step 7: Configure Multilayer Switch (Inter-VLAN Routing)
Enable Routing
enable
configure terminal
ip routing
Create SVIs
interface vlan 10
ip address 10.11.11.10 255.255.255.0
no shutdown
interface vlan 20
ip address 20.11.11.10 255.255.255.0
no shutdown
interface vlan 50
ip address 50.11.11.10 255.255.255.0
no shutdown
Step 8: Configure Trunk Between MLS and Access Switch
interface fa0/1
switchport mode trunk
Step 9: Configure End Device IPs
| Device | VLAN | IP Address | Gateway |
|---|---|---|---|
| PC0 | 10 | 10.11.11.1 | 10.11.11.10 |
| PC2 | 10 | 10.11.11.2 | 10.11.11.10 |
| PC1 | 20 | 20.11.11.1 | 20.11.11.10 |
| PC3 | 20 | 20.11.11.2 | 20.11.11.10 |
| Server | 50 | 50.11.11.1 | 50.11.11.10 |
Step 10: Verification Commands (CCNA Exam Focus)
show vtp status
show interfaces trunk
show vlan brief
ping <destination-ip>
l Interview questions for Network Engineer asked from VTP CCNA Lab:-
## DISCLAIMER:- The questions asked in the interview are all scenario based and indirect, So you should try to understand the concept instead of cramming. You will be fortunate if you receive a direct question from the interviewer.
Comments
Post a Comment