How to Change the Hostname of a Cisco Router or Switch

This video shows you how to configure the hostname name of the Cisco Router / Switch using GNS3.

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 a real 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 the “configure terminal” command in CLI.

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

– R1(config)# hostname ARouter

Step 3: After configuring the name of your device, use the wr command to save the running configuration.

– 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 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 [email protected]