This section discusses the objectives, audience, organization, and conventions
associated with this document.
Document Objectives
This document provides an in-depth description of the commands necessary for configuring
and maintaining the ITG.
Audience
This publication is intended as a standalone document for experienced system administrators
or engineers who will be configuring and maintaining the ITG and would like to reference
commands.
Document Organization
This document is organized as follows:
• Introduction, gives an overview about this document.
• IP Configuration Commands describes commands for configuring the network interfaces
and displaying the configuration.
• Telephony Interface Port Configuration Commands describe commands for configuring
the telephony interface ports.
• Voice and Fax Coder Configuration Commands, describe commands for configuring the
voice and fax coders supported by the ITG.
• Call Progress Tone Configuration Commands describe commands for configuring the call
progress detector and generator.
• H323 Configuration Commands describe commands for configuring the H.323 call control
and signaling protocol stack.
• Configuration Management Commands describe the command for managing the
configuration parameters.
•
Dial Plan Management Commands describe commands for setting up and viewing the dial
plan.
Notation Conventions
This document uses the following conventions:
• Examples that contain system prompts denote interactive sessions, indicating that the
user enters commands at the prompt.
• Different type styles and characters are used. These serve a variety of purposes as
described below:
Introduction
7
8
Convention Description
boldface
Bold Courier
italic
courier
[ ]
{ x | y | z }
[ x | y | z ]
“string”
<key>
Commands and keywords are in boldface.
User input (anything you are expected to type in) is set in Bold Courier.
Arguments for which you supply values.
Messages that the ITG CLI displays are in plain courier font.
Elements in square brackets are optional.
Alternative but required elements are grouped in braces ({ }) and separated by
vertical bars ( | ).
Optional alternative keywords are grouped in brackets ([ ]) and separated by
vertical bars ( | ).
A non-quoted set of characters. Do not use quotation marks around the string
or the string will include the quotation marks.
A key on the VT-100 terminal or terminal emulator. For example <Enter>
denotes the Enter key.
Designating IP Address
Some commands require an IP address, which must be designated in a standard format. The
IP address format is 32 bits, written as four octets separated by periods (dotted decimal
format) that are made up of a network section, an optional subnet section, and a host section,
as shown in the following example:
192.168.0.1
Designating Port ID
Each telephony port of the ITG is assigned with an ID. Some commands require a telephony
port ID. The ITG assigned ID 0 to the first telephony port, ID 1 to the 2nd port, and so on.
Documentation Abbreviations
Throughout this document, the user will come across a number of abbreviations, some of
them are commonly used in the industry and some are unique to the ITG. The user should be
familiar with the following abbreviations:
ATPM
CLI
DHCP
DIS
DNS
DSP
Address Translation and Parsing Manager
Command Line Interface
Dynamic Host Configuration Protocol
Digital Identification Signal
Domain Name System
Digital Signal Processor
DTMF
EIA
FXS
GK
H.323
ICMP
IFP
IMTC
IP
ISP
ITG
KTS
LAN
PPP
PPPoE
NAT
NAPT
NVS
PBX
PSTN
RAM
RAS
RCF
RRQ
RTP
TFTP
UDP
UUIE
VAD
WAN
Dual Tone Multi-Frequency
Electronic Industry Association
Foreign Exchange Station
Gatekeeper
ITU specification for multimedia transmission over IP
networks
Internet Control Message Protocol
Internet Facsimile Protocol
International Multimedia Telecommunications
Consortium
Internet Protocol
Internet Service Provider
Internet Telephony Gateway
Key Telephone System
Local Area Network
Point-to-Point Protocol
PPP Over Ethernet
Network Address Translation
Network Address Port Translation
Non-Volatile Storage
Private Branch Exchange
Public Switched Telephone Network
Read-Write Memory
Registration, Admission and Status
Registration Confirmation
Registration Request
Real-Time Transport Protocol
Trivial File Transfer Protocol
User Datagram Protocol
User-to-User Information Element
Voice Activity Detection
Wide Area Network
Introduction
9
1. Introduction
The ITG is a VoIP gateway integrated with a Network Address Translation (NAT) router. It is equipped with
two IP interfaces, one for connecting to internal network (hereafter called LAN), the other for connecting to
external network (hereafter called WAN). The ITG performs NAPT for host in LAN interface, allowing
multiple hosts in the LAN interface to share a single IP address.
The ITG has a built-in command line interpreter and provides users a Command Line Interface (CLI). You
can configure ITG by entering commands from the CLI.
You can access the CLI from a VT-100 terminal or terminal emulator connected through a Telnet session.
Command Help
Help for commands is provided by the CLI. Type help to see a list of the top-level commands.
On most cases, if you enter a command using the wrong number of arguments or
inappropriate arguments, the CLI will give further usage.
Introduction
1
2. Utility Commands
This chapter describes the general-purpose utility commands.
get
The ITG implements TFTP client software. This command is used to download new revision
software from a remote TFTP server, or import dial plan and system configuration parameters
from a remote gateway.
get [ip_addr | host_name] [file]
Syntax Description
ip_addr IP address of the TFTP server.
host_name Host of the TFTP server
file Name of the file to be downloaded
help
The help command lists the top-level commands.
help
Syntax Description
This command has no arguments or keywords
reset
Use the reset command to reset the ITG. The CLI will prompt you to confirm the command
before resetting the ITG.
net reset
Syntax Description
This command has no arguments or keywords
ping
The ping command sends ICMP echo request packets to another host on the network.
ping host [count]
Syntax description
host The IP address or IP alias of the host.
count Number of echo request packets to send.
Utility Commands
3
4
tel erase_ivr
ID of the telephony port. If not specified, hook status for all telephony ports
This command erases the greeting message that was recorded previously.
tel erase_ivr
Syntax Description
This command has no arguments or keywords
tel set ring_freq
The ITG rings FXS port for signaling an incoming call, and provide 4 types of ringing signal,
each having a unique frequency. This command is for selecting the frequency of the ringing
signal that the ITG sends to FXS ports.
tel set ring_freq {1 | 2 | 3 | 4}
Syntax description
1 Setting ring frequency to 17 Hz
2 Setting ring frequency to 20 Hz
3 Setting ring frequency to 25 Hz
4 Setting ring frequency to 50 Hz
Factory default
1- 17 Hz
Related Command
tel show ring_freq
tel show port
This command displays the hook status of a telephony port.
tel show port [port]
Syntax description
port
available will be displayed.
tel show ring_freq
This command displays the ringing frequency that was configured by the tel set ring_freq
command.
tel show ring_freq
Syntax description
This command has no arguments or keywords
Related Command
tel set ring_freq
Utility Commands
show version
This command is used to display information that identifies the versions of various software
components that are implemented in the ITG.
show version
Syntax Description
This command has no arguments or keywords
Example
The following example shows how to use the show version command
ITG>show version
Internet Telephony Gateway Ver 1.00
Boot Loader Version: 1.00
DSP image Version: 8.1.2.1.
TSG Version: R8.0 Gateway (Build 4)
ITG>
Utility Commands
5
3. IP Configuration Commands
This chapter describes the commands for configuring and displaying the IP interface
parameters. The configured parameter will not take effect until the configured parameter
is store in NVS and the ITG is reset.
This chapter is organized as follows:
l Commands for configuring and displaying LAN interface parameters
l Commands for configuring and displaying WAN interface parameters
l Commands for configuring and displaying DHCP server and client
l Commands for configuring TFTP server
l Commands for configuring and displaying PPPoE options
l Commands for configuring and displaying dynamic DNS related parameters
l Commands for configuring and displaying management options
l Command for storing IP interface parameters to NVS
Configuring LAN Interface
The section describes commands for setting and displaying LAN interface parameters.
net set lan ip
This command is used to assign a static IP address for the LAN interface
net set lan ip ip_addr
Syntax description
ip_addr IP address for the LAN interface.
Factory default
192.168.0.1
Related Commands
net set lan mask
net set lan mask
This command is used to assign the subnet mask for the LAN interface
net set lan mask mask
Syntax description
mask Subnet mask for the LAN interface.
IP Configuration Commands
7
8
Factory default
ë
255.255.255.0
Related Commands
net set lan ip
Note
The LAN interface only supports Class C network. That is, the subnet mask
for the LAN interface must be greater than or equal 255.255.255.0.
net show lan
This command displays the LAN interface parameters
net show lan
Syntax description
This command has no arguments or keywords
Configuring WAN Interface
The section describes commands for setting and displaying WAN interface parameters.
net set wan dns
This command is used to specify the DNS servers for the WAN interface. Up to two DNS
servers can be specified.
net set wan dns pri_server [sec_server]
Syntax description
pri_server Primary DNS server for the WAN interface
sec_server Secondary DNS server for the WAN interface. Optional.
Factory default
Primary DNS server: 0.0.0.0
Secondary DNS server: 0.0.0.0
net set wan gateway
This command is used to specify the default gateway for the WAN interface.
net set wan gateway ip_addr
Syntax description
ip_addr IP address of the default gateway for the WAN interface
Factory default
0.0.0.0
IP Configuration Commands
Related Commands
net set wan ip
net set wan mask
net set wan ip
This command is used to assign a static IP address for the WAN interface
net set wan ip ip_addr
Syntax description
ip_addr IP address for the WAN interface
Factory default
172.16.0.1
Related Commands
net set wan gateway
net set wan mask
net set wan ip_tos
The ITG allows users to set the 8-bit Service Type field in the IP header for all the packets it
sends across the WAN interface. The Service Type field is broken down into five subfields,
among which four subfileds are user configurable. This command is used to set these
subfields.
net set wan ip_tos ip_preced [d] [t] [r]
Syntax description
ip_preced The 3-bit PRECEDENCE subfiled ranging from 0 through 7.
d The D bit subfield, either 0 or 1.
t The T bit subfield, either 0 or 1.
r The R bit subfield, either 0 or 1.
Factory default
ip_preced: 0
d: 0
t: 0
r: 0
net set wan mask
This command is used to assign the subnet mask for the WAN interface
net set wan mask mask
Syntax description
mask Subnet mask for the WAN interface.
IP Configuration Commands
9
10
Factory default
byte, in hexadecimal format, hardware address for the
the least significant one, should be
”). If not specified, the ITG will use the
255.255.0.0
Related Commands
net set wan ip
net show wan
This command displays the WAN interface parameters
net show wan
Syntax description
This command has no arguments or keywords
Configuring DHCP Server and Client
The ITG implements a DHCP server over its LAN interface and a DHCP client over its WAN
interface. This section describes commands for setting and displaying parameters for DHCP
server and client.
net set dhcp client
The ITG supports DHCP client over its WAN interface for obtaining IP configuration from a
remote DHCP server.
The net set dhcp client command allows you to configure the DHCP client.
net set dhcp client {on | off}
Syntax description
on Enable DHCP client over WAN interface
off Disable DHCP client
Factory default
off
net set dhcp mac_addr
Certain DHCP server allows DHCP client to request IP configuration only if predefined
hardware address is specified by the client.
The net set dhcp mac_addr command allows you to specify the hardware address for the
DHCP client. If not specified, the ITG will use the MAC address of the WAN interface.
net set dhcp mac_addr mac_addr
Syntax description
mac_addr The 6-
DHCP client. Each byte, except
delimited by a hyphen (“-
IP Configuration Commands
Loading...
+ 50 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.