Configure vtp server and client
PC configurations | |||
Devices | IP Address | VLAN | Connected With |
PC0 | 10.0.0.2 | VLAN10 | Switch1 on F0/1 |
PC1 | 20.0.0.2 | VLAN20 | Switch1 on F0/2 |
PC2 | 10.0.0.3 | VLAN10 | Switch2 on F0/1 |
PC3 | 20.0.0.3 | VLAN20 | Switch2 on F0/2 |
PC4 | 10.0.0.4 | VLAN10 | Switch3 on F0/1 |
PC5 | 20.0.0.4 | VLAN20 | Switch3 on F0/2 |
2960 – 24 TTL Switch 1 Configuration | |||
Port Connected to | VLAN | LINK | STATUS |
F0/1 With PC0 | VLAN10 | Access | OK |
F0/2 With PC1 | VLAN20 | Access | OK |
Gig1/1 With Router | VLAN 10,20 | Trunk | OK |
Gig 1/2 With Switch2 | VLAN 10,20 | Trunk | OK |
F0/24 Witch Switch2 | VLAN 10,20 | Trunk | OK |
2960 – 24 TTL Switch 2 Configuration | |||
F0/1 With PC0 | VLAN10 | Access | OK |
F0/2 With PC1 | VLAN20 | Access | OK |
Gig 1/2 With Switch1 | VLAN 10,20 | Trunk | OK |
Gig 1/1 With Switch3 | VLAN 10,20 | Trunk | OK |
F0/24 Witch Switch1 | VLAN 10,20 | Trunk | Blocked |
F0/23 Witch Switch3 | VLAN 10,20 | Trunk | OK |
2960 – 24 TTL Switch 3 Configuration | |||
F0/1 With PC0 | VLAN10 | Access | OK |
F0/2 With PC1 | VLAN20 | Access | OK |
Gig 1/1 With Switch2 | VLAN 10,20 | Trunk | OK |
F0/24 Witch Switch1 | VLAN 10,20 | Trunk | Blocked |
Configure VTP Server
We will first create a VTP Server so it can automatically propagate VLAN information to other switch. Double click on Switch1 and select CLI. Set hostname to S1 and create VTP domain name cisco and set password to cisco123 ( Remember password is case sensitive ).
Switch 1
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#vtp mode server
Device mode already VTP SERVER.
S1(config)#vtp domain cisco
Changing VTP domain name from NULL to cisco
S1(config)#vtp password cisco123
Setting device VLAN database password to cisco123
Configure VTP clients
Once you have created a VTP domain. Configure remaining Switch to Client mode.
Switch 2
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S2
S2(config)#vtp mode client
Setting device to VTP CLIENT mode.
S2(config)#vtp domain cisco
Changing VTP domain name from NULL to cisco
S2(config)#vtp password cisco123
Setting device VLAN database password to cisco123
S2(config)#
Switch 3
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S3
S3(config)#vtp mode client
Setting device to VTP CLIENT mode.
S3(config)#vtp domain cisco
Changing VTP domain name from NULL to cisco
S3(config)#vtp password cisco123
Setting device VLAN database password to cisco123
S3(config)#