How to Change the Hostname of a Cisco Router or Switch

This informative video will guide you through configuring the hostname for a Cisco Router or Switch utilizing GNS3. You will receive a comprehensive understanding of the steps necessary to complete the setup and implement them quickly.

Changing the names of Cisco Routers or Switches prevents complexity for future network changes.

In GNS3, the default name of a Router is R1, and on an actual device, it is Router. A +1 number is added to the default name of each device you just added to this program.

You can rename your devices for more organized network topologies.

To change the Hostname:

Step 1: Switch to privileged mode using CLI’s “configure terminal” command.

Step 2: To change R1 to ARouter, execute the “hostname ARouter” command.

– R1(config)# hostname ARouter

Step 3: Use the wr command to save the running configuration after configuring your device’s name.

– ARouter# wr

You can rename your Router name by following these steps.

   Related Articles

1. GNS3 Loopback
2. GNS3 Cloud
3. Installing GNS3
4. GNS3 VM Upgrade
5. Importing GNS3 VM

In other languages: TR
Avatar for tolgabagci


In my personal blog, I will explain the solutions to the problems I encounter in the system, network, and information technologies for you. If you want to contact me or consult about a problem, you can send an e-mail to