Академический Документы
Профессиональный Документы
Культура Документы
VTP Modes
Objective
In this lab, you will learn about VLAN Trunking Protocol (VTP) modes and how they are relevant when a
switch is added or replaced on a network.
Lab Topology
The topology diagram below represents the NetMap in the Simulator.
1 1 1
5 9 7 0
5 6 7 34 2
3 4 3 4 8 5 6 1
1 1 9 7
5
ASW2 2 2 DSW2 10 8 CSW2 1 0
R2
PC2
Command Summary
Command Description
configure terminal enters global configuration mode from privileged EXEC mode
enable enters privileged EXEC mode
end ends and exits configuration mode
exit exits one level in the menu structure
interface range fastethernet slot/ configures a range of interfaces
starting-port - ending-port
no shutdown enables an interface
show ip interface brief displays a brief summary of interface status and configuration
show running-config displays the active configuration file
show vlan brief displays parameters for all virtual LANs (VLANs); contains the
VLAN name, status, and ports assigned to it
show vlan displays VLAN information
show vtp status displays VTP configuration
vlan vlan-id creates a VLAN
vtp domain domain-name assigns the domain name for VTP
vtp mode [client | server | transparent] configures the VTP mode
3. You should be able to determine that the FastEthernet and GigabitEthernet interfaces on CSW1
have all been administratively shut down. If you enable the interfaces on CSW1, what will occur to
the configurations on other switches in the network? _____________________________________
______________________________________________________________________________
4. Why does the VTP mode matter when a switch is being added to an existing network? _________
5. Describe the different VTP modes, and explain why they are relevant when a switch is being added
to an existing network. ____________________________________________________________
______________________________________________________________________________
6. What is the VTP revision number on CSW1, and how is it significant? _______________________
______________________________________________________________________________
7. Are all of the switches in the network configured to use the same VTP mode? _________________
9. Is the revision number synchronized between switches in the same VTP domain? _____________
10. How many VLANs are configured on the switches on the network? _________________________
Fill in the table below with the number of VLANs on each device.
2. Configure DSW1 to become the source of VLAN propagation for the other switches in the network.
3. Now that DSW1 is the switch where VLAN configurations will be performed, which other network
switches require configuration changes in order for the network to be optimized? ______________
6. If you change the VTP mode on ASW1 and ASW2 to client mode, will ASW1 and ASW2 synchronize
VLAN information with DSW1? _____________________________________________________
9. Verify that ASW1 and ASW2 have the same VLAN configuration as DSW1.
11. Did CSW1 synchronize VLAN information with DSW1 or any of the other switches on the network?
13. If you added a VLAN to DSW2, would the VLAN be added to other switches on the network? ____
Would the new VLAN propagate to CSW2? ____________________________________________
14. Configure the appropriate devices so that DSW2 and CSW2 are able to synchronize VLAN
information with DSW1 but VLAN changes are prevented from the console of DSW2 or CSW2.
16. Verify that VLAN 21 was added to all other switches on the network.
Once you have completed this lab, be sure to check your work by using the grading function.
You can do so by clicking the Grade Lab icon ( ) in the toolbar or by pressing Ctrl+G.
3. If you enable the interfaces on CSW1, CSW2 will synchronize VLAN information with CSW1
because these two switches are configured with the same VTP domain name and password. CSW2
is configured as a VTP client and has a lower VTP revision number than CSW1; therefore, CSW2
will inherit the VLANs configured on CSW1. All other switches in the network are configured with a
different VTP domain name than CSW1, or they are configured to operate in VTP transparent mode
and will not be affected when the interfaces on CSW1 are enabled.
4. VTP mode matters because, when a switch is added to an existing network, VLAN synchronization
can cause configuration changes to other switches on the network. For example, in this lab, enabling
the interfaces on CSW1 would add multiple VLANs to CSW2. However, in another situation, adding
a switch to a network could just as easily remove VLANs. Adding or removing VLANs could have
negative effects on a network.
Switches that operate in VTP client mode store the same VTP information as switches that operate
in VTP server mode; they receive the advertisements that are sent out by the VTP server. Switches
that are in client mode are prevented from having VLANs added or deleted from the command
prompt. Yet, if a switch in VTP client mode that has a higher revision number than other network
switches (and is configured with the same VTP domain and password) is added to an existing
network, the VLAN configuration will propagate to the other switches in the network regardless of
whether those switches are VTP servers or VTP clients. VTP transparent mode switches would not
be affected by the addition of the switch to the network.
Conversely, switches that operate in VTP transparent mode forward the VTP advertisements they
receive from other switches, but they do not act upon that information. Transparent-mode switches
do not advertise their own VLAN information, nor do they participate in the VLANs advertised by the
other switches. Changes to VLAN configurations on a switch operating in transparent mode only
affect that switch and are not forwarded to other switches in the VTP domain.
6. The VTP revision number on CSW1 is 8. This is significant because CSW1 has a higher revision
number than any other switch in the network. VTP clients and VTP servers will synchronize VLAN
configurations with other network switches that are configured with the same VTP domain name
and VTP password. The switch with the highest revision number will propagate its VLANs and
VTP revision number to the other switches in the same VTP domain. VLAN information on VTP
Client and VTP Server switches in the same VTP domain but with lower revision numbers will be
overwritten. For example, in this scenario, the VLAN information on CSW1 will propagate to CSW2
and will overwrite CSW2’s current VLAN configuration.
7. All of the switches in the network are not configured to use the same VTP mode. ASW1 and ASW2
are configured to use VTP transparent mode. DSW1 and CSW2 are configured to use VTP client
mode. DSW2 and CSW1 are configured to use VTP server mode.
8. The VTP revision number on ASW1 and ASW2 is 0 and will not increment if VLANs are added.
Switches configured to operate in VTP transparent mode always have a revision number of 0; this is
why changing a switch from VTP server mode to VTP transparent mode resets the revision number
on the switch to 0. Additionally, changing the VTP domain name on a switch will reset the VTP
revision number to 0.
9. All switches that are configured with the same VTP domain name and password will synchronize
VTP revision numbers with the switch that has the highest revision number. Transparent switches
always have a revision number of 0.
The following table shows how many VLANs are configured on each of the switches on the network:
2. You should issue the following command on DSW1 to configure it to be the source of VLAN
propagation for the other switches in the network:
3. All of the network switches other than DSW1 require configuration changes in order for the network
to be optimized.
6. If you change the VTP mode on ASW2 from transparent mode to client mode, it will synchronize with
DSW1.
Changing ASW1 from transparent mode to client mode will not enable it to synchronize VLAN
information with DSW1, because ASW1 is configured with a different VTP domain name.
The following sample output from DSW1, ASW1, and ASW2 shows that ASW1 and ASW2 have
different VTP domain names and that only ASW2’s VTP domain name matches DSW1’s:
8. You should issue the following command to configure ASW2 so that it will synchronize VLAN
information with DSW1 as a VTP client:
9. You should issue the following command on DSW1, ASW1, and ASW2 to verify that all three devices
have the same VLAN configuration. The following is sample output from all three devices:
You should issue the following commands on CSW1 to enable the interfaces:
11. After allowing enough time for the network to converge, you can issue the following command on
CSW1 to verify that it did not synchronize VLAN information with DSW1. However, CSW2 now
has the same VLANs as CSW1 because the two switches are now in the same VTP domain. The
following is sample output from all three devices:
13. If you added a VLAN to DSW2, the VLAN would be added to all of the other switches on the
network, with the exception of CSW2. CSW2 is in a different VTP domain than DSW2. In this lab,
only one switch is to be configured as the VTP server, and that switch should be DSW1, not DSW2.
Therefore, DSW2 still requires a configuration change.
14. You should issue the following commands so that DSW2 and CSW2 are both VTP clients within the
same VTP domain as DSW1. This will enable them to synchronize VLAN information with DSW1 but
will prevent VLAN changes from the console of DSW2 or CSW2.
15. On DSW1, you should issue the following command to add VLAN 21:
DSW1(config)#vlan 21
VLAN 21 added:
Name:VLAN0021
16. You should issue the following command to verify that VLAN 21 was added to all other switches on
the network. Sample output from DSW2 is below:
Copyright © 1996–2017 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.