Set the hostname of a Cisco router

The router hostname alters the prompt that is displayed while connected to the router. It does not affect routing or name resolution but can make administration safer in an environment with multiple routers.


To set the router hostname to Fido use the following commands:

conf t
hostname Fido

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

2 Responses to “Set the hostname of a Cisco router”

  1. April 22, 2010 at 6:25 pm, Anonymous said:

    how do i mount the ios image .bin file onto a cisco catalyst2950 switch from a normal workstation?

    Reply

Leave a Reply

You may also like-

Show the IP routing table in a Cisco routerShow the IP routing table in a Cisco routerCommand to display the IP routine table of a Cisco router. show ip routeHow to enable local logging on a Cisco router.How to enable local logging on a Cisco router.In order to view the log of a Cisco router we have to enable logging.This is done using the following command global configuration command: ...