r4000 Utility

Host System Utilities - r4000 Utility

The r4000 utility is a command line based utility that allows an administrator to manage the contents of the port server's flash memory from a host system. This utility allows you to:

  • upload configuration files or software updates to the port server,
  • download configuration files, operational software, syslog data and trace data from the port server,
  • reboot the port server.  

Currently supported hosts include:  

  • SunOS 4.1  
  • Windows 95/98/NT/XP  
  • Linux 2.2.12-20 Intel  
  • SCO OpenServer Release 5  
  • Solaris Sparc 2.3 (SunOS 5.3)  
  • SunOS 4.1.3
  • SunOS 4.1.3

Call customer support or visit our web site at http://www.systech.com to check for other versions. 

Syntax

 

r4000 {port servername} [-U user_passwd] [-A admin_passwd] [-u bdnl_file] [-d def_bdnl] [-c curr_bdnl} {-s syslog_fn] [-f firmware] [-o onboard_os] [-p prod_data] [-R #minute]

where port servername can be either a name or an IP address.

If invoked without any optional arguments, r4000 requests the user and admin passwords and then displays a simple menu of options. Or the passwords and options may be entered at the command line, allowing the utility to be invoked from a script file or from a shell command window.

Flags

-U user_passwd
User password for port server. If U is used without specifying a user_passwd, the default user password is used. If U is used, it MUST FOLLOW THE port server HOSTNAME.
-A admin_passwd
Admin password for port server. If A is used without specifying an admin_passwd, the default admin password is used. If A is used, it MUST FOLLOW THE USER PASSWORD(-U) SWITCH.
-u bdnl_file
bdnl_file is the name of a bdnl file to upload to an port server. This file may be a configuration file or operational software.
-d def_bdnl
Download default configuration from port server and save it under def_bdnl filename.
-c curr_bdnl
Download current configuration from port server and save it under curr_bdnl filename.
-s syslog_fn
Download syslog data from port server and save it under syslog_fn filename.
-f firmware
Download flash firmware from port server and save it under firmware filename.
-o onboard_os
Download onboard operational software from port server and save it under onboard_os filename.
-p prod_data
Download flash product data from port server and save it under prod_data filename.
-R #minute
Reboot the port server in #minute minutes. If R is used without specifying the number of minutes, the port server will reboot immediately. WHEN USED, THIS OPTIONAL SWITCH MUST ALWAYS BE THE LAST ONE ON THE COMMAND LINE.

Examples

The following command downloads a configuration from the port server with the IP address of 198.130.71.21, using the default user and admin passwords.  

r4000 198.130.71.21 -U -A -c savecurr.rcs

The following command uploads a saved configuration to the port server that is named, rcs6, using passwords that have been changed, and reboots the port server in 5 minutes.  

r4000 rcs6 -U userp -A adminp -u savecurr.rcs -R 5

The following command uploads new software to the port server that is named, rcs6, using passwords that have been changed, and reboots the port server immediately.

r4000 rcs6 -U userp -A adminp -u rcs4000_05a.bdnl -R