Net2Phone MAX 400 Series Operating manual

Command Reference
Guide
for the
MAX Family
Of VoIP Telephony Devices
for configuration management of
MAX systems through a
serial connection
Version 1.0
MAX 400 series
TM

i
Table of Contents
1./Basic commands.................................................................................................................................. 1/
1.1./Command directory ................................................................................................................. 1/
1.2./Command function................................................................................................................... 1/
1.3./Available commands................................................................................................................ 1/
1.4./DIR (or LS).............................................................................................................................. 2/
1.5./CD............................................................................................................................................ 3/
1.6./HELP ....................................................................................................................................... 4/
2./System Commands .............................................................................................................................. 5/
2.1./Command directory ................................................................................................................. 5/
2.2./Command function................................................................................................................... 5/
2.3./Available commands................................................................................................................ 5/
2.4./RESET ..................................................................................................................................... 6/
2.5./DATE ....................................................................................................................................... 7/
2.6./TIME........................................................................................................................................ 8/
2.7./PASSWORD ............................................................................................................................ 9/
2.8./SLOTINFO .............................................................................................................................10/
2.9./SYSNAME .............................................................................................................................11/
2.10./VERSIONINFO..................................................................................................................12/
3./Configuration Management Command ..............................................................................................13/
3.1./Command directory ................................................................................................................13/
3.2./Command function..................................................................................................................13/
3.3./Available commands...............................................................................................................13/
3.4./DEFAULT...............................................................................................................................14/
3.5./LOAD .....................................................................................................................................15/
3.6./SAVE ......................................................................................................................................16/
3.7./SHOW.....................................................................................................................................17/
3.8./CFGUP ...................................................................................................................................17/
4./System Configuration Commands......................................................................................................19/
4.1./Command directory ................................................................................................................19/
4.2./Command function..................................................................................................................19/
4.3./Available commands...............................................................................................................19/
4.4./SHOW.....................................................................................................................................20/
4.5./CHANGE................................................................................................................................21/
5./IP Configuration Commands ..............................................................................................................23/

ii
5.1./Command directory ................................................................................................................23/
5.2./Command function..................................................................................................................23/
5.3./Available commands...............................................................................................................23/
5.4./SHOW.....................................................................................................................................24/
5.5./CHANGE................................................................................................................................25/
5.6./CHANGE................................................................................................................................26/
6./Route Table Configuration Commands ..............................................................................................39/
6.1./Command directory ................................................................................................................39/
6.2./Command function..................................................................................................................39/
6.3./Available commands...............................................................................................................39/
6.4./SHOW.....................................................................................................................................40/
6.5./ADD........................................................................................................................................41/
6.6./DEL.........................................................................................................................................43/
7./Net2Phone (N2P) Protocol Configuration Command ........................................................................45/
7.1./Command directory ................................................................................................................45/
7.2./Command function..................................................................................................................45/
7.3./Available commands...............................................................................................................45/
7.4./Show .......................................................................................................................................46/
7.5./Change ....................................................................................................................................47/
8./Address configuration commands ......................................................................................................49/
8.1./Command directory ................................................................................................................49/
8.2./Command function..................................................................................................................49/
8.3./Available commands...............................................................................................................49/
8.4./SHOW.....................................................................................................................................50/
8.5./MYADDR ...............................................................................................................................51/
9./DSP Configuration commands ...........................................................................................................53/
9.1./Command directory ................................................................................................................53/
9.2./Command function..................................................................................................................53/
9.3./Available commands...............................................................................................................53/
9.4./SHOW.....................................................................................................................................54/
9.5./CHANGE................................................................................................................................55/
10./FXS Configuration Commands..................................................................................................59/
10.1./Command directory ............................................................................................................59/
10.2./Command function..............................................................................................................59/
10.3./Available commands ...........................................................................................................59/
10.4./SHOW.................................................................................................................................60/

iii
10.5./CHANGE............................................................................................................................61/
11./FXO Configuration Commands .................................................................................................63/
11.1./Command directory ............................................................................................................63/
11.2./Command function..............................................................................................................63/
11.3./Available Commands ..........................................................................................................63/
11.4./SHOW.................................................................................................................................64/
11.5./CHANGE............................................................................................................................65/
12./System Call Statistics Display Commands ................................................................................68/
12.1./Command directory ............................................................................................................68/
12.2./Command function..............................................................................................................68/
12.3./Available commands ...........................................................................................................68/
12.4./SHOW.................................................................................................................................69/
12.5./CLEAR ...............................................................................................................................70/
13./FXS Statistics Display Commands ............................................................................................71/
13.1./Command directory ............................................................................................................71/
13.2./Command function..............................................................................................................71/
13.3./Available commands ...........................................................................................................71/
13.4./SHOW.................................................................................................................................72/
13.5./CLEAR ...............................................................................................................................73/
14./FXO Statistics Display Commands............................................................................................74/
14.1./Command directory ............................................................................................................74/
14.2./Command function..............................................................................................................74/
14.3./Available commands ...........................................................................................................74/
14.4./SHOW.................................................................................................................................75/
14.5./CLEAR ...............................................................................................................................76/
15./Net2Phone Protocol Test Commands.........................................................................................77/
15.1./Command directory ............................................................................................................77/
15.2./Command function..............................................................................................................77/
15.3./Available commands ...........................................................................................................77/
15.4./Trace ...................................................................................................................................78/
15.5./OLOGIN .............................................................................................................................80/
15.6./OLOGOUT .........................................................................................................................81/
15.7./CSTATE ..............................................................................................................................82/
15.8./OSTATE..............................................................................................................................83/
16./Voice Prompt Test Commands ...................................................................................................84/
16.1./Command directory ............................................................................................................84/

iv
16.2./Command function..............................................................................................................84/
16.3./Available commands ...........................................................................................................84/
16.4./PLAY ..................................................................................................................................85/
16.5./Save_nv...............................................................................................................................86/
16.6./Read_nv ..............................................................................................................................87/
17./FXS Status Display Commands .................................................................................................88/
17.1./Command directory ............................................................................................................88/
17.2./Command function..............................................................................................................88/
17.3./Available commands ...........................................................................................................88/
17.4./SHOW.................................................................................................................................89/
18./FXO Status Display Commands ................................................................................................90/
18.1./Command directory ............................................................................................................90/
18.2./Command function..............................................................................................................90/
18.3./Available commands ...........................................................................................................90/
18.4./SHOW.................................................................................................................................91/
19./IVR configuration Commands ...................................................................................................92/
19.1./Command directory ............................................................................................................92/
19.2./Command function..............................................................................................................92/
19.3./Available commands ...........................................................................................................92/
19.4./SHOW.................................................................................................................................92/
19.5./CHANGE............................................................................................................................93/
19.6./TRACE ...............................................................................................................................94/
20./Trace Information Commands ...................................................................................................95/
20.1./Command directory ............................................................................................................95/
20.2./Command function..............................................................................................................95/
20.3./Available commands ...........................................................................................................95/
20.4./GET_TRACE......................................................................................................................96/
20.5./RETURN_TRACE .............................................................................................................96/
20.6./D_TRACE ..........................................................................................................................96/
21./System Diagnosis Command .....................................................................................................97/
21.1./Command directory ............................................................................................................97/
21.2./Command function..............................................................................................................97/
21.3./Available commands ...........................................................................................................97/
21.4./AUTOMATIC .....................................................................................................................98/
22./SYSTEM Diagnosis Commands................................................................................................99/
22.1./Command directory ............................................................................................................99/

v
22.2./Command function..............................................................................................................99/
22.3./Available commands ...........................................................................................................99/
22.4./NVRAM..............................................................................................................................99/
22.5./RTC...................................................................................................................................100/
23./Analog Diagnosis Commands..................................................................................................101/
23.1./Command directory ..........................................................................................................101/
23.2./Command function............................................................................................................101/
23.3./Available commands .........................................................................................................101/
23.4./LXF_AS............................................................................................................................102/
24./DSP Diagnosis Commands ......................................................................................................103/
24.1./Command directory ..........................................................................................................103/
24.2./Command function............................................................................................................103/
24.3./Available commands .........................................................................................................103/
24.4./DSP_AS ............................................................................................................................104/
24.5./DSP_ACT .........................................................................................................................105/
24.6./DSP_LP ............................................................................................................................106/
25./Network Utility Commands.....................................................................................................107/
25.1./Command directory ..........................................................................................................107/
25.2./Command function............................................................................................................107/
25.3./Available commands .........................................................................................................107/
25.4./PING .................................................................................................................................108/
25.5./ARP...................................................................................................................................109/
25.6./ROUTE .............................................................................................................................110/
25.7./Who...................................................................................................................................111/
25.8./QoS ...................................................................................................................................112/
25.9./DHCPD.............................................................................................................................114/
26./CDR configuration command ..................................................................................................115/
27./Default Configuration Values...................................................................................................118/

vi
Introduction
Conventions Used in this Guide
In this Guide, text that will be displayed on your PC screen is set in Courier font, and the text
you are to type for commands or in response to prompts is set in Courier Bold font.
The words “console” and “serial” are used interchangeably.
About Console Commands
This Guide describes commands that are typed on a PC keyboard while it is connected to the
Net2Phone MAX device through a terminal-emulator program, such as HyperTerminal. Section
2.1.2 of most MAX User Guides explains how to connect a PC to a MAX unit through the PC’s
and Max’s serial ports.
Controlling a system by means of typed commands is known as controlling at the “command
line.” Commands typed at the command line are not case-sensitive. Upper, lower, and mixed
case letters may be used.
Basic Command Line Navigation
Navigation at the MAX command line is similar to navigation at the DOS command line, except
that the backslash (\) is replaced by a forward slash (/).
When the system is ready to receive a command, it displays a “command line prompt.” The
name of the current working directory is always displayed to the right of the command line
prompt.
The root directory prompt, e.g. SYS_NAME:>, consists of the MAX’s system name (where
“SYS_NAME” represents the name), a colon, and a right wedge.
The explanations that follow will employ the “cd” command to illustrate the use of path
statements with a command. The cd command is used to change from the current working
directory to a different one. This command is discussed in detail in Section 1.2 in this Guide.
A target directory can be specified as an absolute path starting from a specified location, or as a
relative path based on the current directory.
An absolute path statement contains the entire path from the root directory, e.g.
SYS_NAME:/CONFIG/N2P>, where N2P is the active directory.
A relative path includes the path from the current directory or its parent. In a relative
path statement, a single dot ( . ) takes the place of the path name of the current
directory, and a double dot ( .. ) takes the place of the path name of the parent
directory.
Let us assume that your current working folder is SYS_NAME:/CONFIG/>.

vii
To change from the current working directory to its child, SYS_NAME:/CONFIG/N2P>,
you would type CD ./N2P.
Example:
SYS_NAME:/CONFIG/> CD ./N2P
SYS_NAME:/CONFIG/N2P>

MAX Command Reference Guide Basic Commands
1
1. Basic commands
1.1. Command directory
Basic commands can be executed on any directory {i.e. any prompt}.
1.2. Command function
General functions for command executions
1.3. Available commands
Name Description
Dir list sub-directories and commands
Cd change directory
Help print out command usage
? same as help command
! execute last command

MAX Command Reference Guide Basic Commands
2
1.4. DIR (or LS)
“dir” is the same command as “ls” and displays the executable commands and sub-directory in the current
directory.
The sub-directory is displayed with “/” added after the last character to differentiate from the executable
commands.
The following example is the result after executing “dir” command on SYS_NAME:/> prompt, where
SYS_NAME is system name.
The capitalized letters in the directory name and command name is the minimum number of characters to
be entered in changing a task directory or executing a command, and they are used as abbreviations for a
directory or a command.
[Example]
SYS_NAME:> dir
SYstem/ Config/ STatistics/ Test/ Netutil/

MAX Command Reference Guide Basic Commands
3
1.5. CD
"cd" is a command to change the working directory. A directory you want to move to can be given as an
absolute path starting from a route, or given as a relative path based on the current directory.
[Example 1]
SYS_NAME:> cd system
SYS_NAME:/SYSTEM>
[Example 2]
SYS_NAME:/CONFIG/VOIP> cd /system
SYS_NAME:/SYSTEM>
However, by typing just the directory name or the 2 or 3 characters only, it will move to the relevant
directory.
[Example 3]
SYS_NAME:/> system
SYS_NAME:/SYSTEM>
*Typing “cd /system” , “system” or “s” all gets the same result.
*Typing “cd” will change to the root directory.

MAX Command Reference Guide Basic Commands
4
1.6. HELP
“help” command will show the subdirectories and executable commands in the current directory.
“help” command will also show the brief descriptions of the commands.
It is possible to execute the “help” command with both absolute and relative path names. The following
example shows execution of “help” on the SYS_NAME:/SYSTEM> prompt. The abbreviation “h” and ”?”
perform the same function.
[Example]
SYS_NAME:/SYSTEM> help
RESET : Reset system
DATE : Set & display date
TIME : Set & display time
PASSWORD : Change user password
SLotinfo : Show slot board information
SYsname : Set & display system name
Versioninfo: display system version information

MAX Command Reference Guide System Commands
5
2. System Commands
2.1. Command directory
/SYSTEM/
2.2. Command function
System commands consists of the commands for controlling the system-related modules.
2.3. Available commands
Name Description
reset reboot system
date show/change date
time show/change time
password change password
slotinfo show installed hardware
sysname change system name
versioninfo show system software version

MAX Command Reference Guide System Commands
6
2.4. RESET
This command restarts the system hardware and software for system initialization. Execution of this reset
command allows for the system to communicate through the internal memory and activate required
software modules for controlling the system. This command can be executed in the
“SYS_NAME:/SYSTEM>” prompt and has no parameters.
[Example]
SYS_NAME:/SYSTEM> reset
CAUTION!!! this command isn't recoverable. Are you sure (y/n)? Y

MAX Command Reference Guide System Commands
7
2.5. DATE
This command is used to verify or change date of the system. The execution of the command without any
parameter shows the current date. The execution of the command with the year/month/day parameter
changes date. For detailed example, execute the “date” on the “SYS_NAME:/SYSTEM>” prompt.
[Example 1]
SYS_NAME:/SYSTEM> date
Current Date is 2001–01–01 SAT
usage : date [ new-date( yyyy–mm–dd) ]
[Example 2] *System date change.
SYS_NAME:/SYSTEM> date 2001-09-05
Command successfully end.
SYS_NAME:/SYSTEM> date
Current Date is 2001-09-05 WED
usage : date [new-date(yyyy-mm-dd)]

MAX Command Reference Guide System Commands
8
2.6. TIME
This command is used to verify or change the time of the system. The execution of the command without
any parameter shows the current time and changes the system time with a hour/min./sec parameter. For
detailed example, execute the “time” from the “SYS_NAME:/SYSTEM>” prompt.
[Example 1]
SYS_NAME:/SYSTEM> time
Current Time is 02:10:22
usage : time [new–time(hh:mm:ss)]
[Example 2] *System time change.
SYS_NAME:/SYSTEM> time 16:32:30
Command successfully end.
SYS_NAME:/SYSTEM> time
Current Time is 16:32:35
usage : time [new-time(hh:mm:ss)]

MAX Command Reference Guide System Commands
9
2.7. PASSWORD
The authentication used in the MAX system retains the information on two users. The login names are
fixed but passwords can be changed. The initial login name and password for normal user are given by
following table.
User name Password
root n2p
manager n2p
The password should not exceed eight digits.
For detailed example, execute the “password” from the “SYS_NAME:/SYSTEM>” prompt.
[Example 1]
SYS_NAME:/SYSTEM> password
Usage : password <user>
[Example 2] *root user’s password change.
SYS_NAME:/SYSTEM> password root
Old Password : ***
Password length must be less than or equal to 8 characters
New Password : ****
Confirm Password: ****
Password for user root changed

MAX Command Reference Guide System Commands
10
2.8. SLOTINFO
This command is used to diagnose the operation of various boards installed in the system including AVU
and DVU board.
For detailed example, execute the “slotinfo” from the “SYS_NAME:/SYSTEM>” prompt.
[Example 1]
SYS_NAME:/SYSTEM> slotinfo 1
======================================================================
ITGS Slot Board Status [1]
======================================================================
board type | AVU (Analog I/F 4 port)
board status | GOOD
----------------------------------------------------------------------
h/w port number | 1234
----------------------------------------------------------------------
interface type | FXO FXO FXO FXO
logical port number | 0123
local port address |

MAX Command Reference Guide System Commands
11
2.9. SYSNAME
This command is used to change the system name. For detailed example, execute the “sysname” from the
“SYS_NAME:/SYSTEM>” prompt.
[Example 1]
SYS_NAME:/SYSTEM> sysname
System name is SYS_NAME
usage : sysname [system-name]
[Example 2] *System name change to JANG.
SYS_NAME:/SYSTEM> sysname JANG
Configuration is not saved. You must save the changed configurations
Command successfully end.
JANG:/SYSTEM> ../config/save
This command isn't recoverable. Are you sure(y/n)? y
Configuration in working memory is saved to NV-Memory.
JANG:/SYSTEM> sysname
System name is JANG
usage : sysname [system-name]

MAX Command Reference Guide System Commands
12
2.10. VERSIONINFO
This command shows the version information on the system hardware and software. For detailed example,
execute the “versioninfo” from the “SYS_NAME:/SYSTEM>” prompt.
[Example 1]
SYS_NAME:/SYSTEM> versioninfo
Copyright (c) 2000 by LGE
All Rights Reserved
Welcome to Net2Phone MAX
Hardware Version is MPU 1.0
Software Version is MAX 410 1.0.00
Software is Linked at Jan 6 2002 10:06:47.
Other manuals for MAX 400 Series
1
Table of contents
Other Net2Phone Gateway manuals

Net2Phone
Net2Phone 2-Port Gateway User manual

Net2Phone
Net2Phone VoiceDirector Max 420 SIP User manual

Net2Phone
Net2Phone Max 410 User manual

Net2Phone
Net2Phone Max 8 Manual

Net2Phone
Net2Phone Max T1 User manual

Net2Phone
Net2Phone Max 410 User manual

Net2Phone
Net2Phone Max 8 Plus User manual

Net2Phone
Net2Phone Max 410 User manual

Net2Phone
Net2Phone Max 8 User manual

Net2Phone
Net2Phone Max 8 Operating manual