In the following example, the router is configured to boot from a specified TFTP server:
Client# configure terminal
Enter configuration commands, one per line. End with CTRL/Z
Client(config)# no boot system
Client(config)# boot system c5300-js-mz.121-5.T.bin 172.16.1.1
Client(config)# boot system rom
Client(config)# config-register 0x010F
Client# copy running-config startup-config
In this example, the nobootsystem command invalidates all otherbootsystem commands currently in the configuration memory, and any bootsystem commands entered after this command will be executed first. The second command, bootsystemfilename address , tells the client router to look for the file c5300-js-mz.121-5.T.bin on the TFTP server with an IP address of 172.16.111.111. Failing this, the client router will boot from its system ROM in response to the bootsystemrom command, which is included as a backup in case of a network problem. The copyrunning-configstartup-config command copies the configuration to the startup configuration, and thereloadcommand boots the system.
The system software to be booted from the server must reside in Flash memory on the server. If it is not in Flash memory, the client router will boot the server’s system ROM.
The following example shows sample output of the showversion command after the router has rebooted:
Router> show version
Cisco Internetwork Operating System Software
Cisco IOS (tm) 5300 Software (C5300-JS-M), Version 12.1(5)T, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by Cisco Systems, Inc.
Compiled Sat 11-Nov-00 03:03 by joe
Image text-base: 0x60008958, data-base: 0x611C6000
ROM: System Bootstrap, Version 11.2(9)XA, RELEASE SOFTWARE (fc2)
BOOTFLASH: 5300 Software (C5300-BOOT-M), Version 12.0(7)T, RELEASE SOFTWARE (f)
Router uptime is 8 weeks, 4 days, 22 hours, 36 minutes
System returned to ROM by power-on
System restarted at 00:37:38 UTC Thu Feb 22 2001
System image file is "flash:c5300-js-mz.121-5.T.bin"
Configuration register is 0x010F
The important information in this example is contained in the first line “Cisco IOS (tm)..” and in the line that begins “System image file....” The “Cisco IOS (tm)...” line shows the version of the operating system in NVRAM. The “System image file....” line show the filename of the system image loaded from the TFTP server.