0% found this document useful (0 votes)
41 views

FTP Execution

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

FTP Execution

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

13.

FTP EXECUTION
Practical Execution: Configure File Transfer Protocol
(FTP) and Hypertext Transfer Protocol (HTTP) Using
Cisco Packet Tracer

FTP Configuration Steps

Step-by-Step Execution (GUI Method)

1. Launch Cisco Packet Tracer:


Open Cisco Packet Tracer software.
2. Create a Basic Network Topology:
Drag and drop PCs, Switch, and Router onto the workspace.
Connect PC1 and PC2 to the Switch using Copper Straight-Through cables.
Connect the Switch to the Router with Copper Straight-Through cables.
3. Configure IP Addresses:
Assign IP addresses to PC1 and PC2 in the Config tab, and configure the Router
interfaces.
Example: PC1: IP Address: 192.168.1.2, Subnet: 255.255.255.0, Default Gateway:
192.168.1.1
PC2: IP Address: 192.168.1.3, Subnet: 255.255.255.0, Default Gateway:
192.168.1.1
Router: Assign IPs to the router interfaces (e.g., 192.168.1.1/24 for LAN).
4. Configure FTP Server:
Click on PC1, go to the Config tab, and select FTP Server.
Enable the FTP server by setting up a Username and Password (e.g., Username:
admin, Password: password123).
This will act as the FTP Server.
5. Configure FTP Client:
On PC2, go to the Desktop tab, and select FTP.
Enter the IP Address of the FTP Server (PC1) and enter the Username and Password
you configured earlier.
6. Transfer Files:
Use the FTP Client (PC2) to connect to the FTP Server (PC1). Transfer a file from PC2
to PC1 to verify FTP functionality.

Step-by-Step Execution (CLI Method)

1. Launch Cisco Packet Tracer:


Open Cisco Packet Tracer and create a basic network topology with PCs, Switch, and
Router.
2. Assign IP Addresses to Router and PCs:
On the Router, configure IP addresses on the interfaces:

Router> enable
Router# configure terminal
Router(config)# interface gigabitethernet0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit

On PC1 and PC2, configure the IP addresses manually or use DHCP.


3. Enable FTP on PC1 (FTP Server):
On PC1, enable the FTP Server under the Config tab.
Set the Username (e.g., admin) and Password (e.g., password123).
4. Access FTP on PC2:
On PC2, open the Command Prompt and use the FTP command to connect to PC1
(FTP Server):

FTP> open 192.168.1.2

After connecting, log in using the Username and Password configured in PC1.
5. Transfer Files:
Use FTP commands to upload or download files from the server.
To upload a file:

FTP> put [filename]

To download a file:

FTP> get [filename]

HTTP Configuration Steps

Step-by-Step Execution (GUI Method)

1. Create a Basic Network for HTTP:


Follow the same steps as the FTP configuration to set up the network with PC1, PC2,
Switch, and Router.
2. Configure Web Server (PC1):
On PC1, go to the Config tab, and click on HTTP Server to enable the web server.
Set the Web Server parameters, such as the Document Root (default folder where the
HTML file will be stored).
3. Configure Web Client (PC2):
On PC2, go to the Web Browser under the Desktop tab.
In the browser's URL bar, enter the IP address of the HTTP Server (PC1) (e.g.,
192.168.1.2).
4. Verify HTTP Connectivity:
After entering the server's IP in the browser, the default web page should load. If
configured properly, you should see the HTML page hosted by PC1.

Step-by-Step Execution (CLI Method)

1. Set up HTTP on PC1 (Web Server):


On PC1, enable the HTTP Server using the CLI:

PC1> enable
PC1# configure terminal
PC1(config)# ip http server

2. Access HTTP Server from PC2:


On PC2, open the Web Browser and enter the IP address of PC1 (e.g., 192.168.1.2).

Verification and Troubleshooting


1. Verify FTP on PC2:
Check that PC2 can successfully log in to PC1 and transfer files.
Use the FTP commands to check connectivity and troubleshoot if necessary.
2. Verify HTTP on PC2:
Ensure PC2 can access the Web Server on PC1 by entering the correct IP address.
If there are issues, check that PC1's HTTP Server is enabled and properly configured.

Summary of Key Commands:

Step Command (CLI)

Enable FTP Server on PC1 PC1> ip ftp-server


Enable HTTP Server on PC1 PC1> ip http server
Configure FTP Client on PC2 FTP> open 192.168.1.2
Configure Web Browser on PC2 Enter 192.168.1.2 in the address bar
FTP File Upload from PC2 to PC1 FTP> put [filename]
FTP File Download from PC1 to PC2 FTP> get [filename]
© 2024 by 42_Daksh (♔). All rights reserved.
These notes and study materials are the intellectual property of 42_Daksh (♔). Unauthorized use
is prohibited, Unauthorized reproduction, distribution, or modification is prohibited.

For permissions or inquiries, please contact the creator directly([email protected])

Tracking Notice: This document includes digital markers and unique identifiers.

You might also like