In this lab, you will write out the commands to answer the questions.
1. Write the command to display the configuration of the switch.
Ans- #show running-config
2. Write the command to see the IP configuration of the switch.
Ans- #show run and #show ip interface
3. Write the command to see the MAC filter table.
Ans- #show mac address-table
4. Write the command to set port e0/2 to a secure table size of 1.
Ans- #conf t
#int eth0/2
#switch port port-security maximum 1
5. Write the command to assign MAC address 1234.4567.8912 to port e0/1 as a permanent address.
Ans- #conf t
#interface eth0/1
#switch port port-security mac-address 1234.4567.8912
6. Write the command to remove the permanent address you just added to port e0/1.
Ans- # no switch poet port-security
7. Write the command to view the statistics of port e0/5.
Ans- #show interface statistics eth0/5
8.Write the commands to create three VLANs: Purchasing, Sales, and MIS.
Ans- #vlan database
#vlan 1
Name: purchasing
#vlan 2
Name: sales
#vlan 3
Name: MIS
#exit
9. Write the command to assign ports 2 and 3 to Sales, 4 and 5 to Purchasing and 6 and 7 to MIS. Use only static assignments.
Ans- #conf t
#interface fa0/2
#switch port access vlan sales
# interface fa0/3
#switch port access vlan sales
And so on. . . . .
10. Write the command to make your switch a VTP client.
Ans- #conf t
#vtp mode client
#vtp password abcde
11. Write the command to set your switch to be a transparent switch.
Ans- #conf t
#vtp domain
#vtp mode transparent
12. Write the command that will show the VTP status of your switch.
Ans- # show vtp status
13. Write the command that will put interface B into auto trunk mode.
Ans-#conf t
#int eth0/0
# switch port mode dynamic auto
14. Write the command to view all VLAN information on a switch.
Ans- # show vlan summary
15. Write the command to set interface 5 to VLAN 2.
Ans- # conf t
# vlan database
# vlan 2
Name : test
#int eth0/5
# switch port access vlan test
There are seven hands-on labs in this section. You need to have access to a 1900 switch. However, you can use the Sybex CCNA e-trainer for the first two labs, or the Router Sim version 2.0 product found at www.routersim.com to complete all of these labs.
Lab B.1: Managing the 1900 Switch
Lab B.2: 1900 Switch Operations
Lab B.3: Creating VLANs
Lab B.4: Assigning VLANs to Switch Ports
Lab B.5: Configuring Trunking
Lab B.6: Configuring VTP
Lab B.7: Configuring Inter-VLAN Routing with ISL
In this lab, you will connect to the Cisco Catalyst 1900 switch and manage the switch features.
Note:- You cannot view the startup-config, only the running-config. Also,the running- config is saved automatically to NVRAM.
This second lab will have you set the passwords, IP addresses, and port security available on a 1900 switch.
In this lab, you will create multiple VLANs on only one switch. Lab B.4 will have you create VTP configurations that will allow this VLAN information to be propagated to the second switch.
1. Telnet or connect to the first 1900 switch. Set the hostname of the switch to1900A.
#config t
(config)#hostname
1900A1900A#
2. Create four VLANs (2–5) and name them according to the following list:
VLAN2=Sales
VLAN3=Management
VLAN4=Engineering
VLAN5=Marketing
1900A#config t
Enter configuration commands, oneperline. End withCNTL/Z
1900A(config)#vlan 2 name Sales
1900A(config)#vlan 3 name Management
1900A(config)#vlan 4 name Engineering
1900A(config)#vlan 5 name Marketing
1900A(config)#exit
Verify your VLANs with the show vlancommand.
1900A#sh vlan
VLANName Status Ports
--------------------------------------
1 default Enabled 1-12, AUI, A,B
2 Sales Enabled
3 Management Enabled
4 Engineering Enabled
5 Marketing Enabled 1002
fddi-default Suspended
1003 token-ring-defau Suspended
1004 fddinet-default Suspended
1005 trnet-default Suspended
--------------------------------------
# [output cut]
In this lab, you will configure two ports of the switch to be a member of each VLAN.
1. Configure ports 1 and 2 to be in VLAN 2. Remember that all ports are in VLAN 1 unless setdifferently.
1900A#config t
Enter configuration commands, oneperline. End withCNTL/Z
1900A(config)#int e0/1
1900A(config-if)#vlan-membership static 2
1900A(config-if)#int e0/2
1900A(config-if)#vlan-membership static 2
2. Assignports3and4tobeinVLAN3.
1900A(config-if)#int e0/3
1900A(config-if)#vlan-membership static 3
1900A(config-if)#int e0/4
1900A(config-if)#vlan-membership static 3
Assign ports 5 and 6 to be in VLAN 4.
1900A(config-if)#int e0/5
1900A(config-if)#vlan-membership static 4
1900A(config-if)#int e0/6
1900A(config-if)#vlan-membership static 4
Assign ports 7 and 8 to be in VLAN 5.
1900A(config-if)#int e0/7
1900A(config-if)#vlan-membership static 5
1900A(config-if)#int e0/8
1900A(config-if)#vlan-membership static 5
1900A(config-if)#exit
1900A(config)#exit
3. Verify your configuration with the show vlancommand.
1900A#sh vlan
VLANName Status Ports
--------------------------------------
1 default Enabled 8-12, AUI, A, B
2 Sales Enabled 1-2
3 Management Enabled 3-4
4 Engineering Enabled 5-6
5 Marketing Enabled 7-8
1002 fddi-default Suspended
1003 token-ring-defau Suspended
1004 fddinet-default Suspended
1005 trnet-default Suspended
4. Verify your VLAN memberships with the showvlan-membership command.
1900A#sh vlan-membership
Port VLAN Membership
-----------------------
1 2 Static
2 2 Static
3 3 Static
4 3 Static
5 4 Static
6 4 Static
7 5 Static
8 5 Static
9 1 Static
10 1 Static
11 1 Static
12 1 Static
AUI 1 Static
A 1 Static
B 1 Static
1900A#
Before we can share information with our second switch, we need to configure the link between the switches. We don’t necessarily have to configure a trunked link, but then only VLAN 1 information would be transferred between switches, and we want to configure all VLANs’ information to be transferred between switches.
1. On 1900A, configure port 26 to be in auto trunk mode. This will allow the link to be come trunked as soon as we set the second switch’s trunk port toon.
1900A#config t
Enter configuration commands, one per line. End with CNTL/Z
1900A(config)#int f0/26
1900A(config-if)#trunk ?
auto Set DISL state to AUTO
desirable Set DISL state to DESIRABLE
no negotiate Set DISL state to NO NEGOTIATE
off Set DISL state to OFF
on Set DISL state to ON
1900EN(config-if)#trunk auto
2. Attach to the second 1900 switch and name the switch 1900B. Create port 26 as a permanent trunkport.
#config t
Enter configuration commands, one per line. End with CNTL/Z
(config)#hostname 1900B
1900B (config)#int f0/26
1900B(config-if)#trunk ?
auto Set DISL state to AUTO
desirable Set DISL state to DESIRABLE
no negotiate Set DISL state to NO NEGOTIATE
off Set DISL state to OFF
on Set DISL state to ON
1900B(config-if)#trunk on
In this lab, you will configure the 1900A switches with a VTP domain name, configure the second switch as a client, and verify that VTP information is updated from the server to the client.
1. Telnet or connect a console to the 1900A switch. Set the switch to be a server VTP switch. (This is the default but type it in any way for practice.)
1900A#config t
1900A(config)#vtp server
2. Set the VTP domain name to Classroom1. 1900A#configt
1900A(config)#vtp domain Classroom1
3. Verify that the VTP information is configured correctly.
1900A#show vtp
4. Telnet or connect to 1900B, set the VTP domain name, and set the VTP mode to client.
1900B#config t
1900B(config)#vtp domain Classroom1
1900B(config)#vtp client
5. Verify both switches’ VTP configuration by using the show vtp command. Also verify that the VLAN information is propagated from the server switch to the client by using the show vlancommand.
6. From 1900B, type show vlanto see if the VLAN information was propagated from the 1900A switch.
1900B#sh vlan
VLANName Status Ports
--------------------------------------
1 default Enabled 1-12, AUI, A,B
2 Sales Enabled
3 Management Enabled
4 Engineering Enabled
5 Marketing Enabled
1002 fddi-default Suspended
1003 token-ring-defau Suspended
1004 fddinet-default Suspended
1005 trnet-default Suspended
--------------------------------------
Notice that it found all the VLANs, but that all of 1900B’s switch ports are in VLAN 1. Unless you tell it differently, all ports are always in VLANs. You have to set the ports at each switch. (VTP sends VLAN information, not portinformation.)
Now that we have configured our VLANs and set up VTP domain information so both switches have the same VLAN configurations, we need to con- figure the 2600 router to support inter-VLAN routing.
1. Plug the 2600 into one of the Fast Ethernet ports on either switch. It doesn’t matter where you plug the router into the switch fabric.
2. Configure the switch port as a trunk port.
1900A#config t 1900A(config)int f0/027 1900A(config-if)#trunk on
3. Configure the 2600 router FastEthernet port to route between all VLANs.
2621#config t
2621(config)int f0/0.1
2621(config-if)no shutdown
2621(config-subif)#encapsulation isl 1
2621(config-subif)#ip address 172.16.10.1 255.255.255.0
2621(config-subif)#int f0/0.2
2621(config-subif)#encapsulation isl 2
2621(config-subif)#ip address 172.16.20.1 255.255.255.0
2621(config-subif)#int f0/0.3
2621(config-subif)#encapsulation isl 3
2621(config-subif)#ip address 172.16.30.1 255.255.255.0
2621(config-subif)#int f0/0.4
2621(config-subif)#encapsulation isl 4
2621(config-subif)#ip address 172.16.40.1 255.255.255.0
2621(config-subif)#encapsulation isl 5
2621(config-subif)#ip address 172.16.50.1 255.255.255.0
2621(config-subif)#exit
2621(config)#int f0/0
Remember that each host in their configured VLAN should have the same subnet information.
1. Which of the following is not true regarding the 1900 switch?
2. What command sets interface e0/10 on a 1900 switch to run full- duplex Ethernet?
3. Which command sets a 1900 switch interface to communicate so its buffer swill not overflow on a congested link?
4. If you wanted to verify the duplex on a 1900 switch, port 26, what command should you use?
5. Which of the following is true regarding a port status light on a switch?
6. If you want to delete the startup-config on a 1900 switch, what command do you use?
7. What command would you use to identify port 3 on a 1900 switch to be Finance Server?
8. What type of cable must you use to connect between two switch up link ports?
9. How do you set the user mode password on a 1900 switch?
10. What command will set the enable mode password on a 1900switch?
11. What command will show you the IP configuration on a 1900switch?
12. What commands should you use to set the IP address and default gate- way on a 1900 switch?(Choose all that apply.)
13. What is true regarding passwords on a Catalyst 1900 switch?
14. What is true about the enable secret password?
15. Which command will show you the permanent MAC addresses stored in the filter table?
16. What are the three ways to configure a 1900 switch?
17. Which command will allow you to set the name of the switch?
18. Which of the following is part of the default configuration of the1900 switch?
19. What command will allow you to view the switch statistics for port2?
20. Which command will show you the statistics for port 27?
21. Which of the following will allow only one MAC address to be associated with a port?
22. Which of the following ports will set a hardware address on port e0/4 to only MAC address 00A0.2448.60A5?
23. Which of the following commands allows only port e0/5 on a 1900 switch to communicate with hardware address 00A0.246E.0FA8?
Assignment Writing Help
Engineering Assignment Services
Do My Assignment Help
Write My Essay Services