Vdocuments - MX Mypower VG Ip Config Manual

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 181

5/22/2018 MyPower VGIPConfigManual-slidepdf.

com

MyPower VG IP
Voice Gateway

Configuration Manual

Maipu Communication Technology Co., Ltd


No. 16, Jiuxing 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 1 of 178

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 1/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

 All rights reserved. Printed in the People’s 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
or or without the prior language, in anyofform
written consent or by
Maipu any means, electronic,
Communication Technology mechanical,
Co., Ltd. magnetic, optical, chemical, manual

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, JiuXing 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 MyPowerabout


information VG IPconfiguration
Voice Gateway Configuration
of voice gatewayManual provides
products technical
designed and
developed by Maipu Communication Technology Co., Ltd

Maipu Confidential & Proprietary Information Page 2 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 2/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

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 Document 1.0
 Version Revision
Number
Evaluate this Presentation:
document (Introductions, procedures, illustrations, completeness, arrangement, appearance)
 Good  Fair  Average  Poor

 Accessibility:
(Contents, index, headings, numbering)
 Good  Fair  Average  Poor

Editorial:
(Language, vocabulary, readability, clarity, technical accuracy, content)
 Good  Fair  Average  Poor

 Your Please check suggestions to improve this document:


suggestions to   Improve introduction  Make more concise
improve the
  Improve Contents  Addmore step-by-step procedures/tutorials
document
  Improve arrangement  Addmore 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 3 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 3/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

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 4 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 4/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

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 5 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 5/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

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 6 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 6/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

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 

Maipu Confidential & Proprietary Information Page 7 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 7/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

 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 +86–28-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.

Maipu Confidential & Proprietary Information Page 8 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 8/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Voice Gateway Overview

Theory
Example of MyPower VG M6000 to explain voice gateway theory:

G.711 PCM
G.723.1 ACELP Ethernet G.711 PCM
 edia Analog
G.729A CS-ACELP

PSTN
VGK2X
IP

 VOP
H.323 Signal  R2
 PRI
IP phone Analog

In above application mode, the voice gateway works as relay gateway and
also as gateway.

Maipu Confidential & Proprietary Information Page 9 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 9/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Maipu Confidential & Proprietary Information Page 10 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 10/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

 Access Gateway Mode

Gateway connects to the phone via VOP port. Following is the theory:

 VOP-IP 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.

Maipu Confidential & Proprietary Information Page 11 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 11/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Maipu Confidential & Proprietary Information Page 12 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 12/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Maipu Confidential & Proprietary Information Page 13 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 13/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Maipu IP Voice Gateway

MyPower VG
MyPower VG M6000 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:

Maipu Confidential & Proprietary Information Page 14 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 14/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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: 

Maipu Confidential & Proprietary Information Page 15 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 15/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 16 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 16/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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)

Maipu Confidential & Proprietary Information Page 17 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 17/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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:

DB9 RJ45

PC
Gateway
 

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 doesn’t have such process, install this module or use special
terminal software such as SecureCRT) and configure serial parameters
according to above parameters.

Maipu Confidential & Proprietary Information Page 18 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 18/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Communication parameter configuration:

 Set up connection
Name——MyPower 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 check——none
Stop bit———1 bit
Flow control————none

Maipu Confidential & Proprietary Information Page 19 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 19/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

 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.

Maipu Confidential & Proprietary Information Page 20 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 20/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Maipu Confidential & Proprietary Information Page 21 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 21/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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,

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

gateway>help
Input “help” information:

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

Maipu Confidential & Proprietary Information Page 22 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 22/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

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

Maipu Confidential & Proprietary Information Page 23 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 23/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 24 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 24/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 25 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 25/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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


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

 *** 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 Up cursor key or Ctrl+p Delete latest command or alarm

command rings
 Access next history Down cursor key or Delete later command or delete
command Ctrl+n 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.

Maipu Confidential & Proprietary Information Page 26 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 26/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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) or‘↑’or 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.

Maipu Confidential & Proprietary Information Page 27 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 27/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 28 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 28/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

MyPower VG gateway system configuration command list:

Configuration Command Function Operating Typical example


task mode

Configuration
name hostname Change
MyPower Global
configuration gateway(config)#hostname
MyPower 
 VG mode
gateway
name
Calendar clock Configure Privileged gateway #clock 2001 11
configuration system user mode 15 9 25 10
calendar
System user user Add Global gateway(config)#user
configuration system configuration maipu password 0 maipu1
user mode
Enable enable Configure Global gateway (config)#enable
parameters enable configuration password a
configuration password mode gateway (config)#enable
and timeout 0
overtime
line vty line vty Configure Global gateway (config)#line vty
parameters line vty configuration 0 15
configuration access mode
users,
passwords
and
overtime

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 Modify system name


 VG6000
 VG6000 (config)# Use new system name in next system prompt

Maipu Confidential & Proprietary Information Page 29 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 29/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Configure date as November 15, 2001. The time is
10 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 Configure time
<HH:MM:SS>
gateway#clock-date <2000- Configure date
2035> <1-12> <1-31>
gateway#clock-datetime <2000- Configure date and time
2035> <1-12> <1-31>
<HH:MM:SS>
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  Add user “Maipu” for system, and the password is
password 0 maipu  “Maipu”, with proclaimed in writing

Maipu Confidential & Proprietary Information Page 30 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 30/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 user“maipu” 

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

Maipu Confidential & Proprietary Information Page 31 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 31/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Enable Password & Overtime


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

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

The
it willtime is 300
never overseconds by default, which is 5 minutes. If configured as 0,
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 Configure the exit time of idle, which is to say it will
[0-35791] exit the system without the operation for users of
telnet.
gateway (config-line)#password 0 Configure line password, if configured login, it
<LINE> should according
to the line password of each vty.
gateway(config-line)#login CR  | Whether configured password of telnet logon, if not
local | authentication 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 Configure access list to limit telnet user, the
[1-1000] | WORD command “access-list” command is needed to
configure property.
gateway (config-line)#timeout Configure the over time for inputting user name and
login respond [0-300] password.

Maipu Confidential & Proprietary Information Page 32 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 32/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

System Management

MyPower
Medium &VG
FileGateway
Type Supported Storage
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 program —use to complete gateway


function, file management and system management.

 Configuration file—he storage the parameters of system configuration

 BootROM file—storage the basic data of system initialization

 Other files—such 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.

Maipu Confidential & Proprietary Information Page 33 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 33/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Command Function Operating Example

name mode
cd Change current File system gateway (config-fs)#cd dir1
routing configuration
mode
copy File copy File system gateway (config-fs)#copy flash
configuration file1 flash file2
mode
delete File deletion File system gateway (config-fs)#delete file1
configuration
mode
dir Examine File system gateway (config-fs)#dir
directory or file configuration

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

Maipu Confidential & Proprietary Information Page 34 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 34/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

volume Examine file File system gateway (config-fs)#volume


equipmen configuration
information mode
xmodemcopy Copy file by File system gateway (config-fs)#xmodemcopy

using XMODEM
protocol configuration
mode 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 doesn’t support long file
name, the file name accords with the rule of 8.3.

1.Examine 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

2.File 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.

Maipu Confidential & Proprietary Information Page 35 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 35/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

file copy
Command Description
gateway (config-fs)#copy startup Copy the file “startup”, and put the new file name
 /maipu/newstartup  “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:

Maipu Confidential & Proprietary Information Page 36 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 36/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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
mode, interface is saved atmode,
configuration present
file(including global configuration
system configuration mode,
access list configuration mode, routing protocol configuration mode
and gateway configuration mode).

Maipu Confidential & Proprietary Information Page 37 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 37/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Keywords are PC address, user name, directory, file
 A.B.C.D MyPower MyPower1 j:\ name and local file name
config startup

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.

3.Save 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 Save current configuration to STARTUP
startup-config

Use the command:


Command Description
gateway #write Save current configuration to STARTUP

Maipu Confidential & Proprietary Information Page 38 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 38/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Save the configuration to remote host computer via TFTP:


Command Description
gateway #copy running-config tftp  A.B.C.D is the address of remote host computer, the
 A.B.C.D c o n f i g 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  A.B.C.D is the name of remote host computer, and
config startup-config 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 ?

Maipu Confidential & Proprietary Information Page 39 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 39/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 ExcTas k 0x00005b0160 3f a3c68 7984 288 564 7420
t LogTas k 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 Fs kTs k00 0x000057ca4c 22caa98 3984 240 1008 2976
t Fs kTs k01 0x000057ca4c 22c8848 3984 240 324 3660
t Fs kTs k02 0x000057ca4c 22c6298 3984 240 324 3660
t Fs kTs k03 0x000057ca4c 22c3c70 3984 240 324 3660
t PPPExe 0x000022c124 356e410 10232 208 272 9960
t PPPSi g 0x000022c224 356b7e8 3416 256 528 2888

Net Task
t SysTi mer 0x00001750bc
0x000002b76c 270cea8
2702048 9984
10224 256
192 1332
320 8652
9904
t SysSi g 0x000002a424 26f f 420 3416 320 912 2504
t Dr vCar dTsk 0x000057ca4c 232b6f 0 4984 240 980 4004
t FwdTas k 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 sTs k 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

Maipu Confidential & Proprietary Information Page 40 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 40/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Dcac heUpd 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

Maipu Confidential & Proprietary Information Page 41 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 41/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 42 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 42/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 43 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 43/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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:

Maipu Confidential & Proprietary Information Page 44 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 44/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 config
is used to close the function.
logging color Configure logging color config
{ alerts|critical|
debugging|
emergencies|
errors|informational|
notifications|
warnings}
[blue|brown|cyan|
green|
purple|red|white]
logging buffer Configure logging buffer. config
Command no logging buffer is
used to close the function.
logging buffer max-size <4096- Configure buffer size config
409600>
logging buffer Configure logging buffer config
{<0-7>|alerts| information
critical|debugging|
emergencies|errors|
informational|
notifications|
warnings}
logging console Configure logging console, and config

command no logging console is

Maipu Confidential & Proprietary Information Page 45 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 45/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

used to close the function.


logging console Configure logging console config
{<0-7>|alerts| information
critical|debugging|

emergencies|errors|
informational|
notifications|
warnings}
logging file Configure logging file. Command config
no logging file is used to close the
function.
logging file max-size <4096- Configure logging file max-size config
1048576>
logging file Configure logging file information config
{<0-7>|alerts|
critical|debugging|
emergencies|errors|
informational|
notifications|
warnings}
logging trap Configure logging trap. Command config
no logging trap is used to close the
function.
Logging {hostname|A.B.C.D} Configure server name or IP config
{<0-7>/alerts/ address
critical/debugging/
emergencies/errors/
informational/
notifications/
warnings}
logging source-ip A.B.C.D Configure logging source ip config
address
logging event Configure logging event config
logging monitor Configure logging monitor. config
Command no logging monitor is
used to close the function.
logging monitor Configure logging monitor config
{<0-7>|alerts|

critical|debugging|
emergencies|errors|
informational|
notifications|
warnings}
logging facility Configure logging facility. The config
{auth|cron| default is local7.
daemon|kern
|local0|local1
|local2|local3
|local4|local5
|local6|local7
|lpr|mail|news

Maipu Confidential & Proprietary Information Page 46 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 46/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

|sys10|sys11
|sys12|sys13
|sys14|sys9
|syslog|user

|uucp}
service timestamps log [datetime Configure service timestamps config
[localtime/ msec/ show-timezone]| log: date, time zone, local time
uptime]
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 0-level.

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

Maipu Confidential & Proprietary Information Page 47 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 47/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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, config
the default status is disable
check cpu time-interval{1- Configure updating cpu time-interval, config
3600} and the default is 2 seconds
check cpu view [simple] Whether display in short form config
check cpu parameter Examine current check cpu parameters, config
status, for example, enable cpu monitor
spy cpu Enable CPU, and monitor cpu utility enable
no spy cpu Disable cpu, and stop monitoring cpu enable
utility
monitor cpu Enable CPU, and start monitoring cpu enable
utility sometimes
no monitor cpu Disable CPU, and stop monitoring cpu enable
utility
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%

Maipu Confidential & Proprietary Information Page 48 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 48/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Maipu Confidential & Proprietary Information Page 49 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 49/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

You’d 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] don’t start up AAA.
[Command mode] Global configuration mode

aaa authentication banner


modify the greeting information for user’s 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 user’s 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 user’s log
on.

Maipu Confidential & Proprietary Information Page 50 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 50/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

[Default status] prompt information is“Access denied!”.


[Command mode] Global configuration mode
aaa authentication username-prompt

modify thetext.
displaying text of users name. The command “no” is used to renew

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 is“login:”.


[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 is“password: ”.


[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
none:no ID authentication, directly pass.
enable:authentication by effective password
(global enable password)
local:authentication by local user data base.
line:authentication by line password.
radius:authenticatin by RADIUS
tacacs:authentication by TACACS 

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

Maipu Confidential & Proprietary Information Page 51 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 51/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

 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
none:no authentication, directly pass.

enable :use effective password (enable for users


or global)
line:use line password
radius:use RADIUS
tacacs:use 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,
Local: authentication directly
by local userpass.
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}

Maipu Confidential & Proprietary Information Page 52 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 52/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 53 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 53/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 54 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 54/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

1.The 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

Maipu Confidential & Proprietary Information Page 55 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 55/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

1.The 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 don’t give reponse as useless server, and will not send
requirement to these servers.

radius-server key

Configure
encryption encryption key of RADIUS. The command NO is used to delete
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.

Maipu Confidential & Proprietary Information Page 56 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 56/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 57 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 57/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

6.debug 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.

Maipu Confidential & Proprietary Information Page 58 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 58/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Maipu Confidential & Proprietary Information Page 59 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 59/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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- The host number 1 uses for directional broadcast
191.255.255.255 of network
C 192.0.0.0- The host number 1 uses for directional broadcast
223.255.255.255 of network
D 224.0.0.0-  Address D uses for multicast
239.255.255.255

E 240.0.0.0-  Address E uses after reservation


247.255.255.255

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

Maipu Confidential & Proprietary Information Page 60 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 60/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Distribute one IP address for interface
255.255.0.0 [secondary]

no ip address 128.255.255.1 Cancel IP address


255.255.0.0 [secondary]

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 Enter Ethernet interface configuration mode
fastethernet1
gateway(config-if- Configure host IP address of Ethernet interface
fastethernet1)#ip address
128.255.255.1  255.255.0.0
gateway(config-if- Configure secondary IP address of Ethernet interface
fastethernet1)#ip address
128.254.255.1 255.255.0.0
secondary
gateway(config-if- Configure secondary IP address of Ethernet interface
fastethernet1)#ip address
128.253.255.1 255.255.0.0
secondary

For the routing transmission of data packet by MyPower VG gateway, each


IP address should not be on the same network segment.

Maipu Confidential & Proprietary Information Page 61 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 61/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Examine IP Address Configuration


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

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

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
Queue st r ataddress: 16., 255.
egy: FI FO 255. queue:
Out put 255 0/ 40 ( curr 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 address i s 0001. 7a01. 9268
5 mi nut e i nput r ate 5000 bi t s/ sec, 7 packet s/ sec
5 mi nut e out put r ate 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 sens e 0, Rx l engt h vi ol at i on 0
Rx not al i gned 0, Rx CRC er r or 0, Rx overr 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 Cancel IP address
address

Maipu Confidential & Proprietary Information Page 62 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 62/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

 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
IP addressVG gateway
and supports
MAC address. ARP.
ARP ARP uses
decides for the
the MAC connection
address. once between
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.

1.Define 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 Define a static ARP buffer
Mac_address
gateway (config)#no arp ip-  Delete a static ARP buffer
address  

2.Proxy 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.”

Maipu Confidential & Proprietary Information Page 63 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 63/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Operating proxy ARP by default.

3.Observe 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.

1.Mapping 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 Define the mapping between host name and IP
Ip_Address   address
gateway(config)# no host Delete the mapping between host name and IP
host_name Ip_Address   address

Maipu Confidential & Proprietary Information Page 64 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 64/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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- Enable sending ICMP Redirect messages
fastethernet0)#ip redirects
gateway (config-if- Disable sending ICMP Redirect messages
fastethernet0)#no ip redirects

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

Maipu Confidential & Proprietary Information Page 65 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 65/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Enable/Disable IP Receiving Redirect


Message
ICMP redirect
gateway doesn’tpacket
updatearouses
routing the
afterupdate of routing list. MyPower VG
receiving
ICMP redirect packet. But the user may choose updating routing.

Execute the command in global configuration mode:

Command Description
gateway(config)#icmp redirect- Enable to add icmp redirect route
route
gateway(config)#no icmp redirect- Disable to add icmp redirect route
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- Enable fast-switching cache for outgoing packets
fastethernet1)#ip route-cache
gateway (config-if- Disable fast-switching cache for outgoing packets
fastethernet1)#no ip route-cache

Default is to enable.

Maipu Confidential & Proprietary Information Page 66 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 66/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Execute the command in global Description


configuration mode: Command
gateway (config)#ip upper-cache Enable using upper route cache

gateway(config)#no ip upper- Disable using upper route cache


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.

Maipu Confidential & Proprietary Information Page 67 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 67/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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)# Enable sending ICMP Mask Reply messages
ip mask-reply
gateway (config-if-fastethernet1)# Disable sending ICMP Mask Reply messages
no ip mask-reply

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 error times because of the overtime by
was icmp 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
echo:5 echo number
0 message response generated response number of packet

Maipu Confidential & Proprietary Information Page 68 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 68/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 there’s no response of the


opposite end

 Hold up the intercept of TCP

 Set TCP/IP timestamp parameter options

Maipu Confidential & Proprietary Information Page 69 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 69/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

TCP properties configuration


Command Description
ip tcp recvbuffers [1024-  Set TCP receiving buffer
65536] (default: 4096)- 

ip tcp sendbuffers [1024-  Set TCP sending buffer


65536] (default: 4096)- 
ip tcp retransmits [1-  Set TCP maximum times of retransmission
100] (default: 3)- 
ip tcp segment-size [256-  Set TCP the maximum segment size
4028] (default: 512)- 
ip tcp round-trip [1-100] (defult: Set TCP maximum time of round-trip
3)- 
ip tcp idle-timeout[3-  Set the idle-timeout of the first call testing
144000] (default: 14400)- 
ip tcp init-timeout[2-  Set the timer value
30000] (default: 150)- 
ip tcp keep-count[3-20] (default: Set the maximum times of keep-count
8)- 
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

Maipu Confidential & Proprietary Information Page 70 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 70/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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- Set UDP receiving checksum
checksum
ip udp send-checksum Set UDP sending checksum

Socket Interface
Socket is a mechanism of network application program visit and network

resource
mechanismuse.
andMyPower VGsocket
a series of gateway supports standard socket interface
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


(state)
----- ------ ------ --------------- ------- ----------------- ----- ------- -
------
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 ate) i s onl y t o TCP connect i on, whi ch means cur r ent TCP st atus.

Maipu Confidential & Proprietary Information Page 71 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 71/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 72 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 72/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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).

Maipu Confidential & Proprietary Information Page 73 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 73/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Configuration interface address is 1.1.1.1,
address 1.1.1.1 mask is 255.0.0.0
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 Distribute address via dhcp server
address dhcp

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.

Maipu Confidential & Proprietary Information Page 74 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 74/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Configure system clock


gateway (config)#

Command Description

sys-clock-souce priority [0-5] [0-3] Configure priority mode for E1 clock source
[0-7] [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- Configure specified mode for E1 clock source
7] [0-3] card number
[0-7] E1 number in card

sys-clock-source specify local Configure


specify thespecified mode
local clock for local
on core cardclock source,
as system and
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 Configure the stable duration of judging system clock
1|4|16|64 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.

Conf i gur e S y s t em Cl oc k S our c e i n P r i or i t y


M ode
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

Maipu Confidential & Proprietary Information Page 75 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 75/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Conf i gur e S y s t em Cl oc k S our c e i n S pec i f i ed


M ode
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.

Conf i gur e S t abl e Dur at i on of J udgi ng Cl oc k


S our c e
E x am pl e 1 :  
gateway(config)#sys-clock-source stable-duration 4
Stable duration: 4 seconds

Di s pl ay Cur r ent Cl oc k S our c e S t at us


gateway#show sys-clock-source status
system clock source select information:
clock mode: priority

pri ori t y c l oc k s oure s ta tu s


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.

Di s pl ay S t abl e Dur at i on of Cl oc k S our c e


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)#

Maipu Confidential & Proprietary Information Page 76 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 76/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Conf i gur e Loc al Cl oc k S our c e


gateway(config)# gw-clock internal
Use internal clock source as gateway clock source.

Conf i gur e E 1 Cl oc k S our c e


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 there’s 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)#

Maipu Confidential & Proprietary Information Page 77 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 77/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Command Description
channel [0-31] [0-31] fsk starttime Configure FSK starting time
[1-50] 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 Configure FSK sending time
[60-150] 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| Configure channel status
disable The first [0-31] is the start channel number
The second [0-31] is the end channel number

enable:enable channel, disable:disable 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 Configure dsp output volume, and the unit is db
out 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- Disable reverse polarity


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- Configure codec output volume, and the unit is db,
3] 0db by default
Suitable for MyPower VG2000, VG800 and A600.
channel [0-31] [0-31] volume out [- Configure codec output volume, and the unit is db,
3-3] 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
enable:enable called number, disable:disable
called number
Channel <0-31> <0-31> echo- Configure echo length, and the unit is ms
length <0-128> The first <0-31> is starting channel number
The second <0-31> is the ending channel number
Time value: 0-128ms
Default value: 32ms
This command only uses in MyPower VG M6000.
Channel <0-31> <0-31> hot-line Configure hot-line dialing number
number <STRING> <CR>|increase The first <0-31> is starting channel number

Maipu Confidential & Proprietary Information Page 78 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 78/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Configure hot-line wait-time, and the unit is s
wait-time <2-5> The first <0-31> is starting channel number
The second <0-31> is the ending channel number
<2-5>: wait time is 2 -5s
Default value: 5s
Channel <0-31> <0-31> jitterbuf Configure jitterbuf time, and the unit is ms
<0-200> The first <0-31> is starting channel number
The second <0-31> is the ending channel number
<0-200> jitterbuf time is 0-200ms
Default value: 0ms
This command only uses in VGM6000 version.

Channel <0-15><2-8>
buffer <10-20> <0-15> jitter- 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 Configure pulse-dial
enable|disable 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 Configure silence compression
nosid|pt13|sid 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


the width, both upper limit and lower limit, and

Maipu Confidential & Proprietary Information Page 79 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 79/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 doesn’t 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.

Maipu Confidential & Proprietary Information Page 80 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 80/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Enter FXO card configuration mode:


gateway(config-fxo-card)#

Command Description

channel <0-15> <0-15> fsk starttime Configure FSK start time


<1-50> 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 Configure FSK sending time
sendtime The first <0-15> is start channel number
<60-150> The second <0-15> is the end channel number
时间值为 60—150, 单位为 TICK (1/60S)
channel <0-15> <0-15> enable| Configure channel status
disable 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 Configure dsp input volume, and the unit is db,
in default value is
<-10-10> 0db.
channel <0-15> <0-15> dspvolume Configure dsp output volume, and unit is db,
out default value is 0db.
<-10-10>
channel<0-15><0-15>reverse- Enable reverse polarity.
polarity
channel <0-15> <0-15> no reverse- Disable reverse polarity.
polarity
channel <0-15> <0-15> callid Configure called number
enable|disable 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 Configure canceling jitter, and the unit is number
<10-20> <2-8> 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 Configure silence compression
nosid|pt13|sid 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

Maipu Confidential & Proprietary Information Page 81 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 81/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

channel <0-15> <0-15> scf off Configure silence compression


Off: disable silence compression
channel <0-15> <0-15> wait-dial Configure wait-dial character string (begin with
<STRING> 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 wait-dial configuration
disable The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
channel <0-15> <0-15> dtmf-silent Configure dial time interval
<4-100> 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- Configure dial tone type
type <0-2> The first <0-15> is starting channel number
The second <0-15> is the ending channel
number
Type:
0:450HZ(by default)
1:400HZ
2:500HZ
channel <0-15> <0-15> connection- Configure fxo connection-plar
plar <STRING> 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- Configure connection-plar as increase
plar <STRING> 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 Cancel connection-plar configuration
connection-plar
channel <0-15> <0-15> fxs-linkage Configure fxs-linkage. If fxo port has configured

enable connection-plar
fxs to affect
status port will another fxsfxo
the port, the change of
status.
channel <0-15> <0-15> fxs-linkage Cancel configuration of fxs-linkage
disable
channel <0-15> <0-15> plarout Set the called party binding function of FXO port.
<STRING> nottrans 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, don’t look
for other routings, and the call is failed.

Maipu Confidential & Proprietary Information Page 82 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 82/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

channel <0-15> <0-15> plarout Set the called party binding function of FXO port.
<STRING> nottrans increase 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, don’t 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 Set the called party binding function of FXO port.
<STRING> busytrans 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 Set the called party binding function of FXO port.
<STRING> busytrans increase 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>
<STRING> <0-15> plarout
disable Cancel binding function of FXO port.

channel <0-15> <0-15> payload [1- Payload regulation, the default is 1.


5]
channel <0-15> <0-15> wait-dial- Configure wait-dial-tone time, and the default is
tone [20-120] 30 ticks.
channel <0-15> <0-15> volume in [- Configure codec volume in, and 0db by default.
3-3]
channel <0-15> <0-15> volume out Configure codec volume out, and 0db by default.
[-3-3]

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

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.  

Maipu Confidential & Proprietary Information Page 83 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 83/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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)#

Conf i gur e 16F X S 16F X O F X S G l obal

P ar am et er s
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

Conf i gur e F X O G l obal Conf i gur at i on of


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

Maipu Confidential & Proprietary Information Page 84 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 84/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Conf i gur e F X S P ar am et er s of 16F X S 16F X O


Command Description
Fxs-channel <0-15> <0-15> fsk starttime Configure FSK starting time
<1-50> 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 Configure FSK sending time
<60-150> 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 Configure dsp volume in, and the unit is db,
<-14-6> 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 Configure dsp volume out, and the unit is
out db, volume value is -5db
<-14-6> The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Fxs-channel <0-15> <0-15> reverse- Enable reverse polarity
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- Disable reverse polarity
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
he second <0-15> is the ending channel

Maipu Confidential & Proprietary Information Page 85 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 85/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Set echo length
<0-128> 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 Enable hot-line number
number <string> 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 Disable hot-line number
number <string> increase 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- Set hot-line wait-time
time <2-5> 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- Set jutter buffer time length
200> 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 Enable silence compression
nosid|pt13|sid 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)

Maipu Confidential & Proprietary Information Page 86 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 86/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Configure pulse dial
enable|disable The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
enable and disable (by default)

Conf i gur e F X O P ar am et er s of 16F X S 16F X O


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 Configure dsp volume in, and the unit is db,
<-14-6> 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 Configure dsp volume out, and the unit is
out db, the default volume is -5db
<-14-6> The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number

Fxo-channel <0-15> <0-15> reverse- Enable reverse polarity


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- Disable reverse polarity
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

Maipu Confidential & Proprietary Information Page 87 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 87/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Set echo time length
<0-128> 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- Set jitter buffer time length
200> 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 Enable silence compression
nosid|pt13|sid 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 Configure wait-dial string (begin with
<STRING> 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 wait-dial configuration
disable 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 Configure dial time interval
<4-100> he first <0-15> is starting channel

Maipu Confidential & Proprietary Information Page 88 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 88/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Configure dialtone type
<0-2> The first <0-15> is starting channel
number
The second <0-15> is the ending channel
number
Optional type:
0:450HZ(by default)
1:400HZ
2:500HZ
Fxo-channel <0-15> <0-15> connection- Configure fxo connection-plar phone
plar <STRING> 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- Configure connection-plar phone number as
plar <STRING> increase 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 Cancel connection-plar configuration
connection-plar
Fxo-channel <0-15> <0-15> fxs-linkage Configure fxs-linkage
enable 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 Cancel fxs-linkage configuration
disable
Fxo-channel <0-15> <0-15> dialtone- Configure dialtone volume
volume <STRING> 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 Set FXO port call binding
<STRING> nottrans 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:
look when
for other FXO port
routings, is disabled,
and the call isdon’t

Maipu Confidential & Proprietary Information Page 89 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 89/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

failed.

Fxo-channel <0-15> <0-15> plarout Set call binding of FXO port


<STRING> nottrans increase 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, don’t
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 Set call binding of FXO port
<STRING> busytrans 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 Set call binding of FXO port
<STRING> busytrans increase 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 Cancel call binding of FXO port
<STRING> disable
Fxo-channel <0-15> <0-15> wait-dial-tone Configure wait-dial-tone time length, and
[20-120] the default is 30 ticks.

Maipu Confidential & Proprietary Information Page 90 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 90/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Configure Busy Tone Check Parameters

This command is only for MyPower VG M6000.


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

This command becomes effective after the storage of dsp.


Configure RE1

Conf i gur e R2 Com m ands


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)#? 

Maipu Confidential & Proprietary Information Page 91 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 91/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Command Description
bind r2 Bind R2 protocol
no bind r2 Cancel binding R2 protocol
channel [0-29] Configure E1 timeslot, 0-29 means channel number
<enable|disable>
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 Receive calling number or not, enable means receiving,
<enable|disable> disable means not receiving.
send-callingnumber Whether sending calling number or not, enable means
<enable|disable> sending, disable means not sending
listen-ringback Whether listen ringback, enable means listening, disable
<enable|disable> means not listening.
play-ringback Whether play ringback or not, enable means playing,
enable|disable disable means not playing.
overlap-sending Enable/disable overlap sending
enable|disable
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.

Maipu Confidential & Proprietary Information Page 92 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 92/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 0-29
gateway (config-e1-port)#channel 0 14 in Configure channel 0—14 as relay in
gateway (config-e1-port)#channel 15 29 out Configure channel 15—29 as relay out
gateway(config-e1-port)#receive-callingnumber Receive calling number
enable
gateway (config-e1-port)#receive-callingnumber Don’t receive calling number
disable
gateway(config-e1-port)#send-callingnumber Send calling number
enable
gateway(config-e1-port)#send-callingnumber Don’t send calling number
disable
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 doesn’t 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:

Maipu Confidential & Proprietary Information Page 93 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 93/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

First gateway gateway (config-e1-port)#bind r2


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

Conf i gur e pr i Com m ands


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.

Maipu Confidential & Proprietary Information Page 94 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 94/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Configure Number Transfer


1. Configure command
gateway (config)#callroute
gateway (config-callroute)# num-trans-rule index

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

gateway (config-call-trans)#trans num1 num2


Command Description
trans <STRING1> Configure number transfer content.
<STRING2> 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> Delete the content configuration after transfer.
<STRING2>
exit

Maipu Confidential & Proprietary Information Page 95 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 95/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

2.Configuration example:
Command Description
num-trans-rule 1 Configure number transfer rule 1.
trans 028^ ^ Content: delete 028 of the nubmers
trans 1234^ 1^ 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 doesn’t 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 pref 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 arget 128. 255. 16. 248 ( t he gateway
address 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 ers
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 <0 -8>):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.

Maipu Confidential & Proprietary Information Page 96 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 96/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 dial -peer 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 2;dial-peer 4 voe1,
destination-pattern 123, preference 4;so 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.

V O I P Di al - 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)#? 

Maipu Confidential & Proprietary Information Page 97 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 97/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Command Description
codec Configure H323 voice coding type as g711a,
g711a/g711u/g723/g729/g729a/g729wb 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 <1-20> 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

Maipu Confidential & Proprietary Information Page 98 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 98/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Configuration example

gateway (config-callroute)#
Command Description

dial-peer 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.

P O T S Di al - 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 Configure H323 voice coding type as g711a, g711u,
g711a/g711u/g723/g729/g729a/g g723, g729, g729a and g729wb. When calling from
729wb ip, the configuration is effective.
Exit Exit current configuration mode

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

Maipu Confidential & Proprietary Information Page 99 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 99/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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- Configure POTS port routing rule
pattern <STRING> increase <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- Delete configured POTS designated number
pattern
channel <0-31> <0-31> num-trans- Configure POTS port number transmitting rule
index <1-100> called|calling <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 Batch configure POTS port priority
<1-20> <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 Batch configure POTS port voice coding type
g711a/g711u/g723/g729/g729a/g729wb 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 Batch configure POTS port priority
<1-20> <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- Cancel number transmission
index <1-100> calling| called
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 Configure local number as 1111, 1112, …1118,
1111 increase separately to 3/1, 3/2….3/8

Maipu Confidential & Proprietary Information Page 100 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 100/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

V O E 1 Di al - 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

Maipu Confidential & Proprietary Information Page 101 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 101/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 102 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 102/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 <1-20> 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

Maipu Confidential & Proprietary Information Page 103 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 103/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

2.Configuration example:
gateway (config-callroute )#

Command Description

dial-peer 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.

Maipu Confidential & Proprietary Information Page 104 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 104/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

G l obal ds p V ol um e Conf i gur at i on

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 Configure priority coding from routing
{g711a/g711u/g723/g729/g729a/g729wb } 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

Maipu Confidential & Proprietary Information Page 105 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 105/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

When “h323-gateway voip id”becomes“-”, 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 RAS protocol to get destination gateway IP
address

Maipu Confidential & Proprietary Information Page 106 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 106/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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  Gateway registers to SIP proxy server via
<string>   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- Gateway registers to SIP proxy server via
name<string>   domain name, and string is the domain name.
sip-gateway voip registrar expires <200-  SIP terminal registering over time, 3600
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 password


configure server needs id authentication,
of the number.

Maipu Confidential & Proprietary Information Page 107 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 107/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Configure SIP service of voip dial-peer


gateway (config-callroute)# dial-peer 1 voip
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

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> Configure SIP user name and password from port 0
password <string> 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.

Maipu Confidential & Proprietary Information Page 108 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 108/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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
T38 fax rate. The configured fax rate uses to
control the maximum rate of faxe only
2400|4800|7200|9600|12000|14400|no-  VGM6000 has no-limit.
limit| <CR>  
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> Enable t38 error check mode.
t38-fax fax-ecm enable <CR> 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> Disable t38 fax error check mode
t38-fax fax-ecm disable <CR> 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 doesn’t have this command.
t38-fax codemode-adjust enable<CR> Enable fax coding mode adjustment. The voip
coding changes to PCMA. When

Maipu Confidential & Proprietary Information Page 109 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 109/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

 VG600/VG800/VG2000 and VGM6000 adopt


G723 coding for fax, the command should be
enabled. VGM6000 doesn’t have this
command.
t38-fax codemode-adjust disable<CR> Disable fax coding mode adjustment.
 VGM6000 doesn’t have this command.

The transparent transmission mode is needed for encryption fax. That is


the gateways don’t 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 don’t 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 don’t 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.

Maipu Confidential & Proprietary Information Page 110 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 110/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Whenther enable called function, enable and
<enable|disable> 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 Whenther enable called function, enable and
<enable|disable> 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

Maipu Confidential & Proprietary Information Page 111 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 111/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Disable channel before configuration
0 0 disable
gateway (config-fxs-card)# channel Enable channel0 callid
0 0 callid enable
gateway (config-fxs-card)# channel Enable channel 0
0 0 enable
gateway(config)#voicesrv-conf Enter voicesrv-conf configuration mode
gateway(config-voice-service)#fsk- Configure fsk callid type
mode bell202-mode | v23-mode

(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- Disable channel before configuration
channel 0 0 disable
gateway (config-fxs-fxo-card)#fxs- Enable channel0 callid
channel 0 0 callid enable
gateway (config-fxs-fxo-card)#fxs- Enable channel 0
channel 0 0 enable

gateway(config)#voicesrv-conf Enter voicesrv-conf configuration mode


gateway(config-voice-service)#fsk- Configure fsk callid type
mode bell202-mode | v23-mode

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

Maipu Confidential & Proprietary Information Page 112 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 112/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Configure hot line number
0 0 hot-line number <string>
<CR>  
gateway (config-fxs-card)# channel Configure hot line wait time
0 0 hot-line wait-time 4
gateway (config-fxs-card)# channel Cancel configured hot line number
0 0 no hot-line number <CR>  

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.

Cal l F or war di ng Conf i gur at i on


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

Cal l F or war di ng Us age


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.

Maipu Confidential & Proprietary Information Page 113 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 113/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Cal l F or war di ng T one & Def i ni t i on

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.

Maipu Confidential & Proprietary Information Page 114 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 114/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Cal l T r ans f er Conf i gur at i on


enabl e/ di sabl e servi 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.

Maipu Confidential & Proprietary Information Page 115 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 115/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Cal l T r ans f er Us age

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 default”can 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 hasn’t registered call waiting, so
when user C is trying to call user B, user B will get a indication of call
waiting.

Maipu Confidential & Proprietary Information Page 116 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 116/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Cal l W ai t i ng Conf i gur at i on

The configuration is in voicesrv-conf mode:

Command Description
gateway (config-voice-service)#call-wait Register call waiting and enable the service.
enable
gateway (config-voice-service)# call-wait Log out call waiting and disable the service.
disable
gateway (config-voice-service)# call-wait Configure call waiting umber, <phonenum> is
number <phonenum> a number of E.164
gateway(config-voice-service)#no call- Log out a call waiting number, and
wait number <phonenum> <phonenum> is a number of E.164
gateway (config-voice-service)#no call- Log out all call waiting numbers
wait number all
gateway(config-voice-service)# call- Enable call-thrust function
thrust enable
Gateway(config-voice-service)#call-thrust Disable call-thrust fuction (by default)
disable
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
<1-5> call-thrust priority-table Examine call-thrust priority table

gateway#show call-thrust phnum-table Examine call-thrust phone number table


gateway# show call-thrust phnum Examine call thrust phone number priority
<number>

Configuration example
gateway (config-voice-service)#

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

Maipu Confidential & Proprietary Information Page 117 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 117/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 doesn’t have call waiting function, user C hangs up the calling
from user B and communicates with userA.

Cal l W ai t i ng T one

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.

I V R I nt er ac t i v e V oi c e Res pons e S y s t em
IVR (Interactive Voice Response)realizes second dialing function.

Maipu Confidential & Proprietary Information Page 118 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 118/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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


60 seconds. recordistime.
Default the range is from 5 to
60 seconds.
ivr authentication enable/disable Enable/disable IVR authentication. Default is
disable.
ivr playfile welcome/busy/notexist Configure IVR file playing times, and the default is
 /fail /timeout /secdial [0-3] 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 number can not be connected, please dial other extension

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

Maipu Confidential & Proprietary Information Page 119 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 119/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

If the connection is successful, it plays voice file ringback; 

If the user doesn’t 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
you’re 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 doesn’t support record
function IVR call doesn’t permit record IVR record doesn’t 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 user’s 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:

610

VOS VOP
710
PSTN
VG6000
PBX
711

Maipu Confidential & Proprietary Information Page 120 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 120/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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>   The first string is original port mode, and the value
<STRING>   is VOIP, E1, FXS, FXO; the second string is
authentication/forbidden destination port mode, and the value is VOIP, E1,
FXS, FXO; VOIP 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>   The first string is original port mode, and the value
<STRING>  <CR/0/1> is VOIP, E1, FXS, FXO; the second string is
destination port mode, and the value is VOIP, E1,
FXS, FXO;only 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 The first string is original port mode, and the value
<STRING>  <STRING>   is VOIP, E1, FXS, FXO; the second string is
authentication/forbidden 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

Maipu Confidential & Proprietary Information Page 121 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 121/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

no netsmart-client account The first string is original port mode, and the value
<STRING>  <STRING>  <CR/0/1> 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  AAA accounting connection, and sending accounting
connection h323 start-stop radius message both at the beginning and end of the
communication.
gateway(config)#aaa  AAA authentication login
authentication login h323 radius
gateway(config)# radius-server Radius server IP address
host 128.255.0.123
gateway(config)# radius-server key Radius server shared encryption key 111
111
gateway(config)# radius-server Retransmit 3 times without response of Radius
retransmit 3 server.
gateway(config)# radius-server Configure radius waiting time: 3 seconds.
timeout 3
gateway (config)#voice-service Enter voice-service mode
gateway(config-voice-service)# Enable accounting task
netsmart-client enable
gateway(config-voice-service)# Configure the authentication from e1, and out of IP
netsmart-client authen e1 voip network.
authentication
gateway(config-voice-service)# Configure the accounting from e1, and out of IP
netsmart-client account e1 voip network.

Maipu Confidential & Proprietary Information Page 122 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 122/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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> The called number list configuration
<white/black/increase> STRING: need to configured number
White: white list
Black: black list
Increase: the same property: black or white
calling-number-list <STRING> The called number list configuration
<white/black/increase> STRING: need to configured number
White: white list
Black: black list
Increase: the same property: black or white
no calling-number-list/called- Delete black white configuration content
number-list <STRING>
<white/black/increase>
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.

Maipu Confidential & Proprietary Information Page 123 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 123/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 number’s
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 to di al any number
2000: onl y permi t di al i ng domest i c l ong- di st ance and ci t y numbers
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 ( c onf i g- voi c e- s er vi c e) # bl ac k- whi t e- l i s t

gat eway ( c onf i g- bl ac k- whi t e- l i s t) # bl ac k- whi t e- l i s t 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 ( c onf i g- bl ac k- whi t e- l i s t) # bl ac k- whi t e- l i s t 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 ( c onf i g- bl ac k- whi t e- l i s t- i ndex) # c al l i ng- number - l i s t xx. bl ac k
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  

Maipu Confidential & Proprietary Information Page 124 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 124/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 ( c onf i g- voi c e- s er vi c e) # bl ac k- whi t e- l i s t

gat eway ( c onf i g- bl ac k- whi t e- l i s t) # bl ac k- whi t e- l i s t 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 ( c onf i g- bl ac k- whi t e- l i s t) # bl ac k- whi t e- l i s t 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
exi ew
t ay ( 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 ( c onf i g- bl ac k- whi t e- l i s t) # bl ac k- whi t e- l i s t 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 --IPVG gatewayPRI, 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

Maipu Confidential & Proprietary Information Page 125 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 125/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Configure callee-group, at most 50.
<1_50>
gateway (config-voice-service)#no callee- Log out one callee-group, including all
group <1_50> configurations in group.
gateway (config-callee-group)#number Configure number of callee-group.
<phonenum>
gateway (config-callee-group)#port Configure callee-group port
<STRING> | number < phonenum > 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 Log out a configured callee-group
<phonenum> numbers
gateway (config-callee-group)#no port Log out a configured callee-gorup port

<STRING> 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 Configure callee-group 1
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 Configure FXO dialing out number
number 85148000 85148000
gateway #(config-callee-group)no shutdown Enable this group

Maipu Confidential & Proprietary Information Page 126 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 126/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 there’s no need to call A. If adopting # to finish the
dialing, the following configuration is needed:

gateway (config)#dialplan terminator #

AB don’t belong to one call-pickup group. B picks up the telephone, dials

“ *71*
the number
dialing, #”  or “
the following *71* nuber”
configuration is  needed:
overtime. If adopting # to finish

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

Configuration example
Configure port 1/2/15 of slot 0 in one call-pickup group.
Command Description
gateway (config-voice-service)# call- Configure call-pickup group 1
pickup 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

Maipu Confidential & Proprietary Information Page 127 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 127/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

S er v i c e Conf i gur at i on f or T el ephone Us er


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.

S er v i c e Conf i gur at i on
Telephone number tracing service
Pone number Description
tracing service no.
#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 Description
business no.

*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

Maipu Confidential & Proprietary Information Page 128 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 128/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

P r om pt i ng T one
The prompting tone is stored in the directory of flash\appUc\, and the
files and definitions are as following:

0 Chi nese pr onunci ati on of 0.


1 Chi nese pr onunci ati on of 1
2 Chi nese pr onunci ati on of 2
3 Chi nese pr onunci ati on of 3
4 Chi nese pr onunci ati on of 4
5 Chi nese pr onunci ati on of 5
6 Chi nese pr onunci ati on of 6
7 Chi nese pr onunci ati on of 7
8 Chi nese pr onunci ati on of 8
9 Chi nese pr onunci ati on of 9
Xi ng Chi nese pr onunci ati 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 there’s no need for strored, please
back up.

Maipu Confidential & Proprietary Information Page 129 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 129/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

IP-FXS Remote Ringing

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

GW1 GW2

FXS FXS

A B
 

Suppose A is calling party and B is called party. GW1 (gateway of A)


doesn’t 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.

S er v i c e Conf i gur at i on

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.

Maipu Confidential & Proprietary Information Page 130 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 130/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

 Affixation
S er v i c e Us e O r der
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 there’s 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.

S er v i c e Conf l i c t
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).

Maipu Confidential & Proprietary Information Page 131 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 131/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 forwardedif via


AB conversation the local gateway
calling numberE1, FXO and
is from FXS,
IP and theand will behsback
gateway to
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 doesn’t
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 doesn’t support forwarding party, and both calling and called
party listen busy tone.

Maipu Confidential & Proprietary Information Page 132 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 132/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 doesn’t 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 doesn’t support call


waiting function.

If it doesn’t 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 doesn’t 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 doesn’t support call


waiting although it has this function.

If 1234 is second dialed access number, it doesn’t support second dialing.

If some user has both call waiting and busy transfer, it only supports busy
transfer.

Maipu Confidential & Proprietary Information Page 133 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 133/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

No answer transfer

Configure 1234 as no answer transfer number.

If 1234 is local number and in conversation, it doesn’t support call waiting


function. If 1234 is second dialed access number, it doesn’t 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- Configure DTMF sending mode, using h245string
keypad mode by default.
h323 send-dtmf h245-string no- Configure whether judge the capability.
termCapSet-support

H323 send-dtmf rtp-nte <cr>/ Configure DTMF sending mode as RTP. dynamic-
dynamic-payload-type <97-127> 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 Configure authentication mode.
h235AuthCAT/ They are: h235AuthCAT, h235AuthProcedure1,
h235AuthProcedure1/ h235AuthSimpleMD5 and maipuAuth.
h235AuthSimpleMD5/ Enter directly is maipuAuth by default.
maipuAuth/<CR>
H323 brq enable/disable Configure whether sending BRQ, disable by
default.
h323- convert-inband H323 needs to send alerting message to calling
enable/disable 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.

Maipu Confidential & Proprietary Information Page 134 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 134/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Jitter 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

Maipu Confidential & Proprietary Information Page 135 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 135/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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)# Configure numbers of E1 payload, and the range is
payload<1-2> 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 Configure the numbers of payload, and the range
<0-15> < 0-15> payload <1-5> is from 1 to 5, 1 is by default.

gateway(config-voice-service)#e1 Configure payload parameters in the environment


payload <1-5> of E1IP, and 1 by default. (only VG2000 has
this configuration command)

Payload debugging is useless for G711a and G711u coding.

Maipu Confidential & Proprietary Information Page 136 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 136/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 The first <0-31> is starting channel number
<0- The second <0-31> is ending channel number
31> <0-31> scf on|off Off: disable silent voice compression function
nosid|sid|pt13 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- The parameters configuration of 16O16S FXS
channel <0-15> <0-15> scf on|off channel is same as
nosid|sid|pt13 above.
gateway(config-fxs-fxo-card)#fxo- The parameters configuration of 16O16S FXO
channel <0-15> <0-15> scf on|off channel is same as above.
nosid|sid|pt13

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 The first <0-31> is starting channel number
<0-15> <0-15> scf on|off The second <0-31> is ending channel number
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.

Maipu Confidential & Proprietary Information Page 137 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 137/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 Off: disable silent voice compression function
scf on|off nosid|sid|pt13 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 The first <0-31> is starting channel number
<0-31> <0-31> echo-length The second <0-31> is ending channel number
0|32|64|128 It supports 0, 32, 64, 128, and the unit is ms

The default value is 32ms


The command is with hardware configuration
Some DSP don’t 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 It supports 0, 32, 64, 128, and the unit is ms
echo-length 0|32|64|128 The default value is 32ms

Maipu Confidential & Proprietary Information Page 138 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 138/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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- Configure global echo counteracting length, and
service)#echo-length 25 | 40 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 doesn’t 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 doesn’t 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
doesn’t support DSP convergence function
gateway (config)# dsp reserve e1 Configure E1 reserved DSP number
<num>
gateway #show dsp reserve Examine current configuration and dsp

Maipu Confidential & Proprietary Information Page 139 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 139/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 MyPower VG M6000 controls callid signal
v23-mode/bell202-mode 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 Configure input gain value of receiving r2
volume in <-14-6> 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 Configure input gain value of receiving r2
volume out <-14-6> 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 Permit or cancel fax coding mode adjusted
codemode-adjust disable|enable 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- Configure voice gateway data priority
preference Critical: preference sending mode( by
Critical/ Normal default)
Normal: normal sending mode
gateway(config-voice-service)#local- Configure CID without displaying local
section-number <string> section number
<string> local section number, the gateway
removes the prefix
beginning with this number, and then sends
it to FXS.

Maipu Confidential & Proprietary Information Page 140 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 140/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

gateway (config-voice-service)#fxo-detect- Disable FXO external line check function


timer disable 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
interval, and externalby
10minute linedefault.
check time
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- Configure FXO dialout flash time
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- Configure gateway sending IRQ time
thrust-ttl <1-200> interval, 10 minutes by default.
gateway(config-voice-service)#connection- Configure FXS ringing delay time, 0 by
plar fxs-ring-delay [0-20] default. Suitable for MyPower VG M6000
gateway(config-voice-service)#udp- Enable/disable UDP checksum, disable by
checksum enable/disable default.
gateway(config-voice-service)#sourceip- Enable/disable source IP address check,
check enable/disable enable by default.
gateway(config-voice-service)#h323- Enable/disable converting PRI Alerting
convert-inband enable/disable 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
same tolinkcancel STP, andgroup
aggregation its opposite portsbalance
and load need toarithmetic
be configured as the
should be
configured SrcMAC&DstMAC, be consistent with MyPower VG M6000.

Maipu Confidential & Proprietary Information Page 141 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 141/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Enable/ disable Trunk:


Command Description
gateway# configure terminal Enter global configuration mode

gateway(config)#trunk Enable/dsable trunk function (disable by default)


enable/disable

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 E1 0 connects E1 1 directly
01

Disconnect E1
Command Description
gateway # configure terminal Enter global condiguration mode
gateway (config)# card cardNum Enter core card congfiguration mode
gateway (config-e1mode)# E1 0 disconnects E1 1
disconnect 0 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 Display E1 protection status
pretection status

Make sure the switching protection is enabled for the E1 protection


configuration on MyPower VG M6000

Maipu Confidential & Proprietary Information Page 142 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 142/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

No Slip stitch Description Connection


position by
Default
1 S1-S8 Connect 1-2, the hardware enables E1 1-2
switch without power
Connect, the hardware disables E1
switch without
power
2 SW10-SW19 Connect 1-2, E1 impedance is 75Ω  1-2
Connect 2-3, E1 impedance is 120Ω.

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 doesn’t support swith function without power

Other Configuration
This part explains some special configuration for special occasion or
debugging.

Maipu Confidential & Proprietary Information Page 143 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 143/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Disable Broadcast & Multicast Function


The command is only effective for MyPower VG M6000.
Command Description
gateway(config)#broadcast-discard Enable or disable broadcast packet, disable by
disable/enable default.
gateway(config)#multicast-discard Enable or disable multicast packet, disable by
disable/enable default.
gateway(config)#convert-bcf-cpu Enable or disable change broadcast mac address
disable/enable to cpu mac address, and enable by default.
gateway(config)#convert-mcf-cpu Enable or disable change multicast mac address
disable/enable 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 Configure speed rate


10/100
gateway(config)#switch f0/f1 duplex Configure full/half duplex
full/half

gateway(config)#switch f0/f1 auto Enable and disable auto negotiation


enable/disable

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.

Maipu Confidential & Proprietary Information Page 144 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 144/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Command Description
gateway(config)# voicesrv-conf Enter voice service configuration
gateway(config-voice-service)#rtp- Enable RTP function by adopting parameters by
monitor <CR> 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- Configure receiving RTP packet time interval, 80
monitor receive <30-300> <CR> seconds by default.
gateway(config-voice-service)#rtp- Configure sending RTP packet time interval, 80
monitor transmit <30-300> <CR> seconds by default.
gateway(config-voice-service)#no Cancel RTP flow check function
rtp-monitor <CR>

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- Configure enable UDP check sum function
checksum enable | disable 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- Configure enable source address check function
service)#sourceip-check enable | configure disable source address check function.
disable enable by default.

Maipu Confidential & Proprietary Information Page 145 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 145/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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- Configure enable trunk function configure disable
callroute)#trunkmode enable | trunk function. Disable by default.
disable

PRI Process Switch


This function is used in the environment of IP -VG-PRI, the gateway sets
up IP side connection when receiving PRIQ931Alerting or Progress
message, to enhance the equipment compatibility for some equipment
which don’t 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- Configure enable process converting function
service)#h323-convert-inband configure d=isable process converting function.
enable | disable disable by default.

Enabling this function will cause the ahead accounting of the calling from
IP to PRI.

Maipu Confidential & Proprietary Information Page 146 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 146/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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- Configure reducing cost mode 1(by default), it
service)#code-mode mode1 supports G729, G729a, G729wb , G711u and
G711a.
Save the configuration and restart the equipment.
gateway(config-voice- Configure reducing cost mode 2, it supports G723,
service)#code-mode mode2 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 doesn’t 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.

Maipu Confidential & Proprietary Information Page 147 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 147/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

PPPOE Application Example

PPPOE

10/100M Internet

VG2000
ADSLModem DSLAM
VOP

P P P O E Conf i gur at i on E x am pl e
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 Configure NAT mode, and the details
interface dialer0 overload refer to NAT configuration
gateway (config)#interface fastethernet0
gateway (config-if-fastethernet0)#ip add Configure inner gateway address on
192.168.1.1 255.255.0.0 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- User name and password provided
username user@169 password user 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.

Maipu Confidential & Proprietary Information Page 148 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 148/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

Please configure pap or chap authentication mode according to the


requirement of telecommunication office when configure PPPOE
authentication.

P C Conf i gur at i on
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.

ASL:Analog Subscriber Line, such as FXS and FXO.

The gateway call mode is as following:

Maipu Confidential & Proprietary Information Page 149 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 149/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 doesn’t have AE.

Maipu Confidential & Proprietary Information Page 150 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 150/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

 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 descri 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 atus = I DLE, evt = [ Recv I AM]

[[ connI
connI d-
d- 23]
23] ,, act
actii on
on =
= St
I AM
ar tt ot iprmer
ovi der
[ 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 atus i s ALERTI NG.

Maipu Confidential & Proprietary Information Page 151 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 151/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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] ,
s gI d[ 17] , [ - WAI T- ]
ACC has recei ved LAM message f r om H323, 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 that 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 progr am or 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
[ ACC]exampl e ofvTsk:
: accAct debug acc
sr c- t apa.
180, event – 6
ACC has r ecei ved t he message sendi ng f r om 180, 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.

Maipu Confidential & Proprietary Information Page 152 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 152/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 c an be used.
St at us : c ur r ent por t s t a t us i s f r ee or not .

Maipu Confidential & Proprietary Information Page 153 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 153/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Maipu Confidential & Proprietary Information Page 154 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 154/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.
4.Display 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


*******************************************************
ac t i ve c al l ( s ) : 0, ac t i ve c onnec t i on( s ) : 0
suppor t cal l ( s) : 400, suppor t connect i on( s) : 800
suppor t asl ( s) : 100
s t ar t t ot
FXS: c alall ( c
s )al: l 28,
r eques t : s 19,
uc ces s cc al
al ll i( ng:
s ) : 10,
20 c al l ed: 9
t ot al s uc ces s c al l : 7, c al l i ng: 2, c al l ed: 5
FXO: t ot al c al l r e ques t : 0, c al l i ng: 0, c al l ed: 0
t ot al s uc ces s c al l : 0, c al l i ng: 0, c al 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 eques t : 0, t ot al suc ces s c al 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 ansacti on: 0 wi t hout r esponse
pr ovi der : 4
name: FXO/ FXS, i d: 2, t ype: POTS

Maipu Confidential & Proprietary Information Page 155 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 155/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 connecti 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

Maipu Confidential & Proprietary Information Page 156 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 156/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Maipu Confidential & Proprietary Information Page 157 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 157/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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
fd : 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 ( s er vi c e i d)
app Pr o r i t y : 8 ( s er v i c e 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 servi ce r egi st ers 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 system event : ( ser vi ce r egi st er ed system event )
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)
----------------
num i s 4014 numRel ay i s at t r i s APPCW[ 8]
( r egi st er ed number i s 4014, proper t y i s APPCW,
whi ch i s cal l wai t i ng) - - - - - - - - - - - - - - - -

Maipu Confidential & Proprietary Information Page 158 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 158/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 om net wor k:
SETUP/ ALERTI NG/ CONNECT/ CALLPROC/ PROGRESS/ I NFO/ FACI L/
MEDMSGI N ( al l medi a mess age)
RELI ND of f - l i ne message, r el ease message.
REL CFM of f - l i ne c er t i f i c at e, r el eas e mes s age i s f r om ac c, pr ot oc ol i s
conf i r m.
Debuggi ng exampl e:
1.Enabl 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
al er t iTOng)ACC: msg = ACC_ MSG_ ACM, absI d = 5, sgI d = 4. ( net meet i ng sends
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 om ACC: Rx Rel Cf m absI d = 5, sgi d = 4. ( acc sends of f - l i ne
c er t i f i c at e t o h323. )

2.Enabl 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.

Maipu Confidential & Proprietary Information Page 159 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 159/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

( 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 om H323: [ 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 om H323: [ CONNECT] change: [ ST_CALL_ RI NGBACK] ==>[ ST_CALL_ CONN] . absI d
= 7, suConnI d = 5. ( net meet i ng sends connect )
Fr om H323: [ MEDMSGI N] change: [ ST_CALL_ CONN] ==>[ ST_CALL_ CONN] . absI d =
7, suConnI d = 5. ( net meet i ng sends h245 mess age)
Fr om H323: [ MEDMSGI N] change: [ ST_CALL_ CONN] ==>[ ST_CALL_ CONN] . absI d =
7, suConnI d = 5.
Fr om H323: [ MEDMSGI N] change: [ ST_CALL_ CONN] ==>[ ST_CALL_ CONN] . absI d =
7, suConnI d = 5.
Fr om H323: [ MEDMSGI N] change: [ ST_CALL_ CONN] ==>[ ST_CALL_ CONN] . absI d =
7, suConnI d = 5.
Fr om H323: [ MEDMSGI N] change: [ ST_CALL_ CONN] ==>[ ST_CALL_ CONN] . absI d =
7, suConnI d = 5.
Fr om H323: [ RELI ND] change: [ ST_CALL_ CONN] ==>[ ST_ CALL_ START] . absI d = 7,
suConnI d = 5. ( net meet i ng 发出 r el ease)

3.debug h245 e
Capabi l i t y gr oup type 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
H245: peer cap
cap tt ype=
ype= 0,
0, val
val =
=00
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 recei ved
H245: negoti ati on code = 8 ( t he l ast negoti ated codi ng i s g723)

Maipu Confidential & Proprietary Information Page 160 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 160/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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
Ac t i ve c al 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


Ac t i ve c al 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

Maipu Confidential & Proprietary Information Page 161 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 161/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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
Ac t i ve c al 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, 3, Cal l edNum
I ndex= =8725
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

Maipu Confidential & Proprietary Information Page 162 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 162/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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


Dr i v e Debug Com m and

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 ti mesl ot
Dsp: [ 50010002] cmd r eq[ DRV_ MSP_OPENSUC] / / dsp channel open
ser vcar d: [ 20030304] c md 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:vcar
ser [ 50010002] cmd
d: [ 3/ 4] cmd rr eq[
eq[ DRV_
MSP_DRV_TONE_DI AL]/ // channel
MSP_LPUTDOWN] / sendi ng3/di4alhangs
t oneup
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 c hannel
Dsp: [ 50010002] cmd r eq[ DRV_ MSP_CLOSESUC] / / dsp channel di sabl ed

Maipu Confidential & Proprietary Information Page 163 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 163/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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.

Dr i v e S how Com m and


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

Maipu Confidential & Proprietary Information Page 164 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 164/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 atus, 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/ / sum r 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 err or l i st number packet
number
r ecei ve packet bad i p pr otocol : 0/ / r ecei ved err or i p pr otocol 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 sc ar dNum=0, J buf Los
2000R03- 481#t Num=0, Rcvr at e=100%, J buf Nul l Num=0.

Maipu Confidential & Proprietary Information Page 165 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 165/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 erf 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: : Dss 1_L3: TxL2 Set up: car dNum = 0, e1Num = 0, cr = 0x2390,
c r f l g = 0.
00: 48: 31: : Dss 1_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

Maipu Confidential & Proprietary Information Page 166 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 166/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

00: 48: 31: : Dss1_L3: L3 t i mer st art : 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: cardNum = 0, e1Num = 0, cr
= 0x2390, cr f l g = 0.
00: 48: 31: : Dss 1_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 ti 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 art : 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: : Dss 1_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 ti 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 art : sgCal l I d = 0x80000000, absCal l I d
= 0x0000004e, t i mer = T301, Val ue = 180.
00: 48: 32: : Dss 1_L3: RxL2 Connect : car dNum = 0, e1Num = 0, cr =
0x2390, cr f l g = 0.
00: 48: 32: : Dss 1_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 s t op: sgCal l I d = 0x80000000, absCal l I d = 
0x0000004e, t i mer = T301.
00: 48: 32: : Dss 1_L3: TxL2 Connect Acknowl edge: car dNum = 0, e1Num = 0,
cr = 0x2390, cr f l g = 0.
00: 48: 32: : Dss 1_L3_L2_Fr ame: 08 02 23 90 0f

gat eway #
14.debug 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.

Maipu Confidential & Proprietary Information Page 167 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 167/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

PRI Module Information Display Command

s how pr i s t at us
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 atus:
F7 ( Acti ve)
Layer 2 St atus:
 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 atus:
0 Acti 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 atus:
F7 ( Acti ve)
Layer 2 St atus:
 TEI = e:0 25927/
I - Fr am Ces =19420
01 SAPI RR:
= 0019430/
St at 25932
us = ST_ MRNR:
ULTI FR0/ 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 atus:
0 Acti 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

s how pr i x 1 x 2
Examine card x1, E1 x2 all calling information
gat ew
gat eway
ay #
#show pr i 0 0
gat eway #
***************************************************************

RE1 [ 0] [ 0] : Bi nd Prot ocol I SDN Pri ( DSS1) Li nk St ate: SYC


B Channel I D: 0 cr f : 0 cr v: 0x00001aef Cal l St ate: 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 ate: 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 ate: N7


sgCal l I d = 0x80000002 absCal l I d = 0x000000ba

Maipu Confidential & Proprietary Information Page 168 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 168/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 ate: 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 ate: 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 ate: 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 ate: 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 ate: 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 ate: 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 ate: 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 ate: 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 ate: 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 ate: N10


sgCal l I d = 0x80000012 absCal l I d = 0x000000bd
Cal l i ng Num: 88888888 Cal l ed Num: 9017

B Channel
sgCal l I dI D: 19 cr f : 0
= 0x80000013 cr v: 0x00001af
absCal f Cal l St ate: N9
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 ate: 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 ate: 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

Maipu Confidential & Proprietary Information Page 169 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 169/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

B Channel I D: 24 cr f : 0 cr v: 0x00001af c Cal l St ate: 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 ate: 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.

***************************************************************

s how pr i x 1 x 2 s t at us

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 atus:
F7 ( Acti ve)
Layer 2 St atus:
 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 atus:
0 Acti 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).

Maipu Confidential & Proprietary Information Page 170 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 170/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 stCal
RX enl ri ng
i ngback:
Num: di sabl e
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
c h 0: --
ch 1: R2st ate: I DLE r egMSP: 1 di r : out
ch 2: R2st ate: I DLE r egMSP: 1 di r : out
ch 3: R2st ate: I DLE r egMSP: 1 di r : out
ch 4: R2st ate: I DLE r egMSP: 1 di r : out
ch 5: R2st ate: I DLE r egMSP: 1 di r : out
ch 6: R2st ate: I DLE r egMSP: 1 di r : out
ch 7: R2st ate: I DLE r egMSP: 1 di r : out
ch 8: R2st ate: I DLE r egMSP: 1 di r : out
ch 9: R2st ate: I DLE r egMSP: 1 di r : out
ch 10: R2st ate: I DLE r egMSP: 1 di r : out
ch 11: R2st ate: I DLE r egMSP: 1 di r : out
ch 12: R2st ate: I DLE r egMSP: 1 di r : out
ch 13: R2st ate: I DLE r egMSP: 1 di r : out
ch 14: R2st ate: I DLE r egMSP: 1 di r : out
ch 15: R2st ate: I DLE r egMSP: 1 di r : out
c h 16: --
ch 17: R2st at e: I DLE regMSP: 1 di r: i n
ch 18: R2st at e: I DLE regMSP: 1 di r: i n
ch 19: R2st at e: I DLE regMSP: 1 di r: i n
ch 20: R2st at e: I DLE regMSP: 1 di r: i n
ch 21: R2st at e: I DLE regMSP: 1 di r: i n
ch 22: R2st at e: I DLE regMSP: 1 di r: i n
ch 23: R2st at e: I DLE regMSP: 1 di r: i n
ch 24: R2st at e: I DLE regMSP: 1 di r: i n
ch 25: R2st at e: I DLE regMSP: 1 di r: i n
ch 26: R2st at e: I DLE regMSP: 1 di r: i n
ch 27: R2st at e: I DLE regMSP: 1 di r: i n
ch 28: R2st at e: I DLE regMSP: 1 di r: i n
ch 29: R2st at e: I DLE regMSP: 1 di r: i n
ch 30: R2st at e: I DLE regMSP: 1 di r: i n
ch 31: R2st at e: I DLE regMSP: 1 di r: i n

Maipu Confidential & Proprietary Information Page 171 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 171/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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

Maipu Confidential & Proprietary Information Page 172 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 172/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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 acti ve si p cal l : 1, connected: 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 ate a cal l : si d = 0x00000002, ai d = 6, port = 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 om ACC, 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 mess age, sendi ng ACM mess age 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

Maipu Confidential & Proprietary Information Page 173 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 173/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com

MyPower VG IP Configuration Manual

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
si p: 2002@ <- 255.
128. ( 2 16.
3) BYE
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 mess age */

Cal l ed par t y:
SI P_CALL_NEW<- ( 2 0) [ Tryi 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 om 2002 on 128. 255. 16. 38 t o
3000 on 128. 255. 16. 39, SI P sends back 100 Tr yi ng mess age 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 mess age f r om
ACC. */

SI answer
P<==ACC:a ANM
cal l, : sisidd==0x80000002,
0x80000002, aiaidd==55, 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 mess age 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 mess age f r om ACC, and sends mess age back t o ACCRLC,
sends BYE message t o opposi t e end. */

5. 22

Maipu Confidential & Proprietary Information Page 174 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 174/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com
 MyPower VG IP Configuration Manual

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] filename"to


upgrade. If it is VG2000/VG800/VGA600, use "Monitor:> e[flash] all"to
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.

Maipu Confidential & Proprietary Information Page 175 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 175/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com
 MyPower VG IP Configuration Manual

When the file transmission is finished, it will auto write to flash for
upgrade, when program updates success, use "Monitor:> run"for 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 doesn’t
support it. We suggest you adopt FTP method for remote upgrade or when
the line quality is not very good.

System Configuration File


Upgrade

Maipu Confidential & Proprietary Information Page 176 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 176/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com
 MyPower VG IP Configuration Manual

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

f s m . dat F i l e Upgr ade


 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!

 A pp l i c a t i on v oi c e c F i l e U pg r a de
Enable tftp server on PC, and ensure the voice file for upgrade in the
directory

 In privileged  mode, input filesystem to enter file mode

Maipu Confidential & Proprietary Information Page 177 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 177/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com
 MyPower VG IP Configuration Manual

 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.

Maipu Confidential & Proprietary Information Page 178 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 178/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com
 MyPower VG IP Configuration Manual

F P G A F i l e Upgr ade

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: 

Maipu Confidential & Proprietary Information Page 179 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 179/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com
 MyPower VG IP Configuration Manual

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)

Maipu Confidential & Proprietary Information Page 180 of 181

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 180/181
5/22/2018 MyPower VGIPConfigManual-slidepdf.com
 MyPower VG IP Configuration Manual

VPM-LC-FXOS-MONITOR-V2-1.C51 (SCM program)


Thereinto: 2.0.1 is the version number of FLASH application program.
V2-1 is SCM monitor program version number, means M1.2. The early 
monitor program didn’t have version number information, and all means
M1.1 and hereinafter version. 

http://slidepdf.com/reader/full/mypower-vg-ip-config-manual 181/181

You might also like