Question: The two network has the same configuration from the one we used in class. Instructions You need to set up each of the four switches

The two network has the same configuration from the one we used in class.
Instructions
You need to set up each of the four switches to enable Telnet or SSH.
For Switch 1, configure all 16 vty lines to enable telnet using only password to login
For Switch 2, configure all 16 vty lines to enable SSH using only password to login
For Switch 3, configure all 16 vty lines to enable telnet using username and password to login
For Switch 4, configure all 16 vty lines to enable SSH using username and password to login
Use the ip address given below the switch and for all four switch with subnet mask 255.255.255.0.
Router1 and Router3s IP is 192.168.1.1 for fa0/0(DG for SW 1 and 3)and Router2 and Router4s IP is 192.168.2.1 for fa0/0(DG for SW 2 and 4)
Note: Router1 and 3 are default gateway for SW 1 and 3 AND Router2and 4 are default gateway for SW 2 and 4 respectively.
Make sure you test your configuration. From each PC try to telnet or ssh the switch on its network and the other network.
To Telnet from the PC, go to the command prompt and type telnet followed by the switchs IP
To SSH from the PC, go to the command prompt and type ssh -l followed by the username and IP (for username and password) OR and type ssh -l followed by the hostname and IP (for password only configuration)
If you use a different password from the one given, please indicate it in the comment when you submit.
Use the correct IP address given in the lab. The one given in this document is for demonstration.
Note: Make sure you use the correct default gateway on each switch.
Configuration for telnet with only password
From usermode, enter enable command to go into privilege mode.
From privilege mode, enter configure terminal to enter global configuration mode.
From global configuration mode, enter vty line mode
o Line vty 015
Enter your password
o password cisco123
To enforce it to use only password use login
o login
Type exit to go back to configuration mode
Set enable password (very important)
o enable secret cisco
Enter Interface mode for vlan 1 to set up the switchs IP address (make sure to use the correct IP address as shown under the switches)
o Interface vlan 1
o Ip address 192.168.1.3255.255.255.0
o no shutdown (this command is used to bring up an interface)
Type exit to go back to global configuration mode
In global configuration mode, enter the default gateway address (router)(make sure each switch has the correct default gateway address)
o ip default-gateway 192.168.1.1(You need this to be able to go out of your network)
In enable mode, verify that your vlan 1 ip address is set and in up up state using show ip interface brief command
Configuration for telnet with username and password
From global configuration mode, enter vty line mode
o line vty 015
To enable username and password use login local
o login local
Type exit to go back to configuration mode
Set enable password (very important)
o enable secret cisco
Enter Interface mode for vlan 1 to set up ip address (make sure to use the correct IP address as shown under the switches)
o Interface vlan 1
o Ip address 192.168.1.3255.255.255.0
o no shutdown
Type exit to go back to global configuration mode
In global configuration mode, enter the default gateway address (router)(make sure each switch as the correct default gateway address)
o ip default-gateway 192.168.1.1(You need this to be able to go out of your network)
Set username and password
o username myUsername secret myPassword
o (please indicate your usename and password in the file)
Configuration for SSH with only password
From global configuration mode, enter vty line mode
o Line vty 015
Enter your password
o password cisco123
To enable it to use only password use login
o login
o transport input SSH(or use all)
Type exit to go back to configuration mode
Set enable password (very important)
o enable secret myPassword
Set up information needed for ssh
o hostname UseSwitchNum
o ip domain-name mydomainName.com
o crypto key generate rsa (press enter)
Enter 800 or 1024
o ip ssh version 2
Enter Interface mode for vlan 1 to set up ip address. (make sure to use the correct IP address as shown under the switches)
o Interface vlan 1
o Ip address 192.168.1.3255.255.255.0
o no shutdown
Type exit to go back to global configuration mode
In global configuration mode, enter the default gateway address (router)(make sure each switch has the correct default gateway address)
o Ip default-gateway 192.168.1.1(You need this to be able to go out of your network)
Configuration for SSH with username and password
From global configuration mode, enter vty line mode.
o line vty 015
To enable it to username and password, use login local.
o login local
o Transport input SSH(or use all)
Type exit to go back t
The two network has the same configuration from

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!