Table 6-2 lists the general-purpose commands you can use in remote configuration files and for interactive configuration through a TELNET connection. Table 6-3 lists commands for interactive configuration through a TELNET connection only. Bold text indicates a parameter name, square brackets ( [ ] ) indicate command options, and bold italic text indicates a variable.
Table 6-2 Configuration Commands for Files and Interactive Use
Assigning Values to Configuration Parameters
Values can be set through simple assignment statements or in tables. Parameter names, permitted values, and table entry names for all read/write parameters are given in the Remote Configuration Parameter Quick Reference.
Simple Assignment Statements
boot-tcpip-desired-server = 192.43.153.16
set boot-tcpip-desired-server = 192.43.153.16
The end of a simple assignment statement is indicated by a newline or carriage return.
Tables and Rows
exec-startup-commands = {
{ wm }
{ term }
{ "login eagle" }
}
exec-startup-commands[4] = { lat }
To add a row to the end of a table, use the index number -1. For example:
exec-startup-commands[-1] = { lat }
serial-interfaces-table[1]baud-rate = 9600
serial-interfaces-table[1] = {(baud-rate = 9600)}
Specify an empty table or empty row in a table as follows:
config-access-control-list = { }config-access-control-list[2] = { }
The following list describes the types of values used in remote configuration parameters.
boot-automatically = defaultboot-automatically = true
boot-automatically = onboot-automatically = true
boot-automatically = yes
Parameters for which there is a default directory accept relative pathnames as well.
Syntax Rules
Syntax rules for setting remote configuration parameter values are described in the following list:
boot-automatically = true
Boot-automatically = True
BOOT-AUTOMATICALLY = TRUE
boot-automatically=true
boot-automatically = true
boot-automatically \
= \
true
Comments
#Set to local to ensure that terminal
#boots from PCMCIA card instead of network host
boot-desired-source = local
Comments can also be appended to a line. For example:
boot-desired-source = local #Boot from PCMCIA
- Note:
- Do not append comments to a line in statements that extend for more than one line.
The only exception to this rule is the unit-license-key parameter, which must be assigned for each license key when using node licensing. For more information about licensing, see the System Administrator's Guide.
Listing Commands in Order
#Set the name service parameters
tcpip-name-server-protocol = dns
tcpip-name-servers = { 192.43.153.16 192.43.153.24 }
apply
#Set a parameter to a host name
boot-tcpip-desired-server = peregrine
- Note:
- The parameters that specify the name service must be followed by an apply command.
If a parameter is assigned more than once in a configuration file, the last assignment supersedes all previous assignments.
Saving Parameters in NVRAM
The config-auto-save-nvram parameter determines whether parameters are saved automatically to NVRAM (Change Setup Parameters -> Configuration [Configuration Daemon section] -> Auto Save NVRAM) . For more information about auto-save, see " Configuring the Apply Command" on page 6-34.