|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.