Net2Phone Max 8 Operating manual

Command Reference
Guide
for configuration management of
MAX systems through a
serial connection
Version 1.0
MAX 8/16
MAX 8
and
MAX 8
/
16
TM
TM

ii
The specifications and information regarding the products in this manual are subject to change without
notice. All statements, information, and recommendations in this manual are believed to be accurate but
are presented without warranty of any kind, express or implied. Users must take full responsibility for their
application of any products.
The software license and limited warranty for the accompanying product are set forth in the information
packet that shipped with the product and are incorporated herein by this reference. If you are unable to
locate the software license or limited warranty, contact your Net2Phone representative for a copy.
The following information is for FCC compliance of Class A devices: This equipment has been tested and
found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC rules. These
limits are designed to provide reasonable protection against harmful interference when the equipment is
operated in a commercial environment. This equipment generates, uses, and can radiate radio-frequency
energy and, if not installed and used in accordance with the instruction manual, may cause harmful
interference to radio communications. Operation of this equipment in a residential area is likely to cause
harmful interference, in which case users will be required to correct the interference at their own expense.
The following information is for FCC compliance of Class B devices: The equipment described in this
manual generates and may radiate radio-frequency energy. If it is not installed in accordance with
Net2Phone's installation instructions, it may cause interference with radio and television reception. This
equipment has been tested and found to comply with the limits for a Class B digital device in accordance
with the specifications in part 15 of the FCC rules. These specifications are designed to provide
reasonable protection against such interference in a residential installation. However, there is no
guarantee that interference will not occur in a particular installation.
Modifying the equipment without Net2Phone's written authorization may result in the equipment no longer
complying with FCC requirements for Class A or Class B digital devices. In that event, your right to use the
equipment may be limited by FCC regulations, and you may be required to correct any interference to
radio or television communications at your own expense.
You can determine whether your equipment is causing interference by turning it off. If the interference
stops, it was probably caused by the Net2Phone equipment or one of its peripheral devices. If the
equipment causes interference to radio or television reception, try to correct the interference by using one
or more of the following measures:
· Turn the television or radio antenna until the interference stops.
· Move the equipment to one side or the other of the television or radio.
· Move the equipment farther away from the television or radio.
· Plug the equipment into an outlet that is on a different circuit from the television or radio. (That is,
make certain the equipment and the television or radio are on circuits controlled by different circuit
breakers or fuses.)
Modifications to this product not authorized by Net2Phone could void the FCC approval and negate your
authority to operate the product.
Notwithstanding any other warranty herein, all document files and software of these suppliers are provided
"as is" with all faults. Net2Phone and the above-named suppliers disclaim all warranties, expressed
or implied, including, without limitation, those of merchantability, fitness for a particular purpose and non-
infringement or arising from a course of dealing, usage, or trade practice.
In no event shall Net2Phone or its suppliers be liable for any indirect, special, consequential, or incidental
damages, including, without limitation, lost profits or loss or damage to data arising out of the use or
inability to use this manual, even if Net2Phone or its suppliers have been advised of the possibility of such
damages.
Net2Phone, MAX 8, MAX 8/16, net2phone, and the Net2Phone logo are registered trademarks of
Net2Phone, Inc. in the US and certain other countries. All other trademarks mentioned in this document
are the property of their respective owners.
Net2Phone MAX 8 and MAX 8/16 Command Reference Guide
Rev. 1.0 July 2001
Copyright © 2001, Net2Phone, Inc. All Rights Reserved
The use, disclosure, modification, transfer, or transmittal of this work for any purpose, in any form, or by
any means, without the written permission of Net2Phone, is strictly forbidden.
Printed in Korea

iii
Table of Contents
INTRODUCTION.......................................................................................................................................... 1
Conventions Used in this Guide .......................................................................................................... 1
About Console Commands ................................................................................................................. 1
Basic Command Line Navigation ........................................................................................................ 1
1. BASIC COMMANDS................................................................................................................................ 3
1.1 Dir (or LS) ................................................................................................................................. 4
1.2 CD............................................................................................................................................. 5
1.3 Help........................................................................................................................................... 6
2. SYSTEM COMMANDS............................................................................................................................ 7
2.1 Reset......................................................................................................................................... 8
2.2 Date [yyyy-mm-dd] .................................................................................................................... 9
2.3 Time [hh:mm:ss]..................................................................................................................... 10
2.4 Password <login name>.......................................................................................................... 11
2.5 Sysname [system name]......................................................................................................... 12
2.6 Versioninfo .............................................................................................................................. 13
2.7 Slotinfo .................................................................................................................................... 14
3. CONFIGURATION MANAGEMENT COMMANDS ................................................................................ 16
3.1 Default..................................................................................................................................... 17
3.2 Load ........................................................................................................................................ 19
3.3 Save........................................................................................................................................ 20
4. SYSTEM CONFIGURATION COMMANDS........................................................................................... 21
4.1 Show ....................................................................................................................................... 22
4.2 Change [parameter][value]...................................................................................................... 23
5. IP CONFIGURATION COMMANDS ...................................................................................................... 24
5.1 Show ....................................................................................................................................... 25
5.2 Change ................................................................................................................................... 26
6. ROUTING TABLE CONFIGURATION COMMANDS............................................................................. 32
6.1 Show ....................................................................................................................................... 33
6.2 Add.......................................................................................................................................... 34
6.3 Del........................................................................................................................................... 36
7. NET2PHONE (N2P) PROTOCOL CONFIGURATION COMMANDS .................................................... 38
7.1 Show ....................................................................................................................................... 39
7.2 Change ................................................................................................................................... 40
8. ADDRESS CONFIGURATION COMMANDS ........................................................................................ 42
8.1 Show ....................................................................................................................................... 43
8.2 Myaddr .................................................................................................................................... 44
8.3 Peeraddr (not applicable to Net2Phone MAX 8) .................................................................... 46
8.4 Gport ....................................................................................................................................... 49
9. DSP CONFIGURATION COMMANDS .................................................................................................. 50
9.1 Show ....................................................................................................................................... 51
9.2 Change ................................................................................................................................... 52
10. FXS CONFIGURATION COMMANDS ................................................................................................ 55
10.1 Show ....................................................................................................................................... 56
10.2 Change ................................................................................................................................... 57
11. FXO CONFIGURATION COMMANDS................................................................................................ 59
11.1 Show ...................................................................................................................................... 60
11.2 Change .................................................................................................................................. 61

iv
12. DIGITAL TRUNK CONFIGURATION COMMANDS............................................................................ 63
12.1 Show ....................................................................................................................................... 64
12.2 Change ................................................................................................................................... 65
13. R2 CONFIGURATION COMMANDS.................................................................................................. 69
13.1 Show ....................................................................................................................................... 70
13.2 Change ................................................................................................................................... 71
14. SYSTEM CALL STATISTICS DISPLAY COMMANDS........................................................................ 75
14.1 Show ....................................................................................................................................... 76
14.2 Clear ....................................................................................................................................... 77
15. FXS STATISTICS DISPLAY COMMANDS ........................................................................................ 78
15.1 Show ....................................................................................................................................... 79
15.2 Clear ....................................................................................................................................... 80
16. FXO STATISTICS DISPLAY COMMANDS ........................................................................................ 81
16.1 Show ....................................................................................................................................... 82
16.2 Clear ....................................................................................................................................... 83
17. DIGITAL TRUNK STATISTICS DISPLAY COMMANDS .................................................................... 84
17.1 Show ....................................................................................................................................... 85
17.2 Clear ....................................................................................................................................... 86
18. R2 STATISTICS DISPLAY COMMANDS........................................................................................... 87
18.1 Show ....................................................................................................................................... 88
18.2 Clear ....................................................................................................................................... 89
19. NET2PHONE PROTOCOL TEST COMMANDS ................................................................................. 90
19.1 Trace....................................................................................................................................... 91
19.2 Ologin...................................................................................................................................... 92
19.3 Ologout ................................................................................................................................... 93
19.4 Cstate...................................................................................................................................... 94
19.5 Ostate ..................................................................................................................................... 95
20. VOICE PROMPT TEST COMMANDS.................................................................................................96
20.1 Record .................................................................................................................................... 97
20.2 Play ......................................................................................................................................... 98
20.3 Save_NV................................................................................................................................. 99
20.4 Read_NV .............................................................................................................................. 100
21. FXS STATUS DISPLAY COMMAND ................................................................................................ 101
21.1 Show ..................................................................................................................................... 102
22. FXO STATUS DISPLAY COMMANDS............................................................................................. 103
22.1 Show ..................................................................................................................................... 104
23. DIGITAL TRUNK STATUS DISPLAY COMMANDS......................................................................... 105
23.1 Atx......................................................................................................................................... 106
23.2 Loopback .............................................................................................................................. 107
24. R2 STATUS DISPLAY COMMANDS ............................................................................................... 108
24.1 Show ..................................................................................................................................... 109
24.2 Block ..................................................................................................................................... 110
24.3 Unblock ................................................................................................................................. 111
25. TRACE INFORMATION COMMANDS .............................................................................................. 112
25.1 Show ..................................................................................................................................... 113
25.2 R2 ......................................................................................................................................... 114
25.3 Lapd ...................................................................................................................................... 115
26. AUTOMATIC SYSTEM DIAGNOSIS COMMAND............................................................................. 116
26.1 Automatic .............................................................................................................................. 117

v
27. MPU DIAGNOSTIC COMMANDS..................................................................................................... 118
27.1 Nvram ................................................................................................................................... 119
27.2 RTC....................................................................................................................................... 120
27.3 Pcm_as ................................................................................................................................. 121
28. AVU DIAGNOSTIC COMMANDS..................................................................................................... 122
28.1 Lxf_as ................................................................................................................................... 123
28.2 Lxs_lb.................................................................................................................................... 124
28.3 Dsp_as.................................................................................................................................. 125
28.4 Dsp_act................................................................................................................................. 126
28.5 Dsp_lb................................................................................................................................... 127
29. DVU DIAGNOSTIC COMMANDS .................................................................................................... 128
29.1 Trunk_as ............................................................................................................................... 129
29.2 Trunk_lb ................................................................................................................................ 130
29.3 Dsp_as.................................................................................................................................. 131
29.4 Dsp_act................................................................................................................................. 132
29.5 Dsp_lb................................................................................................................................... 133
30. NETWORK UTILITY COMMANDS.................................................................................................... 134
30.1 Ping....................................................................................................................................... 135
30.2 ARP....................................................................................................................................... 136
30.3 Route .................................................................................................................................... 137
30.4 Who....................................................................................................................................... 138
30.5 QOS ...................................................................................................................................... 139
31. DEFAULT CONFIGURATION VALUES ........................................................................................... 140

1
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 8 or 8/16 through a terminal-emulator program, such as HyperTerminal. Section
2.1.2 of the MAX 8 and MAX 8/16 User Guide 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 on the Net2Phone MAX 8 and 8/16 is similar to navigation at the DOS command line,
except that the backslash (\) is replaced by a foward 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 8’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/>.
•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>
Net2Phone MAX Command Reference Guide Introduction

2
•To go back to SYS_NAME:/CONFIG/>, you would type cd.. .
Example:
SYS_NAME:/CONFIG/N2P> CD..
SYS_NAME:/CONFIG/>
•To change from SYS_NAME:/CONFIG/N2P> to its sibling,
SYS_NAME:/CONFIG/Show>, you would type CD../Show.
Example:
SYS_NAME:/CONFIG/N2P> CD../Show
SYS_NAME:/CONFIG/Show>
Net2Phone MAX Command Reference Guide Introduction

3
1. Basic Commands
Command directory
Basic commands can be executed in any directory (i.e., at any prompt).
Command function
Basic commands are used primarily for directory navigation and for command system help.
Available commands
Name Description
dir List sub-directories and commands.
cd Change directory.
help Display command usage.
? Display command usage.
! Execute previous command.
Net2Phone MAX Command Reference Guide Section 1 – Basic Commands

4
1.1 Dir (or LS)
Synopsis: This command and “ls” command in the root directory are identical. Both will display the
executable commands and sub-directories that reside in the current directory.
Sub-directories are often represented in text with a forward slash ( / ) after the last character, to
differentiate them from the executable commands.
[Example]
SYS_NAME:> dir
SYstem/ Config/ STatistics/ Test/ Netutil/
The capitalized letters in the directory and command name listing represent the abbreviated form of
those names. The abbreviated names may be used instead of the full names in issuing commands
or specifying paths.
Net2Phone MAX Command Reference Guide Section 1 – Basic Commands

5
1.2 CD
This command in the root directory is used to change from the current working directory to a
different directory. The target directory can be specified as an absolute path starting from a
specified route, or as a relative path based on the current directory.
[Example 1]
SYS_NAME:> cd system
SYS_NAME:/SYSTEM>
[Example 2]
SYS_NAME:/CONFIG/N2P> cd /system
SYS_NAME:/SYSTEM>
From the root directory, you may move to a target directory by typing only the directory name, or
just the first two or three characters of the name.
[Example 3]
SYS_NAME:/> system
SYS_NAME:/SYSTEM>
Net2Phone MAX Command Reference Guide Section 1 – Basic Commands

6
1.3 Help
Synopsis: This command in the root directory lists and briefly describes the executable commands
present in the current directory and its subdirectories.
The “help” command can be issued with either absolute or relative path names. The following
example shows the use of the “help” command at 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
Sysname : Set & display system name
Versioninfo : Display system version information
PASSWORD : Change user password
Net2Phone MAX Command Reference Guide Section 1 – Basic Commands

7
2. System Commands
Command directory
SYS_NAME:/SYSTEM>
Command function
System commands are used to control system-related modules.
After a command is executed, the message “Command successfully end.” (sic.) is
displayed at the prompt to confirm that the command was executed successfully.
If a command that can include parameters is issued without specifying any parameters, the current
status of the system is reported along with a usage or syntax reminder:
usage: DATE [ new-date( yyyy–mm–dd) ]
Available commands
Name Description
reset Reboots system.
date Show/change date.
time Show/change time.
password Change password.
sysname Change system name.
versioninfo Show system software version.
Net2Phone MAX Command Reference Guide Section 2 – System Commands

8
2.1 Reset
Synopsis: This command in the /SYSTEM/ directory restarts the system hardware and software for
system initialization without the need to cycle the power off and on. It must be issued at 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)?
After the system resets, the usual boot messages are displayed. The operator must then log in
again. Press the <Enter> key, and the Login prompt will appear.
Net2Phone MAX Command Reference Guide Section 2 – System Commands

9
2.2 Date [yyyy-mm-dd]
Synopsis: This command in the /SYSTEM/ directory is used to verify or change the system date.
Issuing the command without any parameter simply displays the current system date.
Issuing the command with the yyyy–mm–dd parameter changes the current system date to the date
specified.
[Example 1] Query the system date.
SYS_NAME:/SYSTEM> date
Current Date is 2000–01–01 SAT
usage: DATE [ new-date( yyyy–mm–dd) ]
[Example 2] Change the system date.
SYS_NAME:/SYSTEM> date 2000-02-18
Command successfully end. (sic. – this is the command confirmation)
[Example 3] Confirm the new date.
SYS_NAME:/SYSTEM> date
Current Date is 2000-02-18 FRI
usage: date [new-date(yyyy-mm-dd)]
Net2Phone MAX Command Reference Guide Section 2 – System Commands

10
2.3 Time [hh:mm:ss]
Synopsis: This command in the /SYSTEM/ directory is used to verify or change the system time.
Issuing the command without any parameter displays the current time.
Issuing the command with the hour/minute/second parameter changes the current system time to
the time specified.
[Example 1] Query the system time.
SYS_NAME:/SYSTEM> time
Current Time is 02:10:22
usage : time [new–time(hh:mm:ss)]
[Example 2] Change the system time.
SYS_NAME:/SYSTEM> time 16:32:30
Command successfully end.
[Example 3] Confirm the new time.
SYS_NAME:/SYSTEM> time
Current Time is 16:32:35
usage : time [new-time(hh:mm:ss)]
Net2Phone MAX Command Reference Guide Section 2 – System Commands

11
2.4 Password <login name>
Synopsis: This command in the /SYSTEM/ directory is used to change a user’s password.
The Net2Phone MAX’s authentication system retains information on three “login“ (user) names. The
login names are fixed but the passwords associated with them can be changed as needed.
Passwords may not exceed eight characters. The default login names and passwords are as
follows:
Login name Password
root n2p
sysadm n2p
manager n2p
[Example 1]
SYS_NAME:/SYSTEM> password
Usage: password <login name>
[Example 2] Change the sysadm password.
SYS_NAME:/SYSTEM> password sysadm
Old Password: ********
New Password : ********
Confirm Password : ********
Password for user sysadm changed
Net2Phone MAX Command Reference Guide Section 2 – System Commands

12
2.5 Sysname [system name]
Synopsis: This command in the /SYSTEM/ directory is used to change the system name.
[Example 1]
SYS_NAME:/SYSTEM> sysname
System name is SYS_NAME
usage: sysname
[Example 2] Change the system name to “ACME”.
SYS_NAME:/SYSTEM> sysname ACME
Configuration is not yet saved. You must save the changed
configuration.
Command successfully end.
As the prompt states, the new system name is in memory, but has not yet been saved. Proceed as
follows to save the new name:
JANG:/SYSTEM> ../config/save
This command isn't recoverable. Are you sure(y/n)? y
Configurations in working memory are saved to NV-memory.
JANG:/SYSTEM> sysname
SystemnameisJANG
usage: sysname
Net2Phone MAX Command Reference Guide Section 2 – System Commands

13
2.6 Versioninfo
Synopsis: This command in the /SYSTEM/ directory displays the current version information for the
system hardware and software.
[Example 1]
SYS_NAME:/SYSTEM> versioninfo
Copyright (c) 2000 by LGE
All Rights Reserved
Welcome to Net2Phone MAX 8
Hardware Version is Pv0E0v0E1v0
Software Version is MAX 8 0.85
Software is linked at Jan 11 2001 18:51:29.
Web program is linked at Jan 9 2001 13:07:55.
Net2Phone MAX Command Reference Guide Section 2 – System Commands

14
2.7 Slotinfo
Synopsis: This command in the SYS_NAME:/SYSTEM> directory is used to diagnose the operation
of various boards installed in the system including AVU and DVU board.
[Example 1]
SYS_NAME:/SYSTEM> slotinfo
USAGE : slotinfo [slot]
==============================================================
SYS_NAME Main Board Status ---- Daughter board isn't detected
==============================================================
SYS_NAME Slot Board Status
==============================================================
SLOT TYPE STATUS
==============================================================
1 EMPTY BAD
2 AVU (Analog I/F 8 port) GOOD
3 EMPTY BAD
==============================================================
[Parameter description]
Type Description
avu Analog Voice board status.
dvu Digital Voice board status.
Status Description
good Normal board operation.
bad Board is not installed in the slot, or is abnormal.
Net2Phone MAX Command Reference Guide Section 2 – System Commands

15
[Example 2] Verification of slot no. 1 installation information
SYS_NAME:/SYSTEM> slotinfo 1
==============================================================
SYS_NAME Slot Board Status [1]
==============================================================
board type | AVU (Analog I/F 8 port)
board status | GOOD
board base address | 0x60000000
----------------------------------------------------------------------
h/W port number |1234
----------------------------------------------------------------------
interface type | FXO FXO FXS FXS
logical port number |0101
group port number | --- --- --- ---
local port address |
peer/remote address |
----------------------------------------------------------------------
h/W port number |5678
----------------------------------------------------------------------
interface type | EMPTY EMPTY EMPTY EMPTY
logical port number |
group port number | --- --- --- ---
local port address |
peer/remote address |
==============================================================
[Example 3] Verification on slot no. 2 installation information
SYS_NAME:/SYSTEM> slotinfo 2
===============================================================
SYS_NAME Slot Board Status [2]
===============================================================
board type | DVU (Digital Trunk I/F 1 port)
board status | GOOD
board base address | 0x64000000
----------------------------------------------------------------------
h/W port number | 1 ---
----------------------------------------------------------------------
interface type | E1 NIU-FE1
logical port number | 0 0
group port number | --- ---
local port address |
peer/remote address |
===============================================================
channel type | I=Incoming O=Outgoing B=Bothway
| S=Signaling-CH F=Frame-Sync X=undefined
----------------------------------------------------------------------
channel number | 1 2 3
| 01234567890123456789012345678901
----------------------------------------------------------------------
h/w port [1] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII
==========================================================
Net2Phone MAX Command Reference Guide Section 2 – System Commands
Other manuals for Max 8
3
This manual suits for next models
2
Table of contents
Other Net2Phone Gateway manuals

Net2Phone
Net2Phone Net2Phone MAX 8/16 User manual

Net2Phone
Net2Phone MAX 400 Series Manual

Net2Phone
Net2Phone 2-Port Gateway User manual

Net2Phone
Net2Phone Max T1 User manual

Net2Phone
Net2Phone MAX 400 Series Operating manual

Net2Phone
Net2Phone Max 8 User manual

Net2Phone
Net2Phone Max 8 Plus User manual

Net2Phone
Net2Phone Max 410 User manual

Net2Phone
Net2Phone Max 8 User manual

Net2Phone
Net2Phone MAX 420 User manual