Corporation Ore Deposit

THCore64733ad78

středa 27. června 2007

Router - startup konfig a upload IOS

Vnitřní konfigurační komponenty routeru:

RAM / Running configuration, routing table, ARP/switching cache, packet queues
NVRAM / Startup/backup configuration
FLASH / IOS Image (IOS = Internetwork Operating System)
ROM / Startup diagnostic code
CONSOLE / Physical acces to initial configuration
INTERFACES / Interfaces WAN, LAN (motherboard or modules)

Schéma startovní inicializace routeru:

ROMBootstap / load bootstrap
FLASH
TFTP server
Cisco IOS / locate and load operating system
NVRAM
TFTP server
Console
Configuration / locate and load configuration file or enter setup


Uložení aktuální konfigurace:

Router#
Router#copy ru st (copy running-configuration startup-configuration)
Destination filename (startup-config)?
Building configuration
(OK)
Router#

Zjištění konfigurací:

#show version / verze IOS
#show running-config / běžící konfigurace
#show startup-config / startovní konfigurace
#show flash / název souboru IOS image, velikost paměti flash/EEPROM


Vymazání startovní konfigurace:

#erase startup-config - vymazani
#reload - softwarový restart routeru

Příklad:
Router#
Router#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Router#
Router#reload
Proceed with reload? [confirm]
%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) atd... adt...
Router#


Příkazy pro nahrání nové verze IOS:

Router is now available

Press enter to get started
*Enter :)

Router>
Router> enable
Router#
Router#show version
Cisco Internetwork operating system Software
IOS version (tm) xxxc1700 Software ap......
Copyright....
ROM: System bootstrap, Version xx, Release software (xx)
Router uptime.....
Bridging software.....
etc, etc.....

Router#
Router#show flash
PCMCIA flash directory:
File Lengh Name/status
1 123456 xxxc1700-a-bb.1A.bin
(xxx bytes used, xxx available, xxx total)
xxx bytes of processor board System flash (Read/Write)

Router#copy tftp flash
Adress or name of remote host ()?
Adress or name of remote host ()? *10.10.0.1
Source filename ()? xxxc1700-y-mz.2B.bin
Destination filename (xxxc1700-y-mz.2B.bin)?
*Enter CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCC

XXX bytes copiet in x.x seconds

Router#
Router#show flash
PCMCIA flash directory:
File Lengh Name/status
1 123456 xxxc1700-y-mz.2B.bin
(xxx bytes used, xxx available, xxx total)
xxx bytes of processor board System flash (Read/Write)

Router#
Router#exit
Router>exit

Router is now available

Press enter to get started
...

Žádné komentáře: