Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco Catalyst 2900

Status
Not open for further replies.

fusion

IS-IT--Management
Jan 28, 2000
2
0
0
US
We Have a catalyst 2900 switch, and need to configure it to <br>
100mbps its set for 10mbps. the person that configured it first is gone. how do i restore it to factory settings if possible.<br>

 
Do you know its IP address? If not, it is not the end of the world.<br>
<br>
If you can get in (check the configuring persons favourites) then there is a visual interface you can use to change it. If not, connect it to your serial port and follow the instructions for resetting the switch when you have lost the password that is listed in the manual or download it off the Cisco site. I have done this successfully for several of our switches where we made errors and could not get in.
 
If you have console access and know the enable password all you have to do is login, enable, and do a `write erase`. The 2900 uses (for the most part) standard IOS. This will erase ALL of the current configuration, so make sure this is what you want to do before you do it.
 
You must have secret password access to make any changes via a telnet session or through the console port. Before you do anything you need to determine if you want to change the speed for a single port (ports on a 2924XL are configured as interfaces), or all ports in a particular VLAN? By default all interfaces are allocated to VLAN1.<br><br>It is extremely important to find out what your current configuration is before making any changes. For your assistance, here are the commands to view your configuration, and to change the speed for a partucular interface. Remember, if you don't know what to do after entering a command, enter a space and a question mark then hit the enter key. This will give you a list of commands needed to complete the sequence.<br><br>From the enable mode type in: sh config &lt;cr&gt;<br>This shows your switches current configuration.<br><br>From the enable mode type in: config t &lt;cr&gt;<br>This takes you into configuration mode.<br><br>From the config mode type in: interface FastEthernet 0/x &lt;cr&gt;<br>x is the port/interface you want to change the speed on.<br>This takes you to (config-if) mode. The particular port/interface you want to change speeds on.<br><br>From the (config-if) mode type in: speed x, &lt;cr&gt;<br>x is the speed you want (10, 100, or auto). The port/interface speed has now been changed.<br><br>Please keep in mind that you may or may not want to change the port/interface duplex value. <br><br>Hope this helps out.<br><br>
 
HERE WE GO....Recovering from a Lost or Forgotten Password<br>Follow the steps in this procedure if you have forgotten or lost the switch password.<br><br>Step 1 Connect a terminal or PC with terminal emulation software to the console port. For more information, refer to the switch installation guide.<br><br><br>--------------------------------------------------------------------------------<br>Note You can configure your switch for Telnet by following the procedure in &quot;Configuring the Switch for Telnet&quot; section. <br>--------------------------------------------------------------------------------<br><br>Step 2 Set the line speed on the emulation software to 9600 baud.<br><br>Step 3 Unplug the switch power cord. <br><br>Step 4 Hold the Mode button, and at the same time reconnect the power cord to the switch. <br><br>You can release the Mode button a second or two after the LED above port 1X goes off. Several lines of information about the software appear, as do instructions:<br><br>The system has been interrupted prior to initializing the flash file system. The following commands will initialize the flash file system, and finish loading the operating system software:<br>&nbsp;<br>flash_init<br>load_helper<br>boot<br><br><br>Step 5 Initialize the Flash file system:<br><br>switch: flash_init<br><br>Step 6 If you had set the console port speed to anything other than 9600, it has been reset to that particular speed. Change the emulation software line speed to match that of the switch console port.<br><br>Step 7 Load any helper files:<br><br>switch: load_helper<br><br>Step 8 Display the contents of Flash memory:<br><br>switch: dir flash:<br><br>The switch file system is displayed:<br><br>Directory of flash:<br>&nbsp;<br>&nbsp;&nbsp;2&nbsp;&nbsp;-rwx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;843947&nbsp;&nbsp;&nbsp;Mar 01 1993 00:02:18 C2900XL-h-mz-112.8-SA<br>&nbsp;&nbsp;4&nbsp;&nbsp;drwx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3776&nbsp;&nbsp;&nbsp;Mar 01 1993 01:23:24&nbsp;&nbsp;html<br>&nbsp;66&nbsp;&nbsp;-rwx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;130&nbsp;&nbsp;&nbsp;Jan 01 1970 00:01:19&nbsp;&nbsp;env_vars<br>&nbsp;68&nbsp;&nbsp;-rwx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1296&nbsp;&nbsp;&nbsp;Mar 01 1993 06:55:51&nbsp;&nbsp;config.text<br>&nbsp;<br>1728000 bytes total (456704 bytes free)<br>&nbsp;<br><br>Step 9 Rename the configuration file to config.text.old. <br><br>This file contains the password definition. <br><br>switch: rename flash:config.text flash:config.text.old<br><br>Step 10 Boot the system:<br><br>switch: boot<br><br>You are prompted to start the setup program. Enter N at the prompt:<br><br>Continue with the configuration dialog? [yes/no]: N<br><br>Step 11 At the switch prompt, change to privileged EXEC mode:<br><br>switch&gt; enable<br><br>Step 12 Rename the configuration file to its original name:<br><br>switch# rename flash:config.text.old flash:config.text <br><br>Step 13 Copy the configuration file into memory:<br><br>switch# copy flash:config.text system:running-config<br>Source filename [config.text]?<br>Destination filename [running-config]?<br><br>Press Return in response to the confirmation prompts.<br><br>The configuration file is now reloaded, and you can use the normal commands to change the password. <br><br>Step 14 Enter global configuration mode:<br><br>switch# config terminal<br><br>Step 15 Change the password:<br><br>switch(config)# enable password &lt;password&gt;<br><br>or<br><br>switch(config)# enable secret &lt;password&gt;<br><br>Step 16 Return to privileged EXEC mode.<br><br>switch(config)# end<br>switch#<br><br>Step 17 Write the running configuration to the startup configuration file:<br><br>switch# copy running-config startup-config<br><br>The new password is now included in the startup configuration.<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top