This document describes how to load files onto the router and how to set up booting and dumping on the router. It includes the following sections:
What is Boot CONFIG?
Loading Files Using FTP
Loading Files Using TFTP
Configuring Booting
Validating a Configuration File
Configuring Dumping
Boot CONFIG Commands
Displaying the FTP Server Prompts
FTP Server Commands
What is Boot CONFIG?
The Boot CONFIG commands let you set up how the router boots and how it dumps diagnostic information.
Using Boot CONFIG commands, you can do the following:
Copy router software files and router configuration files to and from the router, locally or remotely.
Set up the boot configuration.
Disable or enable network memory dumping and assign a unique name to the dump files so that you can do an automatic dump without prompts.
List the contents of the IBD.
Erase files from the IBD.
To see the contents of your IBD, enter list ibd at the Boot Config> prompt.
Boot Files
Boot files contain the software to run the router. These files have a .rap extension. When you load these files onto your router, the software upgrades your router's boot code, if necessary, as well as the router software. This lets you upgrade your router software and boot code in a single operation.
The router does not update its boot code if the boot code has not changed since the last time you reloaded the router.
Boot files can reside on the router's IBD or you can retrieve these files from a server or another router that is running FTP or TFTP.
You can set up your boot configuration with boot entries for each boot file you wish to use with the router. Each entry contains the name of a file in the IBD, or it contains the address of the server, the next hop router, the timeout, path, and file name for the boot file.
You can set up these entries with the add boot-entry command. If you are using FTP to load files onto the router, you can alternatively use FTP commands to designate the file from which to boot.
Names for IBD Files
IBD filenames can contain the complete pathname in addition to the filename. For example:
The router accepts any printable ASCII character as part of the filename, with two exceptions:test.cfg
or
/usr/loads/test.cfg
The filename cannot begin with a numeric character.
The filename cannot contain an Enter or LF (line feed) character.
IBD Considerations When Transferring a File
When transferring a file to a router's IBD,
keep in mind that a file may not fit into one bank of the IBD.
If sufficient banks are not available to store a file, a Disk Full message appears on the console, the file is not stored, and the IBD remains unchanged. Any portion of the file that was stored in a bank is removed.
Note:
To see a list of available banks, enter list ibd at the Boot Config> prompt.
Boot config> prompt. Or, if you are connected to
the router using FTP, you can delete files using the FTP delete
command.
Loading Files Using FTP
You can use FTP to load router software from a local or remote computer over either a WAN or LAN connection. To accomplish this, the router contains an FTP server implementation. To use FTP, you run FTP client software on a PC or workstation to your router's FTP server. You can then use FTP commands such as put or delete.
The router's FTP server implementation is designed to emulate the format of a UNIX-based server.
FTP Server
The FTP server has the following requirements and limitations.
Only administrative-level users can access the router's FTP server. You cannot use the FTP server until you add an administrative user on the router. You can set up simple password accounts or challenge/response accounts. See the add user command.
The FTP server has a single directory file system (/). You cannot use additional slashes (/) in your file name.
Connecting to the FTP Server
You connect to the router's FTP server as you would any other server. The router prompts you for your user name and password or challenge response.
You can display a list of files on the router.adonis.nxnetworks.com% ftp 10.7.1.17
Connected to 10.7.1.17.
220 [not configured] FTP server ready (Netrix Corp. GTX-SECA).
(10.7.1.17:guest): adminuser
331 Password required for adminuser.
Password:
230 User adminuser logged in. Be sure to set file representation type to binary!ftp>
ftp> dir
200 PORT command successful.
150 Open data connection to 192.168.1.45, 2748.
lrwxrwxrwx 1 admin admin 0 0 BOOT
-rwxrwxrwx 1 admin admin 0 0 CONFIG
-rw-r--r-- 1 admin admin 1469 April 14 9:52 entcacert2
-rw-r--r-- 1 admin admin 838 April 14 9:52 entreq
-rw-r--r-- 1 admin admin 1772 April 14 9:52 entcertif
-rw-r--r-- 1 admin admin 562 April 14 9:52 entr_req
-rw-r--r-- 1 admin admin 1929507 April 14 9:52 gtxseca.rap
Free space available 1703936 bytes
ftp> prompt. ftp> remotehelp
214-The following commands are recognized.
USER PORT MODE RNFR DELE SITE HELP
PASS TYPE RETR RNTO LIST SYST NOOP
QUIT STRU STOR ABOR NLST STAT PWD
214 Specify the command for detailed information.
These commands let you copy files and restart and reload the router. The set command lets you set the file the router uses the next time it boots.ftp> remotehelp site
214-The following SITE commands are recognized.
HELP COPY RELOAD RESTART SET
214 Specify the command for detailed information.
When you enter the site commands, you need to precede the command with the FTP quote command. For example, to restart the router enter
ftp> quote site restart
200 Restart command accepted; restarting the router.
router config to the IBD: quote site copy config IBDfilename
IBD to the router config: quote site copy IBDfilename config
IBD to the IBD: quote site copy IBDfilename newIBDfilename
In the following example, the router boots using gtx-SECA.rap next time you reload the router.
You can set the BOOT link using the FTP set boot command accessible via the site command. See Setting the Router to Boot Using the New File. You can also set the BOOT link using the set boot-entry command at theftp> dir
200 PORT command successful.
150 Open data connection to 192.168.1.45, 2748.
lrwxrwxrwx 1 admin admin 0 0 BOOT -> gtx-SECA.rap
-rwxrwxrwx 1 admin admin 0 0 CONFIG
Boot Config>
prompt.
To set the CONFIG link, see Using Configuration Files From a Remote Host or Router.
Removing Links
On the FTP server, you cannot remove the BOOT or CONFIG files. You can, however, remove the links to which these files point. To do so, remove the file to which the link points.
For example, to remove the link from BOOT to gtx1000.rap in the following screen, delete the gtx1000.rap file.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 2
lrw-rw---- 1 waldemar admin 13 Jan 12 10:25 BOOT -> gtx1000.rap
-rwxr-xr-x 1 waldemar admin 28988 Jan 12 10:27 CONFIG
-rw-r--r-- 1 waldemar admin 32570 Jan 12 10:18 gtx.cfg
-rw-r--r-- 1 waldemar admin 1282854 Jan 12 10:15 gtx1000.rap
262144 bytes available 226 Transfer complete.
556 bytes received in 0.06 seconds (9.27 Kbytes/sec)ftp> delete gtx1000.rap
If the BOOT file is set to a remote file, no link appears.
If the BOOT file is not linked, but a valid boot file exist in the IBD, the router boots using the file in the IBD.
Note: We recommend that you do not press control-c while FTP commands are running. Doing so disrupts FTP responses.
adonis.nxnetworks.com:/tftpboot/lds> ftp 10.7.1.17
Connected to 10.7.1.17.
220 [not configured] FTP server ready (Netrix Corp. GTX-SECA 9.9.9[X60]).
Name (10.7.1.17:guest): Admin
331 Password required for Admin.
Password: df34st9
230 User Admin logged in. Be sure to set file representation type to binary!
ftp> binary
200 Type 8-bit binary OK.
ftp> put gtx-SECA.rap
200 PORT command successful.
150 Open data connection to 192.168.1.45, 2600.
226 Transfer complete
ftp> dir
200 PORT command successful.
150 Open data connection to 192.168.1.45, 2625.
-rwxrwxrwx 1 admin admin 0 0 BOOT
-rwxrwxrwx 1 admin admin 0 0 CONFIG
-rw-r--r-- 1 admin admin 1469 April 14 9:30 entcacert2
-rw-r--r-- 1 admin admin 838 April 14 9:30 entreq
-rw-r--r-- 1 admin admin 1772 April 14 9:30 entcertif
-rw-r--r-- 1 admin admin 562 April 14 9:30 entr_req
-rw-r--r-- 1 admin admin 1929065 April 14 9:30 gtx-SECA.rap
Free space available 1703936 bytes
ftp> quote site set boot gtx-SECA.rap
200 Set boot command successful
Notice that the BOOT file link now points to your new file.
ftp> dir
200 PORT command successful.
150 Open data connection to 192.168.1.45, 2748.
lrwxrwxrwx 1 admin admin 0 0 BOOT -> gtx-SECA.rap
-rwxrwxrwx 1 admin admin 0 0 CONFIG
-rw-r--r-- 1 admin admin 1469 April 14 9:52 entcacert2
-rw-r--r-- 1 admin admin 838 April 14 9:52 entreq
-rw-r--r-- 1 admin admin 1772 April 14 9:52 entcertif
-rw-r--r-- 1 admin admin 562 April 14 9:52 entr_req
-rw-r--r-- 1 admin admin 1929507 April 14 9:52 gtx-SECA.rap
Free space available 1703936 bytes
ftp> quote site reload
200 Reload command accepted; reloading the router.
Store a configuration file from a router to a server
Copy a configuration file from a server to a router
Boot config> prompt.The client can send a copy of the configuration file stored in configuration memory to a TFTP server. Flash is a non-volatile memory storage location for boot PROM updates.
The server is any device, that is a PC, router, or workstation that receives and services TFTP requests. When the router acts as a server, transfers are transparent. Use the ELS subsystem TFTP message log to view the transfer in progress.
A server or a router is not allowed to copy any file into another router's configuration memory or IBD. However, a router can copy a file from another router. To copy a file to a router from another router, use the tftp get command.
Using Configuration Files From a Remote Host or Router
To access configuration files from a remote host or router,
enter tftp get at the Boot config>
prompt:
Boot config>tftp get
Enter source filename?128.185.210.125:loads/configs/vl-28.cfg
Enter destination filename? CONFIG
COPYing from "128.185.210.125:loads/configs/vl-28.cfg" to "CONFIG"
COPY succeeded
Configuring Booting
You can configure more than one boot file in the boot configuration database by specifying the path and name of each boot file (using the add command). This gives you multiple servers. If you have more than one host server, you can use a different host server to boot the router when another host server cannot be reached over the network or when a server times out.
Boot config> prompt.
*config
Config>boot
TFTP Boot/dump configuration
Boot config>
Boot config>add address
Which interface is this address for [0]?1
New address [0.0.0.0]?10.7.1.8
To boot using a file stored in the router's IBD, enter the name of the file.
Boot config>add boot-entry
remote host or IBD load name [0.0.0.0]gtxseca.rap
To boot using a file that resides on a remote host, specify the host address, next hop router, if necessary, and the path and filename on the host.
Boot config>add BOOT-ENTRY
remote host or IBD load name [0.0.0.0] 128.185.12.49
via gateway (0.0.0.0 if none) [0.0.0.0]? 10.7.1.1
timeout in seconds [10]?
file name? gtx4_0.rap
Boot config>list BOOT-ENTRIES
1: IBD load "gtx4_0.rap"
2: "gtx-sec.rap" on 128.185.123.45 via 10.7.1.1 for 10 secs
Boot config>set BOOT-ENTRY
remote host or IBD load name [gtx4_0.rap]? 128.185.123.45
via gateway (0.0.0.0 if none) [0.0.0.0]? 10.7.1.1
timeout in seconds [10]?
file name [gtx4_0.rap]? gtx-sec.rap
Note: The set boot-entry command replaces the existing boot entry 1 with the boot entry you set using set boot-entry. The above example results in the following boot entries.
Boot config>list boot-entries
1: "gtx-sec.rap" on 128.185.123.45 via 10.7.1.1 for 10 secs2: "gtx-sec.rap" on 128.185.123.45 via 10.7.1.1 for 10 secs
In the first method, the router assigns an identifier, called a Magic Number, to each platform type for the image that is archived and the image that is being restored. If the numbers do not match, the transfer is aborted and the message Bad Magic Number appears.
Each type of router has a unique identifier that does not let you load an image from one type of router to another.
In the second method, the hostname for the router that originally archived the image is compared to the hostname for the router that is restoring the image. If the hostnames do not match, the transfer is paused until you answer the following message, and then the transfer is completed or cancelled.
COPY error -
Got hostname "<hostname>" - is this okay? (Yes or [No]): no
This allows you to bring in the configuration from another router even if the hostname does not match. The configuration needs to be the correct type for your router model.
Since dump files are for diagnostic purposes only, you should enable the router's dump and unique-naming capabilities only on the advice of your customer service representative.
If you enable the router's dump and unique-naming capabilities, you must create directories on the destination server to contain the boot and dump files.
These directories must reside on a host TFTP server.
The boot directories must be globally readable.
The dump directories must be globally writable.
You can configure the router to append a unique character string to the dump filenames automatically. This prevents an existing dump file from being overwritten by subsequent dumps. Unique naming of dump files can, however, cause the server's disk to become full if there are successive dumps. Unique naming may also be incompatible with the security requirements of some TFTP servers. Some servers require that a file already exist on the server to allow writing the dumps.
Configuring Dumping
To configure dumping, do the following from the Boot config> prompt:
Boot config>add address
Which interface is this address for [0]?1
New address [0.0.0.0]?128.185.123.51
Boot config>add dump-entry
remote host [0.0.0.0]10.1.153.73
via gateway (0.0.0.0 if none) [0.0.0.0]? 128.185.123.3
timeout in seconds [10]?
file name []? c:\dump\techpubs.dmp
Note: You should leave the timeout parameter at its default value of 10. Large values (such as 120 seconds) can prevent dumps from completing.
Boot config>enable dumping
Press Space twice after you type a command to display the available parameters for each command for your router. Enter help for information about using the command line interface.
| Command | Function |
| Add | Adds an IP address to a specified interface, a host boot entry, or a host dump entry. |
| Change | Changes the boot interface IP address, boot entry data, or dump entry data. |
| Copy | Copies boot files and configuration files to or from configuration memory and the IBD, and also within the IBD. |
| Delete | Removes files from the IBD or lets you erase banks in your IBD. |
| Describe | Displays information about the stored images in the IBD, for router load files only. |
| Dir | Displays the contents of the IBD along with your complete booting and dumping configuration. |
| Disable | Disables memory dump or unique naming of dump files. |
| Enable | Enables memory dump or unique naming of dump files. |
| List | Displays all network boot addresses, all boot and dump entries, and the contents of the IBD. |
| Load | Initiates the reloading of the router from a local IBD file or from a remote host server. |
| Remove | Removes entries from the interface address and boot and dump configuration databases. |
| Set | Sets the IP address of the interface over which the router boots. Sets which boot entry and which dump entry the router uses. |
| TFTP | Initiates TFTP file transfers between router memory or the IBD and remote hosts. |
| Exit | Leaves the Boot CONFIG environment and returns to the CONFIG process. |
Add
Adds boot/dump parameters to the router's configuration database.
Config> prompt.
CAUTION:
You must add an address if you want the router to boot or dump over the network.
When you add boot entries, you indicate the local network you wish to use; that is, either the host is directly connected or you specify a gateway. The add address command specifies which interface is attached to that local network for the purposes of booting or dumping. This association may be different from when the router is operational.
Multiple boot entries can use the same IP address (interface).
You must enter the add address command if you are using the add boot-entry, add dump-entry, and load remote commands. If you do not configure the local interface first using add address, when you use load remote, the router tells you the first hop is unreachable.
add address
Which interface is this address for [0]?
New address [0.0.0.0] ? 128.185.1.2
Net mask for this interface [255.255.255.0]?
If the router is booting using software stored in its IBD, then you must specify the IBD loadname as the first boot entry in the configuration. You can configure more than one boot device.
Obtain the loadname using the list ibd command. The loadname is case-sensitive.
If the router is booting using software stored on a TFTP server, you must specify the IP address of the remote TFTP server.
Note: The TFTP server can be another router with an IBD.
If the TFTP server is on a remote network (not directly connected to the booting router), you must specify the IP address of the next hop (router) towards the server.
add boot-entry
remote host or IBD loadname [0.0.0.0]? 128.185.30.0
via gateway (0.0.0.0 if none) [0.0.0.0]? 0.0.0.0
timeout in seconds [10]?
file name [ ]? /tftpboot/loads/gt.ldc
To see a list of the current boot configuration, enter list boot-entries.
1: "loads/test.ldc" on 128.185.210.125 via 10.1.153.29 for 3 secs
2: IBD load "latest-test1.ldc"
To view a list of the dump configurations, enter list dump-entries.
Note: You should leave the timeout parameter at its default value of 10. Large values (such as 120 seconds) can prevent dumps from completing.
Example:add dump-entry
remote host [0.0.0.0]? 128.185.162.30
via gateway (0.0.0.0 if none) [0.0.0.0]? 128.185.160.3
timeout in seconds [10]?
file name []? c:\dump\techpubs.dmp
Change
Modifies entries in the existing address, boot-entry, and dump-entry information.
Boot config> prompt. To obtain the interface number (Ifc#), enter list interfaces at the Config> prompt.
Change which entry [1]? 1
Which interface is this address for [0]? 1
New address [192.9.1.1]? 128.185.162.1
Net mask for this interface [255.255.255.0]?
Boot entry number
IP address of the remote host
IP address of the first hop router, if any
TFTP retransmission timer value
Boot filename, if different from the current filename
Boot config> prompt.
change which entry [1]? 1
remote host [18.123.0.16]?
via gateway (0.0.0.0 if none) [0.0.0.0]?
timeout in seconds [3]?
file name [user/lib/gw/gwimage.ldb]?
Dump entry number
IP address of the remote host
IP address of the first hop router, if any
TFTP retransmission timer value
Base boot filename, if different from the current filename
Boot config> prompt to see this information.
change which entry [1]? 1
remote host [18.123.0.16]?
via gateway (0.0.0.0 if none) [0.0.0.0]?
timeout in seconds [3]?
file name [user/lib/gw/gwimage.ldb]? c:\dump\Ollie.dmp
The router cannot be in Config-only mode when you use this command.
You can do the following when using the copy command:
Ctrl P Display the * prompt.
Ctrl C Cancel the copy command.
COPY error - TFTP Disk Full or IBD full appears on the console.
config
The following example shows how to copy a file from configuration memory to the IBD.
Enter source filename? config
Enter destination filename? gt70.cfg
Enter destination filename? config
Enter source filename? gtx-SECA.rap
Enter destination filename? newgtx-SECA.rap
COPYing from "gtx-SECA.rap" to "newgtx-SECA.rap"
COPY succeeded
To see a list of files in your IBD along with a list of what each bank contains, enter list ibd at the Boot config> prompt.
If you are connected to the router using FTP, you can enter the FTP dir command to see a list of files in the IBD. However, this command does not show the contents of each bank.
The following example erases all files in banks 30 through 59.Note: If you use this method of deleting files, you must erase all banks that a file uses.
Example:delete
Loadname or Bank Number:30-59
Are you sure you want to erase banks 30 - 59 ? (Yes or [No]): y
Erasing flash please wait ...
Compacting flash please wait ...
Loadname or Bank Number:gtxseca.rap
Erasing flash please wait ...
Compacting flash please wait ...
describe gt70.ldc
OpenROUTE(tm) Software
OpenROUTE is a registered trademark of Netrix Corp.
Copyright Notices:
Copyright 1985-2000 by Netrix Corp., All rights reserved
Copyright 1984-1987, 1989 by J. Noel Chiappa
Proprietary Rights Notice: All Right Reserved.
GTX-SECA Router OpenROUTE (tm) 9.9.9
Thu Nov 4 07:30:24 2000
Packages:
GTX-SECA
TCP/IP (RIPV2, Triggered RIP, DHCP client, DHCP server)
(OSPF, MOSPF, DVMRP)
(Web Config)
Multilink PPP with Compression, PAP, CHAP
Frame Relay
X.25/XTP
DIAL
Network Address Translation - NAT
Secure Filters
Bandwidth Reservation - BRS
Border Gateway Protocol - BGP-4
ISDN
VPN - IPSec : DES, 3DES, Blowfish, DH 768/1024/1536
When you put files to the IBD using FTP, the owner is listed as "user name admin."
When you copy files to the IBD using TFTP or the copy command and console log is turned off, the owner is listed as "unknown admin."
When you copy files to the IBD using TFTP or the copy command and console log is turned on, the owner is listed as "user name admin."
User names longer than 19 characters are truncated.
dir
Files:
lrwxrwxrwx 1 admin admin 0 0 BOOT -> gtx-SECA.rap
-rwxrwxrwx 1 admin admin 0 0 CONFIG
-rw-r--r-- 1 admin admin 1469 April 14 16:36 entcacert2
-rw-r--r-- 1 admin admin 838 April 14 16:36 entreq
-rw-r--r-- 1 admin admin 1772 April 14 16:36 entcertif
-rw-r--r-- 1 admin admin 562 April 14 16:36 entr_req
Free space available 3670016 bytes
Interface Addresses:
1: 10.7.1.17 on interface 0, mask 255.255.255.0
Boot files:
1: IBD load "gtx-SECA.rap"
2: "newfile" on 128.185.123.45 via 10.7.1.1 for 10 secs
3: "anotherfile" on 128.185.123.45 via 0.0.0.0 for 10 secs
4: IBD load "bootentry2"
BOOTP over interface(s): 0
Dumping disabled
Unique-naming disabled
Dump to:1: "dumpfile" on 192.168.1.45 via 10.10.1.5 for 0 secs
unique-naming
Suppresses the automatic unique naming of dump files. After entering this command, enter list all at the Boot config> prompt to verify the unique-naming setting. Unique naming is disabled as the default.
Example: disable unique-naming
Enable
Enables memory dumping and the unique naming of dump files.
Dumping is enabled until you enter disable dumping.
unique-naming
Enables the automatic unique naming of dump files. Adds a random suffix (hexadecimal) between 1 and 5 characters to the configured dump filename during a dump.
If you need more than one instance of the dump file, enable the unique-naming feature. Avoid filling disk storage space with unneeded dump files. Some UNIX hosts are not capable of accepting this feature.
Dump files include unique names until you enable disable unique-naming.
Exit
Returns to the previous command level. For example, if you are at the Boot config> prompt and enter exit, you go back to the Config> prompt.
exit
Config>
Interface addresses:
1: 192.9.1.1 on interface 0, mask 255.255.255.252
2: 192.9.223.39 on interface 5, mask 255.255.255.0
Files:
lrwxrwxrwx 1 admin admin 0 0 BOOT -> gtx-SECA.rap
-rwxrwxrwx 1 admin admin 0 0 CONFIG
-rw-r--r-- 1 admin admin 1469 April 14 16:36 entcacert2
-rw-r--r-- 1 admin admin 838 April 14 16:36 entreq
-rw-r--r-- 1 admin admin 1772 April 14 16:36 entcertif
-rw-r--r-- 1 admin admin 562 April 14 16:36 entr_req
Free space available 3670016 bytes
Interface Addresses:
1: 10.7.1.17 on interface 0, mask 255.255.255.0
Boot files:
1: IBD load "gtx-SECA.rap"
2: "newfile" on 128.185.123.45 via 10.7.1.1 for 10 secs
3: "anotherfile" on 128.185.123.45 via 0.0.0.0 for 10 secs
4: IBD load "bootentry2"
BOOTP over interface(s): 0
Dumping disabled
Unique-naming disabled
Dump to:1: "dumpfile" on 192.168.1.45 via 10.10.1.5 for 0 secs
1: /usr/lib/gw/this-dn.ldb on 192.9.1.2 via 0.0.0.0 for 3 secs
2: /usr/lib/gw/this.ldb on 192.9.2.2 via 192.9.1.4 for 3 scs
3: IBD load "test"
1: "dumps/rbx-51.dmp" on 128.185.210.125 via 128.185.123.28 for 3 secs
Montior> prompt. It displays Name of the file
Server from which the file was loaded
Erased and faulty banks of the IBD, along with the faulty chips, if necessary
list ibd
Banks 1-9 contain load "gtx.rap" which uses 545421 bytes
Loaded using TFTP over IP
Filename gtx.rap
Host 128.185.1.11
Banks 10-14 have been erased
Boot config> prompt is an alternative to typing reload at the * prompt.
You must have a load file in the IBD to use load local successfully.
Note: If the software does not find the load file, it goes into the boot monitor and does an autoboot or manual boot, depending on the setting of your boot switch.
Example:load local
Loadname:gtx-SECA.rap
Are you sure you want to reload the gateway?(Yes or [No]): y
PROM Load/Dump Program * Revision: 3.00 *
Copyright 1985-2000 Netrix Corp. All rights reserved
Loading using IBD Load Image "gtx-SECA.rap"
-
Starting at 80500000
Wrapper Extractor Program * Revision: 1.00 *
Copyright 1985-2000 Netrix Corp. All rights reserved
Loading using IBD Load Image "gtx-SECA.rap"
------------------------------
Starting at 8003000
Boot config> prompt and enter the remote host address, remote pathname, first hop address, and TFTP timeout value after the prompts.
load remote
Remote Host Address[0.0.0.0]? 128.185.210.125
Remote Pathname[ ]? /loads/gt70.ldc
First Hop Address[0.0.0.0]? 128.185.208.38
TFTP Timeout Value[3]?
Are you sure you want to reload the gateway(Yes or No): yes
Remove
Removes entries from the interface address, BOOTP interface, and boot and dump configuration databases.
When you enter remove address, a prompt appears for the entry you want to delete. To see address entry numbers, enter list addresses at the Boot config> prompt.
To verify the deletion, enter list addresses.
delete which entry [1]? 2
Boot config> prompt. The boot-entry number is the first number that appears on each line.
delete which entry [1]? 2
Boot config> prompt. The dump-entry number is the first number that appears on each line.
delete which entry [1]? 1
Which interface is this address for [0]?
New address [10.7.1.17]?
Net mask for this interface [255.255.255.0]?
To change boot entry 1 to a different file, use the set boot-entry command. The following example sets the router to boot using boot entry 2.Boot config>list BOOT-ENTRIES
1: IBD load "gtx4_0.rap"
2: "gtx-sec.rap" on 128.185.123.45 via 10.7.1.1 for 10 secs
Note: The set boot-entry command replaces the existing boot entry 1 with the boot entry you set using set boot-entry. The above example results in the following boot entries.remote host or IBD load name [gtx4_0.rap]? 128.185.123.45
via gateway (0.0.0.0 if none) [0.0.0.0]? 10.7.1.1
timeout in seconds [10]?
file name [gtx4_0.rap]? gtx-sec.rap
Boot config>list boot-entries
1: "gtx-sec.rap" on 128.185.123.45 via 10.7.1.1 for 10 secs
2: "gtx-sec.rap" on 128.185.123.45 via 10.7.1.1 for 10 secs
change which entry [1]?
The router acts as a TFTP client. The remote host is any device (for example, router, workstation, PC) running IP and acting as a TFTP server. The router cannot be in Config-only mode.
Typing tftp get and tftp put locks the CONFIG process for the duration of the operation. You can do the following:
Ctrl P Display the * prompt.
Ctrl C Cancel the TFTP operation.
Note: Do not press the reset switch or power off the router while it is performing tftp get. Doing this leaves the destination memory in an inconsistent and invalid state. That is, you get a portion of a configuration or load and it looks like it is valid.
Syntax: tftpIf the TFTP transfer is unsuccessful, a detailed error message appears on the screen. While transferring a file to CONFIG, the following message appears on the screen:TFTP transfer complete, Status: OK
If you attempt to transfer a file to an IBD and there is not enough room on the IBD, the following message appears:Updating CONFIG: Do Not Interrupt!
Erase one or more banks to make room.No Free IBD Bank
CAUTION:Example:
Do not reset or power off the router while the updating of the configuration memory is in progress. This can corrupt the data in the configuration memory, forcing you to reconfigure the router.
tftp get
Enter local filename [CONFIG]?
Enter remote host's IP address or name in host table? 128.185.227.58
Enter path/filename of file on remote host []? configs/v1-28.cfg
TFTP transfer complete, status: OK
put
Transfers a file to the server from the router. The server acknowledges the request and the client transfers the file. This cycle continues until the transfer is complete and the following message appears:
To transfer a file into another router's configuration memory or IBD, log into the destination router and enter tftp get.TFTP transfer complete, Status: OK
To transfer a router's configuration file into the router's configuration memory, enter tftp get or copy commands at the Boot config> prompt.
Syntax: tftp put local filename remote host address path/filename
Example:tftp put
Enter local filename [CONFIG]? IBD/GT70.ldc
Enter remote host's IP address or name in host table? 128.185.227.58
Enter path/filename of file on remote host []? gt70.ldc
TFTP transfer complete, status: OK
If you try to put a configuration file on another router's IBD, the result is an access violation.
To cancel a TFTP transaction, press Ctrl C. Enter yes.
The tftp command generates the following error messages:Are you sure (Yes or No):yes
| Error Message | Meaning |
|---|---|
| Unknown Error | Protocol failure. |
| File Not Found | Specified host file does not exist. |
| Access Violation | File protection error. |
| Disk Full | File system full during write. |
| Illegal Operation | Undefined TFTP operation requested. |
| Unknown TID | Unexpected TFTP packet received. |
| File Already Exists | File already exists. |
| No Such User | TFTP not supported on host. |
| Bad Magic Number | Configuration file from a different type of router. |
Displaying the FTP Server Prompts
To display the FTP Server configuration prompt (FTP Server Config>),
Config> prompt, enter protocol ip to display the IP configuration prompt.
Config>protocol IP
IP config>
IP config>ftp
FTP Server Config>
FTP Server>), Montior> prompt, enter protocol ip to display the IP monitoring prompt.
Montior>protocol IP
IP>
IP>ftp
FTP Server>
Press Space twice after you type a command to display the available options for each command. Enter help for information about using the command line interface.
[C] means the command is available at the FTP Server Config> prompt.
[M] means the command is available at the FTP Server> prompt.
| Command | Function |
|---|---|
| List [C] [M] | Displays your FTP server configuration. |
| Set [C] | Sets the port number on which the FTP server listens, the number of simultaneous FTP sessions you can run, and a timeout period for sessions. |
| Status [M] | Displays the current status of the router's FTP server. |
List [C] [M]
Displays your FTP server configuration.
list
FTP Server Configuration
Port = 21, Max Sessions = 4, Timeout = 300 sec
The valid range is 1 to 65535. The default is 21.
sessions
Sets the maximum number of simultaneous FTP sessions to the router's FTP server. For better control over remote loading and booting, you may want to limit the number of sessions allowed to 1. The default value allows up to 4 sessions.You can have up to 8 sessions.
Maximum simultaneous sessions.
Enter a number from 1 to 8 (inclusive)
The default is 4
Timeout waiting for user command (seconds).
Enter a number from 60 to 600 (inclusive)
The default is 300
status
ClientAddress IdleTime DataConnection User
192.168.1.45 0 192.168.1.45:2674 sqa