Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I am new to cisco catalyst switches.I need to change hostname for one of cisco catalyst swich.How do i do that.Can some one provide me the steps for this and what precautions i need to take for this.
Thanks for your help

Did you go to Cisco's site, look up the model of switch and consult the docs? That would be my first step. Hostname on a switch is just a label and has no impact requiring precautions that I am aware of.
Give a person a fish, they eat for a day. Suggest they internet search and they learn a skill for a lifetime.

accurate enough but a little too cryptic:
(commands are bold)
connect to the switch via telnet or console:
enable
enter password if prompted for it
configure terminal
hostname [name you wish to rename switch to]
(ex: hostname sw01)
exit
write mem or copy run start to save configuration change.

Better than my answer.
This assumes a lot too. If we know what OS version the router is running then we might know more too. Our answers might be wrong if you have an certain OS.

Isn't that the truth. What Cisco we have left here where I work is a mix of 2900's, 2950's and some other odd's and ends. Working with a 2900 is a pain when configuring VLAN's to ports as you have to do them one at a time (IOS v 12.0) whereas with the 2950's (IOS 12.1) you can use the "range" command and do them bulk. Last time I had to configure a 2900 I spent about 10 minutes frustrating myself trying to use the range command before I remembered.........lol
I wouldn't say my answer was better, I just used the full commands. I knew what you meant, of course, but someone with less Cisco experience would have been scratching their head saying "What does that mean?".
I had the feeling the original poster didn't know Cisco all that well or they wouldn't have been asking for help with something as simple (for you and I and others who know Cisco well) as changing the hostname of the switch.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |