Ihave a Cisco 2960s switch with 24-port 10/100/1000 Ethernet Switch with PoE, and I have set it up correctly (I think). I can't work out how to save the setting I have made because every time I unplug the device it resets to the factory settings.
Consider a worst-case scenario: Changes have been made to Cisco devices over the course of a year but none of them has been saved to the startup config. Then there is a power failure and all the devices reboot.
Now what do you do? Does your organization even have all those changes documented? It would be like the horror stories from before Office applications saved documents automatically, where writers lost entire manuscripts. In short, it is imperative that you save changes made to the running configuration.
Netwrix Auditor for Network Devices provides complete visibility into what is happening in your network infrastructure and alerts you about the events you consider the riskiest. It provides clear, actionable information that dramatically simplifies investigation and enables prompt and effective response.
Cisco IOS, or Internetwork Operating System, is the core software powering Cisco routers and switches, enabling network connectivity, security, and advanced features. It also provides a Command Line Interface (CLI) that allows network admins to enter commands into a terminal emulation program. The CLI can be accessed via three methods: the console, Telnet, and Secure Shell (SSH). The commands available depend on the Cisco mode that the user is currently running. In this instance, we will use Putty to remotely connect to a Cisco switch on a local network using SSH. The use of Telnet to configure a device is insecure and should not be used for regular deployments. Initial setup might require the us of a console or telnet connection.
These are the modes that Cisco support users will most commonly use. Other modes include Line Configuration mode, Router Configuration mode, VLAN Configuration mode, and Subinterface Configuration mode. Below is a screenshot of our SSH session to a switch called Cisco Switch 101. Here, the user transitioned from Privileged EXEC mode to Global Configuration mode.
You can also copy the startup config to a TFTP server. Security best practices recommend that you maintain external backups of configurations for all your Cisco devices to prepare for potential device failures and other disasters.
Once the process is completed, the startup configuration stored in NVRAM will be deleted. If you reload the device without first saving another configuration to the startup configuration, the device will boot with its default settings. The default settings for a Cisco switch or router are as follows:
Improper modifications or unauthorized access to your Cisco network devices can result in reduced network efficiency and business disruptions. Therefore, it is crucial to implement consistent audit processes and vigilantly monitor activity within your network infrastructure.
Netwrix Auditor for Network Devices provides complete visibility into your network infrastructure and alerts you about events you consider most dangerous. This clear, actionable information enables you to significantly simplify your investigations into security incidents. Here are just some of the steps you can take toward greater network security with a Cisco auditing tool from Netwrix:
Hi my workmate is trying to configure one of out new Cisco 9200 switches, and he is not entirely familiar with the Cisco IOS, to that extent he issued something along the lines of a reset all command and wiped the boot image of the switch and had to reinstall the image again, he now tells me that the switch no longer retains the configuration after the switch is turned off and on, i have tried this myself and he is correct, something has changed in the boot configuration i assume when he reinstalled the boot image.
Options for saving a new configuration. Making one or more changes to the running-config file creates a new operating configuration. Saving a new configuration means to overwrite (replace) the current startup-config file with the current running-config file. This means that if the switch subsequently reboots for any reason, it will resume operation using the new configuration instead of the configuration previously defined in the startup-config file. There are three ways to save a new configuration:
Note that using the CLI instead of the menu or WebAgent gives you the option of changing the running configuration without affecting the startup configuration. This allows you to test the change without making it "permanent". When you are satisfied that the change is satisfactory, you can make it permanent by executing the write memory command. For example, suppose you use the following command to disable port 5:
The above command disables port 5 in the running-config file, but not in the startup-config file. Port 5 remains disabled only until the switch reboots. If you want port 5 to remain disabled through the next reboot, use write memory to save the current running-config file to the startup-config file in flash memory.
If you use the CLI to make a configuration change and then change from the CLI to the Menu interface without first using write memory to save the change to the startup-config file, then the switch prompts you to save the change. For example, if you use the CLI to create VLAN 20, and then select the menu interface, VLAN 20 is configured in the running-config file, but not in the startup-config file. In this case you will see:
Storing and retrieving configuration files. You can store or retrieve a backup copy of the startup-config file on another device. For more information, see "Transferring Switch Configurations" in the Management and Configuration Guide for your switch.
USB autorun. This feature supports the ability to auto execute CLI commands stored on a USB flash drive (for example, to configure the switch, update software, retrieve diagnostics, etc.). For more information, see "Using USB to Download Switch Software" in the Management and Configuration Guide for your switch.
I'm learning the GUI of the T1600G-28TS switch. There is an icon with a gear at the top right, labeled "Save". When I press it, it asks, "Save the configuration file?", yet it never asks for a file name. My guess, this saves the current configuration internally to the switch? Correct? Does it save it as config1.cfg? If so, how can I also save it to config2.cfg?
I think there is only one config file on the switch. Once there are settings changed on the switch, it's required to click the Save icon on the top right corner, otherwise, the settings you changed will be cleared after you reboot the switch. So the Save icon is to save the changes you made to the config file of the switch. Apply settings without Save is only to keep a cache.
Hi, we have a GSM7352S stack of 5 switches that won't let me save its config. When I go to Maintenance> Save Config and select the tick box and apply I get the following error (attached): Error! Failed to set 'Save Device Configuration with 'True'. I also tried to upload the config via Maintenance> Upload> HTTP File Upload> Test Configuration and when I click apply I get: Error! File is either empty or not found
I recently purchased a Cisco 4948 for use in my homelab to start learning about cisco gear. I was able to get it up and running without many issues, had it all configured but as happens in a homelab, swapping some gear around I powered down the device and upon reboot my settings were gone. So I reconfigured and power cycled it to test and it did it again.
After some more reading I figured out it had to do with the configuration register set to 0x2141 which ignores startup config. So I set it to 0x2102 which I understand is the correct setting to load the startup-config but it now enters 'rommon'. I am saving my config, and can confirm it is saved as if I enter 'boot' in rommon it will boot up with all my settings. Is 0x2102 the correct register to load my settings? Or could anything else be causing this?
Check your configuration for a boot system command. If one exist, double check the filesystem, path and filename are correct. You could copy the full filesystem and filename from your command and then type dir followed by filesystem:filename and see if it actually shows the file exists.
You need to save router IOS file to flash memory generally do by copy iOS file from outside memory source and boot it from pindrive or TFT server. After that it will work normally as desired. I hope you have a iOS file and you know to copy and run the iOS file.
I've tried to find a away to identify if the running-config has actually - and if possible what exactly - has diverged compared to the startup-config. It can also be useful to quickly learn if the last person forgot to write the running-config the the NVRAM.
ArubaOS for exampe comes with has a rather 'show startup-config status' command which tells if both configs are identical or if they have differences. IOS-XE has commands to show the actual difference. Something similar to ArubaOS would already be enough, but so far I've not found a way to do something similar on the M4300 CLI. Any pointer is appreciated, maybe I'm just looking for the wrong term?
Thank you for your message, you are right we don't have this command, as of yet. Good input, and (coincidence) we are working on such a new way of comparing a running config with the startup config (and also the backup config saved elsewhere in the flash). There is no ETA yet, still experiment as I speak, we may use other forms of commands/interface for it.
3a8082e126