If you switch happens to be a v2 there are some 15 code images you can download.. Mar 24, — easy stuff bro. Find software and support documentation to design, install and upgrade, configure, and troubleshoot Cisco Catalyst Series Switches. If you can't buy original routers and switches, GNS3 is your rescue. However, some commands in the existing configuration might not be replaced or negated.
In this case, the resulting configuration file is a mixture of the existing configuration file and the copied configuration file, with the copied configuration file having precedence. Startup configuration files are used during system startup to configure the software. Running configuration files contain the current configuration of the software. The two configuration files can be different. For example, you might want to change the configuration for a short time period rather than permanently.
In this case, you would change the running configuration but not save the configuration by using the copy running-config startup-config privileged EXEC command. When creating a configuration file, you must list commands logically so that the system can respond appropriately.
This is one method of creating a configuration file:. Step 1 Copy an existing configuration from a switch to a server. Step 3 Extract the portion of the configuration file with the desired commands, and save it in a new file.
Step 4 Copy the configuration file to the appropriate server location. Step 5 Make sure the permissions on the file are set to world-read. You can configure the switch by using configuration files you create, download from another switch, or download from a TFTP server. You can copy upload configuration files to a TFTP server for storage. Before you begin downloading or uploading a configuration file by using TFTP, do these tasks:.
To restart the daemon, either stop the inetd process and restart it, or enter a fastboot command on the SunOS 4. For more information on the TFTP daemon, see the documentation for your workstation. The switch and the TFTP server must be in the same subnetwork if you do not have a router to route traffic between subnets.
Check connectivity to the TFTP server by using the ping command. The permission on the file should be world-read. To create an empty file, enter the touch filename command, where filename is the name of the file you will use when uploading it to the server. Permissions on the file should be world-write. To configure the switch by using a configuration file downloaded from a TFTP server, follow these steps:.
Step 3 Log into the switch through the console port or a Telnet session. The configuration file downloads, and the commands are executed as the file is parsed line-by-line. This example shows how to configure the software from the file tokyo-confg at IP address To upload a configuration file from a switch to a TFTP server for storage, follow these steps:. Step 2 Log into the switch through the console port or a Telnet session. This example shows how to upload a configuration file from a switch to a TFTP server:.
When you copy a configuration file from the switch to a server by using FTP, the Cisco IOS software sends the first valid username in this list:. The variable username is the username associated with the current session, switchname is the configured hostname, and domain is the domain of the switch.
The username and password must be associated with an account on the FTP server. Use the ip ftp username and ip ftp password commands to specify a username and password for all copies.
Include the username in the copy command if you want to specify only a username for that copy operation. If the server has a directory structure, the configuration file is written to or copied from the directory associated with the username on the server.
For example, if the configuration file resides in the home directory of a user on the server, specify that user's name as the remote username. Before you begin downloading or uploading a configuration file by using FTP, do these tasks:.
The switch and the FTP server must be in the same subnetwork if you do not have a router to route traffic between subnets. Check connectivity to the FTP server by using the ping command. You can enter the show users privileged EXEC command to view the valid username. If you do not want to use this username, create a new FTP username by using the ip ftp username username global configuration command during all copy operations.
If you are accessing the switch through a Telnet session and you have a valid username, this username is used, and you do not need to set the FTP username. Include the username in the copy command if you want to specify a username for only that copy operation. This step is required only if you override the default remote username or password see Steps 4, 5, and 6. Using FTP, copy the configuration file from a network server to the running configuration or to the startup configuration file.
This example shows how to copy a configuration file named host1-confg from the netadmin1 directory on the remote server with an IP address of This example shows how to specify a remote username of netadmin1. The software copies the configuration file host2-confg from the netadmin1 directory on the remote server with an IP address of Using FTP, store the switch running or startup configuration file to the specified location. This example shows how to copy the running configuration file named switch2-confg to the netadmin1 directory on the remote host with an IP address of This example shows how to store a startup configuration file on a server by using FTP to copy the file:.
The RCP provides another method of downloading, uploading, and copying configuration files between remote hosts and the switch. The RCP copy commands rely on the rsh server or daemon on the remote system.
You only need to have access to a server that supports the remote shell rsh. Most UNIX systems support rsh. Because you are copying a file from one place to another, you must have read permission on the source file and write permission on the destination file. If the destination file does not exist, RCP creates it for you. When you copy a configuration file from the switch to a server, the Cisco IOS software sends the first valid username in this list:.
For example, if the user is connected to the router through Telnet and was authenticated through the username command, the switch software sends the Telnet username as the remote username.
For a successful RCP copy request, you must define an account on the network server for the remote username. If the server has a directory structure, the configuration file is written to or copied from the directory associated with the remote username on the server.
For example, if the configuration file is in the home directory of a user on the server, specify that user's name as the remote username. Before you begin downloading or uploading a configuration file by using RCP, do these tasks:. The switch and the server must be in the same subnetwork if you do not have a router to route traffic between subnets.
Check connectivity to the RCP server by using the ping command. If you do not want to use this username, create a new RCP username by using the ip rcmd remote-username username global configuration command to be used during all copy operations. If you are accessing the switch through a Telnet session and you have a valid username, this username is used, and you do not need to set the RCP username. For UNIX systems, you must add an entry to the.
For example, suppose that the switch contains these configuration lines:. If the switch IP address translates to Switch1. This step is required only if you override the default remote username see Steps 4 and 5. Using RCP, copy the configuration file from a network server to the running configuration or to the startup configuration file.
Then it copies the configuration file host2-confg from the netadmin1 directory on the remote server with an IP address of Using RCP, copy the configuration file from a switch running or startup configuration file to a network server. You can clear the configuration information from the startup configuration. If you reboot the switch with no startup configuration, the switch enters the setup program so that you can reconfigure the switch with all new settings.
To clear the contents of your startup configuration, use the erase nvram: or the erase startup-config privileged EXEC command. To delete a saved configuration from flash memory, use the delete flash: filename privileged EXEC command. Depending on the setting of the file prompt global configuration command, you might be prompted for confirmation before you delete a file.
By default, the switch prompts for confirmation on destructive file operations. The configuration replacement and rollback feature replaces the running configuration with any saved Cisco IOS configuration file. You can use the rollback function to roll back to a previous configuration. To use the configuration replacement and rollback feature, you should understand these concepts:.
The configuration archive provides a mechanism to store, organize, and manage an archive of configuration files. The configure replace privileged EXEC command increases the configuration rollback capability. As an alternative, you can save copies of the running configuration by using the copy running-config destination-url privileged EXEC command, storing the replacement file either locally or remotely.
However, this method lacks any automated file management. The configuration replacement and rollback feature can automatically save copies of the running configuration to the configuration archive.
You use the archive config privileged EXEC command to save configurations in the configuration archive by using a standard location and filename prefix that is automatically appended with an incremental version number and optional timestamp as each consecutive file is saved. You can specify how many versions of the running configuration are kept in the archive. The password-recovery mechanism is ena Initializing Flash Loading "flash:ce-universalk9-mz.
The system is unable to boot automatically. The BOOT environment variable needs to be set to a bootable image. Buy or Renew. Find A Community. Cisco Community. Join us in congratulating October's Spotlight Award Winners! Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for. Search instead for. Did you mean:. All Community This category This board. Hi everyone: I am trying to have a switch working some one gave it to me as a gift, is a used switch but it was working.
I just want it to hard reset it so i can practice for my CCNA, but i fall into the below issues: when i connect trough console it shows the below: Switch: when i try to reboot switch: boot Loading "flash:ce-universalk9-mz. IOS was the one installed before, but i can not download that one so i downloaded from cisco " ce-ipbasek9-mz.
Labels: Labels: Other Switching. I have this problem too. All forum topics Previous Topic Next Topic. Accepted Solutions. Thanks for writing this article. Lirouter Li October 28, at pm Great stuff! Jeff January 19, at am thanks for the how-to. One minor note that i found when upgrading the To change the boot file, you need to enter configuration mode first — eg: Switch configure terminal Switch config boot system flash:cipservicesk9-mz.
Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in:. Email required Address never made public. Name required.
RSS feed. Follow Following. The Networking Corner Join other followers. Sign me up. Already have a WordPress. Log in now. Post was not sent - check your email addresses!
0コメント