HPlogo NS 3000/iX Operations and Maintenance Reference Manual > Chapter 7 Commands

SWITCHNMLOG

MPE documents

Complete PDF
Table of Contents
Index

Closes the current log file and creates and opens a new one.

Syntax



              [UPDATE    ]
  SWITCHNMLOG [filenumber]

Use



  Available    In Session?          YES
               In Job?              YES
               In Break?            YES
               Programmatically?    YES
  Breakable?                        NO
  Capabilities?                     NM

Parameters


UPDATE

Allows you to update logging configuration for all subsystems actively logging without stopping transport. To change the logging configuration, use the node management configurator (NMMGR). Refer to the NS 3000/iX Screens Reference Manual or to the HP e3000/iX Network Planning and Configuration Guide for more information on configuring logging. Once changes are made, issue the SWITCHNMLOG UPDATE command so that the changes take effect.

The UPDATE option may not be used with the filenumber option.

filenumber

Switches the log file to a file with the specified number. The value for filenumber must be an integer from 0 to 9999. For example,

SWITCHNMLOG 10

makes NMLG0010 the current log file. If you specify a number that is already being used, then the next available consecutive number is used.

The filenumber option may not be used with the UPDATE option.

Discussion


SWITCHNMLOG closes the current NMLG file and creates and opens a new one. When you enter SWITCHNMLOG, NMS displays the message:

  NMLG FILE NUMBER nnnn IS mm% FULL

  NMLG FILE NUMBER pppp ON

where nnnn is the previous NMLG FILE number, mm is the percentage of file space used, and pppp is the newly opened file numbered one more than the last file number.

If network logging is disabled due to an irrecoverable error when SWITCHNMLOG is entered, NMS displays the following message explaining the cause. The system will need to be brought back up with a warm or cool start.

  NMLG FILE NUMBER nnnn ERROR #nn. NM LOGGING STOPPED. (NMCNERR 36)

If network logging is enabled but currently suspended due to a recoverable error, NMS displays the following message explaining the cause. When the problem is corrected, the manager can issue the RESUMENMLOG command.

  NMLG FILE NUMBER nnnn ERROR #nn. NM LOGGING SUSPENDED. (NMCNERR 38)




SHOWNMLOG


Appendix A LINKCONTROL Command