Read - Bay Networks 6300 Supplement Manual

Supplement to the remote annex administrator’s guide for unix
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Book C
Remote Annex 6300 Supplement to the Remote Annex Administrator's Guide for UNIX

read

The read command requires superuser privileges.
The read command reads a script file that contains na commands. The
na program executes these commands as if they were entered at a terminal
in interactive mode. Use read either to restore an RA 6300 configuration
that has been lost, or to copy parameter settings from one RA 6300 to
another. The syntax is:
read filename
You can create script files using a text editor or the write command.
If you plan to use LAT or a feature enabled through the option_key
parameter, set the lat_key and option_key parameters manually (using
na or admin) and reboot the RA 6300 before issuing the read command.
Also, make sure the script file does not contain a different option_key
setting; if it does, delete the setting before issuing a read.
The read command loads parameters even if the subsystem
is disabled.
The following sample script file, called testscript, modifies RA 6300
parameters:
# standard parameters for RA 6300s on our network
set annex pref_load_addr 132.245.6.63
set annex pref_dump_addr 132.245.6.63
set annex load_broadcast Y
set annex name_server_1 dns
set annex pref_name1_addr 132.245.6.9
set annex cli_prompt "%n%s%p%c"
set annex daylight_savings usa
set annex enable_security Y
set annex vcli_security Y
set annex syslog_mask all
set annex syslog_host 132.245.6.9
Use this script as follows:
command: annex thirdfloor,frontlobby,backhall
command: read testscript
Chapter 1
na Commands
C-17

Advertisement

Table of Contents
loading

Table of Contents