Discussion Locked

Cisco Switch 2900 XL

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Cisco switch 2900 xl re-configuration
I am new at cisco and found myself with a situation that I must change the IP address that was originally configured for the cisco switch.
The address I have currently is 192.168.1.100 and would like to use an IP from another subnet.
My problem is that I have no knowledge whatsoever in how to configure the switch.
I created a hyperterminal connection and linked it to the switch, this allows me communication with it but have no idea of the commands.
What commands should I type to change the IP address only, save it and get out of the console!
Need help!

5 replies

by graham marwood

I think this has the normal cisco o/s so after login type enable and give p/w, type "show run" to get list of config and note the interface you want to edit. "conf t" to enter config mode, "int Ethernet0/0" (e.g. ethernet interface in question). enter old line i.e. "no ip address 1xx.xxx.xxx.xxx 255.255.xxx.xxx" and then new line without the no but with the new ip and mask.
ctrl-c twice then "copy run start to save" to save the config when happy things are ok. hope this helps

by ckilday

First, do you have executive level priveleges? Does your command prompt end with a > or a #? You need the # prompt to configure the switch. Type "enable" (ena will do) and hit enter. If the switch wants a password, you will have to perform a password recovery procedure on the switch. Go to www.cisco.com and do a search on "2900 password recovery" for assistance. If you don't need that, issue a "show run" command to see the current operating configuration. Use the space bar to advance through the configuration a page at a time. Hitting "enter" moves you a line at a time. Any other key stops the display. Look for the interface that has an IP address assigned to it...my guess is it will be interface VLAN1. Once there, go into configuration mode by typing in "config t". Your display will change to show you in config mode. Then type in the interface you want to change ("int VLAN1") and hit return. The display will change again to show a (config-if) by the command prompt. As the previous respondent stated, remove the old address by typing in "no ip address 192.168.1.100 (subnet mask for the address)". Then add the new address by typing "ip address (new ip address and subnet)". To exit configuration mode, hit CTRL - Z (not CTRL - C). Then type in "copy run start". The switch should prompt you to reply yes to "copy running-configuration to startup-configuration?" That should do it. BTW, most cisco devices have context-sensitive help. You can type a ? at the command prompt and see what commands are available at that level. By typing in the command, you can get more information on what fields are used. If this still isn't working, bring up the configuration, copy it to your PC and e-mail it to me and I'll help you get it going. Use a phony IP address for your protection, but keep the subnet mask the same one you want to use. My e-mail is chris.kilday@ctg.com. Best wishes.
- ck

This discussion is closed to new replies.