Sei sulla pagina 1di 181

Maipu Confidential & Proprietary Information Page 1 of 178

MyPower VG IP
Voice Gateway
Configuration Manual
Maipu Communication Technology Co., Ltd
No. 16, J iuxing Avenue
Hi-Tech Park
Chengdu, Sichuan Province
P. R. China
610041
Tel: (86) 28-85148850, 85148041
Fax: (86) 28-85148948, 85148139
URL: http:// www.maipu.com
Mail: overseas@maipu.com

Maipu Confidential & Proprietary Information Page 2 of 181



All rights reserved. Printed in the Peoples Republic of China.

No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any
language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual
or or without the prior written consent of Maipu Communication Technology Co., Ltd.

Maipu makes no representations or warranties with respect to this document contents and specifically disclaims any implied
warranties of merchantability or fitness for any specific purpose. Further, Maipu reserves the right to revise this document
and to make changes from time to time in its content without being obligated to notify any person of such revisions or
changes.

Maipu values and appreciates comments you may have concerning our products or this document. Please address comments
to:

Maipu Communication Technology Co., Ltd
No. 16, J iuXing Avenue, Hi-Tech Park
Chengdu, Sichuan Province
P. R. China
610041
Tel: (86) 28-85148850, 85148041
Fax: (86) 28-85148948, 85148139
URL: http:// www.maipu.com
Mail: overseas@maipu.com

All other products or services mentioned herein may be registered trademarks, trademarks, or service marks of their
respective manufacturers, companies, or organizations.

Document History
Date Revision No. Description
16/07/2007 R1.0 The MyPower VG IP Voice Gateway Configuration Manual provides technical
information about configuration of voice gateway products designed and
developed by Maipu Communication Technology Co., Ltd

Maipu Confidential & Proprietary Information Page 3 of 181

Maipu Feedback Form
Your opinion helps us improve the quality of our product documentation
and offer better services. Please fax your comments and suggestions to
(86) 28-85148948, 85148139 or email to overseas@maipu.com.
Document Title MYPOWER VG IP VOICE GATEWAY CONFIGURATION MANUAL
Product
Version
Document
Revision
Number
1.0
Presentation:
(Introductions, procedures, illustrations, completeness, arrangement, appearance)
Good Fair Average Poor
Accessibility:
(Contents, index, headings, numbering)
Good Fair Average Poor
Evaluate this
document
Editorial:
(Language, vocabulary, readability, clarity, technical accuracy, content)
Good Fair Average Poor
Your
suggestions to
improve the
document
Please check suggestions to improve this document:
Improve introduction Make more concise
Improve Contents Add more step-by-step procedures/tutorials
Improve arrangement Add more technical information
Include images Make it less technical
Add more detail Improve index

If you wish to be contacted, complete the following:
Name Company
Postcode Address
Telephone E-mail

Maipu Confidential & Proprietary Information Page 4 of 181

Contents

About Configuration Manual ......................................................................8
Purpose.................................................................................................................8
How to Get in Touch ...............................................................................................8
Customer Support...................................................................................................................8
Documentation Support...........................................................................................................8
Voice Gateway Overview...........................................................................9
Theory...................................................................................................................9
Relay Gateway Mode.............................................................................................................10
Access Gateway Mode...........................................................................................................11
Typical Application................................................................................................ 12
PBX Access Platform..............................................................................................................12
MyPower VG Series IP Voice Gateway Solution .......................................................................13
Maipu IP Voice Gateway........................................................................................ 14
MyPower VG M6000..............................................................................................................14
MyPower VG2000..................................................................................................................14
MyPower VG800....................................................................................................................15
MyPower VGA600..................................................................................................................15
System Basics.......................................................................................... 16
MyPower VG Configuration Modes.......................................................................... 16
Command Line Operating Mode............................................................................. 17
Set Up Configuration Environment ......................................................................... 18
Configure MyPower VG Gateway via Console Port ...................................................................18
Configure MyPower Gateway via Telnet..................................................................................20
Command Line Interface....................................................................................... 22
Command Line Online Help....................................................................................................22
Command Line Error Information...........................................................................................26
History Command .................................................................................................................26
Edit Feature ..........................................................................................................................27
Display Feature.....................................................................................................................27
System Configuration & Management.................................................... 28
System Configuration............................................................................................ 28
System Name Configuration ..................................................................................................29
System Calendar Configuration..............................................................................................30
System User Configuration ....................................................................................................30
Enable Password & Overtime Configuration ............................................................................32
Maipu Confidential & Proprietary Information Page 5 of 181

line vty Configuration.............................................................................................................32
System Management............................................................................................ 33
MyPower VG Gateway Supported Storage Medium & File Type................................................33
MyPower VG Gateway File System Management.....................................................................33
MyPower VG Gateway Directory Management ........................................................................36
Configuration File Management..............................................................................................37
System Tools ....................................................................................................... 39
Show Command ...................................................................................................................39
System Log...........................................................................................................................45
Examine CPU Utility Rate.......................................................................................................48
System Security & AAA Configuration..................................................................... 50
AAA Commands....................................................................................................................50
AAA Check & Debugging........................................................................................................57
Network Protocol .................................................................................... 59
IP Address Configuration....................................................................................... 60
IP Address ............................................................................................................................60
Interface Distributes IP Address .............................................................................................61
Examine IP Address Configuration..........................................................................................62
Cancel IP Address..................................................................................................................62
Address Analysis................................................................................................... 63
Set Up ARP...........................................................................................................................63
Naming Service (DNS)...........................................................................................................64
IP Protocol Configuration....................................................................................... 65
Enable/Disable IP Routing Forwarding....................................................................................65
Enable/Disable IP Sending Redirect Message..........................................................................65
Enable/Disable IP Receiving Redirect Message........................................................................66
IP High-speed Forwarding......................................................................................................66
Configure IP Protocol Property................................................................................................67
ICMP Protocol Configuration................................................................................... 67
Configure ICMP Option ..........................................................................................................68
Observe ICMP Statistic Information........................................................................................68
TCP Protocol Configuration .................................................................................... 69
UDP Protocol Configuration.................................................................................... 70
Socket Interface................................................................................................... 71
Maipu IP Voice Gateway Configuration.................................................. 72
Interface Type...................................................................................................... 72
Ethernet Interface Configuration ............................................................................ 73
Gateway Clock Source Configuration...................................................................... 74
MyPower VG M6000 Clock Source Configuration.....................................................................74
MyPower VG 2000 Clock Source Configuration........................................................................76
Basic Configuration............................................................................................... 77
Maipu Confidential & Proprietary Information Page 6 of 181

Configure FXS.......................................................................................................................77
Configure FXO.......................................................................................................................80
Configure 16FXS16FXO Parameters .......................................................................................84
Configure Busy Tone Check Parameters .................................................................................91
Configure Number Transfer....................................................................................................95
Configure Dial-Peer ...............................................................................................................96
UA Configuration via SIP ..................................................................................... 107
Fax.................................................................................................................... 109
Value-added Service........................................................................................... 111
Calling ID Delivery...............................................................................................................111
Hot Line Dialing...................................................................................................................113
Call forwarding....................................................................................................................113
Call Transfer........................................................................................................................114
Call Waiting.........................................................................................................................116
NetSmart accounting authentication.....................................................................................121
Black-white List...................................................................................................................123
IP-PRI Ringing Tone ............................................................................................................125
Callee-group .......................................................................................................................126
Call-pickup..........................................................................................................................127
Telephone User Configuration..............................................................................................128
IP-FXS Remote Ringing .......................................................................................................130
Affixation ............................................................................................................................131
H.323 Parameters............................................................................................... 134
Voice Quality...................................................................................................... 135
Jitter Buffer.........................................................................................................................135
Payload Debugging..............................................................................................................136
Silent Voice Compression.....................................................................................................137
Echo Counteracting .............................................................................................................138
DSP Convergence Function.................................................................................. 139
Configure Voice Global Parameters....................................................................... 140
Trunk Configuration............................................................................................ 141
Protect Switch Function Configuration................................................................... 142
E1 Protecting Switch Function Configuration .........................................................................142
Protection Switch Function Configuration..............................................................................143
Other Configuration ............................................................................................ 143
Disable Broadcast & Multicast Function.................................................................................144
MyPower VG M6000 Ethernet Interface Speed Configuration.................................................144
RTP Flow Check...................................................................................................................144
RTP Message UDP Check .....................................................................................................145
Source Address Check.........................................................................................................145
Call Routing TRUNK.............................................................................................................146
PRI Process Switch..............................................................................................................146
Maipu Confidential & Proprietary Information Page 7 of 181

Low-end Gateway Reducing Cost Mode................................................................................147
Configure ADSL PPPOE Access............................................................................. 147
PPPOE Access Mode.............................................................................................................147
PPPOE Application Example..................................................................................................148
PPPOE Debugging ...............................................................................................................149
Debugging Command......................................................................................... 149
ACC DEBUG Command........................................................................................................151
ACC Display Command........................................................................................................153
Clear Call ............................................................................................................................156
VGL DEBUG Command........................................................................................................156
VGL Information Display Command......................................................................................158
h323 Debugging Command.................................................................................................159
CR DEBUG command..........................................................................................................161
CR Information Display Command .......................................................................................161
PRI Module DEBUG Command.............................................................................................166
PRI Module Information Display Command...........................................................................168
R2 DEBUG Command..........................................................................................................170
SIP Debugging Command....................................................................................................173
Software Upgrade................................................................................. 175
System Software Upgrade................................................................................... 175
Upgrade via Console Interface .............................................................................................175
Method two: via TFTP/FTP ...................................................................................................176
System Configuration File Upgrade....................................................................... 176
download-all .......................................................................................................................177
Single Upgrade....................................................................................................................177
Simulated Line Card (FXS Card) Upgrade.............................................................. 179
MyPower VG IP Configuration Manual
Maipu Confidential & Proprietary Information Page 8 of 181


About Configuration Manual

Purpose
The MyPower VG IP Voice Gateway Configuration Manual provides all
technical information required to configure the voice gateway products.
How to Get in Touch
The following sections provide information on how to obtain support for
the Maipu English documentation and Maipu products.

Customer Support
If you have problems or questions regarding your product, please contact
us by e-mail at overseas@maipu.com. You can also call our Overseas
Business Division over +8628-85148850, 85148041, 85148050,
85148750, and 85148997.

Documentation Support
Maipu Communication Technology Co., Ltd welcomes comments and
suggestions on the document usefulness. For further queries or
suggestions, contact us by e-mail overseas@maipu.com or fax comments
to +86-28-85148948 or 85148139. You can visit our website at
http://www.maipu.com, which comprises interesting subjects such as
product knowledge base, sales & support, and the Maipu news.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 9 of 181


Voice Gateway Overview

Theory

Example of MyPower VG M6000 to explain voice gateway theory:

IP
PSTN
G.711 PCM
G.723.1 ACELP
G.729A CS-ACELP
Ethernet
Media
Signal
G.711 PCM
Analog
H.323
VOP
R2
PRI
VGK2X
IP phone Analog

In above application mode, the voice gateway works as relay gateway and
also as gateway.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 10 of 181


Relay Gateway Mode

The network from PSTN/ISDN accesses to gateway via E1 and then
accesses IP phone via IP network.

The voice gateway connects to PSTN/ISDN network of telecom operators
via E1 interface and connects IP network via Ethernet interface. The
gateway realizes voice communication of both sides.

When the real data from E1 line reaches voice gateway, the processing
unit of voice gateway system separates signal and voice media data and
then switches.

The system first gets caller information from E1 and sends it to gatekeeper
to authenticate its ID. After authentication, the system gets the called
number.

The call is established. System transforms call signal of ISDN PRI or China
No.1 of PSTN/ISDN side to H.225 and sends it from IP network. In the
opposite direction, H225 of H323 call transfers to ISDN PRI or China No.1.

After the setup of call, both parties start voice communication. The system
completes the switch function of voice media data format. System
compresses voice PCM to G.729 and G.923 and then sends to IP phone. IP
phone decompresses it to 64K PCM code and sends it out via voice card.

For such voice information sent out by IP phone, IP phone first
compresses it to G.729 and G.723 voice and then voice gateway system
compresses it to PCM information in PSTN/ISDN network.

After the call, the call connection is removed and the gateway focuses on
accounting and statistics.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 11 of 181


Access Gateway Mode

Gateway connects to the phone via VOP port. Following is the theory:
VOPIP mode
- Analog accesses to voice gateway via VOP port, and after the id
authentication and called information, it sets up logical voice
channel with IP phone.
- Voice gateway transforms voice data to analog signal and sends it
to analog for voice terminal output.
- The voice signal first switches to PCM signal, and then compresses
to G.729, G723 signals, finally will be sent to IP phone.

Circuit switch mode
- The analog accesses to voice gateway via VOP port and sets up
voice channel with analog in PSTN/ISDN after ID authentication
and called information.
- Voice gateway transforms voice data from PSTN/ISDN to analog
signal and sends to the phone for terminal output.
- The PCM signal is sent to PSTN/ISDN network and to other analogs.
After the call, it enters accounting and statistic work.

The transform process of media and signal of gateway is the same as
the transform of relay gateway mode.


MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 12 of 181


Typical Application

PBX Access Platform
MyPower VG2000 works as a small size PBX access platform.

MyPower VG2000:



In this kind of application, during access to IP phone via IP network, the
user inserts two 16VOP IP phone modules on MyPower VG2000 IP voice
gateway, which accesses 32 analogs.
The analogs communicate with IP phones of IP networks. MyPower
VG2000 voice gateway works as a small size PBX access platform.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 13 of 181


MyPower VG Series IP Voice Gateway
Solution
MyPower VG series IP voice gateway solution:




The provincial company adopts VG M6000 with a configured 32FXO access
card and E1 relay card for large capability access and local PSTN
connectivity.
B adopts VG800 with a configured FXO simulated access card and FXS
simulated relay card for local phone access and PSTN connectivity. A
adopts VG2000 and access PBX to IP network for local PSTN connectivity.
The branch offices, according to the capability requirement, adopt VG800
or VG A600 for phone access.
The provincial company configures two IP voice gatekeeper VGK 2X and
operates VBRP protocol for gatekeeper hot backup and to guarantee
reliability of entire network.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 14 of 181


Maipu IP Voice Gateway
MyPower VG M6000
MyPower VG M6000 is core-level IP voice gateway, which provides 4-port
E1 relay and 96-port simulated phone access (FXS, FXO). It supports
conference call function and adopts modular design, hot-swap, dual-power
supply redundancy backup, switch without power supply (FXS, E1), with
telecom-level reliability, which is applied to IP voice gateway with bigger
capability and high reliability.

MyPower VG M6000:



MyPower VG2000
MyPower VG 2000 is integrated access IP voice gateway that provides 1-
port E1 relay and 48-port simulated phone access (FXS, FXO). It has
modular design, abundant interfaces, smart configuration and convenient
network.
It provides E&M, E1 relay, T1 relay, FXS and FXO interfaces satisfying
various network construction requirements of customers.
MyPower VG 2000:



MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 15 of 181


MyPower VG800
MyPower VG 800 is terminal IP voice gateway, which provides 16-port
simulated phone access (FXS, FXO). It supports hot-swap and provides
FXS, FXO interfaces. The modular design, high price-performance,
convenient installation and smart configuration are suitable for network
terminal access.
MyPower VG 800:




MyPower VGA600
MyPower VG A600 is terminal IP voice gateway, which provides 8-port
simulated access (FXS, FXO) and kinds of modes. It provides small bulk
and high price-performance ratio. It applies to network terminal access
especially desktop access.


MyPower VGA600:


MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 16 of 181


System Basics

The chapter explains InfoExpress IOS system basics of MyPower VG
gateway including InfoExpress system mode, configuration environment
preparation and command line interface.
MyPower VG Configuration
Modes

MyPower VG gateway provides various typical configuration modes:

Configure via console port and adopt shell command

Configure via Telnet and adopt shell command

Configure via VCM2000R2.1 network software
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 17 of 181


Command Line Operating Mode
InforExpress IOS of MyPower VG gateway provides sub-system of
command process for the system command management and execution
called shell. Following are the main functions of shell:

System command register

User edition of system configuration command

User input command parsing (connect via Console port of Telnet)

System command execution

When the user configures MyPower VG gateway via shell, the system
provides various operating modes for commands. Each command mode
separately supports special InfoExpress IOS configuration command to
protect system in grade and to make sure the system will not accept non-
authorized visit.

The sub-system of Shell provides modes for configuration command and
different modes for different system promotion used for promoting the
user present system mode.

The modes are:

User mode (User EXEC)

Privileged user mode (Privileged EXEC)

Global configuration mode (Global configuration)

Interface configuration mode (Interface configuration)

Routing configuration mode (route configuration)

AAA configuration mode (aaa new-model configuration)

File system configuration mode (file system configuration)

Access list configuration mode (access list configuration)

Voice card configuration (card configuration)

Call routing configuration mode (callroute configuration)

Voice-service configuration mode (voice-service configuration)
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 18 of 181


Set Up Configuration
Environment

The user uses the command line provided by MyPower VG voice gateway.

Configure MyPower VG Gateway via
Console Port

Configuring MyPower VG gateway via console:

Choose one terminal:
The terminal can be with S-232 serial or a PC. If it is remote configuration,
the users needs two MODEMs. Ensure MyPower VG gateway of at least one
side of the terminals is power off and connect RS-232 serial with console
port of MyPower VG gateway.

MyPower VG gateway configuration:

PC
Gateway
DB9 RJ45



Power on the terminal and set the parameter as BR9600bps, data bit 8,
stop bit 1, no check and no flow control. Choose terminal type as VT100.
If it is PC, it operates system Win98/2000/NT/XP and then operates
HyperTerminal (super terminal) program (routing: start-> program->
attachment-> communication-> super terminal.

If the system doesnt have such process, install this module or use special
terminal software such as SecureCRT) and configure serial parameters
according to above parameters.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 19 of 181


Here we take Windows NT super terminal program as an example:

Communication parameter configuration:

Set up connection

NameMyPower VG gateway (can be other names)
Set up Windows icon for connection

Choose serial communication port
Choose COM1 or COM2

Configure serial communication port parameters
Baud rate 9600bps
Data bit 8
Parity checknone
Stop bit1 bit
Flow controlnone















MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 20 of 181


Power on MyPower VG. Press enter key on super terminal and it
displays gateway>. Configure MyPower VG gateway.

Configure MyPower Gateway via Telnet
MyPower VG gateway has configured IP address of each interface, we can
configure MyPower VG gateway via Telnet.

Connect network card interface of PC with Ethernet interface of
MyPower VG gateway via LAN

Operate Telnet customer end program on PC in LAN

Set first optional of Telnet terminal

The content is: terminal->first optional->simulated optional, configured as
VT100/ANSI.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 21 of 181


Configure MyPower VG gateway via telnet:

PC
IP voice gteway

When configure Telnet customer end program, we should cancel local
response, or, it will cause the repeated display of the content, and effect
the normal use of sub-system of shell.

Input IP address of MyPower and set up connection of Telnet of
MyPower VG gateway

Host name: MyPower VG gateway IP address (for example:
128.255.255.1)

Port configured as Telnet (23)

Terminal type: ANSI



Other operation is the same as the configuration of console port.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 22 of 181


Command Line Interface
Command line interface is an alternation interface provided by sub-system
of shell. The user inputs and edits command via command line interface,
to finish configuration task, and meanwhile, user examines system
information via the interface, to know the operating status.

Command line interface provides the following function for user:

System help information management

System command input and edition

Interface history command management

Terminal display system management


Command Line Online Help
Command line provides such kinds of online help:

Help

Complete help

Part help

Via above help method, user gains various help information, for example,

1In any command mode, input help to get some simple description of
help system:

gateway>help
Input help information:

Help may be requested at any point in a command by entering a question
mark '?'. If nothing matches, the help list will be empty and you must
backup until entering a '?' shows the available options.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 23 of 181


Two styles of help for command are provided:

1. Full help is available when you are ready to enter a command
argument (e.g. 'show ?') and explains each possible argument.

2. Partial help is provided when an abbreviated argument is entered
you want to know what arguments match the input

(e.g. 'show pr?'.)

"Edit key" usage:

Command Description
CTRL+A Go to home of current line
CTRL+E Go to end of current line
CTRL+U Erase all character from home to current cursor
CTRL+K Erase all character from current cursor to end
CTRL+W Erase a word on the left of current cursor
CTRL+R Erase a word on the right of current cursor
CTRL+D, DEL Erase a character on current cursor
BACKSPACE Erase a character on the left of current cursor
CTRL+B, LEFT Current cursor backward a character
CTRL+F, LEFT Current cursor forward a character


2In any command mode, input ? to get all the commands and simple
description. The following commands can be executed in privileged user
mode:
gateway# ?

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 24 of 181


input ? help list

Command Description
Allocmem Alloc mem test
Allocrm Alloc rm test
Bert Start bert test
Bootstrap Halt and enter bootstrap monitor mode
bridge transparent bridge two scc interfaces
Clear reset function
Clock Config the system clock information
Configure Turn on configuration commands mode
console-speed Set console speed
Copy Copy a file
Debug Debugging functions, see also undebug
Disable Turn off privileged commands
Display Show something for debug purpose
exit Exit from current EXEC mode
Filesystem Turn on file system management commands mode
fsk_send_test Send callid
getdspstatus get dsp channel status
Help Description of the interactive help system
iguide control iGuide
Language Set help information language
Logout Exit from EXEC shell
memdump Dump memory image
More Format showing output
mrt Mrouted
Netstat Show active connections for Internet protocol socket
No Negate a command or set its defaults
pad Open a X.29 PAD connection
Ping Send echo messages
qttable quick transmit
Quickping Send echo messages quickly
Reload Halt and perform a cold restart
rlogin Open a rlogin connection
selftest-mode Selftest-mode
Sendtrap Send a trap to a specified host or all the host in the trap
host list
Show Show running system information
Spy Spy some information
sysupdate Update system software
telnet Open a telnet connection
terminal Set terminal line parameters
Trace Show a task stack frame
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 25 of 181


traceroute Trace route to destination
undebug Disable debugging functions, see also debug
Who Show who is logged on
whoami Who am i
Write Write current running configuration to a destination
x3 Set X.3 parameters on PAD

Input one command, and then input ? after a blank, if it is key word, all
the key words and simple descriptions should be listed out. The following
example displays the key word in privileged user mode:

gateway#show ?

Input one serial, and then input ?, all the key words and descriptions
started by the serial should be listed out:

gateway#d?

Command Description
Debug Debugging functions
deviceStatistic Command deviceStatistic
Disable Turn off privileged commands
DeltaTimer Command DeltaTimer
Display Show something for debug purpose

Input one command, and then input ? after a blank, if it is key word, all
the key words and simple descriptions should be listed out.

gateway#show h?

Command Description
Hosts Print current host table information
Hdlc HDLC protocol
H323 H323

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 26 of 181


Command Line Error Information
All the commands inputted by user should be checked by command line, if
pass the check, all the commands execute, or, the error information will
come to the user.

Command line interface error promotion information

Error information Reason
Command not found
Keywords not found
Wrong type of parameters
% Invalid input detected at '^' marker.
Parameter value beyond the scope
% Ambiguous command: ***
% Please select:



Input command is not integrate

*** means the use has input non-integrated command string
means the user choice integrated command.
History Command
Command line interface provides similarity Doskey function, the system
auto saves the command to the buffer of history command, and so the
user can transfer the history command and execute repeatedly, to reduce
the unnecessary work.

The command line interface saves 10 commands for each user connecting
to MyPower VG gateway, and later the new command is instead of the old
one:

History command of access command line:
Operation Press key Result
Access last history
command
Up cursor key or Ctrl+p Delete latest command or alarm
rings
Access next history
command
Down cursor key or
Ctrl+n
Delete later command or delete
the command line and alarm
rings

When access history command with cursor key, telnet logon MyPower VG
gateway in the system of windows 98/NT and we need to configure
terminal->first option->simulate option: VT-100/ANSI.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 27 of 181


Edit Feature
Command line interface provides basic command editing function and
supports multi-line edit. Each line supports 256 characters.

Basic editing function:

Key Function
Normal If buffer is not full, remove cursor key rightwards or the
alarm rings.
Backspace Delete character before cursor, and if it reaches head of
line, the alarm rings.
Delete Delete the character at the position of cursor, and if it
reaches end of the line, alarm rings.
^B Cursor removes one character leftwards, and if it reaches
the head of command line, the alarm rings.
^F Cursor removes one character rightwards, and if it
reaches the end of the line, the alarm rings.
Display history command
^A Cursor removes to the head of the command line
^E Cursor removes to the end of command line
^U Delete all the characters on the left side of cursor till the
head of the command line
^K Delete all the characters on the right side of cursor till the
end of the command line
Display Feature
Command line interface provides:

If the displaying information is over one page, it provides pause function,
and displays prompt on left (--MORE--) and the user has kinds of choice.

Display features:

Key-press Function
or Ctrl-B Display the information of the next page.
(Space) oror Ctrl-F Display the information of front page.
-or The displaying information of screen rolls to the front
page.
(Enter) or Display the information of next line.
Other key-press Exit to display.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 28 of 181


System Configuration &
Management

This chapter explains the basic configuration and management of MyPower
VG gateway, including system configuration command, user and password
management, environment parameters configuration, file management
and the examination of system information.
System Configuration
In MyPower VG gateway, the main task of system configuration is:

System name configuration

Calendar configuration: year (1970-9999), date, time

System user configuration

Enable password and overtime configuration

Line vty access user number, password and overtime configuration

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 29 of 181


MyPower VG gateway system configuration command list:

Configuration
task
Command Function Operating
mode
Typical example
Configuration
name
hostname Change
MyPower
VG
gateway
name
Global
configuration
mode
gateway(config)#hostname
MyPower
Calendar
configuration
clock Configure
system
calendar
Privileged
user mode
gateway #clock 2001 11
15 9 25 10
System user
configuration
user Add
system
user
Global
configuration
mode
gateway(config)#user
maipu password 0 maipu1
Enable
parameters
configuration
enable Configure
enable
password
and
overtime
Global
configuration
mode
gateway (config)#enable
password a
gateway (config)#enable
timeout 0
line vty
parameters
configuration
line vty Configure
line vty
access
users,
passwords
and
overtime
Global
configuration
mode
gateway (config)#line vty
0 15
System Name Configuration
The default system name of MyPower VG gateway is gateway. During the
user process, users can change system name according to their
requirements, and the change is effective, and that is to say the new
system name displays in the next system prompt. The following command
is to change system name gateway to VG6000.

Operating steps:

Command Description
gateway # configure terminal Enter global configuration mode
gateway(config)#hostname
VG6000
Modify system name
VG6000 (config)# Use new system name in next system prompt

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 30 of 181


System Calendar Configuration
MyPower VG gateway has configured real time clock system, to record
current time of the system, including: year, date, date and week. If the
modification is needed, we can do according to the following example:

Command Description
gateway#clock 2001 11 15 9 36
10
Configure date as November 15, 2001. The time is
9:30:10
gateway#show clock Display system current date and time

show clock command is used both in user and privileged user mode with
the same method. MyPower VG M6000 supports clock chip to save the
clock information, the time can be configured.

Command Description
gateway#clock-time
<HH:MM:SS>
Configure time
gateway#clock-date <2000-
2035> <1-12> <1-31>
Configure date
gateway#clock-datetime <2000-
2035> <1-12> <1-31>
<HH:MM:SS>
Configure date and time
gateway#show datetime Display current date and time

For MyPower VG M6000, it is different to configure system clock and clock
chip. The time of clock chip can be saved and is not lost without power
supply. While the system clock information is only effective to current
operation, and it will be back to the default time without power supply.
System User Configuration
To boost up the security of the system, MyPower VG gateway permits
configuring some system user, together with AAA configuration, and only
configured user can access MyPower VG gateway via terminal, TELNET

add user
gateway# configure terminal

Command Description
gateway(config)#user maipu
password 0 maipu
Add user Maipu for system, and the password is
Maipu, with proclaimed in writing


MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 31 of 181


Examine system user information:

Command Description
gateway#show user After the execution of above commands in privileged
user mode, we can examine registered user.


delete system user
gateway# configure terminal

Command Description
gateway (config)#no user maipu Delete system usermaipu

After the execution of this command, the user Maipu will be deleted from
local user database.

The password in MyPower VG gateway can be configured as no service
password-encrypt and service password-encrypt. If there is
configuration of service password-encrypt, the user name and
password can be displayed as: user maipu password 7 XPXXXOYTYO

The details of AAA configuration refers to the first chapter of AAA
configuration
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 32 of 181


Enable Password & Overtime
Configuration

In global configuration mode, configuring via command enable password
and enable timeout.

Command Description
gateway (config)#enable
password password
Configure super user password
gateway(config)#enable timeout
<0_0x7FFFFFFF>
Configure overtime

The time is 300 seconds by default, which is 5 minutes. If configured as 0,
it will never over the time.
line vty Configuration
MyPower VG gateway permits 16 users log on telnet, the limitation of the
user of telnet can be configured, such as the password for logon, line
password, ilde timeout, and the command is as following:

Command Description
gateway (config)#line vty [0-15] Configure the limitation to which users of telnet,
and enter line configuration mode after the
execution of the command.
gateway(config-line)#exec-timeout
[0-35791]
Configure the exit time of idle, which is to say it will
exit the system without the operation for users of
telnet.
gateway (config-line)#password 0
<LINE>
Configure line password, if configured login, it
should according
to the line password of each vty.
gateway(config-line)#login CR |
local | authentication
Whether configured password of telnet logon, if not
configured aaa, but no login, it is no need to
configure password. If configured login, use line
password to log in. If configured login local, use
local configured user name and password to log in if
configured login authentication, use aaa
configuration to authenticate user name and
password.
gateway(config-line)#access-class
[1-1000] | WORD
Configure access list to limit telnet user, the
command access-list command is needed to
configure property.
gateway (config-line)#timeout
login respond [0-300]
Configure the over time for inputting user name and
password.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 33 of 181


System Management
MyPower VG Gateway Supported Storage
Medium & File Type
MyPower VG gateway has three storage medium, and the usage is as
following:

RAM: use as the executing space of application program of MyPower
VG gateway

FLASH: use as storage of application program, configuration program,
various record files and BootROM program of MyPower VG gateway

EEPROM: use as the storage of usual changed system configuration
files, user information.

MyPower VG gateway contains four files for management:

MyPower VG gateway application programuse to complete gateway
function, file management and system management.

Configuration filehe storage the parameters of system configuration

BootROM filestorage the basic data of system initialization

Other filessuch as the file for second dialup.


MyPower VG Gateway File System
Management
MyPower VG gateway constructs a file system based on DOS on flash, use
to store the application program (protocol software, driver program),
BootROM program of MyPower, and this file system is TFFS (True Flash
File System). In file system configuration mode, the system provides a set
of commands for management for users.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 34 of 181


File system management command list (input filesystem to enter the file
system configuration mode)

Command
name
Function Operating
mode
Example
cd Change current
routing
File system
configuration
mode
gateway (config-fs)#cd dir1
copy File copy File system
configuration
mode
gateway (config-fs)#copy flash
file1 flash file2
delete File deletion File system
configuration
mode
gateway (config-fs)#delete file1
dir Examine
directory or file
File system
configuration
mode
gateway (config-fs)#dir
download-all Auto download
all system
assistant file
via tftp or ftp,
such as prompt
voice file or
status file.
File system
configuration
mode
gateway(config-fs)#download-all
ftp 192.168.1.1 admin admin
download
gateway(config-fs)#download-all
tftp 192.168.1.1
download-
check
Examine
whether all the
assistant file is
existing
File system
configuration
mode
gateway (config-fs)# download-
check
ftpcopy Copy file from
FTP server
File system
configuration
mode
gateway (config-fs)#ftpcopy
A.B.C.D MyPower MyPower1 j:\
config startup
mkdir Set up
directory
File system
configuration
mode
gateway (config-fs)#mkdir dir1
pwd Display current
routing
File system
configuration
mode
gateway (config-fs)#pwd
rmdir Delete
directory
File system
configuration
mode
gateway (config-fs)#rmdir dir1
rename Modify file
name or
directory name
File system
configuration
mode
gateway (config-fs)#rename
filename1 filename2
show Examine file
equipment
information
Privileged
user
configuration
mode
gateway #show filesytem
tftpcopy Copy file from
TFTP
File system
configuration
mode
gateway (config-fs)#tftpcopy
1.1.1.1 abc abc
type Examine file
content
File system
configuration
mode
gateway (config-fs)#type startup
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 35 of 181


volume Examine file
equipmen
information
File system
configuration
mode
gateway (config-fs)#volume
xmodemcopy Copy file by
using XMODEM
protocol
File system
configuration
mode
gateway (config-fs)#xmodemcopy
abc 9600

The file system management of MyPower VG gateway has two aspects: file
management and directory management.

Because TFFS is based on DOS file system, it doesnt support long file
name, the file name accords with the rule of 8.3.

1Examine file equipment information

The file system of MyPower VG gateway is on the basis of flash, the TFFS
information can be examined via the following commands.

In file system configuration mode, execute command volume.

In privileged user mode, execute command show file to examine
files.:

gateway# show file descriptors

2File management

By using the file management command, user operates all files of TFFS,
including:

List file (directory)

File copy

File deletion

Examine file content

The following is the using range of file management command:
1) list file (directory)

Command Description
gateway #filesystem Execute command filesystem to enter file
configuration mode
gateway (config-fs)#dir Execute command dir in file configuration mode,
and list current all sub directories of the file.


MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 36 of 181


file copy
Command Description
gateway (config-fs)#copy startup
/maipu/newstartup
Copy the file startup, and put the new file name
newstartup to the directory of Maipu


delete file
Command Description
gateway (config-fs)#delete startup Delete file startup

The system prompts:

The Data of this file will be lost! if OS is deleted, the system will hangup!
Please confirm to continue(Yes/No)y
Use Y(Yes) to confirm the file is deleted, but use N(No), the operation will
be canceled.

Examine file content
Command Description
gateway (config-fs)#type startup Examine the content of startup

MyPower VG Gateway Directory
Management
The content of directory management of MyPower VG gateway contains:

Print system current route

Change current route

Set up directory

Delete directory

The following example is the use range of directory management
command:
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 37 of 181



print system current route
Command Description
gateway #filesystem Enter configuring file system mode
gateway (config-fs)#pwd Display which directory the system is under

Display: /flash

change system current route
Command Description
gateway (config-fs)#cd maipu Enter the directory Maipu
gateway (config-fs)#pwd Display which directory the system is under

Display: /flash/maipu

set up directory
Command Description
gateway (config-fs)#mkdir maipu Set up directory Maipu

delete directory
Command Description
gateway (config-fs)#rmdir maipu Delete the directory Maipu

Configuration File Management

Configure file content and format:

The configured file is stored in text file format, and the format is as
following:

It exits in configuration command format

To save storage space of flash equipment, only the commands in
configuration mode is saved at present (including global configuration
mode, interface configuration mode, file system configuration mode,
access list configuration mode, routing protocol configuration mode
and gateway configuration mode).

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 38 of 181



Load of configuration file:
The configuration file of MyPower VG gateway can be edited by text editor
(such as tablet) according to format, and then the files will be download to
MyPower VG gateway via FTP or TFTP. This operation can be used by
end users, and also by remote user via Telnet.

Here is an example for download MyPower VG gateway configuration file
via FTP:

Step 1: Edit configuration file config on PC

Step 2: Start up FTP SERVER

Step 3: Execute command ftpcopy in file configuration mode, and
download files from computer

Command Description
gateway(config-fs)#ftpcopy
A.B.C.D MyPower MyPower1 j:\
config startup
Keywords are PC address, user name, directory, file
name and local file name

The purpose of above command is to download config to MyPower VG
gateway, and write to TFFS current directory of MyPower VG gateway,
named startup. Execute dir command, so we can see there is a new file
named startup.

It is almost the same to download via TFTP and FTP, but the difference is
the computer should operate TFTP SERVER, and the command for
MyPower VG gateway is tftpcopy.

Step 4: restart up MyPower VG gateway, and execute configuration file
startup, and then modify system configuration.

3Save system current configuration
After the modification of system configuration, the current configuration
can be saved for the parameters of next startup of MyPower VG gateway.

Command Description
gateway#copy running-config
startup-config
Save current configuration to STARTUP

Use the command:
Command Description
gateway #write Save current configuration to STARTUP

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 39 of 181


Save the configuration to remote host computer via TFTP:
Command Description
gateway #copy running-config tftp
A.B.C.D conf i g
A.B.C.D is the address of remote host computer, the
saved file name is config.

Save the configuration file of remote host computer to STARTUP of
MyPower VG gateway via TFTP:

Command Description
gateway #copy tftp A.B.C.D
config startup-config
A.B.C.D is the name of remote host computer, and
config is the source name of the file.

Examine current operating position of MyPower VG gateway:
Command Description
gateway #show running-config Examine current operating positon of MyPower VG
gateway.
System Tools
Show Command
The system command show can examine the following information:

System software and hardware resource information

System statistics information

System configuration information

System basic information

gateway#show ?

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 40 of 181


Keywords of system show command

Command Function
Stack Display the using condition of each task stack of the system
memory Display system memory information
mbuf Display buffer information
process Display process information
device Display device information
interface Display network interface information
Host Display host information
Arp Display ARP information
Ip Display IP layer (TCP, UDP) statistics information
startup-config Display startup configuration file content
about Display system copyright information
version Display system hardware, software version information
Here we take MyPower 800 as an example:


Display system stack:
gateway#sh stack

NAME ENTRY TID SIZE CUR HIGH MARGIN
------- ------- ---- ----- ----- ----- ---------
t ExcTask 0x00005b0160 3f a3c68 7984 288 564 7420
t LogTask 0x00005c1a84 3f a1190 4984 272 352 4632
t WdbTask 0x00005f 0a28 22aa298 8176 672 816 7360
t ExcTr ace 0x0000017b44 3587760 7984 1232 1520 6464
t Shel l 1 0x000003c170 2180918 16376 1784 8488 7888
t SysTmr Tsk 0x00002db9c0 2510e78 19984 272 640 19344
t Tmr 0x00002db0f 4 250bc10 89992 384 816 89176
t SysLog 0x00001f be88 229a928 5112 256 2980 2132
t QTr ansRcv 0x000058c0a8 239d718 16368 224 452 15916
t QTr ansSend 0x000058d038 23993c0 16368 208 1428 14940
t DspSpecTsk 0x000057ca4c 23171f 8 4984 240 324 4660
t FskTsk00 0x000057ca4c 22caa98 3984 240 1008 2976
t FskTsk01 0x000057ca4c 22c8848 3984 240 324 3660
t FskTsk02 0x000057ca4c 22c6298 3984 240 324 3660
t FskTsk03 0x000057ca4c 22c3c70 3984 240 324 3660
t PPPExe 0x000022c124 356e410 10232 208 272 9960
t PPPSi g 0x000022c224 356b7e8 3416 256 528 2888
t Net Task 0x00001750bc 270cea8 9984 256 1332 8652
t SysTi mer 0x000002b76c 2702048 10224 192 320 9904
t SysSi g 0x000002a424 26f f 420 3416 320 912 2504
t Dr vCar dTsk 0x000057ca4c 232b6f 0 4984 240 980 4004
t FwdTask 0x0000175224 270a440 9984 208 1764 8220
t Act i ve 0x0000535c7c 2185f d8 3992 176 320 3672
t SysTask 0x00002551d8 34972f 8 9984 272 1188 8796
t Rt Bak 0x0000252994 26f be18 16376 1088 1232 15144
t FecDet ect 0x000051f 3ac 26b6d00 4984 240 1952 3032
t Tf f sPTask 0x00005e5e10 3f 9f 778 2032 176 400 1632
t Tel net d 0x000039b608 217c708 10224 352 432 9792
t SysI sTsk 0x00002dbf 14 2512c38 4984 272 928 4056
t Dr vTsk 0x00002db0f 4 24e1f a8 89992 384 448 89544
t Rmm 0x00002db0f 4 24cb8f 0 89992 384 448 89544
t Rma 0x00002db0f 4 24b4b78 89992 384 448 89544
t Sysm 0x00002db0f 4 2461c58 89992 384 1056 88936
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 41 of 181


t Ae 0x00002db0f 4 244b7b8 89992 384 8884 81108
t Acc 0x00002db0f 4 23f c648 89992 384 11636 78356
t RmmAdap 0x00002d23a0 2315a20 16368 688 864 15504
t RmaAdap 0x00002d5524 23116c8 16368 736 932 15436
t Si gAdap 0x00002d2974 230d370 16368 1120 1300 15068
t AeAdap 0x00002dced0 2309018 16376 688 864 15512
t Dr vTapa 0x00002db0f 4 22e7360 89984 384 1408 88576
t Si pA2S 0x00002db0f 4 22c20d0 89992 384 448 89544
t Vgl c 0x00002db0f 4 2291030 89992 384 1956 88036
t Acnt 0x00002db0f 4 227ab88 89992 384 452 89540
t AppCd 0x00002db0f 4 224d268 89992 384 448 89544
t Ct 0x00002db0f 4 22366f 8 89992 384 4464 85528
t AppCw 0x00002db0f 4 221f f e0 89992 384 448 89544
t I vr 0x00002db0f 4 2208940 89992 384 448 89544
t Uc 0x00002db0f 4 21f 2568 89992 384 3380 86612
t H323Dns 0x000047535c 21db2c8 15344 320 384 14960
t H323User 0x00002db0f 4 21d68a0 89984 384 66068 23916
t Tucl 0x00002db0f 4 21c04c8 89992 272 2660 87332
t H323St ack 0x00002db0f 4 21aa0f 0 89984 384 66084 23900
t DynRout er 0x00000b3ee8 23c9558 5984 432 692 5292
t AppTask 0x00002db0f 4 2263910 89984 384 448 89536
t DcacheUpd 0x000059cc6c 3520420 4984 192 452 4532
I NTERRUPT

Display system memory
gateway#sh memory


SUMMARY:
Status bytes blocks avg block max block

current
free 24423680 96 254413 24239752
alloc 31841640 18151 1754 -

cumulative
alloc 40304696 56864 708 -
code
code 10838512 - - -

STATISTICS:
Available bytes 24423680
Used bytes 31841640
Total bytes 56265320
Used bytes percent 56.59%

Display system buffer
gateway# show pool detail
Data pool

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 42 of 181


Statistics for the network stack mbuf

Type Number

FREE 49887
DATA 1
HEADER 1
SOCKET 9
PCB 12
RTABLE 54
HTABLE 0
ATABLE 0
SONAME 0
ZOMBIE 1
SOOPTS 0
FTABLE 0
RIGHTS 0
IFADDR 20
CONTROL 0
OOBDATA 0
IPMOPTS 2
IPMADDR 11
IFMADDR 0
MRTABLE 0
DRVSCC 0
DRV8SA 0
DRV8S 0
DRV16A 0
DRV4M336 0
DRVEXTSCC 0
DRVQMC 0
MPLSINFO 2
TOTAL 50000
Number of mbufs: 50000
Number of times failed to find space: 0
Number of times waited for space: 0
Number of times drained protocols for space: 0
__________________
CLUSTER POOL TABLE
________________________________________________________
Size Clusters Free usage
-------------------------------------------------------------------------------
64 6000 5966 34124
128 36000 35933 351874
256 3200 3198 3711
512 3200 3191 37
1024 180 180 0
2048 400 400 0
-------------------------------------------------------------------------------
Size: 12416400 bytes

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 43 of 181


Driver pool

Statistics for the network stack mbuf
type number
--------- ------
FREE 5990
DATA 10
HEADER 0
SOCKET 0
PCB 0
RTABLE 0
HTABLE 0
ATABLE 0
SONAME 0
ZOMBIE 0
SOOPTS 0
FTABLE 0
RIGHTS 0
IFADDR 0
CONTROL 0
OOBDATA 0
IPMOPTS 0
IPMADDR 0
IFMADDR 0
MRTABLE 0
DRVSCC 0
DRV8SA 0
DRV8S 0
DRV16A 0
DRV4M336 0
DRVEXTSCC 0
DRVQMC 0
MPLSINFO 0
TOTAL 6000
Number of mbufs: 6000
Number of times failed to find space: 0
Number of times waited for space: 0
Number of times drained protocols for space: 0
__________________
CLUSTER POOL TABLE
___________________________________________________________
Size clusters free usage
-------------------------------------------------------------------------------
1596 6000 5632 1119414
-------------------------------------------------------------------------------
Size: 10056000 bytes

All MBUF pool size: 22472400 bytes
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 44 of 181


Display system device:
gateway#show device
drv name
0 /null
1 /tyCo/0
1 /tyCo/1
4 serial0/0
4 serial1/0
4 serial2/0
4 serial3/0
2 /pipe/temp
3 /logging
3 /more
3 /config
3 /iGuide
6 WEBDEV
3 /flash
2 /pipe/terminal
9 /memory/

Display system version
gateway#show version
MyPower (R) Operating System Software
MyPower VG800 system image file (VPM800-VG-6.7.8.bin), version 6.7.8,
Compiled on Apr 11 2006, 13:38:03
Copyright (C) 2005-2006 Maipu (Sichuan) Communication Technology Co.,
Ltd. All Rights Reserved.

MyPower VG800 Version Information
System ID: 00017a01271c
Hardware Model: MPC860T with 64 MBytes sdram, 8 MBytes flash
Hardware Version: 02 (0x2)
Monitor Version: 3.03
Software Version: 6.7.8
Software Image File: VPM800-VG-6.7.8.bin
Compiled: Apr 11 2006, 13:38:03

System Uptime is 0 hour 42 minute 25 second

Display system copyright
gateway#show about

MyPower VG800 series modular architecture can offer clients flexible
solutions when new services and applications come into existence. With
full support of the MyPower-R operating system software, MyPower VG800
series modular architecture will support the following applications:

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 45 of 181


General Internet/intranet access
LAN-to-LAN/LAN Internetwork
Secure Internet/intranet access
Multiservice voice/data integration
Analog and digital dial access services

MyPower VG800 modular architecture include the following optional
modules:
GM2-4VOS: 4-port FXO Module
GM2-4VOP: 4-port FXS Module

Copyright (C) 2005-2006 Maipu (Sichuan) Communication Technology Co.,
Ltd. All Rights Reserved.
System Log

Sytem log contains two aspects, one is to add some top information, such
as time, task. The second is to output and store log message in different
types, and print to console port and telnet terminal, and then sent to log
server.

System log function
Command Description Configuration
mode
logging enable Enable logging. No logging enable
is used to close the function.
config
logging color
{ alerts|critical|
debugging|
emergencies|
errors|informational|
notifications|
warnings}
[blue|brown|cyan|
green|
purple|red|white]
Configure logging color config
logging buffer Configure logging buffer.
Command no logging buffer is
used to close the function.
config
logging buffer max-size <4096-
409600>
Configure buffer size config
logging buffer
{<0-7>|alerts|
critical|debugging|
emergencies|errors|
informational|
notifications|
warnings}
Configure logging buffer
information
config
logging console Configure logging console, and
command no logging console is
config
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 46 of 181


used to close the function.
logging console
{<0-7>|alerts|
critical|debugging|
emergencies|errors|
informational|
notifications|
warnings}
Configure logging console
information
config
logging file Configure logging file. Command
no logging file is used to close the
function.
config
logging file max-size <4096-
1048576>
Configure logging file max-size config
logging file
{<0-7>|alerts|
critical|debugging|
emergencies|errors|
informational|
notifications|
warnings}
Configure logging file information config
logging trap Configure logging trap. Command
no logging trap is used to close the
function.
config
Logging {hostname|A.B.C.D}
{<0-7>/alerts/
critical/debugging/
emergencies/errors/
informational/
notifications/
warnings}
Configure server name or IP
address
config
logging source-ip A.B.C.D Configure logging source ip
address
config
logging event Configure logging event config
logging monitor Configure logging monitor.
Command no logging monitor is
used to close the function.
config
logging monitor
{<0-7>|alerts|
critical|debugging|
emergencies|errors|
informational|
notifications|
warnings}
Configure logging monitor config
logging facility
{auth|cron|
daemon|kern
|local0|local1
|local2|local3
|local4|local5
|local6|local7
|lpr|mail|news
Configure logging facility. The
default is local7.
config
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 47 of 181


|sys10|sys11
|sys12|sys13
|sys14|sys9
|syslog|user
|uucp}
service timestamps log [datetime
[localtime/ msec/ show-timezone]|
uptime]
Configure service timestamps
log: date, time zone, local time
config
service taskname log Configure service taskname log config
clear logging [buffer|file] Clear memory and flash enable
show logging [file|buffer] Display memory and flash enable

Log is divided into level 0 to level 7, level 0 means the most severity. In
default, level 0 to level should sent to console port and telnet level 0 to 5
should be written to memory file, level 0 to 2 should be written to flash file
and level 0 to 5 should be sent to logging server.

The commands are: logging console level, logging monitor level, logging
buffer level, logging file level, logging ip-address level. If configured level,
it means the range is 0level.

In global mode:

gateway(config)#logging file ?
<0-7> Logging severity level
alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
informational Informational messages (severity=6)
max-size Set max-size parameters
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)
<CR>

The definition of level is as:
Table 2-4 logging level definition

Level Keywords Description
0 emergencies System can not use
1 alerts Need immediate action
2 critical Crisis status
3 errors Error status
4 warnings Warning status
5 notifications Normal notification status
6 informational Informational message
7 debugging Debugging information


MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 48 of 181


Examine CPU Utility Rate
Maipu routers provide the tools for examining CPU utility rate. When open
CPU switch, you can examine it.

commands are as following:

Command Description Configuration mode
check cpu enable Enable cpu, and collect cpu utility data config
check cpu disable Disable cpu, and stop collecting cpu,
the default status is disable
config
check cpu time-interval{1-
3600}
Configure updating cpu time-interval,
and the default is 2 seconds
config
check cpu view [simple] Whether display in short form config
check cpu parameter Examine current check cpu parameters,
status, for example, enable cpu monitor
config
spy cpu Enable CPU, and monitor cpu utility enable
no spy cpu Disable cpu, and stop monitoring cpu
utility
enable
monitor cpu Enable CPU, and start monitoring cpu
utility sometimes
enable
no monitor cpu Disable CPU, and stop monitoring cpu
utility
enable
show cpu Display cpu utility enable
show cpu monitor Display cpu utility in some time enable

The command example is as following:

In privileged user mode, command show cpu displays cpu utility:

gateway#show cpu

NAME TID PRI total% (ticks) delta% (ticks) current%
tCheckCpu 37640824 30 0%(80) 0%(2) 0%
tShell1 37840344 20 35%(5868) 0%(0) 0%
tFwdTask 41410224 45 15%(2478) 0%(0) 0%
tNetTask 41420760 50 5%(918) 0%(0) 0%
KERNEL 0 0 4%(780) 0%(0) 0%
INTERRUPT 0 0 0%(12) 0%(0) 0%
IDLE 0 0 38%(6260) 99%(398) 99%

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 49 of 181


In priviledged user mode, command show cpu monitor displays cpu utility
in some time:

gateway#show cpu monitor

CPU utilization for five seconds: 0% one minute: 1% five minutes: 1%
CPU utilization per second in the past 60 seconds:

0% 0% 0% 0% 0% 0% 0% 2% 5% 0%
0% 0% 0% 0% 0% 0% 0% 2% 5% 0%
0% 0% 0% 0% 0% 0% 0% 2% 5% 0%
0% 0% 0% 9% 2% 0% 0% 2% 5% 0%
0% 0% 0% 0% 0% 0% 0% 2% 5% 0%
0% 0% 0% 0% 0% 0% 0% 2% 5% 0%

CPU utilization per minute in the past 60 minutes:

1% 1% 1% 1% 1% 1% 2% 1% 1% 1%
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -

CPU utilization per quarter in the past 96 quarters:

- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
Above three data table displays CPU utility of each second of past 60
seconds, each minute of past 60 minutes and each quarter of past 96
quarters.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 50 of 181


Youd better not enable cpu utility or you diagnose cpu utility.
System Security & AAA
Configuration
This section explains how to configure AAA on MyPower VG gateway. AAA
is the shortened form of Authentication, Authorization and Accounting. It
is the customer end program operating on NAS.
AAA Commands
aaa new-model
start up AAA function on MyPower VG gateway. Command no is used for
closing AAA.

aaa new-model
no aaa new-model
[Default status] dont start up AAA.
[Command mode] Global configuration mode

aaa authentication banner
modify the greeting information for users logon MyPower VG gateway.

The command no is used to renew greeting information by default.
aaa authentication banner banner

no aaa authentication banner
Command Description
Banner the greeting information for users logon MyPower
VG gateway.

[Default status] the greeting information by default is User Access
Verification.

[Command mode] Global configuration mode
aaa authentication fail-message

Modify the prompt information of the failure logon. The command no is
used for renew prompt information.

aaa authentication fail-message fail-message
no aaa authentication fail-message
Command Description
fail-message The prompt information of the failure for users log
on.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 51 of 181



[Default status] prompt information isAccess denied!.
[Command mode] Global configuration mode
aaa authentication username-prompt
modify the text of users name. The command no is used to renew
displaying text.

aaa authentication username-prompt username-prompt

no aaa authentication username-prompt
Command Description
username-prompt Prompt the text of user name.

[Default status] the text islogin:.
[Command mode] Global configuration mode

aaa authentication password-prompt
modify the text of password. The command no is used to renew text.

aaa authentication password-prompt password-prompt
no aaa authentication password-prompt

Command Description
password-prompt The text prompt of password.

[Default status] the text ispassword:.
[command mode] global configuration mode

aaa authentication login
configure authentication login method list. The command no is used to
delete method list.

aaa authentication login {default|list-name} method1[method2]
no aaa authentication login {default|list-name}

Command Description
default Define method list by default.
list-name List name
method Authentication method
noneno ID authentication, directly pass.
enableauthentication by effective password
(global enable password)
localauthentication by local user data base.
lineauthentication by line password.
radiusauthenticatin by RADIUS
tacacsauthentication by TACACS

[Default status] no
[Command mode] global configuration mode

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 52 of 181



It can be used together with login authentication.
Method list auto uses to all interfaces and lines.

aaa authentication enable
configure method list for entering privileged mode. The command no is
used to delete method list.

aaa authentication enalbe default method1[method2]
no aaa authentication enable default

Command Description
default Define default method list
method Authentication method
noneno authentication, directly pass.
enableuse effective password (enable for users
or global)
lineuse line password
radiususe RADIUS
tacacsuse TACACS


[Default status] no
[Command mode] global configuration mode

Use $enab15$user password when adopting radius authentication
(need to configure on radius server).

aaa authentication ppp

configure PPP id authenticatin method list. The command no is used to
delete method list.
aaa authentication ppp list-name method1[method2]
no aaa authentication ppp list-name

Command Description
list-name Method list name
method Authentication method
None: no authentication, directly pass.
Local: authentication by local user data base.
Radius: use RADIUS
Tacacs: use TACACS

[Default status] no
[Command mode] global configuration mode
[Use explanation] use together with ppp authentication.

aaa authorization
use visit limitation. The command no is not used to limit visit authority.
aaa authorization {exec|network} {default|list-name}
method1[method2]
no aaa authorization {exec|network} {default|list-name}
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 53 of 181


Command Description
Exec Configure EXEC method list
network Configure the authority method list for network
service.
default Difine default method list
list-name Method list name
method Authority method
if-authenticated if id has passed, it permits user
access.
Local: authority by local data base
none no authority operation
radius ask for authority information from RADIUS
server
tacacs ask fro authority information from TACACS
server

[Default status] none
[Command mode] Global configuration mode


After configureatin EXEC authority command method list, when user
operates EXEC, NAS will give the authority to
execute the program of EXEC if the authority is failed, the user can not
execute EXEC.

aaa accounting
configure AAA statistics method list. The command NO is used to delete
the the method list.

aaa accounting {connection|exec|network} {default|list-name}
{none|start-stop| stop-only| wait-start} method1[method2]
no aaa accounting {connection|exec|network} list-name
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 54 of 181



Command Description
connection Configure the statistic command when user logs in
other MyPower
VG gateway via telnet or rlogin.
Exec Configure the statistic command when starting up
EXEC dialog.
Network Configure the statistic command to network service.
Default Define default method list.
list-name Methold lsit name.
None None statistic.
start-stop Give the notice at the beginning and the end of the
process.
stop-only Give the statistic notice when stop the process.
wait-start Send the statistic notice for beginning and ending to
statistic server.
But
Method Statistic method.
radius: send statistic information to RADIUS.
tacacs: send statistic information to TACACS.

[Default status] none.
[Command mode] global configuration mode.

To execute the statistic job as little as possible, use the key word stop-
only,and send a notice for stoppingthe recording.

To understand statistic information, use key word start-stop, and so
RADIUS or TACACS sends starting statistic notice at the beginning of the
process, and also sends the notice at the end of the process.

aaa accounting suppress null-username

It is forbidden to record the statistics for the user without user name. NO
command is used to this operation.

aaa accounting suppress null-username
no aaa accounting suppress null-username

[Default status] the statistic record for the user without user name
[Command mode] global configuration mode.

aaa accounting update
send the statistic record to server. The command NO is used to cancel the
record.
aaa accounting update {newinfo|periodic number}
no aaa accounting update
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 55 of 181



Command Description
newinfo Send new statistic information to server.
periodic Send statistic record periodically
Number Interval period

[Default status] none
[Command mode] global configuration mode
aaa accounting multi-server

the accounting packet can be sent to multi-server. The command NO is
used to forbid this operation.

aaa accounting multi-server
no aaa accounting multi-server
[Default status] forbidden
[Command mode] global configuration mode

tacacs-server host
configure Tacacs server. The command NO is used to delete Tacacs server.
tacacs-server host address [key key] [port port] [timeout timeout]

no tacacs-server host address
Command Description
Address IP address of Tacacs server.
Key The key of MyPower VG M6000 and Tacacs
Port Use TCP port number when connecting the program
of Tacacs.
Timeout Set timeout for Tacacs.

[Default status] port number is 49, timeout is 5 seconds.
[Command mode] global configuration mode

1The key on MyPower VG gateway and on Tacacs server should be the
same.
2 More than one tacacs servers can be configured, the system chooses
the server for authentication according to the order .

tacacs-server key
configure Tacacs encryption key. The command NO is used to delete the
key.

tacacs-server key key
no tacacs-server key
[Default status] no key.
[Command mode] global configuration mode

tacacs-server timeout
Configure the timeout of Tacacs server. The command NO is used to
renew the default value.

tacacs-server timeout timeout
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 56 of 181


no tacacs-server timeout
[Default status] 5 seconds.
[Command mode] global configuration mode
radius-server host
Configure RADIUS server. The command NO is used to delete RADIUS
server.
radius-server host address [acc-port acc-port] [auth-port auth-port]
no radius-server host address

Command Description
Address IP address of RADIUS server.
acc-port Designate the acc-port of UDP.
auth-port Designate auth-port of UDP.

[Default status] acc-port is 1645, auth-port is 1646.
[Command mode] global configuration mode

1The key on MyPower VG gateway and on Tacacs server should be the
same.
2 More than one tacacs servers can be configured, the system chooses
the server for authentication according to the order .
radius-server dead-time
Configure dead-time. the command NO is used to configure dead-time as
0.
radius-server dead-time dead-time
no radius-server dead-time

Command Description
dead-time The dead-time of RADIUS server.

[Default status] 0
[Command mode] global configuration mode

[Use explanation] during dead-time, the system marks the RADIUS
servers which dont give reponse as useless server, and will not send
requirement to these servers.

radius-server key

Configure encryption key of RADIUS. The command NO is used to delete
encryption key of RADIUS.

radius-server key key
no radius-server key

[Default status] none
[Command mode] global configuration mode.

radius-server timeout

Configure timeout timer of RADIUS. The command NO is used to renew
default value.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 57 of 181


radius-server timeout timeout
no radius-server timeout

[Default status] 5 seconds
[Command mode] global configuration mode.

radius-server retransmit

Configure the maximum times for resending to RADIUS server. The
command NO is used to renew default value.

radius-server retransmit retries
no radius-server timeout

Command Description
Retries The maximum times of retransmission.

[Default status] 3 times
[Command mode] global configuration mode.

ip {tacacs|radius} source-interface

Use the interface address for packet alternation between MyPower VG
gateway and TACACS or RADIUS server.

The command NO is used to renew default value.

ip {tacacs|radius} source-interface interface-name
no ip {tacacs|radius} source-interface

Command Description
interface-name Interface name

[Default status] the address of fastethernet0
[Command mode] global configuration mode.

AAA Check & Debugging
show accounting

Display AAA statistic information.

show accounting
[Command mode] privileged user mode.

debug aaa authentication

Open AAA authentication debugging information switch. The command NO
is used to close AAA switch.

debug aaa authentication

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 58 of 181


no debug aaa authentication

[Command mode] privileged user mode.

debug aaa authorization

Open AAA authentication debugging information switch. The command NO
is used to close AAA switch.

debug aaa authorization
no debug aaa authorization

[Command mode] privileged user mode.
debug aaa accounting

Open AAA statistic debugging information switch. The command NO is
used to close AAA switch.

debug aaa accounting

no debug aaa accounting

[Command mode] privileged user mode.

debug tacacs

Open TACACS debugging information switch. The command NO is used to
close TACACS debugging switch.

debug tacacs
no debug tacacs

[Command mode] privileged user mode.

6debug radius

Open RADIUS debugging information switch. The command NO is used to
close RADIUS debugging switch.

debug radius [in-plain]
no debug radius

Command Description
in-plain Display RADIUS packet information in clear.

[Command mode] privileged user mode.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 59 of 181


Network Protocol

MyPower VG gateway supports Internet network protocol. Internet
protocol exchanges data via computer network based on information
packet. IP is the basis of other protocols in Internet protocol.

As network protocol, IP searches for route and transmits data packet. TCP
and UDP are set up based on IP layer, and separately provide thereliable
transmission service based on connection and the unreliable service based
on non-connection.

MyPower VG gateway supports all the requirements in (IP) RFC of Internet
network protocol, including IP, ICMP, TCP, UDP.



MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 60 of 181


IP Address Configuration
IP Address
IP address distributes a 32-bit number for each network equipment
interface, to designate network connection node. To manage IP, IP
address is divided into 5 types, and two parts for each IP address, they
are:

Network number: the designated network.

Host number: the designated network host number.

IP address type and range:

Type Range Description
A 0.0.0.0-127.255.255.255 Network number 127 uses to loopback interface
B 128.0.0.0-
191.255.255.255
The host number 1 uses for directional broadcast
of network
C 192.0.0.0-
223.255.255.255
The host number 1 uses for directional broadcast
of network
D 224.0.0.0-
239.255.255.255
Address D uses for multicast
E 240.0.0.0-
247.255.255.255
Address E uses after reservation

Commonly, different types of IP address use to different types of network.
For large-scale network system, Type A IP address is used, while type C is
used for medium scale network system. Type D and E are used for special
purpose.

With the development of Internet, sub-network appears. It adopts some
network addresses as subnets, and so the same network address can span
many physical networks.

MyPower VG gateway supports the following features of IP address:

Support the features of all types network addresses

Support subnet features of network address

Support CIDR features of classless routing

Various IP addresses to network interface for broadcast network (such
as Ethernet)

Support DHCP

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 61 of 181


Interface Distributes IP Address
One interface usually has one host IP address. To distribute one host IP
address and network mask to network interface, the following job should
be done in interface configuration mode:

Command Description
ip adderss ip-address mask Configure host IP address for interface

The mask is used to identify network number of IP address. When
confirming the mask to the subnet, the mask is the subnet mask.

Command Description
ip address 128.255.255.1
255.255.0.0 [secondary]
Distribute one IP address for interface
no ip address 128.255.255.1
255.255.0.0 [secondary]
Cancel IP address

For example:
The following example is to distribute one host IP address and two
secondary IP addresses for Fastethernet1:

Command Description
gateway# configure terminal Enter global configuration mode
gateway(config)#interface
fastethernet1
Enter Ethernet interface configuration mode
gateway(config-if-
fastethernet1)#ip address
128.255.255.1 255.255.0.0
Configure host IP address of Ethernet interface
gateway(config-if-
fastethernet1)#ip address
128.254.255.1 255.255.0.0
secondary
Configure secondary IP address of Ethernet interface
gateway(config-if-
fastethernet1)#ip address
128.253.255.1 255.255.0.0
secondary
Configure secondary IP address of Ethernet interface

For the routing transmission of data packet by MyPower VG gateway, each
IP address should not be on the same network segment.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 62 of 181


Examine IP Address Configuration
After configuring IP address of interface, the user examines IP address
information via SHOW INTERFACE.

Command Description
gateway# show interface
fastearthnet1
Examine interface information of fastethernet1

It displays as:

f ast et her net 1:
Fl ags: ( 0x408063) UP BROADCAST MULTI CAST ARP RUNNI NG
Type: ETHERNET_CSMACD
I nt er net addr ess: 16. 32. 32. 62/ 8 / / I P addr ess i s 16. 32. 32. 62 mask
8 bi t s
Br oadcast addr ess: 16. 255. 255. 255
Queue st r at egy: FI FO , Out put queue: 0/ 40 ( cur r ent / max packet s)
Met r i c: 0, MTU: 1500, BW: 100000 Kbps, DLY: 100 usec, VRF: ker nel
Rel i abi l i t y 255/ 255, Txl oad 1/ 255, Rxl oad 1/ 255
Et her net addr ess i s 0001. 7a01. 9268
5 mi nut e i nput r at e 5000 bi t s/ sec, 7 packet s/ sec
5 mi nut e out put r at e 0 bi t s/ sec, 0 packet s/ sec
2387391 packet s r ecei ved 269005 packet s sent
0 mul t i cast packet s r ecei ved
0 mul t i cast packet s sent
156 i nput er r or s 0 out put er r or s
0 col l i si ons 0 dr opped
Rat e: 100Mbi t / s Dupl ex: f ul l dupl ex
Tx l at e col l i si on 0, Tx r et r ansmi t l i mi t 0, Tx under r un 0
Tx car r i er sense 0, Rx l engt h vi ol at i on 0
Rx not al i gned 0, Rx CRC er r or 0, Rx over r un 0
Rx t oo smal l 0, Rx al l oc mbuf f ai l 0
Cancel IP Address
Command Description
gateway# configure terminal Enter global configuration mode
gateway (config)#interface fastethernet1 Enter Ethernet interface configuration
mode
gateway(config-if-fastethernet1)#no ip
address
Cancel IP address

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 63 of 181


Address Analysis
MyPower VG gateway permits designating IP via address analysis and
naming service.

Set Up ARP
One equipment may have MAC address or network address. For example,
to communicate with the equipment on Ethernet, the 48 bits MAC address
must be confirmed. The process of confirming local data link address from
IP address is address analysis. Or it is address analysis in reverse.

MyPower VG gateway supports ARP. ARP uses for the connection between
IP address and MAC address. ARP decides the MAC address. once the MAC
address is confirmed, the conjunction of IP/MAC address will be stored in
ARP high-speed buffer for searches. The IP data packet is encapsulated in
link layer for transmission.

1Define one static ARP buffer
ARP provides dynamic mapping between IP and MAC address. because
most of hosts support dynamic address analysis, ARP buffer item is not
designated. If the user wants to define them, they are defined in global
configuration mode. MyPower VG gateway software will translate the 32
bits IP address to 48 bits hardware address.

Execute the following commands in global configuration mode:

Command Description
gateway (config)#arp ip-address
Mac_address
Define a static ARP buffer
gateway (config)#no arp ip-
address
Delete a static ARP buffer

2Proxy ARP
If ARP request is sending from the host to another host of different
network, MyPower VG gateway connecting the two networks can answer
the request, and this process is ARP (Proxy ARP). MyPower VG gatway is
the agent of host the distributing group will be transitted to it. RFC1027
executes the following cmmands in interface configuration mode.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 64 of 181



Command Description
gateway(config-if-fastethernet0)#
ip proxy-arp
Enable ARP proxy
gateway(config-if-fastethernet0)#
no ip proxy-arp
Disable ARP proxy

Operating proxy ARP by default.

3Observe ARP buffer
To display cache of the system, use SHOW ARP ALL command to examine
the content of ARP cache. The EXEC command CLEAR ARP is used for
updating non-static item in ARP buffer.

Naming Service (DNS)
Each IP address has one host name. MyPower VG gateway software keeps
high-speed buffer from one host name to address mapping via telnet, ping
and remote logon operations. The cache speeds the process from host
name to address.

IP defines one naming method, which permits the equipment being
marked by IP position. To track domain name, IP defines the concept of
name server, and its job is to keep the buffer to IP address (or data base).
To mapping domain name to IP address, you should first mark the host
name, and then designate domain name server, to make the DNS
effective.

1Mapping IP address to host name

MyPower VG gateway reserves the mapping list from host name to
address. MyPower VG gateway and other network equipment should
interconnect IP address via static or dynamic tools. When the dynamic
mapping is disabled, we can distribute host name. The host name
distribution is in global configuration mode:

Command Description
gateway (config)# host host_name
Ip_Address
Define the mapping between host name and IP
address
gateway(config)# no host
host_name Ip_Address
Delete the mapping between host name and IP
address

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 65 of 181


IP Protocol Configuration
Enable/Disable IP Routing Forwarding
MyPower VG gateway enables IP routing forwarding by default. But in
some special condition, the user can disable routing, and this can be done
in global configuration mode:

Command Description
gateway (config)# ip routing Enable IP routing forwarding
gateway (config)# no ip routing Disable IP routing forwarding
Enable/Disable IP Sending Redirect
Message
MyPower VG gateway sends ICMP redirect packet by default. But in some
special condition, the user may disable IP redirect function, and this can
be done via the following operations:

execute the command in global configuration mode:

Command Description
gateway (config)#ip redirect Enable IP redirect
gateway (config)#no ip redirect Disable IP redirect

The default is enabling.

In global configuration mode, the user disables all interfaces sending ICMP
redirect packet via no ip redirect In global configuration mode, the user
enables all interfaces sending ICMP redirect packet via ip redirect

Execute the command in interface configuration mode:

Command Description
gateway (config-if-
fastethernet0)#ip redirects
Enable sending ICMP Redirect messages
gateway (config-if-
fastethernet0)#no ip redirects
Disable sending ICMP Redirect messages

The default is enabling.
In interface configuration mode, the user disables the interface sending
ICMP redirect packet via no ip redirects

In interface configuration mode, the user enables the interface sending
ICMP redirect packet via ip redirects

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 66 of 181


Enable/Disable IP Receiving Redirect
Message
ICMP redirect packet arouses the update of routing list. MyPower VG
gateway doesnt update routing after receiving
ICMP redirect packet. But the user may choose updating routing.

Execute the command in global configuration mode:

Command Description
gateway(config)#icmp redirect-
route
Enable to add icmp redirect route
gateway(config)#no icmp redirect-
route
Disable to add icmp redirect route

Default is to disable updating routing.

IP High-speed Forwarding
IP high-speed forwarding realizes via routing buffer mechanism. The
purpose of routing buffer is to reduce the lookup of routing list, and use
the foregoing lookup result to speed up the packet sending rate.

But in some special condition, the user can choose enable/disable the
following modes for routing buffer.

Execute the command in interface configuration mode:

Command Description
gateway (config-if-
fastethernet1)#ip route-cache
Enable fast-switching cache for outgoing packets
gateway (config-if-
fastethernet1)#no ip route-cache
Disable fast-switching cache for outgoing packets

Default is to enable.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 67 of 181



Execute the command in global
configuration mode: Command
Description
gateway (config)#ip upper-cache Enable using upper route cache
gateway(config)#no ip upper-
cache
Disable using upper route cache

The default is enable.
Configure IP Protocol Property
MyPower VG gateway configures the following properties of IP:

Configure input queue of IP protocol

Configure Time-To-Live (TTL) of sending IP data packet

Configure Time-To-Live (TTL) of sending IP data packet fragment

Configure IP option receiving checksum

Configure IP option sending checksum

IP property configuration:
Command Description
ip option default-ttl [1-255] Set Time-To-Live of IP
ip option fragment-ttl [1-255] Set Time-to-Live of IP fragment
ip option queue-length [300-600] Set IP option queue length
ip option recv-checksum Set IP option recv-checksum
ip option send-checksum Set IP option send-checksum
ICMP Protocol Configuration
In Internet protocol, ICMP provides control, error report, network testing.
network services for other protocols. MyPower VG gateway supports
RFC792, RFC950 and RFC1122.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 68 of 181


Configure ICMP Option
ICMP supports subnet mask requirement and response option by default.
But the user can disable the option.

Command Description
gateway (config-if-fastethernet1)#
ip mask-reply
Enable sending ICMP Mask Reply messages
gateway (config-if-fastethernet1)#
no ip mask-reply
Disable sending ICMP Mask Reply messages

Observe ICMP Statistic Information
gateway#show ip icmpstate
it displays as:

Displaying information Comments
router#show ip icmpstate
Statistics for ICMP protocol ICMP protocol statistics
16 calls to icmp error error packet sending times of ICMP
0 error not generated because old message
was icmp
error times because of the overtime by
ICMP
Output histogram: sending condition
echo reply: 5 response number
Destination unreachable: 16 unreachable times of destination
0 message with bad code fields packet number of the error code fields
0 message < minimum length> packet number with the minimum length
0 bad checksum receiving error check number
0 message with bad length receiving packets of bad length
Input histogram: receiving status
echo reply:10 echo reply number
destination unreachable: 16 unreachable times of destination
echo5 echo number
0 message response generated response number of packet

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 69 of 181


TCP Protocol Configuration

In Internet, TCP provides the reliable transmission data service among
application programs. MyPower VG gateway supports RFC793, RFC813,
RFC879, RFC896, RFC1122.

Configure TCP property:

MyPower VG gateway configures the following TCP properties:

Set TCP recvbuffers size

Set TCP sendbuffers size

Set TCP maximum times of retransmits

Set TCP recvbuffers maximum size

Set TCPmaximum time of round-trip

Set idle-timout of the first time call testing)

Set init-timeout value of timer

Set keep-count of maximum life when theres no response of the
opposite end

Hold up the intercept of TCP

Set TCP/IP timestamp parameter options

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 70 of 181


TCP properties configuration
Command Description
ip tcp recvbuffers [1024-
65536](default: 4096)
Set TCP receiving buffer
ip tcp sendbuffers [1024-
65536](default: 4096)
Set TCP sending buffer
ip tcp retransmits [1-
100](default: 3)
Set TCP maximum times of retransmission
ip tcp segment-size [256-
4028](default: 512)
Set TCP the maximum segment size
ip tcp round-trip [1-100](defult:
3)
Set TCP maximum time of round-trip
ip tcp idle-timeout[3-
144000](default: 14400)
Set the idle-timeout of the first call testing
ip tcp init-timeout[2-
30000](default: 150)
Set the timer value
ip tcp keep-count[3-20](default:
8)
Set the maximum times of keep-count
ip tcp intercept Hold up the intercept of TCP
ip tcp timestamp Set TCP/IP timestamp parameter options

Above commands are in global configuration mode.

Observe TCP statistic information:
Command show tcp tcb detail provides detailed TCP statistic data.
UDP Protocol Configuration
In Internet, UDP provides the basic service of transmitting datas among
application programs. MyPower VG gateway supports RFC768.

Configure UDP protocol property

MyPower VG gateway configure the following UDP properties:

Set Time-To-Live of sending UDP data message by default

Set UDP receiving buffer size

Set UDP sending buffer size

Set UDP receiving checksum

Set UDP sending checksum
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 71 of 181


UDP property configuration:
Command Description
ip udp default-ttl [0-255] Set UDP Time-To-Live
ip udp recvbuffers [1024-65536] Set UDP receiving buffer
ip udp sendbuffers [1024-65536] Set UDP sending buffer
gateway(config)#ip udp recv-
checksum
Set UDP receiving checksum
ip udp send-checksum Set UDP sending checksum
Socket Interface
Socket is a mechanism of network application program visit and network
resource use. MyPower VG gateway supports standard socket interface
mechanism and a series of socket applications.

The command Show Ip Sockets can observe TCP/UDP connection status of
current system, which is helpful to remove the malfunction.

gateway#show ip sockets
Active Internet connections (including servers)

PCB Pr ot o Recv- Q Send- Q Local Addr ess For ei gn Addr ess vr f
( st at e)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
307eba4 TCP 0 0 0. 0. 0. 0. 23 0. 0. 0. 0. 0 al l
LI STEN
307eb20 TCP 0 0 0. 0. 0. 0. 1720 0. 0. 0. 0. 0 ker nel
LI STEN
307ecac UDP 0 0 0. 0. 0. 0. 161 0. 0. 0. 0. 0 ker nel
9903a4 UDP 0 0 0. 0. 0. 0. 0 0. 0. 0. 0. 0
98f df 8 UDP 0 0 0. 0. 0. 0. 0 0. 0. 0. 0. 0
98f f 00 UDP 0 0 0. 0. 0. 0. 1024 0. 0. 0. 0. 0


Each l i ne r epr esent s one TCP/ UDP connect i on. PCB means t he addr ess of
Pr ot ocol Cont r ol Bl ock.
Pr ot o means t he cur r ent used TCP or UDP. .
Recv- Q means cur r ent r ecei ved dat a.
Send- Q means cur r ent sendi ng dat a.
Local Addr ess means cur r ent connect ed l ocal addr ess and por t number .
For ei gn Addr ess means cur r ent connect ed r emot e addr ess and por t
number .
Vr f means t he f or war di ng st at us of vi r t ual r out i ng.
( St at e) i s onl y t o TCP connect i on, whi ch means cur r ent TCP st at us.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 72 of 181


Maipu IP Voice Gateway
Configuration

Interface Type

MyPower VG M6000 at present supports the following types interfaces:

console

10M/100M Ethernet interface: fastethernet1

2E1, 4E1core card, and also can be without E1

32FXS interface: VM-32FXSH

16FXS16FXO mixed interface module: VM-16S16O

MyPower VG2000 at present supports the following interfaces:

console

10M/100M Ethernet interface: fastethernet0

Single E1 relay interface: GM2-1RE1

4-port FXS IP phone interface: GM2-4VOP

8-port FXS IP phone interface: GM2-8VOP

16-port FXS IP phone interface: GM2-16VOP

Single FXO IP phone interface: GM2-1VOS

2-port FXO IP phone interface: GM2-2VOS

4-port FXO IP phone interface: GM2-4VOS

8-port FXO IP phone interface: GM2-8VOS

16-port FXO IP phone interface: GM2-16VOS

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 73 of 181



MyPower VG800 at present supports the following interfaces:

console

10M/100M Ethernet interface: fastethernet0

4-port FXS IP phone interface: GM2-4VOP

4-port FXO IP phone interface: GM2-4VOS

MyPower VGA600 at present supports the following interfaces

console

10M/100M Ethernet interface: fastethernet0

10M Ethernet interface: ethernet3/0

2 FXS voice module: GM2-2VOP

4 FXS voice module: GM2-4VOP

1FXO3FXS voice module: GM2-1O3S (1FXO +3FXS mixed voice
module)

In above IP voice modules, FXS interface module connects analog or small
size PBX. FXO module connects PSTN external line or small PBX internal
line.
Ethernet Interface Configuration

Before the interface configuration, we need to understand the following
items of the network:

Physical interface connection, work modes and work parameters.

Configure IP address for the network layer protocol.

Configure network static routing via interface.

Configure Ethernet interface (MyPower VG M6000 high-speed Ethernet
interface is fastethernet1, and the high-speed interface of MyPower
VG2000, VG800 and A600 is fastethernet0).
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 74 of 181


MyPower VG voice gateway supports both static and dynamic IP
addresses. The static IP address is configured by network administrator,
and the dynamic IP address is configured by DHCP server.

Static IP address configuration example:

Command Description
gateway# configure terminal Enter global configuration mode
gateway (config)# interface f1 Enter interface f1 configuration
gateway(config-if-fastethernet1)# ip
address 1.1.1.1
255.0.0.0
Configuration interface address is 1.1.1.1,
mask is 255.0.0.0

Dynamic IP address configuration example:

Command Description
gateway# configure terminal Enter global configuration mode
gateway (config)# interface f1 Enter interface f1 configuration
gateway (config-if-fastethernet1)# ip
address dhcp
Distribute address via dhcp server

The address distributed by DHCP is dynamic, and this kind of IP address
may change because of power off, restart up and network break off. So we
suggest IP address being configured by network administrator without
gatekeeper in VoIP network.
Gateway Clock Source
Configuration
Only MyPower VG M6000 and VG2000 can configure clock source.
MyPower VG M6000 Clock Source
Configuration
The gateway can be used as secondary clock equipment, to get clock
source from other equipment, and there are four types of clock sources:
core card local clock source, and each E1 of the core card can be used as
clock source, each E1 media card chooses one E1 card as clock source,
BITS clock source.

Clock working mode has priority mode and specified mode in priority
mode, the whole system can configure 6 clock sources, and the priority
level from high to low is PRI0 to PRI5, and each priority only has one clock
source and meanwhile, every clock source has one priority in specified
mode, one clock source can be used as system clock source.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 75 of 181


Configure system clock
gateway (config)#

Command Description
sys-clock-souce priority [0-5] [0-3]
[0-7]
Configure priority mode for E1 clock source
[0-5] is the priority of clock source, 0 is the highest
while 5 is the lowest
[0-3] card number
[0-7] E1 number in card
sys-clock-source priority [0-5] bits Configure priority mode for BITS clock source
[0-5] is the priority of clock source, 0 is the highest
while 5 is the lowest
sys-clock-source specify [0-3] [0-
7]
Configure specified mode for E1 clock source
[0-3] card number
[0-7] E1 number in card
sys-clock-source specify local Configure specified mode for local clock source, and
specify the local clock on core card as system clock
source.
sys-clock-source specify bits Configure specified mode for BITS clock source, and
specify BITS clock on core card as system clock
source.
sys-clock-source stable-duration
1|4|16|64
Configure the stable duration of judging system clock
source, and the unit is second.
1|4|16|64 can configure as 1, 4, 16, 64
sys-clock-source priority Switch clock source operating mode as priority
mode.
sys-clock-source specify Switch clock source operating mode as specified
mode.
Configure System Clock Source in Priority
Mode
Example 1
gateway(config)#sys-clock-source priority 0 0 0
clock source priority: 1, card number: 0, E1 number:0.

Example 2
gateway(config)#sys-clock-source priority 1 bits
clock source priority: 2, BITS clock source
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 76 of 181


Configure System Clock Source in Specified
Mode
Example 1
gatwaay(config)#sys-clock-source specify local
clock soure: local clock source of core card.

Example 2
gateway(config)#sys-clock-source specify 0 3
clock source: card number:0, E1 number: 3.
Configure Stable Duration of J udging Clock
Source
Example 1
gateway(config)#sys-clock-source stable-duration 4
Stable duration: 4 seconds
Display Current Clock Source Status
gateway#show sys-clock-source status
system clock source select information:
clock mode: priority

pr i or i t y cl ock sour e st at us
0 0/ 0 E1 nor mal
1 0/ 1 E1 nor mal
2 0/ 2 E1 nor mal
3 0/ 3 E1 nor mal
4 1/ 0 E1 l ost
5 BI TS nor mal

The clock source status only can be displayed in priority mode.

Display Stable Duration of Clock Source
gateway#show sys-clock-source stable-duration
stable duration of system clock source: 4 seconds.
MyPower VG 2000 Clock Source
Configuration
MyPower VG2000 gateway can be used as secondary clock equipment, to
get clock source from other equipment. Lcoal clock source: each E1 card is
a clock source. The clock operating mode is specified mode, and the
gateway only chooses one clock source, which is locak clock source or
some E1 clock source.

gateway(config)#
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 77 of 181



Command Description
gw-clock internal Configure local clock source as the clock source for
gateway
gw-clock e1 <0-3> Configure E1 clock source as gateway clock source.
<0-3> E1 number

Configure Local Clock Source
gateway(config)# gw-clock internal
Use internal clock source as gateway clock source.
Configure E1 Clock Source
gateway(config)# gw-clock e1 0
Choose NO.1 E1 clock source as gateway clock source.
Basic Configuration
Configure FXS
Configure FXS parameters
MyPower VG series gateway supports FXS configuration, but theres some
difference in FXS configuration mode. The configuration command of
MyPower VG M6000 entering FXS card:

gateway(config)#card cardNum

Command Description
CardNum cardNum is the slot number, entering card
configuration mode.

The configuration command of MyPower VG2000, VG800 and A600
entering FXS card:
gateway(config)#fxs-card cardNum

Command Description
CardNum cardNum is slot number, entering card configuration
mode.

Entering to FXS card configuration mode:
gateway(config-fxs-card)#
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 78 of 181



Command Description
channel [0-31] [0-31] fsk starttime
[1-50]
Configure FSK starting time
The first [0-31] is the start channel number
The second [0-31] is the end channel number
Time value is from 1 to 50, and the unit is TICK
(1/60S)
channel [0-31] [0-31] fsk sendtime
[60-150]
Configure FSK sending time
The first [0-31] is the start channel number.
The second [0-31] is the end channel number
Time value is from 60 to 150, and the unit is TICK
(1/60S)
channel [0-31] [0-31] enable|
disable
Configure channel status
The first [0-31] is the start channel number
The second [0-31] is the end channel number
enableenable channel, disabledisable channel
channel [0-31] [0-31] dspvolume in Configure dsp input volume, and the unit is db
MyPower VG M6000 range is [-14-6], and 0db by
default
MyPower VG2000, VG800 and A600 range is [-10-
10], and 0db by default.
channel [0-31] [0-31] dspvolume
out
Configure dsp output volume, and the unit is db
MyPower VG M6000 range is [-14-6], and -5db by
default
MyPower VG2000, VG800 and A600 range is [-10-
10], and 0db by default.
channel[0-31][0-31]reverse-polarity Enable reverse polarity
channel [0-31] [0-31] no reverse-
polarity
Disable reverse polarity
channel [0-31] [0-31] payload [1-5] Configure payload, the default value is 1
Suitable for MyPower VG2000, VG800 and A600.
channel [0-31] [0-31] volume in [-3-
3]
Configure codec output volume, and the unit is db,
0db by default
Suitable for MyPower VG2000, VG800 and A600.
channel [0-31] [0-31] volume out [-
3-3]
Configure codec output volume, and the unit is db,
0db by default
Suitable for MyPower VG2000, VG800 and A600.
channel <0-31> <0-31> callid
enable|disable
Configure call id
The first <0-31> is starting channel number
The second <0-31> is the ending channel number
enableenable called number, disabledisable
called number
Channel <0-31> <0-31> echo-
length <0-128>
Configure echo length, and the unit is ms
The first <0-31> is starting channel number
The second <0-31> is the ending channel number
Time value: 0128ms
Default value: 32ms
This command only uses in MyPower VG M6000.
Channel <0-31> <0-31> hot-line
number <STRING> <CR>|increase
Configure hot-line dialing number
The first <0-31> is starting channel number
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 79 of 181


The second <0-31> is the ending channel number
<STRING> E.164 number
<CR> configure same hot-line number
Increase: configure increased hot-line number.
Channel <0-31> <0-31> hot-line
wait-time <2-5>
Configure hot-line wait-time, and the unit is s
The first <0-31> is starting channel number
The second <0-31> is the ending channel number
<2-5>: wait time is 25s
Default value: 5s
Channel <0-31> <0-31> jitterbuf
<0-200>
Configure jitterbuf time, and the unit is ms
The first <0-31> is starting channel number
The second <0-31> is the ending channel number
<0-200> jitterbuf time is 0200ms
Default value: 0ms
This command only uses in VGM6000 version.
Channel <0-15> <0-15> jitter-
buffer <10-20> <2-8>
Configure canceling jitter, and the unit is number
The first <0-15> is starting channel number
The second <0-15> is the ending channel number
<10-20> the maximum buffer voice number
(default is 15)
<2-8> voiced packet number (default is 5)
This command only uses for MyPower VG2000,
VG800 and A600.
Channel <0-31> <0-31> pulse-dial
enable|disable
Configure pulse-dial
The first <0-31> is starting channel number
The second <0-31> is the ending channel number
enable: enable pulse-dial disable: disable pulse-
dial
Default value: disable
This command only uses for MyPower VG M6000.
Channel <0-31> <0-31> scf on
nosid|pt13|sid
Configure silence compression
The first <0-31> is starting channel number
The second <0-31> is the ending channel number
On: enable silence compression
Nosid: no transmission of SID
pt13: transmit PT13 (suitable for code g711)
Sid: transmit SID
Channel <0-31> <0-31> scf off Configure silence compression
Off: disable silence compression
flash-lenth [4-100] [4-100] Configure flash length, both upper limit and lower
limit, and the
unit is 10ms
Default length: lower limit is 13, upper limit is 60.
fxsimp [-14--3] Configure codec output volume
Suitable for MyPower VG M6000
Ajustimp 600R| 900R| 900RC Impedance adjustment
Support three modes: 600R, 900R, 900RC, and the
default is
600R
pulse-width [1-40] [1-40] Pulse width, both upper limit and lower limit, and
the
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 80 of 181


the
unit is 10ms
Default width: lower limit is 3, upper limit is 12
debounce [0-10] The time of canceling the jitter, and the unit is
10ms
Default value is 1.
dial-space [10-100] Dial space time
Default value is 30
Ringfrequency 25Hz/50Hz Ring frequency regulation, and the default is 25Hz
Suitable for MyPower VG2000, VG800 and A600

The channel only can be configure when in disable mode.

All plus configuration parameters use 0db as borerline, negative means
the smaller volume while positive means the bigger volume.

DSP input and output may arouse echo.

Configure FXO
Configure FXO parameters

MyPower VG series gateway supports FXO configuration, but MyPower VG
M6000 doesnt have FXO card, and only has 16FXS16FXO mixed card. FXO
configuration is only suitable for MyPower VG2000, VG800 and A600
gateways.

gateway(config)#fxo-card cardNum

Command Description
CardNum cardNum is slot number, entering card configuration
mode.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 81 of 181


Enter FXO card configuration mode:
gateway(config-fxo-card)#

Command Description
channel <0-15> <0-15> fsk starttime
<1-50>
Configure FSK start time
The first <0-15> is start channel number
The second <0-15> is the end channel number
Time value is from 1 to 50, and the unit is TICK
(1/60S)
channel <0-15> <0-15> fsk
sendtime
<60-150>
Configure FSK sending time
The first <0-15> is start channel number
The second <0-15> is the end channel number
60150, TICK (1/60S)
channel <0-15> <0-15> enable|
disable
Configure channel status
The first <0-15> is start channel number
The second <0-15> is the end channel number
Enable: enable channel, disable: disable channel.
Default vaule: disable
channel <0-15> <0-15> dspvolume
in
<-10-10>
Configure dsp input volume, and the unit is db,
default value is
0db.
channel <0-15> <0-15> dspvolume
out
<-10-10>
Configure dsp output volume, and unit is db,
default value is 0db.
channel<0-15><0-15>reverse-
polarity
Enable reverse polarity.
channel <0-15> <0-15> no reverse-
polarity
Disable reverse polarity.
channel <0-15> <0-15> callid
enable|disable
Configure called number
The first <0-15> is start channel number
The second <0-15> is the end channel number
Enable: enable called number, disable: disable
called number.
channel <0-15> <0-15> jitter-buffer
<10-20> <2-8>
Configure canceling jitter, and the unit is number
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
<10-20> the maximum buffer voice number
(default is 15)
<2-8> voiced packet number (default is 5)
This command only uses for MyPower VG2000,
VG800 and A600
channel <0-15> <0-15> scf on
nosid|pt13|sid
Configure silence compression
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
On: enable silence compression
Nosid: no transmission of SID
pt13: transmit PT13 (suitable for code g711)
Sid: transmit SID
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 82 of 181


channel <0-15> <0-15> scf off Configure silence compression
Off: disable silence compression
channel <0-15> <0-15> wait-dial
<STRING>
Configure wait-dial character string (begin with
number and end
With comma)
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
channel <0-15> <0-15> wait-dial
disable
Disable wait-dial configuration
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
channel <0-15> <0-15> dtmf-silent
<4-100>
Configure dial time interval
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
Unit: 20ms
Length: 4-100(default is 8)
channel <0-15> <0-15> dialtone-
type <0-2>
Configure dial tone type
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
Type:
0450HZ(by default)
1400HZ
2500HZ
channel <0-15> <0-15> connection-
plar <STRING>
Configure fxo connection-plar
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
<STRING> phone number
channel <0-15> <0-15> connection-
plar <STRING> increase
Configure connection-plar as increase
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number <STRING> phone number
channel <0-15> <0-15> no
connection-plar
Cancel connection-plar configuration
channel <0-15> <0-15> fxs-linkage
enable
Configure fxs-linkage. If fxo port has configured
connection-plar to another fxs port, the change of
fxs status port will affect the fxo status.
channel <0-15> <0-15> fxs-linkage
disable
Cancel configuration of fxs-linkage
channel <0-15> <0-15> plarout
<STRING> nottrans
Set the called party binding function of FXO port.
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
<STRING> the binding called number of FXO
port.
Nottrans: when FXO port is disabled, dont look
for other routings, and the call is failed.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 83 of 181


channel <0-15> <0-15> plarout
<STRING> nottrans increase
Set the called party binding function of FXO port.
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
<STRING> the binding called number of FXO
port.
Nottrans: when FXO port is disabled, dont look
for other routings, and the call is failed.
Increase: the binding call number increases
according the FXO port.
channel <0-15> <0-15> plarout
<STRING> busytrans
Set the called party binding function of FXO port.
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
<STRING> the binding called number of FXO
port.
Busytrans: when binding FXO port is disabled,
continue to look for other routings.
channel <0-15> <0-15> plarout
<STRING> busytrans increase
Set the called party binding function of FXO port.
The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
<STRING> the binding called number of FXO
port.
Busytrans: when binding FXO port is disabled,
continue to look for other routings.
Increase: the binding call number increases
according the FXO port.
channel <0-15> <0-15> plarout
<STRING> disable
Cancel binding function of FXO port.
channel <0-15> <0-15> payload [1-
5]
Payload regulation, the default is 1.
channel <0-15> <0-15> wait-dial-
tone [20-120]
Configure wait-dial-tone time, and the default is
30 ticks.
channel <0-15> <0-15> volume in [-
3-3]
Configure codec volume in, and 0db by default.
channel <0-15> <0-15> volume out
[-3-3]
Configure codec volume out, and 0db by default.

All plus configuration parameters use 0db as borerline, negative means
the smaller volume while positive means the bigger volume.

DSP input and output may arouse echo.

Above channel configuration commands are for VGM 2000, but to VGM800
and VGM600, the channel range is from 0 to 3.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 84 of 181


Configure 16FXS16FXO Parameters
The 16FXS16FXO configuration is only for MyPower VG M6000.
gateway(config)#card cardNum

Command Description
CardNum cardNum: card slot number, entering card
configuration mode.

Enter 16FXS16FXO card configuration mode:
gateway(config-fxs-fxo-card)#

Configure 16FXS16FXO FXS Global
Parameters

flash-lenth <4-100> <4-100> Configure flash length and upper and lower limit,
and the unit is 10ms
Lower limit: 13
Upper limit: 60
ajustimp 600R| 900R| 900RC <1-3> Impedance adjustment
Support 3 modes, 600R, 900R, 900RC, 1, 2, 3 D/A
plus are 0dB, -3.5dB, -7dB
Default impedance is 600R, 0dB
pulse-width <1-40> <1-40> Pulse width, the upper and lower limit unit is 10ms.
Lower limit: 3
Upper limit: 12
debounce <0-10> Debounce time: unit is 10ms
Default value is 1
dial-space <10-100> Dial-space time: unit: 10ms
Default value is 30

Configure FXO Global Configuration of
16FXS16FXO
Fxo-channel debounce <1-200> Configure fxo-channel debounce, and the unit is
10ms <1-200> debounce time is 1200
Default value: 10
Fxo-channel line-detect
enable|disable
Configure line-detect of FXO port enable and
disable
fxoimp [-12--5] Configure codec volume out, and the unit is db.
The default is -8db

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 85 of 181


Configure FXS Parameters of 16FXS16FXO
Command Description
Fxs-channel <0-15> <0-15> fsk starttime
<1-50>
Configure FSK starting time
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Unit: TICK (1/60S)
Time value is from 1 to 50.
Fxs-channel <0-15> <0-15> fsk sendtime
<60-150>
Configure FSK sending time
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Unit: TICK (1/60S)
Time value is 60-150,
Fxs-channel <0-15> <0-15> enable Configure enable channel
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> disable Configure disable channel
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> dspvolume in
<-14-6>
Configure dsp volume in, and the unit is db,
the default value is 0db
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> dspvolume
out
<-14-6>
Configure dsp volume out, and the unit is
db, volume value is -5db
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> reverse-
polarity
Enable reverse polarity
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> no reverse-
polarity
Disable reverse polarity
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> callid enable Enable call id
The first <0-15> is starting channel
number
The second <0-15>is the ending channel
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 86 of 181


number
Fxs-channel <0-15> <0-15> callid disable Disable call id
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> echo-length
<0-128>
Set echo length
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Time uint: millisecond
The optional time length:
0
32 (by default)
64
128
Fxs-channel <0-15> <0-15> hot-line
number <string>
Enable hot-line number
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<string> E.164 number
Fxs-channel <0-15> <0-15> no hot-line
number <string> increase
Disable hot-line number
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<string> E.164 number
increase number increase
Fxs-channel <0-15> <0-15> hot-line wait-
time <2-5>
Set hot-line wait-time
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Time unit: second
Optional time: 2-5(default is 5)
Fxs-channel <0-15> <0-15> jitterbuf <0-
200>
Set jutter buffer time length
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Time unit: millisecond
Optional time: 0-200(default is 0)
Fxs-channel <0-15> <0-15> scf on
nosid|pt13|sid
Enable silence compression
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Nosid: no transmission of SID
pt13: transmit PT13 (only suitable for code
g711)
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 87 of 181


Sid: transmit SID
Fxs-channel <0-15> <0-15> scf off Disable silence compression
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> pulse-dial
enable|disable
Configure pulse dial
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
enable and disable (by default)

Configure FXO Parameters of 16FXS16FXO
Command Description
Fxo-channel <0-15> <0-15> enable Configure enable channel
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> disable Configure disable channel
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> dspvolume in
<-14-6>
Configure dsp volume in, and the unit is db,
default is 0db.
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> dspvolume
out
<-14-6>
Configure dsp volume out, and the unit is
db, the default volume is -5db
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> reverse-
polarity
Enable reverse polarity
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> no reverse-
polarity
Disable reverse polarity
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> callid enable Enable call id check function
The first <0-15> is starting channel
number
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 88 of 181


The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> callid disable Disable call id check function
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> echo-length
<0-128>
Set echo time length
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Time unit: millisecond
Optional time length:
0
32 (by default)
64
128
Fxo-channel <0-15> <0-15> jitterbuf <0-
200>
Set jitter buffer time length
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Time unit: millisecond
Optional time length: 0-200 (default is 0)
Fxo-channel <0-15> <0-15> scf on
nosid|pt13|sid
Enable silence compression
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Nosid: no transmission of SID
pt13: transmit PT13 (suitable for code
g711)
Sid: transmit SID
Fxo-channel <0-15> <0-15> scf off Disable silence compression
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> wait-dial
<STRING>
Configure wait-dial string (begin with
character string and
with comma)
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> wait-dial
disable
Disable wait-dial configuration
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxo-channel <0-15> <0-15> dtmf-silent
<4-100>
Configure dial time interval
The first <0-15>is starting channel
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 89 of 181


number
The second <0-15> is the ending channel
number
Unit:20ms
Length: 4-100(default is 8)
Fxo-channel <0-15> <0-15> dialtone-type
<0-2>
Configure dialtone type
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Optional type:
0450HZ(by default)
1400HZ
2500HZ
Fxo-channel <0-15> <0-15> connection-
plar <STRING>
Configure fxo connection-plar phone
number
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<STRING> phone number
Fxo-channel <0-15> <0-15> connection-
plar <STRING> increase
Configure connection-plar phone number as
increase.
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<STRING> phone number
Fxo-channel <0-15> <0-15> no
connection-plar
Cancel connection-plar configuration
Fxo-channel <0-15> <0-15> fxs-linkage
enable
Configure fxs-linkage
If connection-plar has been configured
from fxo port to fxs
port, the status change of fxs port will
affect fxo status.
Fxo-channel <0-15> <0-15> fxs-linkage
disable
Cancel fxs-linkage configuration
Fxo-channel <0-15> <0-15> dialtone-
volume <STRING>
Configure dialtone volume
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<STRING> -63dbm-0dbm
Default value: 4dbm
Fxo-channel <0-15> <0-15> plarout
<STRING> nottrans
Set FXO port call binding
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<STRING> the binding call number of FXO
port
Nottrans: when FXO port is disabled, dont
look for other routings, and the call is
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 90 of 181


failed.
Fxo-channel <0-15> <0-15> plarout
<STRING> nottrans increase
Set call binding of FXO port
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<STRING>: the binding number of FXO
port
Nottrans: when FXO port is disabled, dont
look for other routings, and the call is
failed.
increase: the binding call number increases
according to FXO port
Fxo-channel <0-15> <0-15> plarout
<STRING> busytrans
Set call binding of FXO port
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<STRING> the binding number of FXO port
Busytrans: when FXO port is disabled, look
for other routings.
Fxo-channel <0-15> <0-15> plarout
<STRING> busytrans increase
Set call binding of FXO port
The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
<STRING> the binding number of FXO port
Busytrans: when FXO port is disabled, look
for other routings.
increase: the binding call number increases
according to FXO port
Fxo-channel <0-15> <0-15> plarout
<STRING> disable
Cancel call binding of FXO port
Fxo-channel <0-15> <0-15> wait-dial-tone
[20-120]
Configure wait-dial-tone time length, and
the default is 30 ticks.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 91 of 181


Configure Busy Tone Check Parameters

This command is only for MyPower VG M6000.
Command Description
Gateway(config-voice-
service)#busytonecfg <0-13>
<90-840>
<90-840>
<90-840>
<90-840>

gateway(config-voice-service)#no
busytonecfg <0-13>
Configure busy tone check parameters
Choose national standard, referring to the
busy tone configureaton part of FXO
configuration.
The minimum time of busy tone
The maximum time of busy tone
The minimum time of no sound
The maximum time of no sound

Delete busy tone check parameters

This command becomes effective after the storage of dsp.
Configure RE1
Configure R2 Commands
Configure R2 parameter on E1 port:

To MyPower VG M6000, the command of entering E1 port configuration
mode is:

gateway (config)#card cardNum
gateway (config-e1mode)# e1 e1Num

To MyPower VG2000, the command of entering E1 port configuration
mode is:

gateway (config)#re1 cardNum
Enter E1 port:
gateway (config- e1-port)#
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 92 of 181



Command Description
bind r2 Bind R2 protocol
no bind r2 Cancel binding R2 protocol
channel [0-29]
<enable|disable>
Configure E1 timeslot, 0-29 means channel number
channel [0-29] <in|out> Configure E1 channel relay direction, 0-29 means channel
number, in means relay in, out means relay out.
Exit Exit to E1 configuration mode
receive-callingnumber
<enable|disable>
Receive calling number or not, enable means receiving,
disable means not receiving.
send-callingnumber
<enable|disable>
Whether sending calling number or not, enable means
sending, disable means not sending
listen-ringback
<enable|disable>
Whether listen ringback, enable means listening, disable
means not listening.
play-ringback
enable|disable
Whether play ringback or not, enable means playing,
disable means not playing.
overlap-sending
enable|disable
Enable/disable overlap sending
overlap-sending <0-15> Configure the called number length of setup message, and
the default is 0.
present allowed| restricted Whether enable present allowed restricted function,
Allowed and restricted

Make a phone call via R2, we need to configure VOE1for E1, and the
detailed configuration method refers to the following sections.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 93 of 181


Configuration example
Configure E1port
gateway (config-e1-port)# ?
Command Description
gateway (config-e1-port)#bind r2 Bind R2 protocol to E1 port
gateway (config-e1-port)#no bind r2 Cancel binding R2 protocol
gateway (config-e1-port)#channel 0 29 enable Enable channel 029
gateway (config-e1-port)#channel 0 14 in Configure channel 014 as relay in
gateway (config-e1-port)#channel 15 29 out Configure channel 1529 as relay out
gateway(config-e1-port)#receive-callingnumber
enable
Receive calling number
gateway (config-e1-port)#receive-callingnumber
disable
Dont receive calling number
gateway(config-e1-port)#send-callingnumber
enable
Send calling number
gateway(config-e1-port)#send-callingnumber
disable
Dont send calling number
gateway(config-e1-port)# listen-ringback enable Listen to remote ringback
gateway(config-e1-port)# listen-ringback disable Listen to local ringback
gateway(config-e1-port)#play-ringback enable Play remote ringback

The following notes are suitable for the connection between two gateways
via E1, and binding R2 protocol and suitable for the connection between
PBX and switch via E1, and binding R2 protocol.

Ensure E1 synchronization: after R2 protocol binding, the status of E1
prompts on terminal interface. Make sure the synchronization of E1, so
that the normal call can be dealt.

Clock configuration: R2 protocol has a high requirement of system clock,
to avoid the error code, and the system clock needs to be configured
normally. When the gateways connect via E1 and binding R2 protocol, one
gateway configures internal clock and another configures E1 secondary
clock.

The limitation from R2 to routing: . means the digital is variable,
because R2 protocol doesnt support the variable digital routing the
configuration can not be the mode of xx..

The configuration order of channel enable|disable and in|out: the channel
<0-29> enable should be configured first, and then modify relay direction.

The relay direction limitation: binding both sides of R2 protocol, the
direction of the opposite relay should be reversed. For example, if the
directin of channel 1 of the first gateway is in, so the direction of
channel 1 of the second gateway should be out . Seeing as the
following configuration:
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 94 of 181



gateway (config-e1-port)#bind r2
gateway (config-e1-port)#channel 0 29 enable
gateway (config-e1-port)#channel 0 14 in
First gateway
gateway (config-e1-port)#channel 15 29 out
gateway (config-e1-port)#bind r2
gateway (config-e1-port)#channel 0 29 enable
gateway (config-e1-port)#channel 0 14 out

Second gateway
gateway (config-e1-port)#channel 15 29 in
Configure pri Commands
In the e1 configuration mode of gateway(config-e1-port), configure PRI
signal timeslot and direction via binding command and unregistering PRI
operating on e1.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 95 of 181



Command Description
gateway (config-e1-
port)#bind pri
Bind PRI on e1.
gateway (config-e1-port)#no
bind pri
Unregister PRI on e1.
gateway(config-e1-port)#
isdnsideset user| net
Configure PRI direction. When communicate by PRI, one
end is USER and another end is NET.
gateway(config-e1-port)# pri-
group timeslots [16-16]
Configure signal timeslot on e1. At present, it onlys
supports the signal timeslot with 16.
c(config-e1-port)#listen-
ringback enable|disable
Whether listen to remote ringback, enable listening
remote ringback, and disable listening local ringback.
gateway(config-e1-
port)#play-ringback
enable|disable
Whether play remote ringback, enable playing remote
ringback, while disable means not to play remote
ringback.
Configure Number Transfer
1. Configure command
gateway (config)#callroute
gateway (config-callroute)# num-trans-rule index

Command Description
num-trans-rule [1-
100]
Configure number transfer rule
Index means the index of number transfer rule, and the range
is from 1 to 100.
no num-trans-rule [1-
100]
Delete number transfer rule configuration.
exit

gateway (config-call-trans)#trans num1 num2
Command Description
trans <STRING1>
<STRING2>
Configure number transfer content.
string1 means the number before transfer, end with ^, and
the number comprises from 0 to 9 and x.
string2 means the number after transfer, end with ^, and the
number comprises from 0 to 9.
no trans <STRING1>
<STRING2>
Delete the content configuration after transfer.
exit

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 96 of 181


2Configuration example:
Command Description
num-trans-rule 1 Configure number transfer rule 1.
trans 028^ ^
trans 1234^ 1^
Content: delete 028 of the nubmers
Content: transfer the number beginning with 1 instead
of 1234.
No trans 028^ ^ Delete the content
exit Exit from configuration content mode to configuration
rule mode.
No num-trans-rule 1 Delete the rule
exit

If only configures number transfer rule on gateway, but not applicate in
dalpeer mode, and so this rule doesnt make any sense.

For example:
gat eway #conf i gur e t er mi nal ( ent er conf i gur at i on mode)
gat eway ( conf i g) #cal l r out i ng- conf ( ent er r out er conf i gur at i on mode)
gat eway ( conf i g- cal l r out e) #num- t r ans- r ul e 2 ( conf i gur e number t r ansf er
r ul e 2)
gat eway ( conf i g- cal l - t r ans) #t r ans ^ 8514^ ( add pr ef i x 6 bef or e number )
gat eway ( conf i g- cal l - t r ans) #exi t ( exi t t o r out i ng conf i gur at i on mode)
Thi s r ul e oper at es when bi ndi ng di al peer :
gat eway ( conf i g- cal l r out e) #di al - peer 28 voi p ( appl i cat e under di al peer
28 )
gat eway ( conf i g- di al - peer ) #dest i nat i on- pat t er n 00x. ( conf i gur e t he
cal l ed number begi nni ng wi t h
00. )
gat eway ( conf i g- di al - peer ) #sessi on- t ar get 128. 255. 16. 248 ( t he gat eway
addr ess of opposi t e end)
gat eway ( conf i g- di al - peer ) #num- t r ans- i ndex 2 cal l ed ( i n di al peer , t he
cal l ed number t r ansf er s
by usi ng r ul e 2. )
gat eway ( conf i g- di al - peer ) #num- t r ans- i ndex 2 cal l i ng( i n di al peer , t he
cal l i ng number t r ansf er s by usi ng r ul e 2. )
Af t er above conf i gur at i on, i f user 200 di al s 00200, t he i nf or mat i on i s
t hat : cal l i ng number : 8514200, cal l ed number : 851400200 on gat eway
128. 255. 16. 248.
Configure Dial-Peer
In VoIP configuration, dial-peer uses for differentiate different types of
voice channel. There are three types of dial-peer:

(dial-peer <1-1024> POTS)FXS interface of analog of the gateway and
FXO interface connecting PSTN.
(dial-peer <1-1024> pots slot <08>)FXS interface of analog of the
gateway and FXO interface connecting PSTN.

IP network end (dial-peer <1-1024> VOIP)Correspond with remote IP
phone or gateway via IP network

Relay line end (dial-peer <1-1024> VOE1)Correspond with PBX access
to E1.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 97 of 181



Any number among 1 and 1024 is after dial-peer, which is used for
identifying different dial-peer on gateway.

Every dial-peer only can be configured as voip, voe1 or pots. If configured
dial-peer 1 voip, it can not configure dialpeer 1 pots or dial-peer 1 voe1,
unless delete this configuration.

Configure preference of dial-peer, which is the priority of destination-
pattern. The smaller the preference is, the priority is higher, for example,
dial-peer 1 voip, destination-pattern 123, preference 2dial-peer 4 voe1,
destination-pattern 123, preference 4so dial-peer 1 is used for routing.

Usage of X,X. The XX., for example,if configured 1XX, any number
between 100 and 199 can be configured when configure 1X., all the
numbers start with 1 can be configured, such as 10000, 176646, 1555444
XX. means configures all valid numbers.

When the routings are identical, the higher priority dial-peer is configured,
and if priority is identical, configure according to the order of show
callrouter.

VOIP Dial-peer

VOIP dial-peer configuration command

For MyPower VG M6000, MyPower VG2000, the dial-peer range is from 1
to 1024:

gateway (config-callroute)#dial-peer <1-1024> voip

For MyPower VG800, MyPower VG600, the dial-peer range is from 1 to
255.

gateway(config-callroute)#dial-peer <1-255> voip
gateway (config-dial-peer)#
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 98 of 181



Command Description
codec
g711a/g711u/g723/g729/g729a/g729wb
Configure H323 voice coding type as g711a,
g711u, g723, g729, g729a and g729wb. When
calling from ip, the configuration is effective.
Default value is g729
destination-pattern <STRING> Configure E.164 telephone number
fax-protocol t38 Configure fax protocol T38
fax-protocol disable Configure disabled fax protocol.
no Cancel the command
session-target <STRING> Configure IP address or RAS
num-trans-index <1-100> called|calling Configure number transfer rule
<1-100>: number transfer rule index
called: apply the rule to called number
calling: apply the rule to calling number
preference <120> Configure priority (1-20), and it reduces when
number is increasing. Default: Routing 10 and
20 can not be used
Backup Configure IPSWITCH, for the IP-TO-PSTN or
IP-TO-IP switch after the malfunction of IP
link, and guarantee the re-routing
of call from backup end:
ip:
Swith to other IP dial-peer, and use original
called number for routing.
ip prefix <STRING>:
Switch to other IP dial-peer, and add prefix
number to original called number.
pstn :
Switch to other PSTN dial-peer (including
VOE1 and FXO port POTS), and use original
called number for re-routing.
pstn prefix <STRING>:
Switch to other PSTN dial-peer (including
VOE1 and FXO port POTS), and add prefix
number to original called number for re-
routing.
exit Exit current configuration mode

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 99 of 181


Configuration example

gateway (config-callroute)#
Command Description
dialpeer 1 voip Configure h323 gateway/terminal
destination-pattern 1xx Configure destination number 1xx (the calling
number)
session-target 1.1.1.1/RAS Configure destination ip address
When configuration is RAS, the destination address
is gatekeeper.
num-trans-index 1 calling Use rule 1 to calling number
codec g723 Configure H323 voice coding type g723
Backup ip When IP link appears malfunction, it switches to
other IP dial-peer, and use original called number
for re-routing.

POTS Dial-peer
POTS dial-peer commands

For MyPower VG M6000, MyPower VG2000, dial-peer range is from 1 to
1024:

gateway (config-callroute)#dial-peer <1-1024> pots

For MyPower VG800, MyPower VG600, dial-peer range is from 1 to 255.
gateway(config-callroute)#dial-peer <1-255> pots

gateway (config-dial-peer)#
Command Description
port <STRING> Configure POTS voice port
destination-pattern <STRING> Routing number matching rule, it can be configured
completely number and prefix number.
preference <1-20 > Configure priority (1-20), and it reduces when
number is increasing. Default: Routing 10 and 20
can not be used
codec
g711a/g711u/g723/g729/g729a/g
729wb
Configure H323 voice coding type as g711a, g711u,
g723, g729, g729a and g729wb. When calling from
ip, the configuration is effective.
Exit Exit current configuration mode

Configuration example:
gateway (config-callroute)#
Command Description
dialpeer 1 pots Enter local number configuration
destination-pattern 1xx Configure local number 1xx
port 0/0 Configure 111 corresponding with port 0/0

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 100 of 181


POTS dial-peer batch configuration commands

gateway (config-callroute)# dial-peer <1-1024> pots slot <0-8>
gateway (config-dial-peer)#

Command Description
channel <0-31> <0-31> destination-
pattern <STRING> increase
Configure POTS port routing rule
<0-31> POTS starting port number
<0-31> POTS ending port number
<STRING> routing number matching rule, it
can configure completely number and prefix
number increases
channel <0-31> <0-31> no destination-
pattern
Delete configured POTS designated number
channel <0-31> <0-31> num-trans-
index <1-100> called|calling
Configure POTS port number transmitting rule
<0-31> POTS starting port number
<0-31> POTS ending port number
<1-100> number exchanging rule
called number exchange calling number
exchange.
channel <0-31> <0-31> preference
<120>
Batch configure POTS port priority
<0-31> POTS starting port number
<0-31> POTS ending port number
<1-20> configure prior, default is 10
channel <0-31> <0-31> codec
g711a/g711u/g723/g729/g729a/g729wb
Batch configure POTS port voice coding type
g711a, g711u, g723, g729, g729a and
g729wb.
Default is g729
<0-31> POTS starting port number
<0-31> POTS ending port number
channel <0-31> <0-31> preference
<120>
Batch configure POTS port priority
<0-31> POTS starting port number
<0-31> POTS ending port number
<1-20> configure priority, default is 10
channel <0-31> <0-31> no num-trans-
index <1-100> calling| called
Cancel number transmission
exit Exit current configuration mode

Configuration example:
gateway (config-callroute)#
Command Description
dial 1 pots slot 3 Configure slot 3
channel 1 8 destination-pattern
1111 increase
Configure local number as 1111, 1112, 1118,
separately to 3/1, 3/2.3/8

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 101 of 181


VOE1 Dial-peer

VOE1 dial-peer supports two kinds of routing: physical E1 and E1 logical
grouping.

Calling number means some special numbers aggregation. E1 logical
grouping can use many called number groupings.when not using calling
number binding of E1 logical group, any calling number can work via E1
logical multicast if the number is matching but when using E1 logical group
calling binding function, only permits calls in group when it is matching.

Calling number group configuration command:

Delete special calling number group, which is all the numbers in this
group:
gateway(config-callroute)no calling-number-group <1-120>

enter special calling number group:

gateway(config-callroute)calling-number-group <1-120>
gateway(config-e1-caller-group)#

Command Description
calling-number <STRING> Configure calling number to group
<STRING> calling number string, permit number and X
or x.
No calling-number <STRING> Delete calling number from group
<STRING> calling number string, permit number
and X or x.


Configuration example:
gateway(config-e1-caller-group)#
Command Description
Calling-number 8652276 Configure number 8652276 to calling number group
Calling-number 888xxxx Configure calling number group with prefix 888 and
length 7
Calling-number xxxxxx Configure calling number with length 6 to group
No calling-number 8652276 Delete number 8652276 from group
No calling-number 888xxxx Delete number 888xxxx from group
No calling-number xxxxxx Delete number xxxxxx from group

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 102 of 181


E1 logical group command:

Delete special E1 logical group, which is all the configuration in this group:

gateway(config-callroute)no e1-trunk-group <1-120>
enter special E1 logical group:

gateway(config-callroute)e1-trunk-group <1-120>
gateway(config-e1-trunk-group)#

Command Description
Time-slot <0-1> <0-3> <1-30> <1-30> Version 6000 configure E1 time slot to E1
logical
group
<0-1> E1 card number
<0-3> inner E1 number
<1-30> E1 time slot number
<1-30> stopped E1 time slot
Time-slot <0-1> <0-3> Version 6000 configure special E1
timeslots to E1
logical group
<0-1> E1 card number
<0-3> inner card physical E1 number
Time-slot <0-3> <1-30> <1-30> Version 2000 configure E1 time slot to E1
logical group
<0-3> E1 number
<1-30> E1 time slot number
<1-30> stopped E1 time slot
Time-slot <0-3> Version 6000 configure special E1
timeslots to group
<0-3> E1 number
Bind calling-number-group <1-120> Binding special calling number to E1 logical
group
<1-120> calling number group
No calling-number-group <1-120> Binding calling number group from E1
logical group
<1-120> calling number group
Restrict calling-number enable Use E1 logical group calling number
binding function
Restrict calling-number disable Disable E1 logical group calling number
binding function

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 103 of 181


Configuration example:
gateway(config-e1-caller-group)#
Command Description
Time-slot 0 0 1 15 Configure time slot 0 0 1 15 (version
6000)
Time-slot 0 1 Configure time slot 0 1 (version 6000)
Time-slot 0 1 15 Configure time slot 0 1 15 (version 2000)
Time-slot 0 Configuere time slot 0 (version 2000)
Bind calling-number-group 100 Binding calling number group 100
No bind calling-number-group 100 Binding calling number group 100 from E1
group
Restrict calling-number enable Enable calling number binding of E1 group
Restrict calling-number disable Disable calling number binding of E1 group


VOE1 Disal Peer Configuration Commands:

For MyPower VG M6000, MyPower VG2000, dial-peer range is 1-1024

gateway (config-callroute)#dial-peer <1-1024> voe1
gateway (config-dial-peer)#

Command Description
num-trans-index <1-100> called|calling Configure number transmitting rule
<1-100> number transmission rule index
destination-pattern <STRING> Routing number matching rule
e1 <0-3> <0-3> Configure E1 port
<0-3> E1 number
<0-3> E1 card number
Suitable for MyPower VG M6000
E1 <0-3> Configure E1 port
Suitable for MyPower VG2000
E1 trunk-group <1-120> Configure E1logical group number
<1-120> E1 logical group number of
routing E1
Suitable for MyPower VG M6000,
MyPower VG2000
preference <120> Configure priority
<1-20>, priority reduces when priority
increases. Default is 10, 20
codec g711a/g723/g729/g729a/g729wb Configure H323 voice coding type as
g711a, g723, g729, g729a and g729wb.
Default value is g729
Exit Exit current configuration mode

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 104 of 181


2Configuration example:
gateway (config-callroute )#

Command Description
dialpeer 1 voe1 Enter VOE1 dial-peer configuration
destination-pattern 11xx Configure matching number 11xx
e1 1 0 First E1 of second card
num-trans-index 1 calling Use number rule 1 to calling number
exit

Configure Volume
In gateway, dsp volume configuration is devided into global and channel.
The global configuration mostly considers E1 calling. Channel configuration
especially for line card channel, and each channel has different parameter.

Channel volume configuration refers to line card configuration.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 105 of 181


Global dsp Volume Configuration

gateway (config-voice-service)#
Command Description
e1 dspvolume in|out < STRING
>
Configure global dsp volume, and the range is from -
14db to 6db. The default is 0db. The negative reduces
while positive increases. Dsp input volume controls
the signal plus from pcm, and dsp output volume
controls signal plus to pcm.
DSP global volume regulation only becomes effective
in E1---IP mode, and e1 dspvolume out/e1 dspvolume
in can be adjusted.

Configuration example
Command Description
e1 dspvolume in -6 Configure global dsp input volume, and the
configuration value is -6db
e1 dspvolume out 6 Configure global dsp output volume, and the
configuration value is 6db
Configure Coding
gateway (config-dial-peer)#

Command Description
Codec
{g711a/g711u/g723/g729/g729a/g729wb }
Configure priority coding from routing
to VOIP, and default is g.729

Gateway is the conversing equipment of signal and media format between
pstn and IP, and the coding can be configured in pstn mode, pots/voe1
mode and IP mode. If it is in voip mode, it indicates the coding from
destination-pattern to ip in pstn mode, it indicates the coding from IP.
H.323 Gatekeeper Client-end
Configure interface to gatekeeper:

Configure network interface as VOIP gateway RAS protocol interface, and
only configure one network interface as VoIP interface. We can configure
multi-cast in network interface (such as Ethernet interface), to search
gatekeeper, and at the same time support DNS gatekeeper.

In non-supporting network interface (such as WAN interface),we can
configure designated gatekeeper IP address or DNS registering.

gateway (config)#int f1
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 106 of 181



Command Description
h323-gateway voip interface Designate the interface as VoIP gateway
protocol interface.
h323-gateway voip h323-id
<STRING>
Configure gateway interface identification.
h323-gateway voip id <STRING>
<ipaddr/multicast> <STRING/CR>
<STRING/CR>
Register gatekeeper via IP address. the first string is
gatekeeper identification, the second string is
gatekeeper IP address, and the third string is
gatekeeper port. the default is 1718 without gkid
segment.
h323-gateway voip id <STRING>
multicast
Register gatekeeper via multicast. String is
gatekeeper identification.
h323-gateway voip id <STRING>
dns <STRING> <STRING/CR>
Register gatekeeper via DNS. The first sting is
gatekeeper id,
the second string is DNS and the third string is
gatekeeper port.
The default is 1718. when the first string becomes
-, GRQ
packet doesnt have gkid segment.
h323-gateway voip supported-
prefix
<STRING>
Configure gateway prefix for dealing with the
coming routing. It can configure at most 2 prefixes.
h323-gateway voip ras-rrq-ttl
[30_3600]
Configure time interval from gateway to gatekeeper.
Default is 60
seconds.
h323-gateway voip local-terminal-
type < GW/GW_MC/>
Gateway type is GW by default, only uses in H245.
h323-gateway voip num-trans-
index [1-100]
Configure number transmitting index

When h323-gateway voip idbecomes-, there is no gkid segment in
GRQ packet.

Without gatekeeper, h323-gateway voip interface is still need for h323.

Configure voip dial-peer gatekeeper
gateway (config-callroute)# dial-peer 1 voip
Command Description
destination-pattern <STRING> Configure destination-pattern phone number
session-target ras Use protocol to get destination gateway IP
address

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 107 of 181


Enable gateway client-end
gateway (config)#
Command Description
Gateway Enable voip gateway registers to gatekeeper
no gateway Cancel voip gateway registering to gatekeeper

Gatekeepr authentication function
Gatekeeper client-end supports Maipu private authentication and H.235
authentication, and H.235 contains h235AuthCAT, h235AuthProcedure1
and h235AuthSimpleMD5. The configuration information refers to
parameters of 5.14 H.323.

Bandwidth management
For gatekeeper (version: VGKR03 series) bandwidth management, if the
bandwidth via H.245 is not equal to the bandwidth of ARQ, the gatekeeper
client-end will send BRQ report. The configuration refers to parameters of
5.14 H.323.

Big and small number
Gateway provides big and small dialing function, which means the one
port can bind a big and a small number, but the small number can not be
registered to gatekeeper and realize via configuration.
UA Configuration via SIP
Enable SIP protocol in interface, and the user sets up and delete a
dialogue via SIP. User uses SIP via point-to-point communication, and also
via agent server for connection. The local gateway phone number will send
message to SIP registered server periodically for updating user
information of server.

Configure interface
gateway (config)#int f1
Command Description
sip-gateway voip interface SIP interface of the gateway
sip-gateway voip proxy A.B.C.D Gateway registers to SIP proxy server via IP
address, and A.B.C.D is IP address of agent
server.
sip-gateway voip proxy domain-name
<string>
Gateway registers to SIP proxy server via
domain name, and string is the domain name.
sip-gateway voip registrar A.B.C.D Gateway registers to SIP proxy server via IP
address, and A.B.C.D is IP address.
sip-gateway voip registrar domain-
name<string>
Gateway registers to SIP proxy server via
domain name, and string is the domain name.
sip-gateway voip registrar expires <200-
3600>
SIP terminal registering over time, 3600
seconds by default.
sip-gateway voip username <string> If register server needs id authentication,
configure a user name of the number.
sip-gateway voip password <string> If register server needs id authentication,
configure password of the number.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 108 of 181



Configure SIP service of voip dial-peer
gateway (config-callroute)# dial-peer 1 voip


SIP registering
gateway (config)#
Command Description
sip-gateway Gateway registers local phone number to server via
SIP
no sip-gateway Gateway logs out loval phone number to server via
SIP

Configure user name and password of port under pots dial-peer:
gateway (config-dial-peer)#
Command Description
channel 0 7 username <string>
password <string>
Configure SIP user name and password from port 0
to port 7, the first string is user name and the
second string is password.
channel 0 7 no username Cancel SIP user name of local port 0 to port 7

<>ssword 12 routing to gateway, at most 2 prefixes can be configured.
The user name and password is only valid under pots dial-peer.
Command Description
destination-pattern <STRING> Configure destination phone number
session protocol sip Bind SIP protocol under dial-peer
session-target A.B.C.D Initiate calling to IP address, and A.B.C.D is IP
address of called party.
session-target sip-server Initiate calls via Proxy Server
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 109 of 181


Fax
gateway (config)# voice-service
Command Description
fax-protocol t38 All calls of the gateway have T38.
t38-fax redundancy [0-3]| <CR>

When T38 high-speed redundancy uses to fax
distortion configuration, it means the fax
resending time is 0 by default.
t38-fax low-redundancy <0-5> <CR>

When T38 low speed redundancy uses to the
unconnection configuration of fax, it means
the T38 message resending time is 0 by
default.
t38-fax fax-rate

2400|4800|7200|9600|12000|14400|no-
limit| <CR>
T38 fax rate. The configured fax rate uses to
control the maximum rate of faxe only
VGM6000 has no-limit.
t38-fax tcf procedure-1| procedure-2

T38 fax training mode.
procedure-1 means receiving gateway local
TCF.
procedure-2 means TCF is from sending party.
Only MyPower VG M6000 supports this
command. The fax of VGM6000 and
VG2000/VG800/VGA600 should adopt
procedure-2 mode the default is procedure-2
mode.
t38-fax ecm enable <CR>
t38-fax fax-ecm enable <CR>
Enable t38 error check mode.
The configuration can be done when both
electrograph have ecm.
VGM6000 configuration command is t38-fax
ecm enable <CR>
VG2000/VG800/VGA600 configuration
command is t38-fax fax-ecm enable <CR>
t38-fax ecm disable <CR>
t38-fax fax-ecm disable <CR>
Disable t38 fax error check mode
Use this command when both fax quality are
bad.
VGM6000 configuration command is t38-fax
ecm disable <CR>
VG2000/VG800/VGA600 configuration
command is t38-fax fax-ecm disable <CR>
t38-fax fax-vol <0-15> <CR> Adjust fax volume, 12 by default.. when fax
signal is unnormal, adjust parameters.
VGM6000 doesnt have this command.
t38-fax fax-mode h323 | rtp <CR> Configure fax mode. H323 fax should
negotiate with H245 protocol while RTP mode
may not have to negotiate with H245
The fax of VG2000/VG800 /VGA600 VGM6000
aodpts H323 mode by default.
VGM6000 doesnt have this command.
t38-fax codemode-adjust enable<CR> Enable fax coding mode adjustment. The voip
coding changes to PCMA. When
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 110 of 181


VG600/VG800/VG2000 and VGM6000 adopt
G723 coding for fax, the command should be
enabled. VGM6000 doesnt have this
command.
t38-fax codemode-adjust disable<CR> Disable fax coding mode adjustment.
VGM6000 doesnt have this command.

The transparent transmission mode is needed for encryption fax. That is
the gateways dont support T38, but if negotiates s G711A or G711U
coding, it can realize transparent transmission. The more
VG2000/VG800/VGA600 gateay negotiate as G723, G729, G729a and
G729wb, which dont support transparent transmission.

The fax configuration in voice-service mode is especially for whole
gateways. Once you configure fax-protocol t38, the gateway supports
T38. According to user demand, we can configure T38 in some dialpeer, or
disable T38 in some dialpeer.

For example :
gateway (config-callroute)#dial-peer 1 voip
gateway (config-dial-peer)#

Command Description
fax-protocol t38 All calls from this dial-peer support T.38

gateway (config-callroute)#dial-peer 2 voip
gateway (config-dial-peer)#

Command Description
fax-protocol disable Although gateway has configured global T38, all calls
out from the dial-peer dont support T38.

If configure fax-protocol without global fax function, the gateway supports
T38 when it is used as calling party when gateway is used as called party,
examine routing list to check whether need T38 fax.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 111 of 181


Value-added Service
Calling ID Delivery
Call id display is mainly for FXS and FXO channel of line card. Whether
send fsk calling id delivery is decided by FXS channel configuration.

Configure calling id delivery:

(Low-end)
gateway (config)# fxs-card 3
gateway (config-fxs-card)#

Command Description
channel 0 0 callid
<enable|disable>
Whenther enable called function, enable and
disable. The default is disable callid

gateway(config)#voicesrv-conf
gateway(config-voice-service)#?
Command Description
fsk-mode bell202-mode Configure fsk callid type: bell202-mode
fsk-mode v23-mode Configure fsk callid type: v23-mode

(High-end)
gateway (config)#card 3
gateway (config- fxs-fxo-card)#?
Command Description
fxs-channel 0 0 callid
<enable|disable>
Whenther enable called function, enable and
disable. The default is disable callid

gateway(config)#voicesrv-conf
gateway(config-voice-service)#?
Command Description
fsk-mode bell202-mode Configure fsk callid type: bell202-mode
fsk-mode v23-mode Configure fsk callid type: v23-mode

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 112 of 181


Configuration example
(Low-end)
Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)# card 3 Enter fxs card configuration mode
gateway (config-fxs-card)# channel
0 0 disable
Disable channel before configuration
gateway (config-fxs-card)# channel
0 0 callid enable
Enable channel0 callid
gateway (config-fxs-card)# channel
0 0 enable
Enable channel 0
gateway(config)#voicesrv-conf Enter voicesrv-conf configuration mode
gateway(config-voice-service)#fsk-
mode bell202-mode | v23-mode
Configure fsk callid type

(High-end)
Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)# card 3 Enter fxs card configuration mode
gateway (config-fxs-fxo-card)#fxs-
channel 0 0 disable
Disable channel before configuration
gateway (config-fxs-fxo-card)#fxs-
channel 0 0 callid enable
Enable channel0 callid
gateway (config-fxs-fxo-card)#fxs-
channel 0 0 enable
Enable channel 0
gateway(config)#voicesrv-conf Enter voicesrv-conf configuration mode
gateway(config-voice-service)#fsk-
mode bell202-mode | v23-mode
Configure fsk callid type

Two modes of fsk-mode use of v23-mode and bell202-mode:

mark (1)and space (0)
V.23 Mode Mark Frequency: 1300 +/- 10 Hz
Space Frequency: 2100 +/- 10 Hz
Baud Rate: 1200 bps

Bell202 Mode Mark Frequency: 1200 +/- 10Hz
Space Frequency: 2200 +/- 10 Hz
Baud Rate: 1200 bps
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 113 of 181


Hot Line Dialing
After the hot line dialing number for FXS card port, the call will dial a fixed
number when no dialing after pick up the phone.
Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)# card 1 Enter fxs card configuration mode
gateway (config-fxs-card)# channel
0 0 hot-line number <string>
<CR>
Configure hot line number
gateway (config-fxs-card)# channel
0 0 hot-line wait-time 4
Configure hot line wait time
gateway (config-fxs-card)# channel
0 0 no hot-line number <CR>
Cancel configured hot line number
Call forwarding
User A is the user who can use call forwarding During the communicatin
between user A (called party) and user B (calling party), user A forwards
current calling of user B to new call between user B and user C. once finish
call forwarding, user B can communicate with user C, while user A will not
communicate with user B or user C.
Call Forwarding Configuration
Enable/disable service

Enter voicesrv-conf in global mode:

gateway (config)#voicesrv-conf
gateway (config-voice-service)#
after entering voicesrv-conf mode,
gateway (config-voice-service)# call-transfer ?

Command Description
disable Disable call forwarding
enable Enable call forwarding

Call Forwarding Usage
Call forwarding can be devided into two: direct forwarding and call
forwarding after query.

For direct forwarding, B calls A, and A forwards it to user C, so there is no
communication between A and C, this is called direct forwarding.

For call forwarding after query, B calls A, A first communicates with C,
after hung up of A, the result is the communication between B and C, but
if C hangs up, the result is communication between A and B.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 114 of 181


The second forwarding demands the called party A and transfer party C
are at the same gateway, and the communication is still going on although
the transfer is unsuccessful.

Direct forwarding has no position demand of each user. If they are not at
the same gateway, the calling party should support H450 protocol, and the
communication can not be went on without forwarding.
Call Forwarding Tone & Definition

Call forwarding tone is stored in the directory of flash\appct\, and files
and definitions are as following:

Calldown: standard tone by default is: calling party is hung up. During the
forwarding after query, the called party communicates with the forwarding
party, and if the calling party is hung up, the tone will be played.

Music: music tone. During the forwarding after query, the communication
between called party and forwarding party will play musice to calling
party, which prompts calling party waiting for some time.

Call Transfer
The non-condition call transfer service transfers your call to an directional
number. Once the call transfer initiated, the call will be transferred without
considering service port status.

(CFB)
For CFB, when the user is busy, the called number can be transferred to
another number. This service is applied to all
Calls.

(CFNR)
The user has following functions: if the connection of transferred number
is not established, this call will be transmited to another port.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 115 of 181


Call Transfer Configuration

enabl e/ di sabl e ser vi ce
Ent er voi cesr v- conf i n gl obal mode:
gat eway ( conf i g) #voi cesr v- conf
gat eway ( conf i g- voi ce- ser vi ce) #
af t er ent er i ng voi cesr v- conf mode,
gat eway ( conf i g- voi ce- ser vi ce) # cal l - di ver t ?

Command Description
disable Disable call transfer
enable Enable call transfer


configure transfer property

Enter voicesrv-conf in global mode:

gateway (config)#voicesrv-conf
gateway (config-voice-service)#
after entering voicesrv-conf mode, for example: gateway (config-voice-
service)# call-divert set 1111 1112 busy

For call 1111, when it is busy, the call will be transferred to call 1112.

There are three modes of call transfer: uncondition transfer, busy transfer
and no answer transfer.

And uncondition transfer is not existing with other two kinds of transfers.
Busy and no answer transfers can be existed at the same time.


Cancel the transfer property

Enter voicesrv-conf in global mode:

gateway (config)#voicesrv-conf
gateway (config-voice-service)#
enter voicesrv-conf mode,

gateway (config-voice-service)#no call-divert set all
Delete transfer property configuration

gateway (config-voice-service)#no call-divert set 1111 1112 busy
Delete the configuration when transfer the call to 1112 when 1111 is busy.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 116 of 181


configure no answer transfer time

Enter voicesrv-conf in global mode:

gateway (config)#voicesrv-conf
gateway (config-voice-service)#

after entering voicesrv-conf mode, for example, gateway (config-voice-
service)# call-divert noanswer-time <20-60>

No answer transfer time is 30 seconds by default.

Call Transfer Usage

It becomes effective after configuration.

If the calling and called parties are not at the same gateway, the calling
party should support H450 protcol, or, the transfer will not be successful.

User adopts call transfer service code via telephone. The configuration of
H323 call-diversion defaultcan be compatible with Univg only in voice
service mode of VGM6000.

You may not hear tone during transfer process, and it may be busy tone
after the mistake.

Call Waiting
Call wating service indicates the user there is new calling in, and this user
can accept, refuse or have no care about this waiting indication. If user A
communicates with user B, and user B hasnt registered call waiting, so
when user C is trying to call user B, user B will get a indication of call
waiting.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 117 of 181


Call Waiting Configuration

The configuration is in voicesrv-conf mode:

Command Description
gateway (config-voice-service)#call-wait
enable
Register call waiting and enable the service.
gateway (config-voice-service)# call-wait
disable
Log out call waiting and disable the service.
gateway (config-voice-service)# call-wait
number <phonenum>
Configure call waiting umber, <phonenum> is
a number of E.164
gateway(config-voice-service)#no call-
wait number <phonenum>
Log out a call waiting number, and
<phonenum> is a number of E.164
gateway (config-voice-service)#no call-
wait number all
Log out all call waiting numbers
gateway(config-voice-service)# call-
thrust enable
Enable call-thrust function
Gateway(config-voice-service)#call-thrust
disable
Disable call-thrust fuction (by default)
gateway #debug call-wait Enable debug of call waiting service
gateway #no debug call-wait Disable debug of call waiting service
gateway #show call-wait call-num Examine all registered call waiting numbers
gateway #show call-wait cw-users Examine all call waiting users status
gateway#show call-thrust priority-table Examine call-thrust priority table
gateway#show call-thrust priority-table
<1-5>
Examine call-thrust priority table
gateway#show call-thrust phnum-table Examine call-thrust phone number table
gateway# show call-thrust phnum
<number>
Examine call thrust phone number priority

Configuration example
gateway (config-voice-service)#

Command Description
gateway (config-voice-service)#
call-wait enable
Register call waiting and enable the service
gateway (config-voice-service)#
call-wait number 2000
Configure call waiting number 2000

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 118 of 181


The call waiting user has the following operations:

1 means refusing new call

2 means accepting new call

No operation means not to care about new call

After accepting new call, the call waiting user can be switched between
two communications, and the operations are as following:

1 means switching to original user
2 means switching to new user .

On the basis of call waiting, the user can also cooperate with green
channel. When this function is enabled (configure call-wait enable and
call-thrust enable, gateway should be used together with gatekeeper), if
user A and user B is communicating, user C calls user A.

If user A enables call waiting, user C will listen tone thrust, user C chooses
1 to hang up the call from user B. if user C chooses 2, user A will enter
call waiting process

If user A doesnt have call waiting function, user C hangs up the calling
from user B and communicates with userA.
Call Waiting Tone

Call waiting tone is stored in the directory of flash\cw\, and the files and
definition are as following:

Wait: the tone by default is: please wait.
IVR Interactive Voice Response System
IVR (Interactive Voice Response)realizes second dialing function.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 119 of 181


Configuration command:
gateway (config-voice-service) voicesrv-conf

Command Description
ivr enable/disable Enable/disable IVR function
ivr access-number <STRING> Configure IVR access number, at most 10.
no ivr access-number <STRING> Delete ivr access number
ivr record-number <STRING> Configure IVR record number. After dialing IVR
access number, start recoding when press *
or #, or you can hang up directly.
no ivr record-number <STRING> Delete record number
ivr record-codec g711/g723/g729 Configure IVR record format file. When the user
dial IVR access number via H323, the gateway
plays voice file according to line coding. Other file
is g729 format.
ivr record-time [5-60] Configure IVR record time. the range is from 5 to
60 seconds. Default is 60 seconds.
ivr authentication enable/disable Enable/disable IVR authentication. Default is
disable.
ivr playfile welcome/busy/notexist
/fail /timeout /secdial [0-3]
Configure IVR file playing times, and the default is
3 times 0 means repeated playing.

IVR voice file:

After dialing IVR access number, it plays voice file WELCOM, and prompts:
hello, please dial extension number and press # or without #, the
gateway can judge whether it is finished.

If the extension is not existed or can not find routing, it plays voice file not
exist, and prompts: the extension is not existed, and please dial another
number

After dialing record number, it plays voice file record, and prompts: press
* to start record, and end with # key

When IVR is recording, it plays voice file recding, and prompts: other user
is recording, please try it later

For the failure of second dial, it plays voice file fail, and prompts: your
destination number can not be connected, please dial other extension
number

After the hung up of normal communication, it plays voice file secdial, and
prompts: your destination is hung up, please hung up or dial other
extension number

If there is other IVR calls when user wants to record, it plays voice file
reclater, and prompts other user is communicating, please record later. If
the destination is busy after second dial, it plays voice file busy, and
prompts: your destination number is busy now, please dial it again or dial
other extension number
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 120 of 181


If the connection is successful, it plays voice file ringback

If the user doesnt dial extension number, it plays voice file timeout, and
prompts: please dial extension number and end with #

IVR authentication: it plays voice file auth, and prompts: please input
youre account and end with # key

IVR authentication failure: it plays voice file authfail, and prompts: your
account or password is not correct, please input it again

IVR authentication password: it plays voice file pwd, and prompts: please
input your password and end with #

Above files are store in the directory of flash/ivr/.

Above IVR voice files need to put under sub-diectory IVR of flash file. Or,
the voice file can not be played normally

the connection to IVR access number from IP side doesnt support record
function IVR call doesnt permit record IVR record doesnt permit IVR call

IVR record is voice file welcome.729/711/723, when user dials to IVR
access number, the gateway plays file welcome according to line coding
mode, to prompt users second dial or other operations the default voice
file is welcome.729

IVR record function may modify voice file welcome.729/711/723. We
suggest system administrator to delete this record number after using this
function, to avoid the mis-modification for voice file

User can configure 10 IVR access number when the called number is hung
up or it can not be connected, calling number can dial other extension
number, at most five times

AAA authentication function is needed when enable IVR authentication
function

Configuration example:

PBX
711
710
610
PSTN
VOS VOP
VG6000

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 121 of 181


The user dials IVR to VGM6000 via PBX, after the tone, dial extension
number 710 to communicate with the extension number on gateway.

dial-peer 2 pots slot 3
channel 0 31 destination-pattern 710 increase Configure VOP number
exit
card 3
channel 0 31 enable enable VOP
exit

voicesrv-conf
H323 start slow
H323 send-dtmf h245-string
H323 call-diversion default
ivr enable enable IVR
ivr access-number 85148998 configure IVR access number
exit
card 2

NetSmart accounting authentication
Configuration command
gateway (config)#voice-service
gateway (config-voice-service)#

Command Description
netsmart-client enable Enable accounting task.
netsmart-client disable Exit accounting task.
netsmart-client authen <STRING>
<STRING>
authentication/forbidden
The first string is original port mode, and the value
is VOIP, E1, FXS, FXO the second string is
destination port mode, and the value is VOIP, E1,
FXS, FXOVOIP in or out is forbidden. The fifth
parameter indicates authentication or forbidden to
dial.
System forbids the calling from VOIP to VOIP, FXO
to FXO.
netsmart-client account <STRING>
<STRING> <CR/0/1>
The first string is original port mode, and the value
is VOIP, E1, FXS, FXO the second string is
destination port mode, and the value is VOIP, E1,
FXS, FXOonly the configuration is for accounting.
The fifth parameter indicates the configuration from
accounting packet to extension segment, not use.
System forbids the calling from VOIP to VOIP, FXO
to FXO.
no netsmart-client authen
<STRING> <STRING>
authentication/forbidden
The first string is original port mode, and the value
is VOIP, E1, FXS, FXO the second string is
destination port mode, and the value is VOIP, E1,
FXS, FXO
Log out authentication configuration.
no netsmart-client authen all Log out all authentication configurations
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 122 of 181


no netsmart-client account
<STRING> <STRING> <CR/0/1>
The first string is original port mode, and the value
is VOIP, E1, FXS, FXO the second string is
destination port mode, and the value is VOIP, E1,
FXS, FXO
Log out accounting configuration
no netsmart-client account all Log out all accounting configurations.
no netsmart-client all Log out all authentication accounting configuration.

Accounting needs AAA, and its configuration refers to AAA configuration of
routers.

When accounting calls exist, it executes netsmart-client disable or no
netsmart-client acc voip e1, the current time is used as over time for
sending accounting message to netsmart server, but the communication
will not be stopped.

Configuration example:
Command Description
gateway (config)#aaa new-model Enter AAA configuration mode
gateway(config)#aaa accounting
connection h323 start-stop radius
AAA accounting connection, and sending accounting
message both at the beginning and end of the
communication.
gateway(config)#aaa
authentication login h323 radius
AAA authentication login
gateway(config)# radius-server
host 128.255.0.123
Radius server IP address
gateway(config)# radius-server key
111
Radius server shared encryption key 111
gateway(config)# radius-server
retransmit 3
Retransmit 3 times without response of Radius
server.
gateway(config)# radius-server
timeout 3
Configure radius waiting time: 3 seconds.
gateway (config)#voice-service Enter voice-service mode
gateway(config-voice-service)#
netsmart-client enable
Enable accounting task
gateway(config-voice-service)#
netsmart-client authen e1 voip
authentication
Configure the authentication from e1, and out of IP
network.
gateway(config-voice-service)#
netsmart-client account e1 voip
Configure the accounting from e1, and out of IP
network.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 123 of 181


Black-white List

Black-white list transition rule configuration

gateway (config)# voicesrv-conf
gateway (config-callroute)# black-white-list
gateway (config-black-white-list)#black-white-list index num

Command Description
black-white-list index <0-49> Black-while list transition rule configuration
The index range is from 0 to 49.
modify <0-49> <0-49> Modify index number
no black-white-list index <0-49> Delete configuration
Exit

gateway (config-call-trans)# called-number-list num white
Command Description
called-number-list <STRING>
<white/black/increase>
The called number list configuration
STRING: need to configured number
White: white list
Black: black list
Increase: the same property: black or white
calling-number-list <STRING>
<white/black/increase>
The called number list configuration
STRING: need to configured number
White: white list
Black: black list
Increase: the same property: black or white
no calling-number-list/called-
number-list <STRING>
<white/black/increase>
Delete black white configuration content
exit

We have the following conflict check mechanism:

The conflict check is only for the coherent characters, for example, if 111
is configured as the while list, the 111 configuration as black list will be
instead of the while list

Configure a black list named xx, and then a white list named 0x the
behind configuration shell become effective but malfunction.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 124 of 181


Black-white list mode:

Calling called
black list black list
white list white list
no definition no definition
the calling black list only calls whilte list, while calling white list can call any
number, and no definition can call any called party.

Matching rule:

Use calling NUM as index, and match from index 0

The mathing in group is from the first item according to black-white list
mode

Search all the calling number without matching, and perimit this numbers
calling to any number.

Command: gateway#show black-white-list test <STRING> <STRING>

The first string is calling number, and the second number is called
number. Test whether black-white list can realize configuration
requirement.

The matching in group means the matching in the same index.

Configuration example:
Typical configuration one
1000: not per mi t t o di al any number
2000: onl y per mi t di al i ng domest i c l ong- di st ance and ci t y number s
ot her number onl y per mi t s di al i ng ci t y number s
gat eway ( conf i g) # voi cesr v- conf
gat eway ( conf i g- voi ce- ser vi ce) # bl ack- whi t e- l i st

gat eway ( conf i g- bl ack- whi t e- l i st ) # bl ack- whi t e- l i st i ndex 1
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l i ng- number - l i st 1000 bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) #exi t

gat eway ( conf i g- bl ack- whi t e- l i st ) # bl ack- whi t e- l i st i ndex 2
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l i ng- number - l i st 2000 bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st 00x. bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st xx. whi t e
exi t

gat eway ( conf i g- bl ack- whi t e- l i st ) #bl ack- whi t e- l i st i ndex 3
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l i ng- number - l i st xx. bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st 0x. bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st xx. whi t e
gat eway ( conf i g- bl ack- whi t e- l i st ) #exi t
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 125 of 181


Typical configuration two

Only permit 1000 to dial long-distance number

8000: onl y can be cal l ed by 2000
Ot her number onl y per mi t s di al i ng ci t y number , but not 8000 and l ong- di st ance
number
gat eway ( conf i g) # voi cesr v- conf
gat eway ( conf i g- voi ce- ser vi ce) # bl ack- whi t e- l i st

gat eway ( conf i g- bl ack- whi t e- l i st ) # bl ack- whi t e- l i st i ndex 0
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l i ng- number - l i st 2000 bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st 8000 whi t e
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st 0x. bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st xx. whi t e
exi t

gat eway ( conf i g- bl ack- whi t e- l i st ) # bl ack- whi t e- l i st i ndex 1
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l i ng- number - l i st 1000 bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st 8000 bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st 0x. whi t e
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) # cal l ed- number - l i st xx. whi t e
exi t

gat eway ( conf i g- bl ack- whi t e- l i st ) # bl ack- whi t e- l i st i ndex 3
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) #cal l i ng- number - l i st xx. Bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) #cal l ed- number - l i st 0x. bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) #cal l ed- number - l i st 8000 bl ack
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) #cal l ed- number - l i st xx. whi t e
gat eway ( conf i g- bl ack- whi t e- l i st - i ndex) #exi t

IP-PRI Ringing Tone
In the environment of --IPVG gatewayPRI, MyPower VG voice gateway
accepts the call from IP and then gives the call out via PRI relay.

PRI may send disconnection process message to guarantee the hungup
after the tone, but the gateway from IP may not support this kind of
message list and will not enable media channel.

So to solve this problem, we configure IP-PRI ringing tone function. So
when VG gateway sends alerting to IP gateway, the media channel is
opened, and at the same time, VG gateway will send ringing tone to
calling party via IP.

This function only supports PRI function of MyPower VG2000, MyPower VG
M6000.

Enter voicesrv-conf in global mode:
gateway (config)#voicesrv-conf
gateway (config-voice-service)#
after entering voicesrv-conf mode,
gateway (config-voice-service)# ip-pri-ringback ?

Command Description
disable Disable ip-pri ringing tone (by default)
enable Enable ip-pri ringing tone
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 126 of 181


Callee-group

Service:
Callee-group is a service of local gateway FXS/FXO card. When the callee-
group is configured, all calls in FXS port will ring at the same time, and
FXO will initiate numbers calling via this port. But if one port is connected,
other ports will stop ringing and come back to original status.

Service configuration
Command Description
gateway (config-voice-service)#callee-group
<1_50>
Configure callee-group, at most 50.
gateway (config-voice-service)#no callee-
group <1_50>
Log out one callee-group, including all
configurations in group.
gateway (config-callee-group)#number
<phonenum>
Configure number of callee-group.
gateway (config-callee-group)#port
<STRING> | number < phonenum >
Configure callee-group port
MyPower VG M6000: each group supports
16-port.
MyPower VG2000, VG800 and VGA600:
each group supports 4-port.
Number: configuration is only effective
for FXO port.
gateway (config-callee-group)#no number
<phonenum>
Log out a configured callee-group
numbers
gateway (config-callee-group)#no port
<STRING>
Log out a configured callee-gorup port
number
gateway #(config-callee-group)shutdown Disable this group but reserve the
configuration
gateway #(config-callee-group)no shutdown Enable this group, the configuration is by
default.

Configuration example
Put port1-2 of slot 0 of FXS card and port 0 of slot 7 of FXO card into
callee-group. When there is calling matching to 9999, the telephone of
port 1-2 of slot 0 of FXS card and 85148000 will ring at the same time.

Any one of the them picks up, other two telephones will stop ring.

Command Description
gateway (config-voice-service)#callee-group
1
Configure callee-group 1
gateway (config-callee-group)#number 9999 Configure callee-group 9999
gateway (config-callee-group)#port 0/1 Configure callee-group port 0/1
gateway (config-callee-group)#port 0/2 Configure callee-group port 0/2
gateway (config-callee-group)#port 7/0
number 85148000
Configure FXO dialing out number
85148000
gateway #(config-callee-group)no shutdown Enable this group
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 127 of 181


Call-pickup

Service:

Call-pickup means when the called party A is ringing, user B wants to pick
up the call of user A via some operation, and when B picks up, user A
stops ringing. Via the configuration, gateway may configure call-pickup.

AB belong to one call-pickup group. B picks up the telephone, dials *71*#
or *71* overtime, and theres no need to call A. If adopting # to finish the
dialing, the following configuration is needed:

gateway (config)#dialplan terminator #

AB dont belong to one call-pickup group. B picks up the telephone, dials
*71* number # or *71* nuber overtime. If adopting # to finish
the dialing, the following configuration is needed:

gateway (config)#dialplan terminator #

Enabling grouping call-pickup, the configuration is needed. In one call-
pickup group, only FXS port can be
configured.

Service configuration
Command Description
gateway (config-voice-service)# call-
pickup <1_10>
Configure call-pickup group
gateway (config-voice-service)#no
call-pickup <1_10>
Log out call-pickup group, including all
configurations.
gateway (config-call-pickup)#port
<STRING>
Configure call-pickup group port, at most 32
ports.
gateway (config-call-pickup)#no port
<STRING>
Log out the configured call-pickup port number
gateway #( config-call-
pickup)shutdown
Disable the group, but reserve the configuration.
gateway #( config-call-pickup)no
shutdown
Enable the group (by default)

Configuration example
Configure port 1/2/15 of slot 0 in one call-pickup group.
Command Description
gateway (config-voice-service)# call-
pickup 1
Configure call-pickup group 1
gateway (config-call-pickup)#port 0/1 Configure call-pickup group1 port 0/1
gateway (config-call-pickup)#port 0/2 Congiure call-pickup group 1 port 0/2
gateway (config-call-pickup)#port 0/15 Configure call-pickup group 1port 0/15

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 128 of 181



No need to input the ringing number in one call-pickup group. Input right
ringing number of different call-pickup groups.
Telephone User Configuration
User examines the number via dialing. When many number for one
telephone, the highest priority number is adopted. The user also
configures call transfer service via dialing call transfer number.
Service Configuration for Telephone User
enable/disable service

Enter voicesrv-conf in global mode:
gateway (config)#voicesrv-conf
after entering voicesrv-conf mode,
gateway (config-voice-service)# user-config ?

Command Description
disable Disable configuration
enable Enable configuration, start up by default.

Service Configuration
Telephone number tracing service
Pone number
tracing service no.
Description
#33# Lookup phone number

For example, if the user number is 123456, so when user picks up the
telephone and dials #33#, the telephone reports 123456.

Configure call transfer:
Call transfer
business no.
Description
*40* + + # Configure CFB of call transfer service.
*41* + + # Configure CFNR of call transfer service
*57* + + # Configure CFU of call transfer service
#40* + + # Examine whether the telephone has configured CFB of call transfer
service.
#41* + + # Examine whether the telephone has configured CFNR of call
transfer service
#57* + + # Examine whether the telephone has configured CFU of call transfer
service.
#40# Cancel CFB of call transfer service
#41# Cancel CFNR of call transfer service
#57# Cancel CFU of call transfer service
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 129 of 181


For example,
If the user wants to configure CFB number 123456 of call transfer service,
only needs to dial *40*123456# , and if the configuration is successful,
the user will listen the tone if failed, the user will listen busy tone.

If the user wants to examine whether the telephone has configured CFB
nuber 123456 of call transfer service, only needs to dial #40*123456# , if
has configured, the user will listen successful tone if current input number
is different from CFB number or the service has not been applied, the user
will listen busy tone.

If the user wants to cancel CFB of call transfer service, only needs to dial
#40#. If the configuration is successful, the user will listen successful tone
if failed, the user will listen busy tone.

The definition of CFB, CFNR and CFU refers to call transfer part of this
manual.

Prompting Tone
The prompting tone is stored in the directory of flash\appUc\, and the
files and definitions are as following:

0 Chi nese pr onunci at i on of 0.
1 Chi nese pr onunci at i on of 1
2 Chi nese pr onunci at i on of 2
3 Chi nese pr onunci at i on of 3
4 Chi nese pr onunci at i on of 4
5 Chi nese pr onunci at i on of 5
6 Chi nese pr onunci at i on of 6
7 Chi nese pr onunci at i on of 7
8 Chi nese pr onunci at i on of 8
9 Chi nese pr onunci at i on of 9
Xi ng Chi nese pr onunci at i on of *
J i ng Chi nese pr onunci at i on of #

If non-condition transfer has configured, here the configuration of no
answer or busy transfer will cover non-condition transfer configuration.

If the phone number is modified during the using process of gateway, the
transfer property should be canceled via command of gateway or network
management.

The gateway will auto store the configuration of each call transfer for
users. If theres no need for strored, please
back up.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 130 of 181


IP-FXS Remote Ringing

Some gateways dont play ringing to local telephone. The following figure
will give a brief introduction.

GW2
A B
I P
GW1
FXS FXS


Suppose A is calling party and B is called party. GW1 (gateway of A)
doesnt play ringing to A.

When A calls B, B starts to ring. If GW1 enable FXS remote ringing, GW2
connects media channel of AB when it is ringing to B, and sends similar
ringing to A.
Service Configuration

Enter voicesrv-conf in global mode:

gateway (config)#voicesrv-conf

After entering voicesrv-conf mode, gateway (config-voice-service)# ip-
fxs-ringback

Command Description
disable Disable the function by default.
enable Enable the function.


MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 131 of 181


Affixation
Service Use Order
The order of often used value-added service:

1. When call control is examining routing, the number is not being
changed calling number or called number (if theres no calling
number, configured it as 8888888888)

2. During the examining process, whether the calling number can call
the called number is according to black-white list configuration rule

3. If there is no calling authority, the call control part will exist

4. If the calling party has calling authority, examine dialpeer
configuration according to called number, and find the accurate
routing. If there are more than one routings, the preference
configuration under dialpeer will be chosed

5. If it is failure to find routing, the operation is same as step 3

6. If finding routing is successful, check whether E1 timeslot group
under dialpeer has configured calling number limitation.

7. Examine whether dialpeer has number changing rule, if satisfied
the condition, modify number. No matter the number changing is
successful or not, the routing examining is successful

8. After that, complete authentication and accouting function
according to port mode.

9. If it is satisfied IP switching after first routing, examine the routing
after prefix change.
Service Conflict
Some service may not use extral service because of the conflict. For
example, if one number has both call transfer and call waiting, call
transfer is priority, and non-condition call transfer takes precedence of
other two kinds of call transfers if user C (the second dialed number) is
the local number of gateway and features call waiting, and this time the
calling party is priority and the call waiting service is not supported.

Call waiting
The precondition of call waiting is for a new user calling a call waiting user
who is busy now. The following is the service conflict (A, B, C represent
call waiting user, the first calling party and the second calling party).
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 132 of 181


A is communicating with B, but A is in call transfer. That means A can be
transfer user, calling party or the second called pary, but it will not
support call waiting, which means user C will listen busy tone when calling
A.

If A only calls the second dialed number, although A is in communication
status, but not support call waiting.

During the call waiting process of ABC, user ABC can not use call
forwarding service.

Call waiting service and busy transfer can not be configured at the same
time, and busy transfer has the priority.

Call forwarding

In the following conditions, the service conflict is existing. A, B and C
represent forwarding user, the first user and forwarding party

A, B are in conversation, and A starts call forwarding. A dials 1234,

a) if 1234 has configured non-condition transfer, the gateway initiates
call by new number

b) if 1234 is local number and can be forwarded when it is busy, the
port of 1234 will forward the call to another number

c) if 1234 is IVR number or grouping number: the calling number can
not be forwarded via local gateway E1, FXO and FXS, and will be back to
AB conversation if the calling number is from IP and the gateway hs calling
routing to IVR number, the forwarding can be successful.

During the forwarding process of user A, if A, B and C have call waiting
function, and A and C are local numbers, the call from user D doesnt
support call waiting function.

If A is in the process of call waiting, A can not use call forwarding, only
when the conversatrion has only two users.

If the number of user C is second dialed number, the second dialed
number doesnt support forwarding party, and both calling and called
party listen busy tone.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 133 of 181


IVR second dialing

The service conflict may appears in the following conditions.

Suppose A is calling user, 1234 is second dialed number.

When A is in conversation with IVR, A dials 1234 (user B),

a) if 1234 is non-condition forwarding, use new number to initiate the
calling

b) if 1234 is local number and busy forwarding, so when 1234 port is
busy, you can dial the forwarding number

c) if 1234 is second dialed number, it doesnt support forwarding.

d) if the conversation with A is from IP, and 1234 is out from IP, it
prompts your destination number is not existed.

e) if 1234 is user C, when user C is in conversation, it doesnt support call
waiting function.

If it doesnt support IVR record from IP, it prompts the number is not
existed.

When user is using IVR service, the record can not be used.
When the use is recording, other user can not call IVR access number.

Non-condition call transfer

Configure 1234 as call transfer number, and 1234 is local number for user
C.

If non-condition transfer number C is local number, with call waiting
function, so when C is in conversation, it doesnt support call waiting
function.

Busy transfer

Configure 1234 as busy transfer number.

If 1234 is local user C, so when C is in conversation, it doesnt support call
waiting although it has this function.

If 1234 is second dialed access number, it doesnt support second dialing.

If some user has both call waiting and busy transfer, it only supports busy
transfer.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 134 of 181


No answer transfer

Configure 1234 as no answer transfer number.

If 1234 is local number and in conversation, it doesnt support call waiting
function. If 1234 is second dialed access number, it doesnt support
second dialing.
H.323 Parameters
In the mode of voice service configuration:

gateway (config)#voice-service
gateway (config-voice-service)#

Command Description
H323 grq-interval <15-90> Send next GRQ time interval after 3 times failure of
GRQ resending, and the time is 40s by default.
H323 call-diversion default/ h4503 Use h4503 or facility for call transfer, and facility is
by default.
H323 h245Tunnel on/off The default is non-channel mode of H245.
H323 send-dtmf h245-string/ Q931-
keypad
Configure DTMF sending mode, using h245string
mode by default.
h323 send-dtmf h245-string no-
termCapSet-support
Configure whether judge the capability.
H323 send-dtmf rtp-nte <cr>/
dynamic-payload-type <97-127>
Configure DTMF sending mode as RTP. dynamic-
payload-type is dynamic payload, 101 by default.
(only VG6000 supports this function).
h323-start fast / slow Configure h323 call as high-speed or low speed
connection, and use low speed by default.
h323 SendCalledArq enable/disable Configure whether the calle party sends ARQ to
GK, and sending ARQ by default.
H323 bearer-cap 3100hz/speech Configure IE bearing value of setup message,
3100hz by default.
H323 authentication-gw disable Disable gateway authentication, disable by default.
H323 authentication-gw
h235AuthCAT/
h235AuthProcedure1/
h235AuthSimpleMD5/
maipuAuth/<CR>
Configure authentication mode.
They are: h235AuthCAT, h235AuthProcedure1,
h235AuthSimpleMD5 and maipuAuth.
Enter directly is maipuAuth by default.
H323 brq enable/disable Configure whether sending BRQ, disable by
default.
h323- convert-inband
enable/disable
H323 needs to send alerting message to calling
party, and the gateway enables media channel
without receving connect message. The command
is enable. Or it is disable.
h323 call-thrust-ttl <1-200> After the gateway call thrust function, the gateway
needs to send IRQ message to gatekeeper to
update number priority list, the default time is
10m.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 135 of 181


Voice Quality
In gateway, jitter buffer, echo counteraction and silent voice compression
have global and channel. The global configuration mains considers e1
calling.

The channel configuration is for line card channel, and each channel
configuration parameter is different. The channel configuration refers to
line card configuration.
J itter Buffer
Configure jitter buffer time. When the voice packet order of receiving end
is different from sending end, the jitter appears. So to eliminate jitter, use
jitter buffer technology at receiving end.

The length of jitter buffer can be the maximum time of jitter buffer. For
example, configure jitter buffer length as 200ms, and the recevining end
can rearrange the order for voice packet and play it out.

Configuration command
Because MyPower VG M6000 and MyPower VG2000 adopt different DSP,
the configuration commands are different.

MyPower VG M6000 configuration command is in voice service
configuration mode:

gateway (config-voice-service)#

Command Description
e1 jitterbuf<0-200> Configure jitter buffer length, and the range is from
0 to 200ms. The default is 0ms.

The jitter buffer correlative with line card refers to FXS and FXO port
configuration information. MyPower VG2000 configuration command is in
voice service configuration mode:

gateway (config-voice-service)#

Command Description
e1 jitterbuf <10-20> <1-8> Configure global jitter buffer length and starting
playing the length of buffering. The front
parameter is 15 by default and the next is 5

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 136 of 181


Payload Debugging
This command is used for debugging payload size of voice packet. Because
MyPower VG M6000 and MyPower VG2000 have different DSP, the
configuration is different.
MyPower VG M6000 payload configuration command is in voice service
configuration mode:
gateway (config-voice-service)#

Command Description
gateway # configure terminal Enter global configuration mode
gateway (config)# voicesrv-conf Enter voice service configuration mode
gateway(config-voice-service)#
payload<1-2>
Configure numbers of E1 payload, and the range is
from 1 to 2, and 1 by default.

MyPower VG2000, VG800 and VGA600 payload is in voice service
configuration mode:
gateway (config-fxs-card)#

Command Description
gateway #fxs-card 0 Enter card configuration mode
gateway(config-fxs-card)#channel
<0-15> < 0-15> payload <1-5>
Configure the numbers of payload, and the range
is from 1 to 5, 1 is by default.
gateway(config-voice-service)#e1
payload <1-5>
Configure payload parameters in the environment
of E1IP, and 1 by default. (only VG2000 has
this configuration command)
Payload debugging is useless for G711a and G711u coding.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 137 of 181


Silent Voice Compression

Configure MyPower VG M6000 line card silent voice compression function:

Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)# card 1 Enter fxs card configuration mode
gateway (config-fxs-card)# channel
<0-
31> <0-31> scf on|off
nosid|sid|pt13
The first <0-31> is starting channel number
The second <0-31> is ending channel number
Off: disable silent voice compression function
On: enable silent voice compression function
Nosid: no sending of silent voice packet
Sid: sending sid frame
pt13 transmits sid frame, and sid frame type is 13,
and this option is only useful for g711.
gateway(config-fxs-fxo-card)#fxs-
channel <0-15> <0-15> scf on|off
nosid|sid|pt13
The parameters configuration of 16O16S FXS
channel is same as
above.
gateway(config-fxs-fxo-card)#fxo-
channel <0-15> <0-15> scf on|off
nosid|sid|pt13
The parameters configuration of 16O16S FXO
channel is same as above.

Configure MyPower VG2000, VG800 and VGA600 silent voice compression
function:

Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)# fxs-card 8 Enter fxs card configuration mode
gateway (config-fxs-card)# channel
<0-15> <0-15> scf on|off
nosid|sid|pt13
The first <0-31> is starting channel number
The second <0-31> is ending channel number
Off: disable silent voice compression function
On: enable silent voice compression function
Nosid: no sending of silent voice packet
Sid: sending sid frame
pt13 transmits sid frame, and sid frame type is 13,
and this option is only useful for g711.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 138 of 181


Configure E1 silent voice compression function, it is effective for E1 from
IP or IP from E1.

Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)#voicesrv-conf Enter global voice service configuration mode
gateway (config-voice-service)# e1
scf on|off nosid|sid|pt13
Off: disable silent voice compression function
On: enable silent voice compression function
Nosid: no sending of silent voice packet
Sid: sending sid frame
pt13 transmits sid frame, and sid frame type is 13,
and this option is only useful for g711.
Echo Counteracting
Because MyPower VG M6000 and MyPower VG2000 adopt different DSP,
the configuration is different.
Configure MyPower VG M6000 line card echo counteracting function
Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)# card 1 Enter fxs card configuration mode
gateway (config-fxs-card)# channel
<0-31> <0-31> echo-length
0|32|64|128
The first <0-31> is starting channel number
The second <0-31> is ending channel number
It supports 0, 32, 64, 128, and the unit is ms
The default value is 32ms
The command is with hardware configuration
Some DSP dont support this function.

Configure MyPower VG M6000 E1 echo counteracting function:

Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)#voicesrv-conf Enter global voice service configuration mode
gateway(config-voice-service)# e1
echo-length 0|32|64|128
It supports 0, 32, 64, 128, and the unit is ms
The default value is 32ms

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 139 of 181



Configure MyPower VG2000 echo counteracting function:
Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)# voicesrv-conf Enter voice service configuration
gateway(config-voice-
service)#echo-length 25 | 40
Configure global echo counteracting length, and
the default value is 25.

This command is only suitable for MyPower VG2000, MyPower VG800,
MyPower VGA600, and only useful for some DSP. If DSP doesnt support it,
the command will not appear.
DSP Convergence Function
DSP convergence function can be configured when DSP channel number is
different from voice channel numbe, to
play busy tone when DSP is not enough. After enabling this function, the
dsp resource for E1 only can by used by the call via E1, and other calls use
other DSP channel. The call via E1 relay has the priority.
The gateway distributes one DSP for busy tone playing, and so if new
calling doesnt have DSP, the gatetway will connect timeslot and DSP, and
the user will listen busy tone without enabling this function, the user can
not hear the tone.
Command Description
gateway #configure terminal Enter global configuration mode
gateway (config)# dsp reserve Supports convergence function, and this command
reserves one DSP for busy tone playing. The default
doesnt support DSP convergence function
gateway (config)# dsp reserve e1
<num>
Configure E1 reserved DSP number
gateway #show dsp reserve Examine current configuration and dsp

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 140 of 181


Configure Voice Global
Parameters
Enter voice configuration mode:
Command Description
gateway (config-voice-service)#dtmf-gain Configure dtmf gain from dsp, and the unit
is db. The range of MyPower VG M6000 is -
63-0, and -4db by default. The range of
MyPower VG2000, VG800 and VGA600 is -
15-15, and 0db by default.
gateway(config-voice-service)#fsk-mode
v23-mode/bell202-mode
MyPower VG M6000 controls callid signal
mode of FXS.
MyPower VG2000, VG800 and VGA600
control callid signal mode sending from FXS
and receiving by FXO (MyPower VG2000
only supports this configuration by
configured GM2-3DSPA module) v23-
mode
V.23 Mode Mark Frequency: 1300 +/- 10 Hz
Space Frequency: 2100 +/- 10 Hz
Baud Rate: 1200 bps
bell202-mode
Bell202 Mode Mark Frequency: 1200 +/- 10Hz
Space Frequency: 2200 +/- 10 Hz
Baud Rate: 1200 bps
gateway (config-voice-service)#mfr2
volume in <-14-6>
Configure input gain value of receiving r2
signal, and the unit is db. MyPower VG
M6000 range is <-14-6>, and volume is
0db by default. MyPower VG2000 range is
<-15-15>, and volume is 0db by default.
gateway (config-voice-service)#mfr2
volume out <-14-6>
Configure input gain value of receiving r2
signal, and the unit is db. MyPower VG
M6000 range is <-14-6>, and volume is
0db by default. MyPower VG2000 range is
<-15-15>, and volume is 0db by default.
gateway (config-voice-service)# t38-fax
codemode-adjust disable|enable
Permit or cancel fax coding mode adjusted
function for solving the compatibility
between low-end gateway and VGM6000,
or some gateway of huawei. Only suitable
for MyPower VG2000, VG800 and VGA600
gateway (config-voice-service)#ip-
preference
Critical/ Normal
Configure voice gateway data priority
Critical: preference sending mode( by
default)
Normal: normal sending mode
gateway(config-voice-service)#local-
section-number <string>
Configure CID without displaying local
section number
<string> local section number, the gateway
removes the prefix
beginning with this number, and then sends
it to FXS.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 141 of 181


gateway (config-voice-service)#fxo-detect-
timer disable
Disable FXO external line check function
Only suitable for MyPower VG2000, VG800
and VGA600. The function is enabled by
default.
gateway (config-voice-service)#fxo-detect-
timer <1-1440>
Configure FXO external line check time
interval, and 10minute by default.
Only suitable for MyPower VG2000, VG800
and VGA600. The external line check
command of VG6000 refers to 5.4.3.2
gateway (config-voice-service)#dialout-
flash-time
Configure FXO dialout flash time
MyPower VG M6000 unit is 100ms, and the
range is 1-10, the default is 8*100 ms
MyPower VG2000, VG800 and VGA600 unit
is 20ms, and the range is 10-60, 40*20ms
by default.
Gateway (config-voice-service)#h323call-
thrust-ttl <1-200>
Configure gateway sending IRQ time
interval, 10 minutes by default.
gateway(config-voice-service)#connection-
plar fxs-ring-delay [0-20]
Configure FXS ringing delay time, 0 by
default. Suitable for MyPower VG M6000
gateway(config-voice-service)#udp-
checksum enable/disable
Enable/disable UDP checksum, disable by
default.
gateway(config-voice-service)#sourceip-
check enable/disable
Enable/disable source IP address check,
enable by default.
gateway(config-voice-service)#h323-
convert-inband enable/disable
Enable/disable converting PRI Alerting
message into H323 Connect message
function. Only suitable for MyPower VG
M6000 and MyPower VG2000
Trunk Configuration
This command is only for MyPower VG M6000.
Trunk configuration is for the 2 high-speed Ethernet interfaces in panel of
MyPower VG M6000, to enhance bandwidth which can reach to 200M and
meanwhile enhance the protection.

The f0 and f1 of MyPower VG M6000 connect to one switch, and switch
needs to cancel STP, and its opposite ports need to be configured as the
same link aggregation group and load balance arithmetic should be
configured SrcMAC&DstMAC, be consistent with MyPower VG M6000.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 142 of 181


Enable/ disable Trunk:
Command Description
gateway# configure terminal Enter global configuration mode
gateway(config)#trunk
enable/disable
Enable/dsable trunk function (disable by default)
Protect Switch Function
Configuration
E1 Protecting Switch Function
Configuration
This command is only effective for MyPower VG M6000.
E1 protected switching is a feature of MyPower VG M6000, it automatically
connects E10 to E11, E12 to E13 when
it is power off or malfunction. The conversation if from E1 to E1.
Switch E1
Command Description
gateway# configure terminal Enter global condiguration mode
gateway (config)# card cardNum Enter core card congfiguration mode
gateway (config-e1mode)# connect
0 1
E1 0 connects E1 1 directly

Disconnect E1
Command Description
gateway # configure terminal Enter global condiguration mode
gateway (config)# card cardNum Enter core card congfiguration mode
gateway (config-e1mode)#
disconnect 0 1
E1 0 disconnects E1 1

Examination status
Command Description
gateway # configure terminal Enter global condiguration mode
gateway (config)# card cardNum Enter core card congfiguration mode
gateway(config-e1mode)# show e1
pretection status
Display E1 protection status

Make sure the switching protection is enabled for the E1 protection
configuration on MyPower VG M6000
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 143 of 181



No Slip stitch Description Connection
position by
Default
1 S1-S8 Connect 12, the hardware enables E1
switch without power
Connect, the hardware disables E1
switch without
power
12
2 SW10-SW19 Connect 12, E1 impedance is 75
Connect 23, E1 impedance is 120.
12
Protection Switch Function Configuration
VGM6000 16S16O card is corresponding to fxa and fxo channel switch
without power.

fxs channel in VOP card of VG800 is corresponding to fxo channel in VOS
card, for switch without power. The VOP/VOS card of slot0 is to VOS/VOP
card of slot, VOP/VOS card of slot1 is to VOP/VOS card of slot3
The following problems needs attention:
VOP card of version H02x: the channel relation on line card is: channel 0
on VOP card is to channel
0 on VOS card.
VOP card of Version H03x: then channel relation on line card is: channel 0
of VOP card is to channel
3 of VOS card, channel 1 is to channel 2 of VOS card, channel 2 is to
channel 1 of VOS card and
channel 3 is to channel 0 of VOS card.
When the gateway is without power, the fxs connects fxo on hardware, we
can dial fxo enternal line number via PSTN, the corresponding fxs phone
will ring. You can dial PSTN internal phone number directly. If fxs is not
corresponding to fxo, there is no dialing tone when picks up the phone.
VG2000 doesnt support swith function without power
Other Configuration
This part explains some special configuration for special occasion or
debugging.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 144 of 181


Disable Broadcast & Multicast Function
The command is only effective for MyPower VG M6000.
Command Description
gateway(config)#broadcast-discard
disable/enable
Enable or disable broadcast packet, disable by
default.
gateway(config)#multicast-discard
disable/enable
Enable or disable multicast packet, disable by
default.
gateway(config)#convert-bcf-cpu
disable/enable
Enable or disable change broadcast mac address
to cpu mac address, and enable by default.
gateway(config)#convert-mcf-cpu
disable/enable
Enable or disable change multicast mac address
to cpu mac address, and enable by default.

MyPower VG M6000 Ethernet Interface
Speed Configuration
The command is only effective for MyPower VG M6000. Here for other two
enternet interfaces of MyPower VG M6000, the configuration command is:

gateway(config)#switch f0/f1 rate
10/100
Configure speed rate
gateway(config)#switch f0/f1 duplex
full/half
Configure full/half duplex
gateway(config)#switch f0/f1 auto
enable/disable
Enable and disable auto negotiation

If configured auto enable, duplex <half\full>, rate <10\100> can not be
configured. Auto disable should be deleted.

After executing auto disable, duplex <half\full>, rate<10\100> can be
configured.
RTP Flow Check
This command is only effective for MyPower VG M6000.

Because of MGC equipment problem, MyPower VG M6000 may not receive
the signal of hung up, and the equipment can not hang up. In order for
RTP flow check function, after enabling this function, if there is no RTP
flow in a period of time, we will consider the channel finished, and hangs
up.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 145 of 181



Command Description
gateway(config)# voicesrv-conf Enter voice service configuration
gateway(config-voice-service)#rtp-
monitor <CR>
Enable RTP function by adopting parameters by
default. The parameter by default is 80 seconds. If
RTP data flow has not been checked, the calling
will auto cut off.
gateway(config-voice-service)#rtp-
monitor receive <30-300> <CR>
Configure receiving RTP packet time interval, 80
seconds by default.
gateway(config-voice-service)#rtp-
monitor transmit <30-300> <CR>
Configure sending RTP packet time interval, 80
seconds by default.
gateway(config-voice-service)#no
rtp-monitor <CR>
Cancel RTP flow check function

Function: disable by default.

The check time can be configured, 80s by default. if the value is less than
80s, some service function will be effected.
RTP Message UDP Check
This function can write right UDP sum for RTP message, to avoid some
equipment discard the packet without UDP sum.
Command Description
Gateway(config)# voicesrv-conf Enter voice service configuration mode
Gateway(config-voice-service)#udp-
checksum enable | disable
Configure enable UDP check sum function
configure disable writing UDP check sum function.
Disable by default. we suggest not to enable this
function if there is no problem, to enhance
gateway efficiency.
Source Address Check
In the environment of firewall, the gateway may receive and send different
ip. By default, the gateway needs to check source ip and port, to discard
voice packet which is not corresponding.

Command Description
gateway(config)# voicesrv-conf Enter voice service configuration mode
gateway(config-voice-
service)#sourceip-check enable |
disable
Configure enable source address check function
configure disable source address check function.
enable by default.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 146 of 181


Call Routing TRUNK
This function is used for simplifying routing examination as relay gateway.
When the gateway is configured VOE1 and VOIP dial-peer, the routing
priority order is not being considered.

The calling from E1 is not corresponding to VOE1 dial-peer, and the calling
from IP is not corresponding to VOIP dial-peer. The command is only
effective to MyPower VG M6000 and MyPower VG 2000.

Command Description
gateway(config)# callrouting-conf Enter call routing configuration mode
gateway(config-
callroute)#trunkmode enable |
disable
Configure enable trunk function configure disable
trunk function. Disable by default.

PRI Process Switch
This function is used in the environment of IPVGPRI, the gateway sets
up IP side connection when receiving PRIQ931Alerting or Progress
message, to enhance the equipment compatibility for some equipment
which dont support Alerting message process.

When there is no ringing of the calling from PRI to PSTN, the command
can be enabled to set up media connection to play the ringing tone. This
command is only effective to MyPower VG M6000 and MyPower VG 2000.

Command Description
gateway(config)# voicesrv-conf Enter voice service configuration mode
gateway(config-voice-
service)#h323-convert-inband
enable | disable
Configure enable process converting function
configure d=isable process converting function.
disable by default.


Enabling this function will cause the ahead accounting of the calling from
IP to PRI.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 147 of 181


Low-end Gateway Reducing Cost Mode
The command is suitable for MyPower VG2000, VG800 and VGA600.

To reduce the cost (reduce DSP number0, and satisfy different customers
requirements, low-end gateway supports reducing cost mode, and in that
condition, command code-mode mode1/mode2 will appear in voice-service
mode without this command it is normal mode, with the coding: G723,
G729, G729a, G729wb, G711u and G711a.

Command Description
gateway(config)# voicesrv-conf Enter voice service configuration mode
gateway(config-voice-
service)#code-mode mode1
Configure reducing cost mode 1(by default), it
supports G729, G729a, G729wb , G711u and
G711a.
Save the configuration and restart the equipment.
gateway(config-voice-
service)#code-mode mode2
Configure reducing cost mode 2, it supports G723,
G711u and G711a.
Save the configuration and restart the equipment.

Configure ADSL PPPOE Access
Before using this function, you need to apply ADSL broadband service, and
gain the user name and password for internet. After the installation, you
can use internet. This function maily for MyPower VG2000, VG800 and
A600. MyPower VG M6000 doesnt support this function.
PPPOE Access Mode
Command: pppoe-client dial-pool-number

Configure pppoe client-end. Use no to cancel all configuration.
pppoe-client dial-pool-number number

no pppoe-client dial-pool-number number
Command Description
Number Dial-up number.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 148 of 181


PPPOE Application Example

10/100M
DSLAM
VG2000
VOP
Internet
PPPOE
ADSLModem


PPPOE Configuration Example
Command Description
gateway(config)#ip access-list standard 1
gateway (config-std-nacl)#permit any Visit access list according to user
condition, by default.
gateway (config-std-nacl)#exit
gateway (config)#dialer-list 1 protocol ip permit Configure spring dialup data mode
gateway (config)#ip nat inside source list 1
interface dialer0 overload
Configure NAT mode, and the details
refer to NAT configuration
gateway (config)#interface fastethernet0
gateway (config-if-fastethernet0)#ip add
192.168.1.1 255.255.0.0
Configure inner gateway address on
ethernet interface
gateway (config-if-fastethernet0)#no ip proxy-arp Camcel ARP proxy function
gateway (config-if-fastethernet0)#ip nat inside Enable NAT of inner interface
gateway (config-if-fastethernet0)#exit
gateway (config)#interface dialer0
gateway (config-if-dialer0)#ip address negotiated Configure ip address negotiation
gateway (config-if-dialer0)#dialer pool 1 Connect dial interface 0 with dialer-
group 1.
gateway (config-if-dialer0)#dialer-group 1 Designate a dialer control list, DDR
data packet.
gateway (config-if-dialer0)#encapsulation ppp
gateway (config-if-dialer0)#ppp pap sent-
username user@169 password user
User name and password provided
by telecommunication office.
gateway (config-if-dialer0)#ip nat outside Enable NAT of external interface
gateway (config-if-dialer0)#exit
gateway (config)#ip route 0.0.0.0 0.0.0.0 dialer0 Configure routing by default.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 149 of 181


Please configure pap or chap authentication mode according to the
requirement of telecommunication office when configure PPPOE
authentication.
PC Configuration
After the configuration of PPPOE client-end mode, configure gateway and
DNS on PC. Gateway IP address is IP address connecting Maipu router and
LAN, DNS IP address is IP address of telecommunication office server.
After the configuration of PC, the internet can be used.
PPPOE Debugging
debug ppp negotiation
examine PPPOE negotiation process and whether the system operates
normally.

[command mode] privileged user mode
debug ppp packet
examine PPP packet alternation process.

[command mode] privileged user mode
debug ppp header
examine PPP fold.

[command mode] privileged user mode
Debugging Command
This part description is some important debugging command.

ACC module: Abstract Call Control, is the core of the system. ACC
completes call control based on kinds of protocols and signal system, and
is the basis of realizing VGLIB of API interface. All abstract media port AE
have been registered on ACC (Abstract Endpoint, includes FXS port, FXO
port, each timeslot of E1).

VGL module: VG Library, it provides API operating by gateway, and takes
charge of maintaining services for program. Each service alternates ACC of
API via VGL.

ASLAnalog Subscriber Line, such as FXS and FXO.

The gateway call mode is as following:
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 150 of 181



Gateway abstract call control module



The mail abstract object contains Call, Connection, Provider and Device.
Thereinto, Call structure uses to describe phone call abstractly. One call
contains one or more vonnection, which supports the communication
among different parties. Call structure uses call ID to identify once calling.
The application program controls call process via the operation of call.

Provider structure indicates the abstract of signal and protocol, is the
mapping in call control layer. Each party of telephone communication is in
accordance with one Provider structure. According to ACC classification,
there are three types: VOIP (H323), E1 (PRI, R2), POTS (FXS card and
FXO internal protocol).

Connection indicates the relationship between concrete signal/protocol
(Provider) and call. Connection is the abstract description from Call to
concrete signal/protocol. The connection ID is used to identified one
connection.

Application program controls call process via the operation of Connection.
The gateway supports managing many connections during one call, but at
the same time only two connection can have the conversation (peer for
each other).

Device is the terminal equipment for the calls joining in the conversation.
Device structure contains terminal address coding, which is calling party or
called party and also AC for connection. If the protocol of connection is
VOIP type, it doesnt have AE.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 151 of 181


ACC DEBUG Command
Configure in global mode.
Enable port debugging switch
gateway # debug ?

Command Description
voice-port <STRING> asl Enable asl debugging. <STRING> is to FXS and
FXO port number.
voice-port <STRING> connection Enable connection debugging, <STRING> is to FXS
and FXO port number or E1 timeslot number.

The example of debug voice-port.

gat eway #debug voi ce- por t 7/ 1 asl
t he br i ef descr i pt i on of t he di sapl ay of i nf or mat i on:
[ 7/ 1] [ Event = OFFHOOK] [ WAI TOFFHOOK_PENDI NG] - >
[ WAI TDI GI S_PENDI NG]
I t means 7/ 1 r ecei ved t he pi cki ng up i nf or mat i on of OFFHOOK, and t he
st at us i s f r om WAI TOFFHOOK_PENDI NG t o WAI TDI GI S_PENDI NG.
Key wor d Event
[ 7/ 1] Act i on = RQNTONHOOK
7/ 1 : ask f or hung up af t er exami nat i on.
Key wor d Act i on means ASL oper at i on
The exampl e of debug voi ce- por t connect i on.
gat eway #debug voi ce- por t 3/ 15 connect i on
[ connI d- 20] : f r ee r esour ce!
connI d- 20: connect i on I D i s 20( 3/ 15 por t connect i on) .
[ connI d- 23] , st at us = I DLE, evt = [ Recv I AM]
[ connI d- 23] , act i on = I AM t o pr ovi der
[ connI d- 23] , act i on = St ar t t i mer
[ connI d- 23] , st at us = PROGRESS
I AM message event i n I DLE st at us enabl e t i mer and st at us i s PROGRESS.
[ connI d- 23] , st at us = PROGRESS, evt = [ Recv ACM]
[ connI d- 23] , act i on = ACM t o peer
[ connI d- 23] , act i on = St ar t t i mer
[ connI d- 23] , st at us = ALERTI NG
Recei vi ng ACM message ( event ) i n t he st at us of PROGRESS, t he
oper at i on i s t o send ACM message t o opposi t e connect i on, and t he
st at us i s ALERTI NG.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 152 of 181


Enable ACC items debugging switch
gateway # debug acc?

Command Description
All Enable all debugging switches.
Amsg Enable abstract signal message debugging switch.
Mmsg Enable medidal message debugging switch
Normal Enable normal debugging switch
Tapa Enable TAPA task debugging switch
voip-conn Enable VOIP type connection debugging switch

The purpose of debug acc voip-conn is to enable VOIP connection status,
because the information is similar to debug voice-port x/y.

Example of debug acc amsg.

[ ACC] : r ecv amsg: sr c[ H323] , dst [ ACC] , msg[ I AM] , absI d[ 29] ,
sgI d[ 17] , [ - WAI T- ]
ACC has r ecei ved LAM message f r omH323, t he connect i onI D ( absI d) i s
29, i d i s 17, and t hi s message i s st opped by VGL. ( WAI T) .
I f i n t hat case, ACC wi l l not deal wi t h messages.
[ ACC] : r ecv amsg: sr c[ ACC] , dst [ ACC] , msg[ I AM] , absI d[ 29] , sgI d[ 17]
ACC has r ecei ved t he message deal ed by appl i cat i on pr ogr amor not
gi vi ng t o VGL. ( no WAI T or NOTI FY) .
[ACC]: to provider: dst = H323, msgType = ACM, absId = 29, sgId =
17,status = PROGRESS
ACC sends ACM message t o H323, and t he connect i on I D i s 29, i d i s 17,
connect i on cur r ent st at us i s PROGRESS.
The exampl e of debug acc t apa.
[ ACC] : accAct vTsk: sr c- 180, event 6
ACC has r ecei ved t he message sendi ng f r om180, t he event number i s 6.

Disable port debugging switch
gateway #no debug ?
Command Description
voice-port <STRING> asl Disable asl debugging. <STRING> FXS and FXO
port number.
voice-port <STRING> connection Disable connection debugging. <STRING> FXS and
FXO port number or E1 timeslot.

All above commands meanwhile support no debug all command.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 153 of 181


Disable ACC item debugging switch
gateway #no debug acc?

Command Description
all Disable all debugging switches
amsg Disable abstract signal message debugging switch.
mmsg Disable media message debugging switch
normal Disable normal debugging switch
tapa Disable TAPA message debugging switch
voip-conn Disable VOIP connection debugging switch.

All above commamds support no debug all command at the same time.

ACC Display Command
Configure in global mode:
Display ACC register port information
gateway #show acc aetable

Command Description
<STRING> Only display one pointed port
e1 Display e1 timeslot port
fxs Display FXS port
fxo Display FXO port
statistics Display port call statistics information
all Display all ports

For example,
gateway #show acc aetable fxs
Name = 3/ 0 I d = 0x10100 Type = FXS Di sabl e = NO St at us =
I DLE

Tot al FXS Endpoi nt ( s) : 32

I t di spl ays ACC FXS por t .
Name: por t name
I d: por t i d
Type: por t t ype i s FXS
Di sabl e: whet her t he por t i s di sabl ed, yes means can not be used whi l e
no means can be used.
St at us: cur r ent por t st at us i s f r ee or not .

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 154 of 181


Display ACC call information
gateway #show acc call
Command Description
<1-1000> Display designated CALL-ID
active Display active call.
sum Display sum of active call.


For example,
gat eway #sh acc cal l act i ve
Cal l I d = 27
St at us = ACTI VE
Connect i on Num= 2
ConnI d = 35
St at us = ALERTI NG
Type = GWCI
Pr ot ocol St at ck = FXO/ FXS
Pr ot ocol St at ck Cal l I d = 13283688
Phone Number = 4015
Peer ConnI d = 36
AeName = 3/ 15, AeType = FXS, AeI d = 0x10010f
ConnI d = 36
St at us = ALERTI NG
Type = GWCO
Pr ot ocol St at ck = FXO/ FXS
Pr ot ocol St at ck Cal l I d = 13283864
Phone Number = 4014
Peer ConnI d = 35
AeName = 3/ 14, AeType = FXS, AeI d = 0xf 010e
Tot al Act i ve Cal l : 1
The gat eway has one cal l , i d i s 27, and t wo connect i ons i n t hi s
cal l .
gat eway #show acc cal l sum
Tot al Act i ve Cal l : 1, Connect ed: 0
The gat eway has one cal l , none i s connect ed.

Display ACC connection information
gateway #show acc connection

Command Description
<1-1000> Display designated Connection-ID.
active Display active connection.
sum Display sum of active connection.

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 155 of 181


For example,
gat eway #show acc connect i on act i ve
ConnI d = 37
St at us = ALERTI NG
Type = GWCI
Pr ot ocol St at ck = FXO/ FXS
Protocol Statck CallId = 13283688
Phone Number = 4015
Peer ConnI d = 38
AeName = 3/ 15, AeType = FXS, AeI d = 0x10010f
Cal l I d = 28

Total Active Conn: 2
The gateway has two connections, one connection ID is 37, status is
ALERTING, protocol name is FXO/FXS, the call id is 13283688, the
number is 4015, the opposite ID of this connection is 38, port is 3/15, call
ID is 28.

gateway #show acc connection sum
Total Active Conn: 2, Connected: 0
The gateway has two effective connections, and none is connected.
4Display ASL status
gateway #show acc

Command Description
aslfsm Disaplay ASL status

Display ACC resource
It displays ACC call capability, registered port number, gateway call
statistics, protocol and the number of no response of media.
gateway #show acc

Command Description
resource Display ACC resource

For example:

gat eway #sh acc r esour ce
*******************************************************
act i ve cal l ( s) : 0, act i ve connect i on( s) : 0
suppor t cal l ( s) : 400, suppor t connect i on( s) : 800
suppor t asl ( s) : 100
st ar t cal l ( s) : 28, success cal l ( s) : 20
FXS: t ot al cal l r equest : 19, cal l i ng: 10, cal l ed: 9
t ot al success cal l : 7, cal l i ng: 2, cal l ed: 5
FXO: t ot al cal l r equest : 0, cal l i ng: 0, cal l ed: 0
t ot al success cal l : 0, cal l i ng: 0, cal l ed: 0
E&M: t ot al cal l r equest : 0, t ot al success cal l : 0
E1 : t ot al cal l r equest : 0, t ot al success cal l : 0
abst r ace endpoi nt ( s) : 32
t ype: FXO, r egi st er : 0, suppor t : 100
t ype: FXS, r egi st er : 32, suppor t : 100
t ype: E1, r egi st er : 0, suppor t : 512
t ype: E&M, r egi st er : 0, suppor t : 5
t ype: FXO, r egi st er : 0, suppor t : 100
t r ansact i on: 0 wi t hout r esponse
pr ovi der : 4
name: FXO/ FXS, i d: 2, t ype: POTS
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 156 of 181


name: R2, i d: 3, t ype: E1
name: DSS1, i d: 4, t ype: E1
name: H323, i d: 5, t ype: I P
Clear Call
Configuration in global mode:
gateway #clear acc ?

Command Description
call all Clear all active call.
call <num> Clear single call, <num>
call ID
connection all Clear all active connection.
connection <num> Clear single connection according to connection ID,
<num> means connectionID, for all active call.

For some examples,
gat eway #cl ear acc cal al l
Cl ear al l cal l
gat eway #cl ear acc cal l 3
Cl ear cal l I D 3
gat eway #cl ear acc connect i on al l
Cl ear al l connect i on
gat eway #cl ear acc connect i on 9
Cl ear connect i on wi t h I D 9.

VGL DEBUG Command
In global configuration mode:

Enable VGL client-end debugging switch
gateway # debug vglc

Command Description
all Enable VGL client-end all debugging switch
comm Enable VGL client-end communication debugging
switch
mem Enable VGL client-end distributing/releasing
debugging switch
normal Enable VGL client-end normal information debugging
switch
reg Enable VGL client service registered debugging
switch

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 157 of 181


Disable VGL client-end debugging switch
gateway # no debug vglc

Command Description
all Disable VGL client all debugging switch
comm Disable VGL client communication debugging switch
mem Disable VGL client distributing/releasing debugging
switch
normal Disable VGL client normal information debugging
switch
reg Disable VGL client service registered debugging
switch

All above commands support no debug all command.

Enable VGL server debugging switch
gateway # debug vgls

Command Description
all Enable VGL server all debugging switch
comm Enable VGL server communication debugging switch
mem Enable VGL server distributing/releasing debugging
switch
normal Enable VGL server normal information debugging
switch
funname Enable VGL server service API interface name
debugging switch

Disable VGL server debugging switch
gateway #no debug vgls

Command Description
all Disable VGL server all debugging switch
comm Disable VGL server communication debugging switch
mem Disable VGL server distributing/releasing debugging
switch
normal Disable VGL server normal information debugging
switch
funname Disable VGL server service API interface name
debugging switch

All above commands support no debug all command.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 158 of 181


VGL Information Display Command
In global configuration mode:
Display VGL client information
gateway #show vglc

Command Description
app all Display VGL client-end APP information.
data Display VGL client-end control data.

For examples,
VG6000#sh vgl c app al l
*****************************************************
- appI d: 1
f d : 25
por t : 43000
. .
vgl c have 2 app r eg
*****************************************************
VG6000#sh vgl c dat a
********************************************************
vgl c cont r ol dat a i s :
cl i I d = 1 i sI ni t ed = 1, ser vFd = 20 appFd = 21
ser vPor t = 10003 i sConnect = 1 openVgl Debug= 0

semAl l Al l oc=163, semAl l Fr ee=163, semPool Al l oc=163, semPool Fr ee=163
********************************************************

Display VGL server end information
gateway #show vgls

Command Description
client all Display the information registered in VGL server
service program.
data Display VGL server end control data.

For some examples,
gat eway #sh vgl s cl i ent al
*****************************************************
appName: cal l wai t ( cal l wai t i ng ser vi ce)
appI d: 1 ( ser vi ce i d)
app Pr or i t y : 8 ( ser vi ce pr i or i t y)
app Reg cal l event : ( ser vi ce r egi st er ed event )
- - - - - - - - - - - - - - - -

ACC_MSG_REL, VGL_REG_EVENT_I NTE, VGL_EVENTDI R_GWCI , bi t set =1, connI d=0
( t he ser vi ce r egi st er s RELEASE message, t ype i s I NTE, t he connect i on
i s GWCI , mask i s 1, I D i s connect i on mat chi ng t o 0)
app Reg medi a event : ( ser vi ce r egi st er ed medi a event )
app Reg syst emevent : ( ser vi ce r egi st er ed syst emevent )
app Reg conf i g: ( ser vi ce r egi st er ed conf i gur at i on
i nf or mat i on)
- - - - - - - - - - - - - - - -
numi s 4014 numRel ay i s at t r i s APPCW[ 8]
( r egi st er ed number i s 4014, pr oper t y i s APPCW,
whi ch i s cal l wai t i ng) - - - - - - - - - - - - - - - -
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 159 of 181


h323 Debugging Command
Command Description
debug h323 cfg H323 configuration
debug h323 state H323 protocol status
debug h323 acc All information from acc to h323, and the change of
status.
debug h323 call-thrust Some debugging information of H323.
debug h225 events The message from network and the change of status
debug h225 asn1 Print asn.1 coding of h225
debug ras events Print RAS information
debug ras asn1 Ras message asn.1 coding
debug h245 asn Print asn.1 coding of h245
debug h245 events Print h245 media message
debug h450 events Print signal process of supplement service.

According to new software frame, h323, as protol layer, is controlled by
acc of above layer. The signal ISUP is between acc and h323, the debug
h323 acc is between h323 and acc. If receiving TAM, the status will
change into ST_CALL_IAM.

The message from Acc to h323:
ACC_MSG_I AM( est abl i sh connect i on)
ACC_MSG_ACM ( r i ngi ng message)
ACC_MSG_ANM ( pi ck up)
ACC_MSG_REL ( r el ease)
ACC_MSG_RLC ( r el ease cer t i f i cat e)
ACC_MSG_CPG ( negot i at i on codi ng/ f ax r equi r ement / compl ement ar y ser vi ce)
Message f r omnet wor k:
SETUP/ ALERTI NG/ CONNECT/ CALLPROC/ PROGRESS/ I NFO/ FACI L/
MEDMSGI N ( al l medi a message)
RELI ND of f - l i ne message, r el ease message.
RELCFM of f - l i ne cer t i f i cat e, r el ease message i s f r omacc, pr ot ocol i s
conf i r m.
Debuggi ng exampl e:
1Enabl e debug h323 acc, and t he gat eway get s net meet i ng i nf or mat i on.
Fr omAcc: [ ACC_MSG_I AM] change: [ ST_CALL_START] ==>[ ST_CALL_I AM] . absI d =
5, msgsi d = 0, suConnI d = 4.
( gat eway sends set up, absi d i s si gnal message i ndex of acc, suConnI d/
sgI d i s si gnal message i ndex of h323. )
H323 TO ACC: msg = ACC_MSG_ACM, absI d = 5, sgI d = 4. ( net meet i ng sends
al er t i ng)
H323 TO ACC: msg = ACC_MSG_ANM, absI d = 5, sgI d = 4. ( net meet i ng sends
connect )
H323 TO ACC: msg = ACC_MSG_CPG, absI d = 5, sgI d = 4. ( sendi ng t he l ast
codi ng t o acc)
H323 TO ACC: msg = ACC_MSG_REL, absI d = 5, sgI d = 4. ( net meet i ng sends
r el ease)
H323 Fr omACC: Rx Rel Cf mabsI d = 5, sgi d = 4. ( acc sends of f - l i ne
cer t i f i cat e t o h323. )

2Enabl e debug h225 e, and gat eway get s net meet i ng i nf or mat i on
H323: I AM cal l i ng = 888, cal l ed = 777, pr i or code = 10, peer i p =
80f f 1010, por t = 1720, t 38cap = 0.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 160 of 181


( gat eway sends set up, cal l i ng number i s 888, cal l ed number i s 777,
pr i or i t y codi ng i s 10 g729, i p addr ess i s 128. 255. 16. 16, f or r as,
i p=0, wi t hout t 38)
Fr omH323: [ ALERTI NG] change: [ ST_CALL_I AM] ==>[ ST_CALL_RI NGBACK] . absI d
= 7, suConnI d = 5. ( net meet i ng sends al er t i ng)
Fr omH323: [ CONNECT] change: [ ST_CALL_RI NGBACK] ==>[ ST_CALL_CONN] . absI d
= 7, suConnI d = 5. ( net meet i ng sends connect )
Fr omH323: [ MEDMSGI N] change: [ ST_CALL_CONN] ==>[ ST_CALL_CONN] . absI d =
7, suConnI d = 5. ( net meet i ng sends h245 message)
Fr omH323: [ MEDMSGI N] change: [ ST_CALL_CONN] ==>[ ST_CALL_CONN] . absI d =
7, suConnI d = 5.
Fr omH323: [ MEDMSGI N] change: [ ST_CALL_CONN] ==>[ ST_CALL_CONN] . absI d =
7, suConnI d = 5.
Fr omH323: [ MEDMSGI N] change: [ ST_CALL_CONN] ==>[ ST_CALL_CONN] . absI d =
7, suConnI d = 5.
Fr omH323: [ MEDMSGI N] change: [ ST_CALL_CONN] ==>[ ST_CALL_CONN] . absI d =
7, suConnI d = 5.
Fr omH323: [ RELI ND] change: [ ST_CALL_CONN] ==>[ ST_CALL_START] . absI d = 7,
suConnI d = 5. ( net meet i ng r el ease)

3debug h245 e
Capabi l i t y gr oup t ype and va1descr t i pt i on:
t ype=0, t ype=1( voi ce) , t ype=2( vedi o) , t ype=3 ( DTMF) , t ype = 4 ( dat a:
t 38)
val = 0, val = 1( g711a) , val = 3 ( g711u) , val = 8( g723) , val =
10( g729) , val =11 ( g729a) , val =14( g729wb)
H245: send cese
H245: send msd
H245: cese r ecei ved
H245: peer cap t ype= 0, val = 0
H245: peer cap t ype= 1, val = 1
H245: peer cap t ype= 1, val = 8
H245: peer cap t ype= 0, val = 0
H245: peer cap t ype= 0, val = 0
H245: peer cap t ype= 0, val = 0
H245: peer cap t ype= 0, val = 0
H245: peer cap t ype= 0, val = 0
H245: peer cap t ype= 0, val = 0
H245: peer cap t ype= 0, val = 0
H245: cese ack r ecei ved
H245: l ocal cap t ype= 0, val = 0
H245: l ocal cap t ype= 1, val = 10
H245: l ocal cap t ype= 1, val = 11
H245: l ocal cap t ype= 1, val = 14
H245: l ocal cap t ype= 1, val = 8
H245: l ocal cap t ype= 1, val = 1
H245: l ocal cap t ype= 0, val = 0
H245: l ocal cap t ype= 0, val = 0
H245: l ocal cap t ype= 0, val = 0
H245: l ocal cap t ype= 0, val = 0
H245: msdack r ecei ved , deci si on = 0
H245: send ol c
H245: ol c r ecei ved
H245: ol c ack r ecei ved
H245: negot i at i on code = 8 ( t he l ast negot i at ed codi ng i s g723)
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 161 of 181


CR DEBUG command
In global configuration mode:

Enable CR debugging switch
gateway # debug callroute information
enable call routing mode debugging switch

Disable CR server end debugging switch
gateway # no debug callroute information
disable call routing modular debugging switch

Above command supports no debug all command.

CR Information Display Command
In global configuration mode:
Display call routing information
gateway #show callroute

Command Description
called <srting> Display special number active routing information
pots Display POTS active routing information
voe1 Display E1 active routing information
voip Display IP active routing information
<CR> Display all active routing information

For some examples,
gat eway # show cal l r out e cal l ed 7777
The f i r st Act i ve cal l r out e:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
I ndex=555, Type=VOI P, Bi nded: r as ,
Pr ef er ence=10, Cal l edNum=xx.
gat eway # show cal l r out e voe1
Act i ve cal l r out e:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
I ndex=10, Type=E1- NUMBER, Bi nded: 0 ,
Pr ef er ence=10, Cal l edNum=89x.
I ndex=9, Type=E1- NUMBER, Bi nded: 2 ,
Pr ef er ence=10, Cal l edNum=89x.

gat eway #show cal l r out e pot s
Act i ve cal l r out e:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
I ndex=3, Type=POTS, Bi nded: 2/ 0 ,
Pr ef er ence=10, Cal l edNum=8716
I ndex=3, Type=POTS, Bi nded: 2/ 1 ,
Pr ef er ence=10, Cal l edNum=8717
I ndex=3, Type=POTS, Bi nded: 2/ 2 ,
Pr ef er ence=10, Cal l edNum=8718
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 162 of 181


I ndex=3, Type=POTS, Bi nded: 2/ 3 ,
Pr ef er ence=10, Cal l edNum=8719
I ndex=3, Type=POTS, Bi nded: 2/ 4 ,
Pr ef er ence=10, Cal l edNum=8720
I ndex=3, Type=POTS, Bi nded: 2/ 5 ,
Pr ef er ence=10, Cal l edNum=8721
I ndex=3, Type=POTS, Bi nded: 2/ 6 ,
Pr ef er ence=10, Cal l edNum=8722
I ndex=3, Type=POTS, Bi nded: 2/ 7 ,
Pr ef er ence=10, Cal l edNum=8723
I ndex=3, Type=POTS, Bi nded: 2/ 8 ,
Pr ef er ence=10, Cal l edNum=8724
I ndex=3, Type=POTS, Bi nded: 2/ 9 ,
Pr ef er ence=10, Cal l edNum=8725
I ndex=3, Type=POTS, Bi nded: 2/ 10 ,
Pr ef er ence=10, Cal l edNum=8726
I ndex=3, Type=POTS, Bi nded: 2/ 11 ,
Pr ef er ence=10, Cal l edNum=8727
I ndex=3, Type=POTS, Bi nded: 2/ 12 ,
Pr ef er ence=10, Cal l edNum=8728
I ndex=3, Type=POTS, Bi nded: 2/ 13 ,
Pr ef er ence=10, Cal l edNum=8729
I ndex=3, Type=POTS, Bi nded: 2/ 14 ,
Pr ef er ence=10, Cal l edNum=8730
I ndex=3, Type=POTS, Bi nded: 2/ 15 ,
Pr ef er ence=10, Cal l edNum=8731
gat eway #show cal l r out e
Act i ve cal l r out e:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
I ndex=3, Type=POTS, Bi nded: 2/ 0 ,
Pr ef er ence=10, Cal l edNum=8716
I ndex=3, Type=POTS, Bi nded: 2/ 1 ,
Pr ef er ence=10, Cal l edNum=8717
I ndex=3, Type=POTS, Bi nded: 2/ 2 ,
Pr ef er ence=10, Cal l edNum=8718
I ndex=3, Type=POTS, Bi nded: 2/ 3 ,
Pr ef er ence=10, Cal l edNum=8719
I ndex=3, Type=POTS, Bi nded: 2/ 4 ,
Pr ef er ence=10, Cal l edNum=8720
I ndex=3, Type=POTS, Bi nded: 2/ 5 ,
Pr ef er ence=10, Cal l edNum=8721
I ndex=3, Type=POTS, Bi nded: 2/ 6 ,
Pr ef er ence=10, Cal l edNum=8722
I ndex=3, Type=POTS, Bi nded: 2/ 7 ,
Pr ef er ence=10, Cal l edNum=8723
I ndex=3, Type=POTS, Bi nded: 2/ 8 ,
Pr ef er ence=10, Cal l edNum=8724
I ndex=3, Type=POTS, Bi nded: 2/ 9 ,
Pr ef er ence=10, Cal l edNum=8725
I ndex=3, Type=POTS, Bi nded: 2/ 10 ,
Pr ef er ence=10, Cal l edNum=8726
I ndex=3, Type=POTS, Bi nded: 2/ 11 ,
Pr ef er ence=10, Cal l edNum=8727
I ndex=3, Type=POTS, Bi nded: 2/ 12 ,
Pr ef er ence=10, Cal l edNum=8728
I ndex=3, Type=POTS, Bi nded: 2/ 13 ,
Pr ef er ence=10, Cal l edNum=8729
I ndex=3, Type=POTS, Bi nded: 2/ 14 ,
Pr ef er ence=10, Cal l edNum=8730
I ndex=3, Type=POTS, Bi nded: 2/ 15 ,
Pr ef er ence=10, Cal l edNum=8731
I ndex=1, Type=VOI P, Bi nded: 16. 0. 2. 220 ,
Pr ef er ence=10, Cal l edNum=85148043
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 163 of 181


I ndex=66, Type=VOI P, Bi nded: 16. 80. 80. 200 ,
Pr ef er ence=10, Cal l edNum=4444
I ndex=10, Type=E1- NUMBER, Bi nded: 0 ,
Pr ef er ence=10, Cal l edNum=89x.
I ndex=9, Type=E1- NUMBER, Bi nded: 2 ,
Pr ef er ence=10, Cal l edNum=89x.
I ndex=555, Type=VOI P, Bi nded: r as ,
Pr ef er ence=10, Cal l edNum=xx.

Drive Module DEBUG Command
Drive Debug Command

Debug command of line card channel
gateway # debug voice-port n/n

Command Description
all Enable drive channel debugging switch
app Drive debugging switch to above application ( no
use currently)
cmdmsg Enable drive and msp interface command and
message debugging
switch.
t38drvinfo Enable t38 fax dsp command debugging switch
t38drvstatus Enable t38 fax dsp status debugging switch
t38status Enable t38 fax status debugging switch

ser vcar d: [ 3/ 4] cmd r eq[ DRV_MSP_LPI CKUP] / / channel 3/ 4 pi cks up
ser vcar d: [ 20030304] cmd r eq[ MSP_DRV_CHANNEL_OPEN] / / enabl e channel
3/ 4
Dsp: [ 50010002] cmd r eq[ MSP_DRV_CHANNEL_OPEN] / / enabl e channel 3/ 4
dsp channel
ser vcar d: [ 20030304] cmd r eq[ MSP_DRV_CNCTAB] / / dsp connect s channel
3/ 4 t i mesl ot
Dsp: [ 50010002] cmd r eq[ DRV_MSP_OPENSUC] / / dsp channel open
ser vcar d: [ 20030304] cmd r eq[ MSP_DRV_VOLI N_SET] / / conf i gur e i nput
vol ume
ser vcar d: [ 20030304] cmd r eq[ MSP_DRV_VOLOUT_SET] / / conf i gur e out put
vol ume
Dsp: [ 50010002] cmd r eq[ MSP_DRV_TONE_DI AL] / / sendi ng di al t one
ser vcar d: [ 3/ 4] cmd r eq[ DRV_MSP_LPUTDOWN] / / channel 3/ 4 hangs up
Dsp: [ 50010002] cmd r eq[ MSP_DRV_TONE_END] / / dsp pl ays t one t o be over
Dsp: [ 50010002] cmd r eq[ MSP_DRV_RECPLAY_DI S] / / di sabl e voi ce channel
ser vcar d: [ 20030304] cmd r eq[ MSP_DRV_DI SCNCTAB] / / di sabl e t i mesl ot
connect i on
ser vcar d: [ 20030304] cmd r eq[ MSP_DRV_CHANNEL_CLOSE] / / di sabl e channel
3/ 4
Dsp: [ 50010002] cmd r eq[ MSP_DRV_CHANNEL_CLOSE] / / di sabl e dsp channel
Dsp: [ 50010002] cmd r eq[ DRV_MSP_CLOSESUC] / / dsp channel di sabl ed
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 164 of 181


debug command of e1

The timeslot is dynamic distributed when using e1, and so debug
command of e1 channel can not bind directly to channel, so a global debug
command will use to control it. But MyPower VG M6000 is different from
MyPower VG2000.

For MyPower VG M6000:
gateway # debug dsp

Command Description
all Enable drive channel all debugging switch
cmdmsg Enable drive and msp interface command and
message debug switch
t38drvinfo Enable t38 fax dsp command debugging switch
t38drvstatus Enable t38 fax dsp status debugging switch

For MyPower VG2000:
gateway # debug e1
Command Description
all Enable drive channel debugging switch
cmdmsg Enable drive and msp interface command and
message debugging
switch
t38 dspinfo Enable t38 fax dsp command debugging switch

Only using to e1 debugging.
Drive Show Command
Drive show command is used to display the usage of drive resource.

Display drive dsp and line card usage (only suitable for MyPower VG
M6000)

gat eway
gat eway #sh dr v
*******************Dsp r un i nf or mat i on****************/ / dsp usage,
including channel type and current used
coding mode, payload size
epid channelType encode payloadLen
50010037 VOIP ENC_G729 2
50010038 VOI P ENC_G729 2
50010039 VOI P ENC_G729 2
5001003a VOI P ENC_G729 2
5001003b VOI P ENC_G729 2
5001003c VOI P ENC_G729 2
5001003d VOI P ENC_G729 2
5001003e VOI P ENC_G729 2
5001003f VOI P ENC_G729 2
50010040 VOI P ENC_G729 2
50010128 VOI P ENC_G729 2
50010129 VOI P ENC_G729 2
5001012a VOI P ENC_G729 2
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 165 of 181


5001012b VOI P ENC_G729 2
5001012c VOI P ENC_G729 2
5001012d VOI P ENC_G729 2
5001012e VOI P ENC_G729 2
5001012f VOI P ENC_G729 2
50010130 VOI P ENC_G729 2
50010131 VOI P ENC_G729 2
50010132 VOI P ENC_G729 2
50010133 VOI P ENC_G729 2
*******************channel i nf or mat i on****************/ / usage of l i ne
car d channel , i ncl udi ng t ype, st at us, sl ot number and dsp i d number .
Use channel number as l i ne car d channel number .
epi d channel Type st at us sl ot number dspI d
Al l channel number : 32
Used : 0
**********************************
/ / dsp channel enabl ed and di sabl ed t i mes
openNum= 435, cl oseNum= 413, openSuc = 435, openFai l = 0, cl oseSuc =
413, cl oseFai l = 0

Examine dsp channel receiving and sending voice packet command
For MyPower VG M6000:

gateway #show dsp 0 1 ?
Command Description
rx Display dsp0 channel voice packet information.
tx Display dsp0 channel voice packet information.

gat eway #sh dsp 0 1 r x
gat eway #dsp channel No: 50010001 / / dsp channel number
r ecei ve voi ce packet : 0 / / r ecei ved voi ced packet number
r ecei ve si gnl i ng packet : 0/ / r ecei ved si gnal packet number
r ecei ve cng packet : 0/ / r ecei ved si l ent voi ce packet number
r ecei ve t ot al dur at i on: 0 ms/ / sumr ecei ved packet dur at i on.
r ecei ve voi ce dur at i ont : 0 ms/ / voi ce packet dur at i on
r ecei ve packet out of sequence: 0/ / r ecei ved er r or l i st number packet
number
r ecei ve packet bad i p pr ot ocol : 0/ / r ecei ved er r or i p pr ot ocol segmeng
packet number
r ecei ve l at e packet : 0/ / t he l ast r ecei ved packet l i st number

For MyPower VG2000, VG800 and VGA600:
gat eway #Qt Tabl e
Chan[ 5/ 0] : Codec: g_711a, Len = 160 .
QTabl e count = 999. i nnum= 1, out num= 0, out snum= 0.
QTabl e Have 1 i t em.
QTr ansRcvNum= 134, l yFr eeMbuf Num= 128, l yGet Mbuf Num= 128. Myf r eeNum
= 0, AI t eml en= 3994.
J buf RcvNum=128, J buf Di scar dNum=0, J buf Los
2000R03- 481#t Num=0, Rcvr at e=100%, J buf Nul l Num=0.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 166 of 181


PRI Module DEBUG Command
debug pr i q921
Enable all cards q921 information:

debug pr i q931
Enable all cards q931 informatin

debug pr i q931i nt er f ace
Enable all cards q931interface information

debug pr i t r ace
Enable all cards q921, q931, q931interface information

debug pr i sysm
Enable PRI and system management module debug information

debug pr i acc
Enable PRI and acc module debug information

debug pr i vm
Enable PRI and vm module debug information

debug pr i x1 x2 q921
Enable card x1, E1 x2 q921 information

debug pr i x1 x2 q931
Enable card number x1, E1 number x2 q931 information

debug pr i x1 x2 q931i nt er f ace
Enable card number x1, E1 number x2 q931interface information

debug pr i x1 x2 t r ace
Enable card number x1, E1 number x2 q921, q931, q931interface
information

debug pr i x1 x2 vm
Enable card number x1, E1 number x2 PRI and vm module debug
information

debug pr i x1 x2 x3 q931
Enable card number x1, E1 number x2, channel B x3 q931 debug
information

gat eway #debug pr i 0 0 0 q931
gat eway #
I SDN q931 debug of E1[ 0] [ 0] [ 0] i s on.

00: 48: 31: : Dss1_L3: L3_FSM: sgCal l I d = 0x80000000, st at e = U0 , event
= 45.
00: 48: 31: : Dss1_L3: TxL2 Set up: car dNum= 0, e1Num= 0, cr = 0x2390,
cr f l g = 0.
00: 48: 31: : Dss1_L3_L2_Fr ame: 08 02 23 90 05 a1 04 03 80 90 a3 18 03
a9 83
81 6c 0a 41 80 38 38 38 38 38 38 38 38 70 05 c1
39 30 30 32
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 167 of 181


00: 48: 31: : Dss1_L3: L3 t i mer st ar t : sgCal l I d = 0x80000000, absCal l I d
= 0x0000004e, t i mer = T303, Val ue = 10.
00: 48: 31: : Dss1_L3: RxL2 Cal l Pr oceedi ng: car dNum= 0, e1Num= 0, cr
= 0x2390, cr f l g = 0.
00: 48: 31: : Dss1_L3_L2_Fr ame: 08 02 a3 90 02 18 03 a9 83 81

00: 48: 31: : Dss1_L3: L3_FSM: sgCal l I d = 0x80000000, st at e = U6 , event
= 1.
00: 48: 31: : Dss1_L3: L3 t i mer st op: sgCal l I d = 0x80000000, absCal l I d =
0x0000004e, t i mer = T303.
00: 48: 31: : Dss1_L3: L3 t i mer st ar t : sgCal l I d = 0x80000000, absCal l I d
= 0x0000004e, t i mer = T310, Val ue = 60.
00: 48: 31: : Dss1_L3: RxL2 Al er t i ng: car dNum= 0, e1Num= 0, cr =
0x2390, cr f l g = 0.
00: 48: 31: : Dss1_L3_L2_Fr ame: 08 02 a3 90 01 18 03 a9 83 81 1e 02 84
88

00: 48: 31: : Dss1_L3: L3_FSM: sgCal l I d = 0x80000000, st at e = U9 , event
= 0.
00: 48: 31: : Dss1_L3: L3 t i mer st op: sgCal l I d = 0x80000000, absCal l I d =
0x0000004e, t i mer = T310.
00: 48: 31: : Dss1_L3: L3 t i mer st ar t : sgCal l I d = 0x80000000, absCal l I d
= 0x0000004e, t i mer = T301, Val ue = 180.
00: 48: 32: : Dss1_L3: RxL2 Connect : car dNum= 0, e1Num= 0, cr =
0x2390, cr f l g = 0.
00: 48: 32: : Dss1_L3_L2_Fr ame: 08 02 a3 90 07

00: 48: 32: : Dss1_L3: L3_FSM: sgCal l I d = 0x80000000, st at e = U7 , event
= 4.
00: 48: 32: : Dss1_L3: L3 t i mer st op: sgCal l I d = 0x80000000, absCal l I d =
0x0000004e, t i mer = T301.
00: 48: 32: : Dss1_L3: TxL2 Connect Acknowl edge: car dNum= 0, e1Num= 0,
cr = 0x2390, cr f l g = 0.
00: 48: 32: : Dss1_L3_L2_Fr ame: 08 02 23 90 0f

gat eway #
14debug pr i x1 x2 x3 q931i nt er f ace

Enable card number x1, E1 number x2, channel B x3 q931interface debug
information

debug pri x1 x2 x3
Enable card number x1, E1 number x2, channel B x3 q931 and
q931interface debug information.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 168 of 181


PRI Module Information Display Command
show pri status
Examine all configured PRI protocol E1 card status information

gat eway #show pr i s
gat eway #
*********************************************************************

I SDN ser i al 0/ 0: 15 i nt er f ace
Layer 1 St at us:
F7 ( Act i ve)
Layer 2 St at us:
TEI = 0 Ces = 01 SAPI = 00 St at us = ST_MULTI FR
I - Fr ame: 16393/ 21375 RR: 21380/ 16398 RNR: 0/ 0 REJ : 0/ 0
SABME: 1/ 1 DM: 0/ 0 DI SC: 0/ 0 UA: 1/ 1
FRMR: 0/ 0 TEI : 0/ 0
Layer 3 St at us:
0 Act i ve Layer 3 Cal l ( s)
Act i vat ed dsl 0 CCBs = 0
Number of act i ve cal l s = 0
Number of avai l abl e B- channel s = 30
Tot al Al l ocat ed I SDN CCBS = 0
*********************************************************************
*********************************************************************

I SDN ser i al 0/ 1: 15 i nt er f ace
Layer 1 St at us:
F7 ( Act i ve)
Layer 2 St at us:
TEI = 0 Ces = 01 SAPI = 00 St at us = ST_MULTI FR
I - Fr ame: 25927/ 19420 RR: 19430/ 25932 RNR: 0/ 0 REJ : 0/ 0
SABME: 1/ 2 DM: 0/ 0 DI SC: 0/ 0 UA: 2/ 1
FRMR: 0/ 0 TEI : 0/ 0
Layer 3 St at us:
0 Act i ve Layer 3 Cal l ( s)
Act i vat ed dsl 0 CCBs = 0
Number of act i ve cal l s = 0
Number of avai l abl e B- channel s = 30
Tot al Al l ocat ed I SDN CCBS = 0
show pri x1 x2
Examine card x1, E1 x2 all calling information
gat eway #
gat eway #show pr i 0 0
gat eway #
***************************************************************

RE1 [ 0] [ 0] : Bi nd Pr ot ocol I SDN Pr i ( DSS1) Li nk St at e: SYC
B Channel I D: 0 cr f : 0 cr v: 0x00001aef Cal l St at e: N10
sgCal l I d = 0x80000000 absCal l I d = 0x000000ac
Cal l i ng Num: 88888888 Cal l ed Num: 9005

B Channel I D: 1 cr f : 0 cr v: 0x00001af 5 Cal l St at e: N10
sgCal l I d = 0x80000001 absCal l I d = 0x00000096
Cal l i ng Num: 88888888 Cal l ed Num: 9021

B Channel I D: 2 cr f : 0 cr v: 0x00001af e Cal l St at e: N7
sgCal l I d = 0x80000002 absCal l I d = 0x000000ba
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 169 of 181


Cal l i ng Num: 88888888 Cal l ed Num: 9016

B Channel I D: 3 cr f : 0 cr v: 0x00001af 7 Cal l St at e: N10
sgCal l I d = 0x80000003 absCal l I d = 0x00000055
Cal l i ng Num: 88888888 Cal l ed Num: 9009

B Channel I D: 4 cr f : 0 cr v: 0x00001af 0 Cal l St at e: N10
sgCal l I d = 0x80000004 absCal l I d = 0x00000036
Cal l i ng Num: 88888888 Cal l ed Num: 9012

B Channel I D: 5 cr f : 0 cr v: 0x00001af 8 Cal l St at e: N10
sgCal l I d = 0x80000005 absCal l I d = 0x00000005
Cal l i ng Num: 88888888 Cal l ed Num: 9010

B Channel I D: 8 cr f : 0 cr v: 0x00001ae7 Cal l St at e: N10
sgCal l I d = 0x80000008 absCal l I d = 0x0000002c
Cal l i ng Num: 88888888 Cal l ed Num: 9008

B Channel I D: 9 cr f : 0 cr v: 0x00001aea Cal l St at e: N10
sgCal l I d = 0x80000009 absCal l I d = 0x00000068
Cal l i ng Num: 88888888 Cal l ed Num: 9004

B Channel I D: 10 cr f : 0 cr v: 0x00001ae8 Cal l St at e: N10
sgCal l I d = 0x8000000a absCal l I d = 0x00000089
Cal l i ng Num: 88888888 Cal l ed Num: 9023

B Channel I D: 12 cr f : 0 cr v: 0x00001af 1 Cal l St at e: N10
sgCal l I d = 0x8000000c absCal l I d = 0x0000005e
Cal l i ng Num: 88888888 Cal l ed Num: 9014

B Channel I D: 13 cr f : 0 cr v: 0x00001af 2 Cal l St at e: N10
sgCal l I d = 0x8000000d absCal l I d = 0x0000002b
Cal l i ng Num: 88888888 Cal l ed Num: 9015

B Channel I D: 15 cr f : 0 cr v: 0x00001aeb Cal l St at e: N10
sgCal l I d = 0x8000000f absCal l I d = 0x00000017
Cal l i ng Num: 88888888 Cal l ed Num: 9029

B Channel I D: 16 cr f : 0 cr v: 0x00001aec Cal l St at e: N10
sgCal l I d = 0x80000010 absCal l I d = 0x0000004d
Cal l i ng Num: 88888888 Cal l ed Num: 9020
B Channel I D: 17 cr f : 0 cr v: 0x00001af 3 Cal l St at e: N10
sgCal l I d = 0x80000011 absCal l I d = 0x00000087
Cal l i ng Num: 88888888 Cal l ed Num: 9025

B Channel I D: 18 cr f : 0 cr v: 0x00001af 9 Cal l St at e: N10
sgCal l I d = 0x80000012 absCal l I d = 0x000000bd
Cal l i ng Num: 88888888 Cal l ed Num: 9017

B Channel I D: 19 cr f : 0 cr v: 0x00001af f Cal l St at e: N9
sgCal l I d = 0x80000013 absCal l I d = 0x0000003e
Cal l i ng Num: 88888888 Cal l ed Num: 9024

B Channel I D: 20 cr f : 0 cr v: 0x00001af a Cal l St at e: N10
sgCal l I d = 0x80000014 absCal l I d = 0x00000059
Cal l i ng Num: 88888888 Cal l ed Num: 9027

B Channel I D: 21 cr f : 0 cr v: 0x00001af b Cal l St at e: N10
sgCal l I d = 0x80000015 absCal l I d = 0x0000005b
Cal l i ng Num: 88888888 Cal l ed Num: 9001

B Channel I D: 22 cr f : 0 cr v: 0x00001aee Cal l St at e: N10
sgCal l I d = 0x80000016 absCal l I d = 0x0000009c
Cal l i ng Num: 88888888 Cal l ed Num: 9011

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 170 of 181


B Channel I D: 24 cr f : 0 cr v: 0x00001af c Cal l St at e: N10
sgCal l I d = 0x80000018 absCal l I d = 0x0000008d
Cal l i ng Num: 88888888 Cal l ed Num: 9002

B Channel I D: 25 cr f : 0 cr v: 0x00001af d Cal l St at e: N9
sgCal l I d = 0x80000019 absCal l I d = 0x00000034
Cal l i ng Num: 88888888 Cal l ed Num: 9003

21 B Channel s used.

***************************************************************

show pri x1 x2 status

Examine card x1, E1 x2 status information

gat eway #show pr i 0 0 st at us
gat eway #
*********************************************************************

I SDN ser i al 0/ 0: 15 i nt er f ace
Layer 1 St at us:
F7 ( Act i ve)
Layer 2 St at us:
TEI = 0 Ces = 01 SAPI = 00 St at us = ST_MULTI FR
I - Fr ame: 16719/ 21865 RR: 21870/ 16724 RNR: 0/ 0
REJ : 0/ 0
SABME: 1/ 1 DM: 0/ 0 DI SC: 0/ 0 UA: 1/ 1
FRMR: 0/ 0 TEI : 0/ 0
Layer 3 St at us:
0 Act i ve Layer 3 Cal l ( s)
Act i vat ed dsl 0 CCBs = 0
Number of act i ve cal l s = 0
Number of avai l abl e B- channel s = 30
Tot al Al l ocat ed I SDN CCBS = 0

*********************************************************************
R2 DEBUG Command
In global configuration mode:
Display R2 configuration information
gateway # show R2-config <0-3> <0-7>

Command Description
Show Display R2 information
R2-config Display content contains whether E1 is synchronous
and binding R2, whether listens to remote ringing,
receives calling number and sends calling number.
<0-3> Card slot number (0-3)
<0-7> E1 coding (0-7).

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 171 of 181


The example of debug command.
gat eway # show R2- conf i g 1 0
cal l ed#
E1 l i ne: synchr onous
Bi nd R2: TRUE
Li st en r i ngback: di sabl e
RX Cal l i ng Num: di sabl e
TX Cal l i ng Num: di sabl e

Display R2 status
gateway # show R2-infor <0-3> <0-7>

Command Description
Show Display R2 information
R2-infor Display R2 current status, including E1 timeslots.
<0-3> Card slot number (0-3)
<0-7> E1 coding (0-7).

The example of debug command.
gat eway # show R2- i nf or 1 0
ch 0: - -
ch 1: R2st at e: I DLE r egMSP: 1 di r : out
ch 2: R2st at e: I DLE r egMSP: 1 di r : out
ch 3: R2st at e: I DLE r egMSP: 1 di r : out
ch 4: R2st at e: I DLE r egMSP: 1 di r : out
ch 5: R2st at e: I DLE r egMSP: 1 di r : out
ch 6: R2st at e: I DLE r egMSP: 1 di r : out
ch 7: R2st at e: I DLE r egMSP: 1 di r : out
ch 8: R2st at e: I DLE r egMSP: 1 di r : out
ch 9: R2st at e: I DLE r egMSP: 1 di r : out
ch 10: R2st at e: I DLE r egMSP: 1 di r : out
ch 11: R2st at e: I DLE r egMSP: 1 di r : out
ch 12: R2st at e: I DLE r egMSP: 1 di r : out
ch 13: R2st at e: I DLE r egMSP: 1 di r : out
ch 14: R2st at e: I DLE r egMSP: 1 di r : out
ch 15: R2st at e: I DLE r egMSP: 1 di r : out
ch 16: - -
ch 17: R2st at e: I DLE r egMSP: 1 di r : i n
ch 18: R2st at e: I DLE r egMSP: 1 di r : i n
ch 19: R2st at e: I DLE r egMSP: 1 di r : i n
ch 20: R2st at e: I DLE r egMSP: 1 di r : i n
ch 21: R2st at e: I DLE r egMSP: 1 di r : i n
ch 22: R2st at e: I DLE r egMSP: 1 di r : i n
ch 23: R2st at e: I DLE r egMSP: 1 di r : i n
ch 24: R2st at e: I DLE r egMSP: 1 di r : i n
ch 25: R2st at e: I DLE r egMSP: 1 di r : i n
ch 26: R2st at e: I DLE r egMSP: 1 di r : i n
ch 27: R2st at e: I DLE r egMSP: 1 di r : i n
ch 28: R2st at e: I DLE r egMSP: 1 di r : i n
ch 29: R2st at e: I DLE r egMSP: 1 di r : i n
ch 30: R2st at e: I DLE r egMSP: 1 di r : i n
ch 31: R2st at e: I DLE r egMSP: 1 di r : i n
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 172 of 181


Display R2 line signal
gateway # show R2-lineSigal <0-3> <0-7>

Command Description
Show Display R2 information
R2-lineSigal Display E1 timeslot current line signal status.
<0-3> Card slot number (0-3)
<0-7> E1 coding (0-7).

The example of debug command
gateway # show R2- lineSigal 1 0

< Not e: 0- - SEI ZED 1- - ANSWER 2- - I DLE or CLEAR 3- - SEI ZACK or
BLOCK >
t i meSl ot : 0 1 2 3 4 5 6 7 8 9 10 11 12
13 14 15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
l i neSt at e: - - 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2
t i mesl ot : 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
31
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
l i neSt at e: - - 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2

R2 modul e al t er nat i on i nf or mat i on wi t h VM modul e
gat eway #debug r 2 l i nesi g r ecei ve
gat eway #debug r 2 l i nesi g send

Print alternation information between R2 module and msp module
gateway #debug r2 msp receive
gateway #debug r2 msp send

Alternation information between R2 module and acc module
gateway #debug r2 acc receive
gateway#debug r2 acc send

R2 module MFC signal
gateway #debug r2 mfc
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 173 of 181


SIP Debugging Command
display SIP information
Command Description
show sip call sum Display current gateway DIP call sum number
show sip call detail Display SIP call detail information, including
number, call status and connection time

gat eway#show si p cal l sum
Tot al act i ve si p cal l : 1, connect ed: 1
Gat eway#show si p cal l det ai l
si d ai d ci d di d cal l i ngNum cal l edNum
st at e connTi me
80000003 7 4 5 2002 3000
ST_CONNECT 00: 00: 12
Tot al act i ve si p cal l : 1, connect ed: 1

SIP debug information:

Command Description
debug sip acc Display alternation information between ACC layer
and SIP layer.
debug sip fsm Display SIP call stautus change
debug sip register Display SIP registered information
debug sip sip Display SIP call event status change
debug sip all Enable above debug switch
debug sip sysm Display SIP sysm information

The example of debugging information

VGA600_whg#debug si p- adapt er al l
Cal l i ng par t y:
SI P<==ACC: I AM, si d = 0x00000000, ai d = 6
bui l d i ni t i al i nvi t e: si p: 2002@128. 255. 16. 38: 5060- -
>si p: 3000@128. 255. 16. 39: 5060
i ni t i at e a cal l : si d = 0x00000002, ai d = 6, por t = 32768, payl oad =
18
Si p adap f sm: si d = 00000002, ai d = 6, event [ EV_RECV_I AM] ,
st at e[ ST_I DLE==>ST_RECV_I AM] , cal l i ng = 2002, cal l ed = 3000.
/ * r ecei vi ng I AM message f r omACC, cal l i ng par t y i s on
128. 255. 16. 38 2002, cal l ed par t y i s on 128. 255. 16. 39 3000, SI P sends
I NVI TE */

SI P_CALL_RI NGI NG<- ( 2 3) [ 180 Ri ngi ng]
<si p: 2002@128. 255. 16. 38: 5060>t ag=1484124066 <==
<si p: 3000@128. 255. 16. 39: 5060>t ag=1656632324
SI P==>ACC: ACM, si d = 0x00000002, ai d = 6
Si p adap f sm: si d = 00000002, ai d = 6, event [ EV_RECV_RI NG] ,
st at e[ ST_RECV_I AM==>ST_RECV_RI NG] / * r ecei vi ng 180 Ri ngi ng
r eponse message, sendi ng ACM message t o ACC. */

SI P_CALL_ANSWERED<- ( 2 3) [ 200 OK]
<si p: 2002@128. 255. 16. 38: 5060>t ag=1484124066 <==
<si p: 3000@128. 255. 16. 39: 5060>t ag=1656632324
SI P==>ACC: ANM, si d = 0x00000002, ai d = 6
SI P==>ACC: CPG, si d = 0x00000002, ai d = 6
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 174 of 181


Si p adap f sm: si d = 00000002, ai d = 6, event [ EV_RECV_2XX] ,
st at e[ ST_RECV_RI NG==>ST_CONNECT] / * r ecei vi ng 200 OK message
( cal l ed par t y pi cks up) , sendi ng ANM and CPG message t o ACC, CPG
message i s used f or modi f i cat ed connect i on */

SI P_CALL_CLOSED<- ( 2 3) BYE
<si p: 2002@128. 255. 16. 38: 5060>t ag=1484124066 <==
<si p: 3000@128. 255. 16. 39: 5060>t ag=1656632324
SI P==>ACC: REL, si d = 0x00000002, ai d = 6
Si p adap f sm: si d = 00000002, ai d = 6, event [ EV_RECV_BYE] ,
st at e[ ST_CONNECT==>ST_I DLE]
/ * r ecei vi ng BYE message ( cal l ed par t y hangs up) , sendi ng REL message
t o ACC */

SI P<==ACC: RLC, si d = 0x00000002, ai d = 6 / *
r ecei vi ng ACC RLC message */

Cal l ed par t y:
SI P_CALL_NEW<- ( 2 0) [ Tr yi ng]
<si p: 3000@128. 255. 16. 39: 5060> <==
<si p: 2002@128. 255. 16. 38: 5060>t ag=1484124066
SI P==>ACC: I AM, si d = 0x80000002, ai d = 0
Si p adap f sm: si d = 80000002, ai d = 0, event [ EV_RECV_I NVI TE] ,
st at e[ ST_I DLE==>ST_RECV_I NVI TE] , cal l i ng = 2002, cal l ed = 3000. / *
r ecei vi ng I NVI TE message, t he cal l i s f r om2002 on 128. 255. 16. 38 t o
3000 on 128. 255. 16. 39, SI P sends back 100 Tr yi ng message and sends I AM
message t o ACC. */

SI P<==ACC: ACM, si d = 0x80000002, ai d = 5
answer a cal l : si d = 0x80000002, ai d = 5, st at us = 180
Si p adap f sm: si d = 80000002, ai d = 5, event [ EV_RECV_ACM] ,
st at e[ ST_RECV_I NVI TE==>ST_RECV_ACM] / * r ecei vi ng ACM message f r om
ACC. */

SI P<==ACC: ANM, si d = 0x80000002, ai d = 5
answer a cal l : si d = 0x80000002, ai d = 5, st at us = 200, por t =
32768
SI P==>ACC: CPG, si d = 0x80000002, ai d = 5
Si p adap f sm: si d = 80000002, ai d = 5, event [ EV_RECV_ANM] ,
st at e[ ST_RECV_ACM==>ST_CONNECT] / * r ecei vi ng ANM message f r om
ACC. */

SI P<==ACC: REL, si d = 0x80000002, ai d = 5
SI P==>ACC: RLC, si d = 0x80000002, ai d = 5
t er mi nat e a cal l : si d = 0x80000002, ai d = 5
Si p adap f sm: si d = 80000002, ai d = 5, event [ EV_RECV_REL] ,
st at e[ ST_CONNECT==>ST_I DLE]
/ * r ecei vi ng REL message f r omACC, and sends message back t o ACCRLC,
sends BYE message t o opposi t e end. */

5. 22
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 175 of 181


Software Upgrade

MyPower VG gateway upgrade contains system software upgrade and
system configuration file upgrade, MyPower VG M6000 contains simulated
line card software upgrade, here we will give the introduction.
System Software Upgrade
There are two methods for system software upgrade (bin file upgrade).
The system function can be extended without the increment of user
investment.
Upgrade via Console Interface
Sending new bin file to upgrade via Hyper Terminal provided by Windows
98/NT/2000/XP or via SecureCRT such application program. Here we take
SecureCRT program as an example.

Operate SecureCRT and choose serial (such as com1). Configure its
property: BR 9600, no flow control, data bit 8, no parity check, stop bit 1.
Enable core card, when appearing ROOT starting information, press
CTRL+C, and ENTER key to enter MONITOR mode.

In MONITOR mode, if it is VGM6000, use "Monitor:> del[ete] filenameto
upgrade. If it is VG2000/VG800/VGA600, use Monitor:> e[flash] allto
delete application and configuration script after that, use
Monitor:>speed 115200 to configure the equipment: Console port rate
is 115200bps. Disconnect SecureCRT, and configure serial rate as
115200bps (property-configuration-braud rate), and reconnect it.

After reconnection, input lx and ENTER under Monitor:>, choose Send
Xmodem of Transfer in SecureCRT program and sends file after the choice
of bin file.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 176 of 181


When the file transmission is finished, it will auto write to flash for
upgrade, when program updates success, use Monitor:> runfor flash
system software program, and meanwhile disconnect in SecureCRT, and
change rate back to 9600. Reconnect it, to finish upgrade.

BR115200 is for enhancing transmitting rate and reduce the time. but this
kind method speed is too slow. This kind of upgrade is being used when
there is no application program or upgrade failure by adopting TFTP/FTP.
Method two: via TFTP/FTP
Log on the equipment need to upgrade, educe the configuration file and save it
on PC

Configure TFTP/FTP server, choose the upgrade program on TFTP/FTP server
root, and then save it to directory

Make sure the routing between TFTP/FTP server and equipment can reach each
other

In the privileged mode, input sysupdate <pc IP address> <file name ((file
name).bin)>ENTER (for example: sysupdate 16.32.32.1 VPM6000-VG-
6.7.7.bin) if it is FTP upgrade, the user name and password need to be added
(for example: sysupdate 16.32.32.1 VPM6000-VG-6.7.7.bin ftp maipu 123)

After sending the file, restart the equipment by using reload or power off, and
then examine whether the upgrade is original via show version. Or you should
repeat step 3 and 4 till the success of upgrade.

The biggest difference for upgrade by using FTP and TFTP is that FTP
supports continuous transmission without online while TFTP doesnt
support it. We suggest you adopt FTP method for remote upgrade or when
the line quality is not very good.


System Configuration File
Upgrade

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 177 of 181


MyPower VG gateway system configuration file contains: fsm.dat call
status file, application voice file MyPower VG M6000 also contains DSP
upgrade file and FPGA upgrade file.

All the files can be download to flash via download-all, and also can
upgrade to some single file, but pay attention to the compatibility between
update file and system software.
download-all
gateway#filesystem

gateway(config-fs)#download-all tftp <TFTP server IP address> (by TFTP) or
gateway(config-fs)#download-all ftp <FTP server IP address> <FTP user
name ><FTP password><FTP server download file directory name > (by FTP)

Configure TFTP/FTP server, and choose the directory for files in TFTP/FTP
server root.
Single Upgrade
fsm.dat File Upgrade
Enable tftp/ftp server on PC, and ensure all files fsm. dat under directory

In privileged mode, input filesystem to enter file mode

Input tftpcopy <PC IP address> fsm.dat fsm.dat or ftpcopy <PC IP address>
<FTP user name><FTP password><FTP server download file directory name>
fsm.dat fsm.dat , and copy fsm.dat on PC to gateway and save it as fsm.dat

After download, be back to privileged mode, execute fsm-update (fsm.dat), if
successful, it prompts Update fsm success!
Application voicec File Upgrade
Enable tftp server on PC, and ensure the voice file for upgrade in the
directory

In privileged mode, input filesystem to enter file mode

MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 178 of 181


Because the different directories of flash, and so we should enter the
directory via cd command (confirm file directory via pwd)

Input tftpcopy <PC IP address> xxx yyy, and copy voice file xxx on PC to
gateway and saved as yyy

This command is suitable for upgrade single or more than more voice files by
using download-all command. The method is the same when adopting FTP or
fsm.dat.
DSP File Upgrade
This upgrade is only effective for MyPower VG M6000. The method is the
same when adopting FTP and fsm.dat.

Enable tftp server on PC, and ensure DSP upgrade file in the directory,
suppose the file name is img.axf

In privileged mode input filesystem to enter file mode

Input tftpcopy <PC IP address> img.axf img.axf, save the files to
gateway and the file name should be img.axf

After upgrade, restart gateway to make DSP file effective.
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 179 of 181


FPGA File Upgrade
This upgrade is only effective for MyPower VG M6000, the method is the
same when adopting FTP and fsm.dat.

Enable tftp server on PC, and ensure DSP upgrade file in directory, and
suppose the file name is vgt6k.rbf

In privileged mode, input filesystem to enter file mode

Input tftpcopy <PC IP address> vgt6k.rbf vgt6k.rbf, and save the file to
gateway and the file name should be vgt6k.rbf

After upgrade, restart gateway to make new FPGA effective.
Simulated Line Card (FXS Card)
Upgrade
This upgrade is only effective for MyPower VG M6000, at present the line
card upgrade only supports TFTP method.

Configure TFTP server, choose the upgrade program directory in TFTP
server root

Make sure the routing between TFTP server and VGM6000 can reach
each other

In VGM6000 privileged mode, input update-program <card_no> <file
name> from <IP> and ENTER, and start download line card program,
and this process needs several minutes. The line card will restart after
download.

For example, upgrade FXS card of slot 0, the program is vpm-lc-fxs-
1.0.13, TFTP server IP address is 1.1.1.1
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 180 of 181


gateway >
gateway >enable /*enter mode*/
Password: /*input password*/
gateway # /*correct password, enter
user mode*/
gateway #update-program 0 vpm-lc-fxs-1.0.13 from 1.1.1.1
/*input command to upgrade line card program*/

After the restart, in VGM6000 privileged mode, input show slot <card-
no> to examine whether the software version is upgrading
successfully.


Input 1 in privileged mode of core card after the restart of line card
upgrade because VGM6000 line card has two programs, one is SCM
monitor program and another is FLASH application program. These two
programs should be used with the version. Examine it via show slot.
For example,
VGM6000#sh slot 2
type FXS
status alive
version H030 FXS-1.0.27 M1.1

the explanation for the last line version information: H030 (hardware
version number)FXS-1.0.27 (line card flash application program version
number)M1.1(line card SCM monitor program version number)

At present two series line card application program are provided (1.X.X
series and 2.X.X series), the upgrade should be individual but not mixed
together.

SCM monitor version number is M1.1 and hereinafter version, it only can
be used together with 1.x.x FALSH application program version. SCM
monitor version is M1.2, together with 2.x.x FALSH application program
version.

Program file name:
(1)VM-32FXSH
VPM-LC-FXS-2.0.1 (FLASH program)
VPM-LC-FXS-V2-1.C51 (SCM program)
(2)VM-16S16OH card program
VPM-LC-FXOS-2.0.1 (FLASH program)
MyPower VG IP Configuration Manual

Maipu Confidential & Proprietary Information Page 181 of 181


VPM-LC-FXOS-MONITOR-V2-1.C51 (SCM program)
Thereinto: 201 is the version number of FLASH application program.
V2-1 is SCM monitor program version number, means M1.2. The early
monitor program didnt have version number information, and all means
M1.1 and hereinafter version.

Potrebbero piacerti anche