#

# Diagnostic Commands and Parameters

This chapter lists the VT100 interface diagnostic commands provided for WAN lines and ports. To use these commands, you must have sufficient permissions in the active Security profile.

## Sys Diag commands

The MAX provides the following system diagnostic commands which appear in the System > Sys Diag menu:

    System

          Sys Diag

                Restore Cfg

                Save Cfg

                Use MIF

                Sys Reset

                Term Serv

                Upd Rem Cfg

To enter a command, highlight the command in the Sys Diag menu and press Enter.

Note: To use these commands, the operator must have sufficient permissions in the active Security profile.

### Restore Cfg

The Restore Cfg command restores a MAX configuration that was saved with the Save Cfg parameter, or transfers the profiles to another MAX. Because the Save Cfg command does not save passwords, the Restore Cfg command does not restore them. Follow these instructions to restore your configuration from backup, proceed as follows:

1. Verify that the Upload and Edit Security permissions are enabled in the active Security profile.

2. Verify that the Term Rate parameter in the System profile is set to 9600.

3. Verify that your terminal-emulation program has a disk-capture feature and an autotype feature, and that its data rate is set to 9600 bps.

4. Connect the backup device to the MAX unit's control port.

5. Highlight Restore Cfg and press Enter.

6. When the `Waiting for upload data` prompt appears, turn on the autotype function on your emulator and supply the filename of the saved MAX data.

7. Verify that the configuration data is going to your terminal-emulation screen and is being restored to the target MAX.

   The restore process is complete when the message `Upload complete--type any key to return to menu` appears on your emulator's display.

### Save Cfg

The Save Cfg command enables you to save the MAX configuration to a file. It does not save Security profiles or passwords.

Note: Using the Save Cfg command to save the configuration and then restoring it from the saved file clears all passwords.

To save your configuration, proceed as follows:

1. Verify that the Download permission is enabled in the active Security profile.

2. Verify that the Term Rate parameter in the System profile is set to 9600.

3. Verify that your terminal-emulation program has a disk-capture feature and an autotype feature, and that is data rate is set to 9600 bps or lower.

4. Connect the backup device to the MAX unit's control port.

5. Turn on the autotype function on your emulator, and start the save process by pressing any key on the emulator.

6. Highlight Save Cfg and press Enter.

7. Verify that configuration data is being echoed to the terminal-emulation screen and that the captured data is being written to a file on your disk.

   The save process is complete when the messag`e Download complete--type any key to return to menu` appears on your emulator's display. The backup file is an ASCII file.

8. Turn off the autotype feature.

### Sys Reset

The Sys Reset command restarts the MAX and clears all calls without disconnecting the device from its power source. The MAX logs out all users and returns user security to its default state. In addition, the MAX performs Power-On Self Tests (POSTs) when it restarts. The POSTs are diagnostic tests. A system reset of a MAX causes momentary loss of T1 framing (that is, the data-encapsulation format), and the T1 line might shut down. In any event, the feedback from the MAX to the switch is incorrect until T1 framing is reestablished.

To perform a system reset, proceed as follows:

1. Highlight System Reset and press Enter.

The MAX prompts you to confirm that you want to perform the reset.

2. Confirm the reset.

   In addition to clearing calls, the MAX performs a series of POSTs. The POST display appears. If you do not see the POST display, press Ctrl-L. These messages may be displayed:

       OPERATOR RESET:  Index: 99   Revision: 5.0a
             Date: 03/04/1997.       Time: 22:32:23
             MENU Reset from unknown in security profile 1.
       SYSTEM IS UP:  Index: 100   Revision: 5.0a
             Date: 03/04/1997.       Time: 22:33:00

   While the yellow Fault LED on the front panel remains solidly lit, the MAX checks system memory, configuration, installed modules, and T1 connections. If the MAX fails any of these tests, the Fault LED remains lit or blinks. The alarm relay remains closed while the POST is running and opens upon successful completion of the test, at which time the following message appears:

       Power-On Self Test PASSED
       Press any key...

3. Press any key to display the Main Edit Menu.

### Term Serv

### The Term Serv command starts a terminal-server session. The system displays the terminal- server command-line prompt (by default, ascend%). For information about the terminal- server commands, enter a question mark at the prompt. For more details about the terminal- server interface, see the Network Configuration Guide for your MAX.

### Upd Rem Cfg

The Upd Rem Cfg (Upload Remote Configuration) command opens a connection to a RADIUS server to upload the MAX terminal-server banner, list of Telnet hosts, IP static routes, IP address pool, and other configuration information from the RADIUS user file. The MAX retrieves configuration from RADIUS at system startup or by use of this command.

When you highlight Upd Rem Cfg and press Enter, the MAX opens a connection to the RADIUS server and uploads the configuration information.

When you upload this remote configuration information, keep in mind the following information:

- The MAX reads Dialout-Framed-User entries with the password `ascend`.

- The Upd Rem Cfg command does not update the terminal-server banner or list of Telnet hosts if the Remote Conf parameter is set to No.

- If the Ascend-Authen-Alias attribute is defined in RADIUS, the Upd Rem Cfg command also updates the MAX system name used when establishing PPP calls.

Copyright © 1998, Ascend Communications, Inc. All rights reserved.