NetWare Console Commands

Console commands, such as MOUNT , are executed by typing a command at the server console. You can also execute console utilities from remote sessions, through NoRM or ConsoleOne.

In general, you use console commands to change some aspect of the server or view information about it. Console utilities are built into the core NetWare 6.5 operating system modules, such as SERVER.EXE, DS.NLM, NSS.NLM, and so on. As such, no additional files are loaded in order to execute them. For convenience, and in addition to the console commands, a few executable and NCF files have also been listed, for lack of a better category in which to put them.

Use the HELP command to see a list of all console utilities, or type HELP < utility name > to see a brief synopsis a console utility. For example:

 
 HELP mount 

This section does not list every single console command due to the sheer number of them. NetWare 6.5 currently has upward of 200 console commands. Rather, we have tried to include the most relevant, and also the lesser known, console commands related to administration of a NetWare 6.5 server. Some commands that are left over from prior versions, or that relate more to development than administration, have been excluded.

ABORT REMIRROR

Stops disk partitions from remirroring. Use the following command format, replacing number with the number of the logical disk partition you want to stop from remirroring:

 
 ABORT REMIRROR  number  

ACTIVATEMODULE

Allows you to manually load a driver that is normally pre-loaded from the STARTUP.NCF file. It is useful for testing new configurations or load options on pre-loaded drivers.

 
 ACTIVATEMODULE <  module name  > 

ADD PROGRAM

Adds a specified program to the stage n load template. Make sure that your NLM is compatible with the type of NLM required at the specific stage, or it will not load. Use the following syntax, replacing program name with the name of the NLM to load and n with the stage at which the NLM should be loaded:

 
 ADD PROGRAM <  program name  > TO STAGE <  n  > 

For more information on NetWare 6.5 load stages, see the LOADSTAGE command.

ALERT

Controls how the server handles alerts if you are using SNMP network management tools. You can turn on and off specified types of alerts, control where they are displayed or recorded, and so on. Use the following command format, substituting the alert number for nmID (optional) and one of the options listed in Table C.1 for option . Then choose ON or OFF for the specified alert and option you have chosen . You can specify only one option at a time, unless you use the ALL option, which sets the Log, Console, Everyone, and Bell options simultaneously . To specify more than one option, repeat the ALERT command multiple times, using a different option in each command.

 
 ALERT <  nmID  > <  option  > ONOFF 
Table C.1. ALERT Commands

OPTION

DESCRIPTION

Event

When set to ON, generates an event when the alert occurs. When set to OFF, an event is not generated.

Log

When set to ON, records the alert message in a log file.

Everyone

When set to ON, sends the alert to all network users who are logged in.

Console

When set to ON, displays the alert message on the server's console.

Bell

When set to ON, sounds a warning noise when the alert occurs.

ID

When set to ON, displays ID information (used only in older alert messages).

Locus

When set to ON, displays locus information (used only in older alert messages).

Alert

When set to ON, generates the alert.

Nmid

When set to ON, causes the alert nmID to appear in the alert message.

All

When set to ON, turns on the Log, Console, Everyone, and Bell commands at the same time.

ALIAS

Creates a shortcut to a particular console utility or command. Use the following syntax, replacing alias with the new command you want to be able to type, and replacing command with the original utility name or command you want to execute when you type the alias:

 
 ALIAS <  alias  > <  command  > 

APPLET or APPLETVIEWER

Used to execute a Java-based applet. Type the following command, substituting the applet's filename for html_file :

 
 APPLET <  html_file  > 

To execute a Java application, see the JAVA console utility.

BIND

Assigns a protocol, such as IP or IPX, to a LAN driver or network board. Any configuration parameters you specify when you load the LAN driver must also be added to the BIND command so that the protocol is bound to the correct board. You can place BIND commands in AUTOEXEC.NCF so that they are permanent.

Use the following syntax, replacing protocol with the name of the protocol, driver with the name of the LAN driver or network board, and parameters with any necessary driver or protocol parameters:

 
 BIND  protocol driver parameters  

Table C.2 describes the most common BIND parameters for the different protocols.

Table C.2. Common BIND Parameters

DRIVER PARAMETER

DESCRIPTION

DMA= number

Indicates the DMA channel the board should use.

FRAME= type

Indicates the frame type (Ethernet or token ring) this board should use. The available frames types are

Ethernet_II (default for IP)

Ethernet_802.2 (default for IPX)

Ethernet_802.3

Ethernet_SNAP

Token Ring

Token-Ring_SNAP

INT= number

Indicates the interrupt (in hex) the board should use.

MEM= number

Indicates the memory address the board should use.

NODE= number

Indicates the board's node address.

PORT= number

Indicates the I/O port the board should use.

SLOT= number

Indicates the slot in which the board is installed.

BINDERY

Adds or deletes a bindery context in the list of bindery contexts this server uses. To add a bindery context to a server, use the following command format, substituting a valid context for context :

 
 BINDERY ADD CONTEXT = <  context  > 

To delete a bindery context from a server, type

 
 BINDERY DELETE CONTEXT = <  context  > 

BROADCAST

Sends a short message from the server console to users on the network. To send a message to a user , use the following command format, replacing message with the message you want displayed (no more than 55 characters long) and user with either the name of the user or the workstation's connection number:

 
 BROADCAST "  message  " <  user  > 

To send the message to multiple users, separate each username or connection number with a comma or space. To send the message to all users, don't specify a username. (You can also use the SEND console utility to accomplish the same thing.)

C1START.NCF

Starts the graphical server desktop and loads ConsoleOne at the same time. Java-based applications, such as ConsoleOne, can execute only from the graphical server desktop.

CDBE

There are four hidden commands associated with the Configuration Database Engine (CDBE.NLM). CDBE manages the loading of NLMs during the NetWare 6.5 startup sequence. Information includes version number, location, and database file information. Little explanation of the commands is available, but they are CDBE EDIT , CDBE ERRLVL , CDBE INFO , and CDBE VALIDATE .

CLEAR STATION

Closes a workstation's open files and removes the workstation's connection from the server. This is necessary only if the workstation has crashed and left files open and the user can't log out normally.

Use the following syntax, replacing number with the workstation's connection number (as seen in MONITOR.NLM) or the word ALL to clear all connections:

 
 CLEAR STATION  number  

CLS

Clears the server's console screen.

CM BUSY

Displays a list of all connections that are currently using server processing cycles.

CM CONN

Displays current information about the specified connection number, including node address and status. Use the following syntax:

 
 CM CONN <  connection number  > 

You can find connection numbers with NoRM, in the Connections page, or with MONITOR.NLM; select Connections.

CM KILL

Kills the specified connection number. Use the following syntax:

 
 CM KILL <  connection number  > 

You can find connection numbers with NoRM, in the Connections page, or with MONITOR.NLM; select Connections.

CM STATS

Displays current Connection Manager statistics.

CONFIG

Displays configuration information about the server. This utility displays the following information:

  • The server's name

  • The server's internal network number

  • The LAN drivers that are loaded on the server

  • The server's hardware settings

  • The protocols the server is currently supporting

  • The node address of each network board installed in the server

  • The server's tree name

  • The server's bindery context

CPUCHECK

Displays information about the server's processor, such as the CPU speed, model, and cache. If the server has more than one processor, typing CPUCHECK will display information about all the server's processors. To see information about only one of the processors, use the following command format, substituting the processor number for number :

 
 CPUCHECK <  number  > 

CSET

Lets you to display and set server ( SET ) parameters by category. Use the following syntax, substituting the parameter category for category :

 
 CSET <  category  > 

For example, to see each server parameter in the Memory category, and to be given the opportunity to change each one as it is displayed, type

 
 CSET MEMORY 

This is much easier done from NoRM or even MONITOR.NLM. For a complete list of SET parameter categories, see the NetWare SET parameters section later in this appendix.

CWD

Current Working Directory. This command displays the current default DOS path . Usually this is C:\NWSERVER .

DELAY

This command is typically used in NCF files to delay execution of a command in order to let another complete. You can delay up to 300 seconds. Use the following syntax:

 
 DELAY <  number of seconds  > 

DISABLE LOGIN

Prevents users from logging in to the server (such as when you want to perform maintenance on the server). Users who are already logged in won't be affected, but additional users cannot log in. To allow users to log in again, use ENABLE LOGIN .

DISABLE TTS

Disables TTS (NetWare's Transaction Tracking System) on traditional NetWare volumes. If you want to use TTS with NSS logical volumes , you need to use DISABLE TTS to shut TTS down on any traditional volumes you might have. Refer to Chapter 8, "File and Storage Management," for more information.

DISMOUNT

Dismounts a volume (usually in preparation for repairing or deleting a volume). Use the following command format, replacing volume with the name of the volume you want to dismount:

 
 DISMOUNT <  volume  > 

DISPLAY

There are several commands associated with displaying certain server statistics, configuration, or service information in NetWare 6.5. A few of the more interesting ones include

  • DISPLAY DEVICE STATS : Displays basic statistics on individual storage devices attached to the server. Information is organized by device ID.

  • DISPLAY ENVIRONMENT : Displays the current values of all server parameters.

  • DISPLAY INTERRUPTS : Displays information about the interrupt handler and interrupt statistics on the server. To see more detailed information, use the following syntax, substituting one of the options listed in Table C.3 for option :

     
     DISPLAY INTERRUPTS <  option  > 
    Table C.3. DISPLAY INTERRUPTS Options

    OPTION

    DESCRIPTION

    n

    Displays information for the specific interrupt number (replace n with the interrupt number). To display information for more than one interrupt, separate each interrupt number with a space.

    ALL

    Displays information about all interrupts.

    ALLOC

    Displays information for allocated interrupts.

    PROC

    Displays interrupt information by processor.

    REAL

    Displays the interrupts that occurred while the operating system was in real mode, and that were sent to protected mode for servicing .

  • DISPLAY MODIFIED ENVIRONMENT : Displays the server parameters that have been changed from their default values. This utility displays both the current value and the original default value. You can also view this information from NoRM in the SET parameters page.

  • DISPLAY NETWORKS : Displays a list of all the networks (shown by their network numbers) that this server recognizes. It also displays how many hops (different network segments separated by a router) away these networks are, and the time in ticks (1/18 of a second) it takes for a packet to reach these networks.

  • DISPLAY SERVERS : Displays a list of all the servers that this server recognizes and records in its router table. It also displays how many hops (different network segments separated by a router) away those servers are. Use the following syntax:

     
     DISPLAY SERVERS <  server  > 

    To see information about a single server, or subset of servers that start with the same letters , replace <server> with a server's name, or use the wildcard character to display multiple servers that begin with the same letters, such as B* .

DOWN

Shuts down the server cleanly. This command closes any open files, writes any data left in the cache buffers to the disk, and so on, so that server files will not be damaged when you shut down the server.

After you've brought down the server with the DOWN command, you can safely turn off the computer.

ECHO OFF

Disables the displaying of the commands that are executed from NCF files. Similar in operation to the Echo command in DOS.

ECHO ON

Enables the displaying of the commands that are executed from NCF files. This is the default. Similar in operation to the Echo command in DOS.

ENABLE LOGIN

Allows users to log in using this server. This is necessary only if you have used DISABLE LOGIN to prevent logging in.

ENABLE TTS

Restarts TTS (Transaction Tracking System) on traditional NetWare volumes after it has been disabled. Remember, you can enable transaction tracking for either traditional or logical volumes, not both simultaneously. Refer to Chapter 8 for information on enabling TTS on logical volumes.

ENVSET

Displays and modifies global environment variables for the server. To display all environment variables , type

 
 ENVSET 

To set or modify an environment variable, type the following command, substituting the variable you want for variable , and substituting a string or value for value :

 
 ENVSET <  variable  > = <  value  > 

If you leave value blank after the equal sign, the variable is removed from the environment.

EXTCHECK

Performs a Java Extensions Directory Check. Use the following syntax:

 
 EXTCHECK -verbose <  jar file  > 

FILE SERVER NAME

Sets the server's name. Use the following command format, substituting the new server name for name :

 
 FILE SERVER NAME <  name  > 

WARNING

Changing the name of your NetWare 6.5 server will break all your license associations in eDirectory. You will have to use iManage to reassign the appropriate licenses. For more information on licensing, refer to Chapter 1, "NetWare 6.5 Server Installation."


HELP

Provides help for console commands. To see a list of available console utilities, type HELP . To display help for a specific console utility, use the following syntax, replacing utility with the name of the console utility whose help file you want to read:

 
 HELP <  utility  > 

HTTPBIND

Binds the specified IP address to HTTPSTK.NLM for use by HTTP services. Use the following syntax, substituting the IP address you want to bind for ip address :

 
 HTTPBIND <  ip address  > [/KEYFILE: <  key filename  >] 

The optional KEYFILE parameter lets you specify the server certificate object that will be used with this IP address for SSL communications. For example:

 
 HTTPBIND 137.65.192.4 /KEYFILE: "SSL Certificate IP" 

HTTPCLOSEPORT

Closes the TCP port on all IP addresses bound to the protocol stack HTTPSTK.NLM. Use the following syntax, substituting the port number you want to close for IP Port .

 
 HTTPCLOSEPORT <  IP Port  > 

HTTPOPENPORT

Opens a TCP port on all IP addresses bound to the protocol stack HTTPSTK.NLM. Use the following syntax, substituting the port you want to open for IP Port :

 
 HTTPOPENPORT <  IP Port  > [/SSL] 

The optional /SSL parameter enables SSL on the port you are opening.

HTTPUNBIND

Unbinds the specified IP address from HTTPSTK.NLM. Use the following syntax, substituting the address you want to unbind for ip address :

 
 HTTPUNBIND <  ip address  > 

IDCACHE CONN

Displays legacy fileserver ID cache information for the specified connection number. Use the following syntax:

 
 IDCACHE CONN <  connection number  > 

You can find connection numbers with NoRM (Connections page) or with MONITOR.NLM (select Connections).

IDCACHE STATS

Displays legacy fileserver ID cache statistical information.

 
 IDCACHE STATS <  connection number  > 

You can find connection numbers with NoRM, in the Connections page, or with MONITOR.NLM; select Connections.

IPX INTERNAL NET

Sets the server's internal IPX network address. NetWare 6.5 refers to this parameter as the network number .

JAR

This utility lets you create Java Archive files (.JAR). See the Novell documentation for more information.

JAVA

Use this command to execute a Java-based application. The version of the command you type depends on how you want the application to run. If the application doesn't require user input, or if it runs in a graphical user interface, type the following command, substituting the application's name for class :

 
 JAVA  class  

If you want to use options with this command, use the following command format, substituting one of the options in Table C.4 for options . Remember to precede each option with a minus sign ().

Table C.4. JAVA Options

OPTION

DESCRIPTION

HELP

Displays help for the JAVA command.

NWHELP

Displays help for NetWare-specific options for the JAVA command.

CLASSPATH dir;dir;...

Specifies the directories in which to search for classes.

D property = value

Redefines a property's value.

DEBUG

Enables remote Java debugging.

ENV variable

Sets an environment variable for the Java application.

EXIT

Exits all currently running Java applications and unloads Java from the server.

KILL id

Kills a running Java application. (To see the id of a particular Java application, use the -SHOW option.)

MS number

Sets the initial Java heap size.

MX number

Sets the maximum Java heap size.

NOASYNCGC

Prevents asynchronous garbage collection.

NOCLASSGC

Prevents class garbage collection.

NOVERIFY

Prevents verification of any class.

NS

Brings up a separate console screen for the application. Use if the application is text-based and requires user input.

OSS number

Sets the Java stack size for a process.

PROF

Sends profiling data to ./java.prof .

SHOW

Displays all currently running Java applications.

SS number

Sets the C stack size of a process.

VERBOSE

Turns on verbose mode (which displays informational messages).

VERBOSEGC

Displays a message whenever garbage collection occurs.

VERIFY

Verifies all classes when they are read in.

VERIFYREMOTE

Verifies classes that are read in over the network (this is the default setting).

VERSION

Displays the build version number of Java.

Vm size

Specifies a specific amount of virtual memory for the Java application to use. Substitute the amount of memory (in megabytes) for size . The default size is 32MB.

KF8 OFF

Disables pausing between commands executed from NCF files.

KF8 ON

Enables pausing between commands executed from NCF files.

LANGUAGE

Changes the language that displays when NLMs are loaded. This will not change the language of the operating system or of NLMs that are already loaded. It only affects the NLMs that are loaded after this utility is executed. To display the current language being used by NLMs, type

 
 LANGUAGE 

To display a list of all available languages, type

 
 LANGUAGE LIST 

To change the language to be used by subsequently loaded NLMs, use the following command format, replacing name with either the name or number of the language:

 
 LANGUAGE <  name  > 

LIST DEVICES

Displays a list of all the storage devices you have installed on the server, such as CD-ROM drives, disk drives, tape drives , and external storage systems.

LIST FAILOVER DEVICES

Displays a list of all the failover devices found, and the paths associated with each device. Use the following syntax:

 
 LIST FAILOVER DEVICES <  device id  > 

<device id> is optional. If included, only the paths associated with the specified device will be displayed.

LIST PARTITIONS

Displays all partitions associated with storage devices attached to this server. User the following syntax:

 
 LIST PARTITIONS  <deviceid>  

<device id> is optional. If included, only the partitions associated with the specified device are displayed.

LIST STORAGE ADAPTERS

Lists all the server's storage adapters and HAMs (host adapter modules), and their associated storage devices.

LIST STORAGE DEVICE BINDINGS

Lists all the HAMs (host adapter modules) that are bound to a storage device, such as a disk drive. Use the following command format, substituting the storage device's number for number :

 
 LIST STORAGE DEVICE BINDINGS <  number  > 

To see the device number for a storage device, use the LIST DEVICES console utility.

LOAD

Used to load NLMs on the server. However, in NetWare 5, using the LOAD command is optional; you can load NLMs simply by typing their name. If you want to use LOAD , use the following syntax, replacing module with the name of the NLM you're loading (you don't need to include the .NLM extension in the module name):

 
 LOAD <  module  > 

To unload an NLM, use the UNLOAD console utility.

LOADSTAGE

Executes a specific NetWare 6.5 load stage. What happens during a given load stage is governed by the load order template. The template consists of 32 stages. Stages 05 are defined as kernel stages, and stages 631 are user stages. Stages consist of template entries for each NLM to be loaded, the NLM load order, and a path to the NLM. Subsequent load stages generally have dependencies on all stages that execute previously.

  • STAGE K (Kernel Startup stage): This is the first stage to execute and is not configurable. It loads the NetWare Configuration DataBase Engine (CDBE.NLM). After the kernel initializes, it loads NWKCFG.NLM, which starts loading NLMs by stage. NWKCFG.NLM uses the CDBE engine to determine when to load each NLM.

  • STAGE 0: This stage executes prior to the STARTUP.NCF. It generally loads extended kernel services, which have no dependencies except storage services. The only functions required by Stage 0 NLMs are provided by the OS kernel (memory, threads, and so on).

  • STAGE 1: This stage executes after the STARTUP.NCF and before SYS volume mounts. NLMs that load during this stage, such as FILESYS.NLM, require only kernel services and storage services.

  • STAGE 2: This stage executes after SYS volume mounts but before AUTOEXEC.NCF runs. Examples include NCP.NLM and UNICODE.NLM.

  • STAGE 3: This stage executes before the AUTOEXEC.NCF and before the Name Service Loader. Examples include DSLOADER.NLM and SLP.NLM.

  • STAGE 4: This stage executes after the Name Service Loader but before the AUTOEXEC.NCF. Examples include DS.NLM and TIMESYNC.NLM.

  • STAGE 5: This stage executes after the AUTOEXEC.NCF has run. Examples include HWDETECT.NLM and LOADIMG.NLM.

Use the following syntax, substituting the name of the stage or the word ALL for name :

 
 LOADSTAGE <  name  > 

For more information on adding NLMs to a specific stage, see ADD PROGRAM .

LOGGERPATH

Specifies the directory where LOGGER.TXT is stored. By default, LOGGER.TXT is stored in C:/NWSERVER . If the path you specify does not exist, it will be created. You can specify any directory on SYS: or the DOS partition. Use the following syntax:

 
 LOGGERPATH =  <path to location for logger.txt>  

LOGGERSAVE

Saves the logger screen buffer to the file LOGGER.TXT. By default, LOGGER.TXT is stored in C:\NWSERVER . However, this location can be changed with the LOGGERPATH command.

MAGAZINE

If the server prompts you to insert a new media magazine during some task, use this utility to indicate to the server that you've inserted or removed a media magazine. Use the following command format, replacing option with one of the options listed in Table C.5:

 
 MAGAZINE <  option  > 
Table C.5. MAGAZINE Options

OPTION

DESCRIPTION

Inserted

Tells the server you've inserted the media magazine.

Not Inserted

Tells the server that you have not inserted the media magazine.

Removed

Tells the server that you have removed the media magazine.

Not Removed

Tells the server that you have not removed the media magazine.

MAILTO

Mails a message to the specified user on the network. Use the following syntax:

 
 MAILTO <  mail to  > <  mail subject  > <  message  >  @filename  
  • mail to : Specify the name of the network user.

  • mail subject : Specify the contents of the email subject line.

  • message : Specify the message to be sent.

  • @filename : (Optional) You can append a file attachment by specifying the full path and name of the file to attach.

MEDIA

If the server prompts you to insert a specified storage medium during some task, use this utility to indicate to the server that you've inserted or removed the medium. Use the following command format, replacing option with one of the options listed in Table C.6:

 
 MEDIA <  option  > 
Table C.6. MEDIA Options

OPTION

DESCRIPTION

Inserted

Tells the server you've inserted the medium.

Not Inserted

Tells the server that you have not inserted the medium.

Removed

Tells the server that you have removed the medium.

Not Removed

Tells the server that you have not removed the medium.

MEMORY

Displays the total amount of memory (RAM) currently installed in the server.

MEMORY MAP

Displays how memory is allocated between the DOS environment and the server environment.

MIRROR STATUS

Lists all the disk partitions on the server and display their mirror status. The following five states are possible:

  • Being remirrored: This means the disk partition is being synchronized with another partition and will soon be mirrored.

  • Fully synchronized: This means the disk partitions are mirrored and working correctly, so that both partitions contain identical data.

  • Not mirrored: This means the disk partition isn't mirrored with any other partition.

  • Orphaned state: This means the disk partition used to be mirrored with another, but isn't now. The integrity of this partition's data might not be ensured.

  • Out of synchronization: This means the two disk partitions that are mirrored do not have identical data and, therefore, need to be remirrored.

MM

There are several commands associated with configuring the Media Manager in NetWare 6.5. For more information on using these commands, see the NetWare 6.5 online documentation. Use the following syntax:

 
 MM  <option> <option-specific parameters>  

MODULES

Displays a list of all the NLMs currently loaded on the server. If you want to see information about a single NLM, use the following command format, replacing module_name with an NLM's name:

 
 MODULES <  module name  > 

You can use the wildcard character to display multiple NLMs that begin with the same letter or letters. For example, to see all the loaded NLMs that start with the letters DS , type

 
 MODULES DS* 

MOUNT

Mounts a volume on a server so that network users can access it. Use the following command format, replacing volume_name with the volume's name (or with ALL to mount all volumes):

 
 MOUNT <  volume name  > 

NAME

Displays the server's name.

NATIVE2ASCII

Converts a native-language file to ASCII format. Use the following command format, substituting the file's name for filename :

 
 NATIVE2ASCII <  filename  > 

NCP ADDRESSES

Displays a list of all known NCP network service addresses.

NCP DUMP

Records all NCP standard deviation statistics in a specified file. Use the following command format, substituting the file's name for filename :

 
 NCP DUMP <  filename  > 

NCP STATS

Displays all NCP statistics for incoming NCP requests . To reset the counter for these statistics, type the following command:

 
 NCP STATS RESET 

NCP TRACE

Decodes incoming NCP packets and displays them on an active server screen. You can also send the data to a file. Use the following command format to display the information on the screen:

 
 NCP TRACE ONOFF 

To send the information to a file, type the following, substituting the name of the file for filename :

 
 NCP TRACE ON <  filename  > 

NSS

Views and sets parameters for the NetWare Storage System environment on NetWare 6.5. For more information on NSS, see Chapter 8. Although there are numerous parameters for NSS, the two to be most interested in are

  • nss /poolrebuild : The REBUILD utility goes through the storage pool that you specify, checking and repairing any errors it finds. REBUILD will keep an error log of any errors it finds. The error log file is located in the SYS volume, and is named with the volume's name, followed by the extension .RLF. For example, if your NSS volume is named NSSVOL, the error log will be named NSSVOL.RLF.

  • nss/poolverify : Verify the integrity of an NSS storage pool. Use it when you suspect a volume is corrupted, or want to verify that a volume is intact after REBUILD .

NWTRAP

There are several commands associated with configuring the Simple Network Management Protocol (SNMP) environment in NetWare 6.5. For more information on using these commands, see the NetWare 6.5 online documentation. Use the following syntax:

 
 NWTRAP  <option> <option-specific parameters>  

OFF

Clears the server's console screen, similar to CLS.

PAUSE

Similar to its DOS counterpart , this command is used in NCF files to halt execution until a key is pressed.

POLICYTOOL

This is the Java Security Policy Tool. It is a graphical tool that allows you to add, edit, or remove a policy from your keystore file. For more information, see the Novell documentation.

PROTECT

Used to specify that all NLMs loaded from within an NCF file should be loaded in a protected address space. For more information about protected address spaces, refer to Chapter 4, "NetWare 6.5 Server Management." Use the following syntax, substituting the name of the NCF file for filename :

 
 PROTECT <  filename  > 

PROTECTION

Used to list information about the protected address spaces currently being used on the server.

PROTOCOL

Registers a new protocol or frame type for the server to support. You don't need to use this utility to register IPX, IP, or AppleTalk because they are registered automatically during installation or configuration, but you might need to use this if you use a different protocol. See the protocol's manufacturer for more details.

To list all the protocols that are currently registered on the server, type

 
 PROTOCOL 

To register a new protocol, use the following command format, replacing protocol with the name of the protocol, frame with the frame type, and id with the protocol ID (PID, also called Ethernet Type, E-Type, or SAP) number assigned to the protocol:

 
 PROTOCOL REGISTER <  protocol  > <  frame  > <  id  > 

PSM

Loads a PSM (platform support module). PSMs are used for multi-processor support in NetWare 6.5. To see all the PSM commands available, type PSM? .

PURGESET

Removes unowned SET commands from the server. This is useful if the server is serving a specific purpose and you don't want extraneous SET commands causing confusion. Use the following syntax:

 
 PURGESET [SET  parameter  ] [ALL] 

The [ALL] parameter can be used instead of specifying a specific SET parameter. It will locate all unowned SET parameters automatically.

PVER

Displays the NetWare product information for the version of NetWare that you are running on this server. For example, the shipping version of NetWare 6.5 displays the following:

 
 Product Version Information:    Product ID : 30    Product Major Version Number :6    Product Minor Version Number :50    Product Revision Number :00    Product Description: Novell NetWare 6.5 

RECORD

The RECORD family of console commands allows you to record a series of commands for execution in an .NCF file. Table C.7 shows the various RECORD commands.

Table C.7. RECORD Commands in NetWare 6.5

COMMAND

DESCRIPTION

RECORD

Displays all command recording sessions currently in progress.

RECORD KILL < session name >

Terminates the specified recording session. See session names with the RECORD command.

RECORD SAVE < session name >

Saves the contents of a command recording session to an .NCF file.

RECORD START < session name >

Starts a command recording session with the name specified.

RECORD STOP < session name > {NCF}

Stops a command recording session. Use the NCF tag to save session to an .NCF file.

RECORD TYPE < session name >

Displays the contents of a command recording session.

REGISTER MEMORY

Use this utility on older ISA (AT bus) servers to register memory above 16MB so that NetWare can address it. On a PCI computer, NetWare automatically recognizes up to 64MB.

Use the following command format, replacing start with the hexadecimal address of where the memory above the limit begins. For ISA servers this will be 16MB, or 1000000 Hex. For PCI systems this will be 64MB, or 4000000 Hex. Table C.8 shows some common length numbers for different memory amounts.

 
 REGISTER MEMORY <  start  > <  length  > 
Table C.8. Hexadecimal Length Values for Memory

TOTAL MEMORY IN SERVER (MB)

LENGTH VALUE FOR ISA

LENGTH VALUE FOR PCI

128

7000000

4000000

256

F000000

C000000

512

1F000000

1B000000

1024

3F000000

3B000000

2048

7F000000

7B000000

4096

FE000000

FB000000

REMIRROR PARTITION

Restarts the remirroring process if something halted the server's remirroring of its disk partitions. Use the following command format, replacing number with the number of the disk partition you want to remirror:

 
 REMIRROR PARTITION <  number  > 

REMOVE NETWORK ADAPTER

Unloads one instance of a LAN driver, when the LAN driver has been loaded multiple times for use with more than one network board. This command unloads the driver from one board, but leaves the driver bound to the other boards . Use the following command, substituting the filename of the LAN driver for driver and, if necessary, the instance number of the board for board_name if there are multiple boards of the same type.

 
 REMOVE NETWORK ADAPTER <  board number  > 

You can find the board number for each network adapter in your server by using NoRM or MONITOR.NLM.

  • NoRM: Open the Disk/LAN Adapters page and click the network adapter you want to remove.

  • MONITOR.NLM: Select LAN/WAN drivers and select the driver you want to remove.

REMOVE NETWORK INTERFACE

Unloads a single frame type from a LAN driver, if that LAN driver has been loaded with multiple frame types. (Each time a driver is loaded with a frame type, it is called a logical board . Therefore, you can have several logical boards loaded, even though there is only one physical adapter in the server.)

This command unloads one frame type from the LAN driver, but leaves the LAN driver loaded with the other specified frame types. Use the following command, substituting the logical board number for board :

 
 REMOVE NETWORK INTERFACE  board  

You can find the board number for each network adapter in your server by using NoRM or MONITOR.NLM.

  • NoRM: Open the Disk/LAN Adapters page and click the network adapter you want to remove.

  • MONITOR.NLM: Select LAN/WAN drivers and select the driver you want to remove.

REMOVE PROGRAM

Removes a specified program from the stage n loading template. See ADD PROGRAM and LOADSTAGE for more information about load stages. Use the following syntax:

 
 REMOVE PROGRAM <  program name  > FROM STAGE  n  

REMOVE STORAGE ADAPTER

Unloads a single instance of a storage driver. If that storage driver has been loaded for use with more than one storage device, only the instance you specify will be unloaded. The other devices will still remain intact, with the storage driver active. If this storage driver is bound to only one storage device, the entire driver is unloaded.

Use the following syntax, substituting the adapter number for n :

 
 REMOVE STORAGE ADAPTER A<  n  > 

You can find the An number of each instance of the storage driver with LIST STORAGE ADAPTERS . The A n number is enclosed in square brackets at the beginning of the adapter's name.

REMOVEMODULE

Allows you to manually unload a driver that is normally pre-loaded from STARTUP.NCF, or was loaded using the ACTIVATEMODULE command. It is useful for testing new configurations or load options on pre-loaded drivers.

 
 REMOVEMODULE <module  name  > 

REPLACE

Unloads and then reloads the specified NLM module, using the following syntax:

 
 REPLACE <  NLM Name  > 

REPLAY

Replays a recorded command session, using the following syntax:

 
 REPLAY <  session name  > 

For more information on recording commands, see RECORD .

RESET ENVIRONMENT

Restores all server ( SET ) parameters to their original default values.

RESET NETWORK ADAPTER

Used to stop whatever task a network board was doing, and reset it to a clean state. You might want to do this if you suspect something is wrong with the board. Use the following syntax, substituting the filename of the board's LAN driver for driver and, if necessary, the instance number for board if there are multiple boards of the same type.

 
 RESET NETWORK ADAPTER <  driver  > <  board  > 

You can find the board number for each network adapter in your server by using NoRM or MONITOR.NLM.

  • NoRM: Open the Disk/LAN Adapters page and click the network adapter you want to remove.

  • MONITOR.NLM: Select LAN/WAN drivers and select the driver you want to remove.

RESET NETWORK INTERFACE

Restarts a logical board that was previously shut down using the SHUTDOWN NETWORK INTERFACE utility. You can restart the logical board without having to reload and bind the LAN driver. Use the following syntax, substituting the logical board number for board :

 
 RESET NETWORK INTERFACE <  board  > 

You can find the board number for each network adapter in your server by using NoRM or MONITOR.NLM.

  • NoRM: Open the Disk/LAN Adapters page and click the network adapter you want to remove.

  • MONITOR.NLM: Select LAN/WAN drivers and select the driver you want to remove.

RESET ROUTER

Clears the router table and forces a new table to be built on the server, updating any changes to servers or routers that have gone down or come back up. The table is automatically rebuilt every two minutes, so you need to use this utility only if you don't want to wait for the next automatic rebuild.

RESET SERVER

Brings down the server and does a warm reboot of the computer. You can use RESTART SERVER to bring down and restart the server without booting the machine. This option is also available from NoRM.

RESTART SERVER

Restart the server after you have brought it down. Supports three startup options: -na starts the server without running AUTOEXEC.NCF; -ns starts the server without running STARTUP.NCF; and -d starts the server and loads the debugger.

SCAN ALL

Searches for and displays all Logical Unit Numbers (LUNs) on SCSI adapters in the server. A LUN is used to designate an individual device attached to a SCSI bus. To display all LUNs on all SCSI adapters in the server, type

 
 SCAN ALL 

To display all LUNs on a particular SCSI adapter, type the following command, substituting the number of the adapter for n :

 
 SCAN ALL A  n  

You can find the An number of each instance of the storage driver with LIST STORAGE ADAPTERS . The A n number is enclosed in square brackets at the beginning of the adapter's name.

SCAN FOR NEW DEVICES

Instructs the server to look for and recognize any new storage devices (disk drives, CD-ROM drives, and so on) that have been added since the server was booted .

SEARCH

Sets the paths that the server should search through when looking for NCF files, NLMs, or Java applications. The default search path is SYS:SYSTEM . If SYS isn't mounted, the default search path becomes the DOS boot directory on the server. To display the server's current search paths, type SEARCH .

To add a search path, use the following command format, replacing path with the directory path you want the server to search. This command is regularly used in the AUTOEXEC.NCF to define a permanent search path.

 
 SEARCH ADD  path  

To delete a search path, use the following command format, replacing number with the number of the search drive you want to remove (drive numbers are displayed when you type SEARCH ):

 
 SEARCH DEL  number  

SECURE CONSOLE

Prevents anyone from loading NLMs from anywhere but SYS:SYSTEM . (This prevents unauthorized users from loading NLMs from an area where they may have more rights than in SYS:SYSTEM , such as from a disk in the server's disk drive.) This utility also prevents anyone from accessing the operating system's debugger from the server's keyboard, and allows only the administrator to change the server's date and time. To disable this feature, reboot the server.

SEND

Sends a short message from the server console to users on the network. To send a message to a user, use the following command format, replacing message with the message you want displayed (no more than 55 characters long) and user with either the name of the user or with the workstation's connection number:

 
 SEND "message"  <user> 

To send the message to multiple users, separate each username or connection number with a comma or space. To send the message to all users, don't specify a username. (You can also use the BROADCAST console utility to accomplish the same thing.)

SERIALVER

This utility is the Java Serial Version Command. See the Novell documentation for more information.

SERVER.EXE

Loads the NetWare server from DOS. When the server computer first boots up, it is running DOS. From DOS, you change to the NWSERVER directory, and then type SERVER to load the network operating system.

Usually, the SERVER command is added to the AUTOEXEC.BAT file so that the server loads automatically when the computer is booted.

You can also specify how to execute the server's startup files by using the load options listed in Table C.9.

Table C.9. SERVER.EXE Load Options

OPTION

DESCRIPTION

NA

Prevents the AUOTEXEC.NCF file from executing.

NL

Prevents the Novell logo screen from displaying while the server is starting up.

NS

Prevents both the AUOTEXEC.NCF file and the STARTUP.NCF file from executing.

S filename.ncf

Specifies a different .NCF file to execute instead of STARTUP.NCF.

SET

Changes performance parameters for the server. This can be accomplished more easily from NoRM or MONITOR.NLM.

See the SET parameters section later in this appendix for more information.

SET TIME

Changes the server's date and time. If you are using time synchronization on your network, you should use this command with caution or time sync problems can result. Use the following syntax:

 
 SET TIME <  month/day/year  > <  hour:minute:second  > 

SET TIMEZONE

Changes the server's time zone information. Replace the variables in the following command syntax with the correct information:

 
 SET TIMEZONE <  zone  > <  hours  > <  daylight  > 
  • Replace zone with the three-letter abbreviation for your time zone (such as EST, CST, MST, or PST).

  • Replace hours with the number of hours you are east or west of Greenwich Mean Time (GMT). Precede hours with a (minus) sign if your time zone is east of GMT.

  • Replace daylight with the three-letter abbreviation for your area's daylight saving time (only if you are currently on daylight saving time).

For example, to set the time zone to eastern daylight saving time, type:

 
 SET TIMEZONE EST5EDT 

SHUTDOWN NETWORK INTERFACE

Shuts down a logical board, while leaving its resources intact on the server. This allows the logical board to be restarted, with the RESET NETWORK INTERFACE utility, without having to reload and bind the LAN driver. Use the following syntax, substituting the logical board number for board :

 
 SHUTDOWN NETWORK INTERFACE <  board  > 

You can find the board number for each network adapter in your server by using NoRM or MONITOR.NLM.

  • NoRM: Open the Disk/LAN Adapters page and click the network adapter you want to remove.

  • MONITOR.NLM: Select LAN/WAN drivers and select the driver you want to remove.

SLP

There are several commands associated with configuring the Service Location Protocol (SLP) environment in NetWare 6.5. For more information on using these commands, see the NetWare 6.5 online documentation. Use the following syntax:

 
 SLP  <option> <option-specific parameters>  

SPEED

Displays the server processor speed.

START PROCESSORS

Starts all secondary processors in a multiprocessor server. Use the following command format, substituting the number of each processor you want to start for number . To specify more than one processor, separate each number with a space. To start all processors, leave number blank.

 
 START PROCESSORS <  number  > 

STARTX.NCF

Starts the graphical server desktop. Java-based applications, such as ConsoleOne, can execute from the graphical server desktop.

STOP PROCESSORS

Stops all secondary processors in a multiprocessor server. Use the following syntax, substituting the number of each processor you want to stop for number . To specify more than one processor, separate each number with a space. To stop all secondary processors, leave number blank.

 
 STOP PROCESSORS <  number  > 

SWAP

View, create, and delete virtual memory swap files. For example, to see information about a server's swap files, type the following:

 
 SWAP 

To create a new swap file, type the following, substituting the name of the volume for volume :

 
 SWAP ADD <  volume  > 

By default, this command will create a swap file with a minimum size of 2MB, a maximum size of 5MB, and will leave a minimum of 5MB of free space on the volume. To change any of these parameters (all of which are optional), type the following command instead (substituting the number of megabytes for size ). You can use any (or all) of these optional parameters.

 
 SWAP ADD <  volume  > MIN=<  size1  > MAX=<  size2  > MIN FREE=<  size3  > 

To delete a swap file from a volume, type

 
 SWAP DEL  volume  

You can do all this much easier with NoRM. Open the View Memory Config page and click Swap File Size.

TIME

Displays the server's date, time, Daylight Saving Time status, and time synchronization information. (To change the date or time, use the SET TIME console utility. To change the server's time zone information, use the SET TIMEZONE console utility.)

UNBIND

Unbinds a protocol, such as IPX or AppleTalk, from a network board. Use the following command format, replacing protocol with the name of the protocol, driver with the name of the LAN driver or network board from which you want the protocol unbound , and parameters with the same parameters you originally specified when you loaded the driver (so that the UNBIND command knows exactly which LAN driver or network board you intend):

 
 UNBIND <  protocol  > FROM <  driver parameters  > 

See the BIND section in this appendix for more information about driver parameters.

UNLOAD

Unloads an NLM that's been previously loaded. Use the following syntax, replacing module with the name of the NLM you want to unload (you can omit the .NLM extension of the NLM's filename):

 
 UNLOAD <  NLM name  > 

VERSION

Displays the version of NetWare running on the server.

VMINFO ON

Enables the NetWare virtual memory information screen in NetWare 6.5.

VMINFO OFF

Disables the virtual memory information screen in NetWare 6.5.

VOLUME

Displays a list of all the volumes currently mounted on the server. The display also indicates which namespaces each volume supports.



Novell NetWare 6. 5 Administrator's Handbook
Novell NetWare 6.5 Administrators Handbook
ISBN: 0789729849
EAN: 2147483647
Year: 2002
Pages: 172

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net