GNS3 - Basic Router Configuration (part 5) - Backup Startup Configuration, Configure and Build DHCP server on a Cisco router. by neemanbhat

View this thread on steempeak.com
· @neemanbhat · (edited)
$86.44
GNS3 - Basic Router Configuration (part 5) - Backup Startup Configuration, Configure and Build DHCP server on a Cisco router.
#### What Will I Learn?

* You will learn to backup startup configuration.
* You will learn to restore startup configuration.
* You will learn about DHCP (Dynamic Host Configuration Protocol)
* You will learn to configure DHCP on a Cisco router.
* You will learn to display DHCP configuration.

#### Requirements
* Windows 7(32 bit) or more, Any Linux Distro - Debian/ Ubuntu are provided and supported
* Cisco IOS device images.
* GNS3 Software.

#### Difficulty

Difficulty is at an intermediate level.

#### Description
GNS3 or Graphical Network Simulator is a simulator used for virtual network designs, This software is an open source software and supports Cisco routers and switches by using an emulator known as dynamips. In this video tutorial we will learn to backup our configuration and we will learn to restore it. We will learn to configure DHCP server on a Cisco router. A detailed manner of configuring DHCP will be given below.

## Learn to backup startup configuration
Its always a good idea top have a backup of the configuration. IOS configurations are usually copied top the TFTP server with the use of the *copy* command. We can backup both startup and running configuration . The copy commands usually accept two parameters one of them is *from location* and other is *to location*.
TFTP is basically a client-server network protocol used to send and receive files. We backup files to a TFTP server. For that we need to set up a server first and assign an IP address to it.  It will be the assigned address which will be used in the command used for backup and restoration of files. Commands are shown in the video just used the desired address you have set up. Setting up IP address is already shown in previous tutorials so I have skipped that part here. The command to backup the configuration is **copy startup-config tftp** which simply means to copy the configuration to the TFTP server. This is shown below in *figure 1*

## Learn to restore the configuration
When we backup configuration, a need may arise to restore it. The configuration which has been saved in the TFTP server can be retrieved. For that we have a very simple command where the position of the *startup-config* and *tftp* is interchanged. So, for that the command will be **copy tftp startup-config** which means to copy the startup configuration from the TFTP server. Then we have to write the address of the server which we have assigned to retrieve the configuration. We can backup and restore configuration for the running configuration too, For that we have to replace *startup-config* in the commands by the *running-config*. Rest of the process will be same. The configuration of backup and restoring start up configuration is shown below in *figure 1*
![PicsArt_04-16-12.33.16.jpg](https://cdn.utopian.io/posts/7622705bbcd892c03e09f17f9f5b382e0016PicsArt_04-16-12.33.16.jpg)

## Learn about DHCP
*Dynamic Host Configuration Protocol* is an application layer protocol used to distribute network configuration parameters. DHCP server is configured with a pool of ip addresses  and assigns one of them. now lets to configure it.

## Learn To Configure DHCP on a Cisco router
The Cisco router can be configured as a DHCP server. Here is how you can do that:

1. Exclude addresses from being assigned by DHCP by using the ip dhcp excluded-address *first ip address*  and *last ip address*

2. Create a  DHCP pool by using the ip dhcp pool DHCP command where DHCP is a name.

3. Define a subnet that will be used to assign IP addresses to hosts by using the *network subnet and subnet-mask* command.

4. Configure the default gateway by using the default-router IP command.

5. Configure the DNS server by using the dns-server IP address command.

The configuration is shown below with an image.

![PicsArt_04-16-12.35.01.jpg](https://cdn.utopian.io/posts/8443f7a3be2d94eb81232392fbcd46f9588dPicsArt_04-16-12.35.01.jpg)

## You will learn to display DHCP configuration.
To view the information about the leased addresses we can display the configuration with the help of the show command. The command is **show ip dhcp binding**. This is hsown with the help of an image below.
![PicsArt_04-16-12.36.18.jpg](https://cdn.utopian.io/posts/675b1c8a016273c91466faf2d6f8359c45c8PicsArt_04-16-12.36.18.jpg)











#### Video Tutorial
https://youtu.be/PjTTEkT01_k.

#### Curriculum
Learn networking with the help of gns3 simulator. Follow the tutorial.

* [GNS3- Basic Router Configuration (Part 1)](https://utopian.io/u/42649256)

* [GNS3- Basic Router Configuration (Part 2)](https://utopian.io/u/43444796)

* [GNS3- Basic Router Configuration (Part 3)](https://utopian.io/u/43562259)

* [GNS3- Basic Router Configuration (Part 4)](https://utopian.io/u/43679028)
    

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@neemanbhat/gns3-basic-router-configuration-part-5-backup-startup-configuration-configure-and-build-dhcp-server-on-a-cisco-router">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id43,831,189
authorneemanbhat
permlinkgns3-basic-router-configuration-part-5-backup-startup-configuration-configure-and-build-dhcp-server-on-a-cisco-router
categoryutopian-io
json_metadata"{"staff_pick": null, "platform": "github", "config": {"questions": [{"question": "Does the tutorial address a minimum of 3 substantial concepts and no more than 5?", "answers": [{"answer": "3-5 substantial concepts covered in the tutorial.", "value": 10, "answer_id": 1}, {"answer": "Less than 3 or more than 5 substantial concepts covered in the tutorial.", "value": 5, "answer_id": 2}, {"answer": "No substantial or recognisable concepts.", "value": 0, "answer_id": 3}], "question_id": "vtut-1"}, {"question": "Concepts covered in the tutorial are indicated in the post text with a short description of each concept and when appropriate, images?", "answers": [{"answer": "Thorough text and images for concepts covered.", "value": 5, "answer_id": 1}, {"answer": "Minimal text and images.", "value": 2, "answer_id": 2}, {"answer": "No or very little text and images.", "value": 0, "answer_id": 3}], "question_id": "vtut-2"}, {"question": "Does the contributor provide supplementary resources, such as code and sample files in the contribution post or a GitHub repository?", "answers": [{"answer": "Yes", "value": 10, "answer_id": 1}, {"answer": "No", "value": 0, "answer_id": 2}], "question_id": "vtut-3"}, {"question": "Is the tutorial part of a series?", "answers": [{"answer": "Yes.", "value": 10, "answer_id": 1}, {"answer": "Yes, but first entry in the series.", "value": 5, "answer_id": 2}, {"answer": "No.", "value": 0, "answer_id": 3}], "question_id": "vtut-4"}, {"question": "Is there an outline for the tutorial content at the beginning of the post?", "answers": [{"answer": "Yes.", "value": 5, "answer_id": 1}, {"answer": "Yes, but not detailed enough or does not cover all sections.", "value": 2, "answer_id": 2}, {"answer": "No.", "value": 0, "answer_id": 3}], "question_id": "vtut-5"}, {"question": "Does the presenter speak clearly and is easily understandable?", "answers": [{"answer": "Yes.", "value": 10, "answer_id": 1}, {"answer": "Mostly understandable.", "value": 5, "answer_id": 2}, {"answer": "No.", "value": 0, "answer_id": 3}], "question_id": "vtut-6"}, {"question": "Does the writing style meet the Utopian standard considering formalness, informativeness and clarity of the content?", "answers": [{"answer": "It is formal, informative and well written with clear content.", "value": 10, "answer_id": 1}, {"answer": "It is informative with clear content but not formal enough.", "value": 5, "answer_id": 2}, {"answer": "The contribution could be more informative or contains unrelated information, formality and clarity of the content are good enough.", "value": 4, "answer_id": 3}, {"answer": "Not all sections were clear enough but overall holds value for the project.", "value": 2, "answer_id": 4}, {"answer": "Not at all.", "value": 0, "answer_id": 5}], "question_id": "c-1"}, {"question": "Was the provided category template for the editor followed?", "answers": [{"answer": "All points of the template were included with additional points as well.", "value": 5, "answer_id": 1}, {"answer": "The template was followed without additions.", "value": 4, "answer_id": 2}, {"answer": "The template was edited but the points were covered in different way.", "value": 3, "answer_id": 3}, {"answer": "Not all points of the template were covered in the contribution but the structure is clear enough.", "value": 3, "answer_id": 4}, {"answer": "The template was not followed but the structure is clear enough.", "value": 2, "answer_id": 5}, {"answer": "The contents are not clearly structured at all.", "value": 0, "answer_id": 6}], "question_id": "c-2"}, {"question": "Did the contributor tag other users?", "answers": [{"answer": "No other users were tagged by the contributor.", "value": 5, "answer_id": 1}, {"answer": "Used tags are reasonable and all tagged people are connected to the project and/or the contribution.", "value": 5, "answer_id": 2}, {"answer": "The contribution contains mentions of other users that are not directly related to the contribution but related in other ways.", "value": 2, "answer_id": 3}, {"answer": "The contributor misuses tagging of other users.", "value": 0, "answer_id": 4}], "question_id": "c-3"}, {"question": "Did the contributor ask for upvotes, resteems, follows or witness vote?", "answers": [{"answer": "No", "value": 5, "answer_id": 1}, {"answer": "Yes, but not in a way that disturbs readability. ", "value": 5, "answer_id": 2}, {"answer": "Yes.", "value": 0, "answer_id": 3}], "question_id": "c-4"}, {"question": "Was a graphical content like images, charts, videos or screenshots included?", "answers": [{"answer": "Yes, the graphical content is included and adds more value to the contribution.", "value": 5, "answer_id": 1}, {"answer": "No but the contribution works well without graphical content well.", "value": 4, "answer_id": 2}, {"answer": "Yes, but most of the graphical content\u2019s purpose is just for presentational matters.", "value": 3, "answer_id": 3}, {"answer": "No relevant or useful graphical content is included in the contribution.", "value": 0, "answer_id": 4}], "question_id": "c-5"}, {"question": "How would you rate the overall added value?", "answers": [{"answer": "Extraordinary value to both the project and the open source community overall.", "value": 20, "answer_id": 1}, {"answer": "Significant value to the project or open source community.", "value": 15, "answer_id": 2}, {"answer": "Some value to the project or open source community.", "value": 10, "answer_id": 3}, {"answer": "Little value to the project or open source community.", "value": 5, "answer_id": 4}, {"answer": "No obvious value to project or open source community.", "value": 0, "answer_id": 5}], "question_id": "c-6"}]}, "pullRequests": [], "questions": null, "app": "utopian/1.0.0", "score": null, "type": "video-tutorials", "links": ["https://cdn.utopian.io/posts/7622705bbcd892c03e09f17f9f5b382e0016PicsArt_04-16-12.33.16.jpg", "https://cdn.utopian.io/posts/8443f7a3be2d94eb81232392fbcd46f9588dPicsArt_04-16-12.35.01.jpg", "https://cdn.utopian.io/posts/675b1c8a016273c91466faf2d6f8359c45c8PicsArt_04-16-12.36.18.jpg", "https://utopian.io/u/42649256", "https://utopian.io/u/43444796", "https://utopian.io/u/43562259", "https://utopian.io/u/43679028"], "moderator": {"time": "2018-04-16T15:10:04.029Z", "pending": false, "reviewed": true, "flagged": false, "account": "rosatravels"}, "community": "utopian", "tags": ["utopian-io", "opensource", "video-tutorial", "education", "networking"], "total_influence": null, "repository": {"full_name": "GNS3/gns3-gui", "owner": {"login": "GNS3"}, "id": 13111393, "fork": false, "html_url": "https://github.com/GNS3/gns3-gui", "name": "gns3-gui"}, "image": ["https://cdn.utopian.io/posts/7622705bbcd892c03e09f17f9f5b382e0016PicsArt_04-16-12.33.16.jpg"], "format": "markdown"}"
created2018-04-16 08:19:30
last_update2018-04-16 15:10:06
depth0
children3
net_rshares19,084,052,522,270
last_payout2018-04-23 08:19:30
cashout_time1969-12-31 23:59:59
total_payout_value62.530 SBD
curator_payout_value23.905 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length5,025
author_reputation4,200,812,845,890
root_title"GNS3 - Basic Router Configuration (part 5) - Backup Startup Configuration, Configure and Build DHCP server on a Cisco router."
beneficiaries
0.
weight1,500
accountutopian.pay
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (46)
@rosatravels ·
@neemanbhat, the audio volume is better now.  Also, when you are coughing, try not to do it towards the microphone because the loud sound hurts the ear.  You may consider using the audacity program to 'silence' those coughing sounds.

Thank you for your contribution. It has been approved.

----------------------------------------------------------------------
Need help? Write a ticket on https://support.utopian.io.
Chat with us on [Discord](https://discord.gg/uTyJkNm).

**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
post_id43,882,535
authorrosatravels
permlinkre-neemanbhat-gns3-basic-router-configuration-part-5-backup-startup-configuration-configure-and-build-dhcp-server-on-a-cisco-router-20180416t151234248z
categoryutopian-io
json_metadata"{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}"
created2018-04-16 15:12:36
last_update2018-04-16 15:12:36
depth1
children1
net_rshares0
last_payout2018-04-23 15:12:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length531
author_reputation446,683,592,150,961
root_title"GNS3 - Basic Router Configuration (part 5) - Backup Startup Configuration, Configure and Build DHCP server on a Cisco router."
beneficiaries
0.
weight1,500
accountutopian.pay
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@neemanbhat ·
Thankyou, I will work on it.
properties (22)
post_id43,884,672
authorneemanbhat
permlinkre-rosatravels-re-neemanbhat-gns3-basic-router-configuration-part-5-backup-startup-configuration-configure-and-build-dhcp-server-on-a-cisco-router-20180416t152854807z
categoryutopian-io
json_metadata"{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}"
created2018-04-16 15:29:00
last_update2018-04-16 15:29:00
depth2
children0
net_rshares0
last_payout2018-04-23 15:29:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length28
author_reputation4,200,812,845,890
root_title"GNS3 - Basic Router Configuration (part 5) - Backup Startup Configuration, Configure and Build DHCP server on a Cisco router."
beneficiaries
0.
weight1,500
accountutopian.pay
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
### Hey @neemanbhat I am @utopian-io. I have just upvoted you!
#### Achievements
- You have less than 500 followers. Just gave you a gift to help you succeed!
- Seems like you contribute quite often. AMAZING!
#### Utopian Witness!
<a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER!
- <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness</a>
- <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness</a>

**Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x**
properties (22)
post_id44,025,363
authorutopian-io
permlinkre-neemanbhat-gns3-basic-router-configuration-part-5-backup-startup-configuration-configure-and-build-dhcp-server-on-a-cisco-router-20180417t122354699z
categoryutopian-io
json_metadata"{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}"
created2018-04-17 12:23:54
last_update2018-04-17 12:23:54
depth1
children0
net_rshares0
last_payout2018-04-24 12:23:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length715
author_reputation152,913,012,544,965
root_title"GNS3 - Basic Router Configuration (part 5) - Backup Startup Configuration, Configure and Build DHCP server on a Cisco router."
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000