Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Before turn on how to manage your configuration, we should know three show Commands that gives you a good scope of what really is happening. 1. Show IP interface brief. If someone is complaining about his port is not access or he has no internet connection, then you type this command and find out what is the problem? Second thing you find out in the Show IP interface brief, is the Status and the Protocol, if the Status is Down then the Cable is unplugged or its a Bad Cable need to be changed, also for the Protocol if its down means that the Protocol type communicating with the Switch is changed, like someone had changed the Encapsulation Type. 2. Show Interface. Suppose that you found in the first Command that everything is fine and UP on the Status and the protocol, then we will show the details on that interface. 3. Show Run. This command shows you what actually the configuration of your Switches is, so if there is something wrong in the configuration so you mistyped it so its better to be fixed, as show run is the easiest way to figure out the problem were it is.
05 January 2011
Page 1
The last one is the TFTP (Trivial File Transfer Protocol), which is a Server that stores files, the protocol that is used to transfer the file to the TFTP is UDP port 69, that in case you have a firewall and need to pass it. So TFTP is used to copy from and to the IOS image file in the Router. TFTP is Free if you go to Google and type in the Search bar TFTP32.
After installation of TFTP and have TFTP server, so If you want to make a backup for your Configuration to the TFTP server, write the following command:
You could backup from memory to TFTP server, but you should know the name of the file before. For example: By using the following command it shows the IOS name:
how:
R1#copy tftp startup-config Address or name of remote host []?10.238.212.13 Source filename []? r2-config.txt Destination filename [startup-config]? Accessing tftp://192.168.0.1/r2-config.txt.......
As you might see in the fourth line it asks for the Destination Filename what should be its name, so by Default you should leave the name Startup-Config cause that the file name the router is looking at it when it reboots, so dont rename it.
05 January 2011 Page 3
If you want to upgrade your IOS, where a lot of times people delete their IOS from the Flash Memory and download a new IOS from Cisco sites and place it in the Flash memory. But the safe way to do this is actually to allow your router to boot-up from the TFTP server rather than boot-up from Flash Memory, and keep the old IOS in the flash memory as it is. So we download the New version of IOS in to the TFTP server, and make the router to boot up and take the IOS file from TFTP server rather than Flash, so to do that , do the following:
Router(config)#boot system ? WORD TFTP filename or URL flash Boot from flash memory
As you might see it says where you want to boot from, so we will boot from the TFTP server with the IOS Filename as following:
05 January 2011
Page 4