Professional Documents
Culture Documents
IT ROLL NO:415
PRACTICAL NO 9
PART A
Aim : To configure telnet, SSH and Email
THEORY:
Telnet is an application protocol used on the Internet or local area network to provide a bidirectional
interactive text-oriented communication facility using a virtual terminal connection. User data is
interspersed in-band with Telnet control information in an 8-bit byte oriented data connection over
the Transmission Control Protocol (TCP).
Telnet was developed in 1969 beginning with RFC 15, extended in RFC 855, and standardized
as Internet Engineering Task Force (IETF) Internet Standard STD 8, one of the first Internet standards.
The name stands for "teletype network"
The term telnet is also used to refer to the software that implements the client part of the protocol.
Telnet client applications are available for virtually all computer platforms.
PRACTICAL:
Step 1:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 2:
Open the router CLI
Click on CLI
A dialogue box will appear stating that would you like to enter the initial
configuration dialog?..[yes/no]…type no ENTER.
Enter the following commands:
Enable
Config t
Interface fa 0/0
Ip address 192.168.10.3 255.255.255.0
No shutdown
Exit
Go on pc
Ip configuration
Assign ip address as 192.168.10.4 and its subnet masks
Step 3:
Go to router and ping pc by using do ping command
Similarly go to command prompt of pc and ping the router
If the ping works it means that they are connected.
Telnet Type 1
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 4:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
OUTPUT:
Telnet Type 2
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
OUTPUT:
Ssh configuration
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
ip domain-name cisco.com
crypto key generate rsa
How many bits in the modulus [512]: 1024
username tyit privilege 15 password admin3
line vty 0 4
login local
transport input all
exit
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Part-B
Step 1:
Click on Network Devices and drag and drop Router 2620M.
Click on Switches and drag and drop 3 switches 2950T-24.
Click on End Devices and drag and drop 6 PC-PT.
Click on connections and then click on Automatically Chosen Type Connections.
Further do connections with all router, pc and switch.
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 2:
Click on Router R1 and go to CLI.
enable
config terminal
interface fastEthernet 0/0
ip address 192.168.10.1 255.255.255.0
no shutdown
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 3:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 4:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 5:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 6:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 7:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 8:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 9:
Configure Telnet:
Click on R1 router and go to CLI.
config terminal
line vty 0
password Pass123
login
logging synchronous
exec-timeout 40
motd-banner
exit
enable password
exit
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 10:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 11:
SSH:
Click on R1 router and go to CLI.
enable
password: Password
config terminal
ip domain-name Technig.com
username Shais Password Pass123
hostname R1
crypto key generate rsa
How many bits in the modulus [512]: 1024
ip ssh version 2
ip ssh time-out 50
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
ip ssh authentication-retries 4
line vty 0
transport input ssh
password Pass123
login
logging synchronous
motd-banner
exit
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 12:
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Part C
Step 1:
Configuration for E-mail:
Click Network Devices and drag and drop Switch-PT.
Click on Network Devices and drag and drop Router-PT.
Click on End Devices and drag and drop 3 PC-PT.
Click on End Devices and Drag and drop 1 Server-PT.
Click on connections and then click on Automatically Chosen Type Connections.
Further do connections with all router, pc, server and switch.
Step 2:
Click on Router0 and go to Config.
Select FastEthernet0/0
Give Ip Address: 192.168.1.1.
Click on the check box of port status to turn it on.
Next select FastEthernet1/0
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
This will turn the red ports between switch and the server into green.
Step 3:
Click on PC0 and go to Desktop.
Click on IP Configurations.
Give IP address as 192.168.1.2
Give Default Gateway as 192.168.1.1.
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 4:
Click on PC1 and go to Desktop.
Click on IP Configurations.
Give IP address as 192.168.1.3
Give Default Gateway as 192.168.1.1
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 5:
Click on PC2 and go to Desktop.
Click on IP Configurations.
Give IP address as 192.168.1.4
Give Default Gateway as 192.168.1.1
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 6:
Click on Server0 and go to services.
Select E-mail
Give the domain name as: cisco.com and then click on Set.
Next add User: pc0 and password:123
Click on + button this will add.
User: pc1 password: 456
User: pc2 password: 789
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 7:
Click on PC0 and go to Desktop.
Scroll down and then click on E-mail.
Now configure E-mail.
Give User information Your name: pc0
E-mail Address: pc0@cisco.com
Server Information:
Incoming Mail Server: 192.168.2.2
Outgoing Mail Server: 192.168.2.2
Logon Information:
Username: pc0
Password:123
Click on Save button.
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 8:
Click on PC1 and go to Desktop.
Scroll down and then click on E-mail.
Now configure E-mail.
Give User information your name: pc0
E-mail Address: pc1@cisco.com
Server Information:
Incoming Mail Server: 192.168.2.2
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 9:
Click on PC2 and go to Desktop.
Scroll down and then click on E-mail.
Now configure E-mail.
Give User information your name: pc0
E-mail Address: pc2@cisco.com
Server Information:
Incoming Mail Server: 192.168.2.2
Outgoing Mail Server: 192.168.2.2
logon Information:
Username: pc2
Password: 789
Click on save button.
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 10:
Now we will send mail from pc0 to pc1.
Click on PC0
Click on compose.
To: pc1@cisco.com
Subject: Test
Message: Hii PC1
Click on send
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 11:
To check the mail, send from pc0 to pc1.
Click on PC1.
Click on receive.
As we can see we have received mail from pc0@cisco.com.
Click on the mail and below it will show the message as “Hello PC1”.
Step 12:
Now we will send mail from pc1 to pc2.
Click on compose.
To: pc2@cisco.com
Subject: Test 2
Message: Hii PC2
click on send
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
Step 13:
To check the mail sends from pc1 to pc2.
Click on PC2.
Click on receive.
As we can see we have received mail from pc1@cisco.com.
Click on the mail and below it will show the message as “Hello PC2”.
CN PRACTICAL
S.Y.B.Sc.IT ROLL NO:415
CN PRACTICAL