Lab 4
Lab 4
Lab Topology
The topology diagram below represents the NetMap in the Simulator.
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
hostname host-name sets the device name
interface type number changes from global configuration mode to interface
configuration mode
show running-config displays the active configuration file
show vlan brief displays parameters for all VLANs; contains the VLAN name,
status, and ports assigned to it
show vtp status displays VTP configuration
switchport mode trunk assigns a trunk port
switchport trunk encapsulation dot1q sets the trunk encapsulation format to 802.1Q
vlan vlan-id creates a VLAN
vtp domain domain-name assigns the domain name for VTP
vtp mode [client | server | configures the VTP mode
transparent]
IP Addresses
Device Interface IP Address Subnet Mask
Switch1 VLAN 1 192.168.100.101 255.255.255.0
Switch2 VLAN 1 192.168.100.102 255.255.255.0
HostA - 192.168.100.1 255.255.255.0
HostB - 192.168.100.2 255.255.255.0
Lab Tasks
1. Configure Switch1 with the appropriate host name. Configure the Fast Ethernet 0/11 and Fast
Ethernet 0/12 interfaces to always be trunks.
2. Configure Switch2 with the appropriate host name. Configure the Fast Ethernet 0/11 and Fast
Ethernet 0/12 interfaces to always be trunks.
5. Configure Switch2 as a VTP client, and verify the configuration by issuing the appropriate
commands. The VTP operating mode should now be set to Client.
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.
Switch(config)#hostname Switch1
Switch1(config)#interface fastethernet 0/11
Switch1(config-if)#switchport trunk encapsulation dot1q
Switch1(config-if)#switchport mode trunk
Switch1(config-if)#interface fastethernet 0/12
Switch1(config-if)#switchport trunk encapsulation dot1q
Switch1(config-if)#switchport mode trunk
2. Issue the following commands to configure a host name and to configure the FastEthernet interfaces
to always be trunks:
Switch(config)#hostname Switch2
Switch2(config)#interface fastethernet 0/11
Switch2(config-if)#switchport trunk encapsulation dot1q
Switch2(config-if)#switchport mode trunk
Switch2(config-if)#interface fastethernet 0/12
Switch2(config-if)#switchport trunk encapsulation dot1q
Switch2(config-if)#switchport mode trunk
3. On Switch1 and Switch2, issue the following commands to configure the VTP domain name:
4. On Switch1, issue the following command to verify that the switch is configured as a VTP server.
Sample output is below:
5. On Switch2, issue the following command to configure the switch as a VTP client:
7. On Switch1, issue the following commands to create VLAN 10 and VLAN 100:
Switch1(config)#vlan 10
VLAN 10 added:
Name:VLAN0010
Switch1(config-vlan)#vlan 100
VLAN 100 added:
Name:VLAN0100
8. On Switch2, issue the following command to verify that the VLAN database update was received.
Sample output is shown below:
9. On Switch2, issue the following command to attempt to create VLAN 11. Since Switch2 is configured
as a VTP client, creating VLANs should be prohibited.
Switch2(config)#vlan 11
VTP VLAN configuration not allowed when device is in CLIENT mode.
Copyright © 1996–2017 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.