Anda di halaman 1dari 194

 

U-SYS IAD101S/101H/102H/104H
Integrated Access Device
User Manual
Copyright © 2005 Huawei Technologies Co., Ltd.

All Rights Reserved

No part of this manual may be reproduced or transmitted in any


form or by any means without prior written consent of Huawei
Technologies Co., Ltd.

Trademarks

, HUAWEI, U-SYS are trademarks of Huawei Technologies


Co., Ltd.

All other trademarks and trade names mentioned in this manual


are the property of their respective holders.

Notice

The information in this manual is subject to change without notice.


Every effort has been made in the preparation of this manual to ensure
accuracy of the contents, but all statements, information, and
recommendations in this manual do not constitute the warranty of any
kind, express or implied.
Installation Requirements

The IAD is used indoors only. Pay attention to the following when
installing and using the IAD.

Environment
Basic requirements

l Before installing and using the IAD, read this manual


carefully.
l In case of failure, this equipment must be returned to
HUAWEI Authorized Service Station for Servicing to ensure
compliance with safety requirements.
l Maximum ambient temperature around the equipment must
not exceed 40 ℃ ; For safety operation, the equipment
should be connected to telecommunication network only
with No. 26 AWG or lager telephone line.

Power supply

l The voltage of the power supply shall meet the requirement


of the input voltage of the power adapter.
l In the case of thundering, unplug the power adapter and all
cables.
l If the IAD is not in use for a long time, unplug the power
adapter.

Placement
l Place the IAD on a stable table.
l Leave over 10 cm distance around the IAD for heat
dissipation.
l Do not place heavy objects on the IAD.
Table of Contents

Chapter 1 System Overview .........................................................1-1


1.1 Product Introduction ...........................................................1-1
1.2 Services and Functions......................................................1-3
1.3 System Structure................................................................1-5
1.3.1 Front Panel ..............................................................1-5
1.3.2 Rear Panel...............................................................1-8

Chapter 2 Device Installation .......................................................2-1


2.1 Hardware Installation .........................................................2-1
2.2 Software Loading ...............................................................2-3
2.2.1 Setting up Configuration Environment for Loading .2-4
2.2.2 Configuring Servers for Transmitting Files ..............2-8
2.2.3 Loading Files by FTP/TFTP ..................................2-12

Chapter 3 Basic Configurations...................................................3-1


3.1 Login to the Configuration Mode........................................3-1
3.2 Basic Commands ...............................................................3-2
3.2.1 Command Structure ................................................3-2
3.2.2 Command Modes ....................................................3-3
3.2.3 Online Help of Command Lines ..............................3-4
3.3 Usually Used Commands ..................................................3-5
3.4 Configuring IP address of IAD .........................................3-11
3.5 Configuring System Time.................................................3-17
3.6 Configuring SNMP NMS ..................................................3-20

i
Chapter 4 MGCP Service Configuration......................................4-1
4.1 Planning Data.....................................................................4-1
4.2 Process of Data Configuration ...........................................4-3
4.2.1 Configuring IP address of the IAD...........................4-4
4.2.2 Configuring Domain Name of MG for Registration..4-5
4.2.3 Configuring MGC Information..................................4-8
4.2.4 Configuring MG Authentication Information ..........4-10
4.2.5 Configuring Signaling Port Number of MG............4-13
4.2.6 Configuring the Signaling Port Number of the MGC
Server .............................................................................4-13
4.2.7 Configuring DNS....................................................4-13
4.3 Configuration Examples ...................................................4-15
4.3.1 Before Configuration .............................................4-15
4.3.2 Configuring Voice Service .....................................4-17
4.3.3 Configuring Voice Added Value Service ...............4-21
4.3.4 Configuring Data Service ......................................4-21
4.3.5 Configuring One Set Two Number ........................4-24

Chapter 5 SIP Service Configuration...........................................5-1


5.1 Introduction to SIP..............................................................5-1
5.2 Configuration Steps of SIP Data ........................................5-3
5.2.1 Configure IP Addresses of Devices.........................5-5
5.2.2 Configure SIP Server ..............................................5-6
5.2.3 Configure SIP user ..................................................5-7
5.2.4 Configure SIP User Digitmap ..................................5-9
5.2.5 Configure SIP Signaling Port Number...................5-11
5.3 Configuration Examples of SIP Services .........................5-12
5.3.1 Configuration Preparation .....................................5-12
5.3.2 Configuration of Voice Service ..............................5-13
5.3.3 Configuring Data Service ......................................5-16
5.3.4 Configuring One Set Two Number ........................5-19

ii
Chapter 6 Maintenance .................................................................6-1
6.1 System Management .........................................................6-1
6.1.1 Saving Data .............................................................6-1
6.1.2 Resetting System ....................................................6-2
6.1.3 Restoring Settings ...................................................6-2
6.1.4 Showing CPU Utilization .........................................6-5
6.1.5 Showing System Date and Time .............................6-5
6.1.6 Showing Version Information ..................................6-6
6.1.7 Showing IP Addresses ............................................6-6
6.1.8 Showing MGC Configuration...................................6-7
6.1.9 Showing Startup Settings ........................................6-8
6.1.10 Showing Current Configuration .............................6-9
6.1.11 Showing Access User Data...................................6-9
6.2 Operation Log Management ............................................6-10
6.2.1 Configuring a Log Host..........................................6-11
6.2.2 Showing Operation Log Information......................6-13
6.3 Outputting Information about Terminals...........................6-14
6.3.1 Setting Information Output Switch.........................6-16
6.3.2 Setting Information Output Level...........................6-17
6.4 Alarm Management..........................................................6-19
6.4.1 Description of Common Alarm Attributes ..............6-19
6.4.2 Alarm Task Management ......................................6-21
6.4.3 Setting Alarm Output .............................................6-21
6.4.4 Showing Alarm Records ........................................6-22
6.4.5 Showing History Alarms ........................................6-25
6.4.6 Showing Alarm Configuration................................6-27
6.5 Setting RTCP Alarm Threshold........................................6-27
6.6 Loading and Backup Management ..................................6-30
6.6.1 Loading a File by FTP ...........................................6-31
6.6.2 Loading a File by TFTP .........................................6-34

iii
6.6.3 Backing up Files by FTP .......................................6-36
6.6.4 Backing up Files by TFTP .....................................6-37
6.7 Automatic Software Update Management .......................6-38
6.8 Network Test Tools ..........................................................6-40
6.8.1 Ping .......................................................................6-40
6.8.2 Tracert ...................................................................6-41

Chapter 7 Troubleshooting...........................................................7-1
7.1 Common Fault-locating Means ..........................................7-1
7.1.1 Showing Important System Information ..................7-1
7.1.2 Showing Alarms.......................................................7-5
7.1.3 Capturing Network Packets.....................................7-7
7.1.4 Tracing Signaling.....................................................7-8
7.2 Common Troubleshooting..................................................7-8

Chapter 8 Advanced Configuration .............................................8-1


8.1 Configuring MGCP .............................................................8-1
8.1.1 Configuring PHONE Attributes ................................8-1
8.1.2 Configuring MGCP Fax Mode .................................8-6
8.1.3 Configuring Software Parameters ...........................8-7
8.1.4 Configuring MGCP Parameters.............................8-10
8.2 Configuring SIP ................................................................8-13
8.2.1 Configuring Send and Receive Gains at PHONE
Physical Port...................................................................8-13
8.2.2 Configure SIP Fax Send-capability .......................8-14
8.2.3 Configure Types of Encoding/Decoding Protocols of
SIP Users Modem ..........................................................8-16
8.2.4 Configure the Voice Send-capability of SIP User..8-17
8.2.5 Configure RFC2833 ..............................................8-19
8.2.6 Configure SIP Software Parameters .....................8-21
8.3 Configuring Parameters of LAN Switch ...........................8-23

iv
Chapter 9 Default Values ..............................................................9-1

Chapter 10 System Configuration..............................................10-1

Chapter 11 Acroynms and Abbreviations .................................11-1

v
Chapter 1 System Overview

This chapter introduces functions and structure of the


IAD101S/101H/102H/104H. In this manual, the IAD represents the
IAD101S/101H/102H/104H.

1.1 Product Introduction


The IAD is an access media gateway (AMG), based on the
technologies of voice over IP (VoIP) and fax over IP (FoIP).

As an important part of the next generation network (NGN), it


provides the following:
l Efficient and excellent voice services on the worldwide IP
network
l Small-capacity VoIP/FoIP solutions for enterprises and
users in communities and companies
Figure 1-1 shows appearance of the IAD.

Huawei Technologies Proprietary

1-1
Figure 1-1 IAD appearance

Based on different upstream ports, the IAD series include four


models, as listed in Table 1-1.

Table 1-1 External ports of the IAD

Device Ports

IAD101S One WAN port, one LAN port, and one POTS port
One WAN port, one LAN port, one POTS port, and one
IAD101H
PSTN emergency port
One WAN port, one LAN port, two POTS ports, and
IAD102H
one PSTN emergency port
IAD104H One WAN port, one LAN port, and four POTS ports

The IAD is located at user access layer of the NGN.

Figure 1-2 shows the IAD location in the NGN.

Huawei Technologies Proprietary

1-2
AAA
3rd party server
iOSS MRS

SoftSwitch

SoftSwitch
SIP mutlimedia
terminal
IP Network
SG
Ephone

TMG TMG

PSTN IAD101/102/104H
IAD101S/101/102/104H

Phone Fax PC Phone Fax PC

Figure 1-2 IAD location in the NGN

1.2 Services and Functions


The IAD supports MGCP (Media Gateway Control Protocol), SIP
(Session Initiation Protocol) and provides abundant voice and data
services, as listed below:

I. Data Functions

l Supporting POTS and enabling Ethernet users to access the


IP network

Huawei Technologies Proprietary

1-3
l Supporting transparent transmission
l Supporting 802.1p/q
l Supporting T.38 fax or transparent transmission of faxes
l Supporting Caller Identification Display
l Supporting Advice of Charge at the End of Conversation
(the IAD of MGCP only)
l Enabling calling parties of the card service to redial numbers
l Supporting "one set with two numbers¡± and PSTN
emergency (the IAD101H/102H only)
l Supporting Point-to-Point Protocol over Ethernet (PPPoE)
l Supporting International Telecommunication
Union-Telecommunication Standardization Sector (ITU-T)
G.711, G.723, G729 multiple encoding mode; supporting
dynamic switchover of coding

II. Audio Functions

l Supporting traditional PSTN services


l Supporting certifications such as Federal Communications
Commission (FCC), Council of Europe (CE) and China
Compulsion Certification (CCC)
l Supporting KC charging and polarity reversal charging
controlled by the SoftSwitch (IAD of MGCP only)
l Supporting Differentiated Services Codepoint (DSCP)
l Supporting Comfort Noise Generation (CNG)
l Supporting VAD (Voice Activity Detection)
l Cooperating with the SoftSwitch to provide new intellectual
and distinctive services, such as Call Transfer, Three-Party
service and Conference Call (Note: the above services can

Huawei Technologies Proprietary

1-4
be used only after you subscribe them from the operator. For
details, contact the operator)

III. Other Functions

l Supporting Simple Network Management Protocol (SNMP)


l Supporting Simple Network Time Protocol (SNTP)
l Supporting Dynamic Host Configuration Protocol (DHCP)
and DHCP Relay
l Supporting QoS (Quality of Service) test on the bearer
network
l Supporting usage under execrable environments
l Supporting end-to-end signaling tracing, and locating
software/hardware faults inside devices
l Supporting IAD authentication by SoftSwitch
l Supporting encryption of RF C2833 controlled by SoftSwitch
(the IAD of SIP only)
l Supporting certifications such as Federal Communications
Commission (FCC), Council of Europe (CE) and China
Compulsion Certification (CCC)

1.3 System Structure


The IAD101S/101/102/104H includes a front panel and a rear
panel.

1.3.1 Front Panel

There are indicators on the front panel of the IAD.

Table 1-2 lists their names and meanings.

Huawei Technologies Proprietary

1-5
Table 1-2 Indicators of the IAD101S/101/102/104H

Indicator Color Name Status Description

The device is
being
Power On
supplied with
PWR Green supply power
indicator
No power
Off
supply
The WAN
connection is
established
On
(Not
supported by
IAD104H)
Upstream The
WAN Green port connection is
indicator Blinking established
(IAD104H and there are
only) data being
sent or
received

No WAN
Off
connection
The device is
Downstrea connected to
LAN Green m port On a LAN (Not
indicator supported by
IAD104H)

Huawei Technologies Proprietary

1-6
Indicator Color Name Status Description

The
connection is
established
Blinking and there are
data being
sent or
received

The device is
not
connected to
Off a LAN
No data are
being sent or
received
The VoIP
On service is
ready
VoIP The device is
VoIP Green service starting or the
Off
indicator VoIP service
is unready

Blinking The data is


(0.25s/0.25s) being saved
The phone
PHONE1
Phone Blinking connecting to
&PHONE Green
indicator (0.25s/0.25s) this port is
4
ringing

Huawei Technologies Proprietary

1-7
Indicator Color Name Status Description

The phone
connecting to
this port is
Blinking
switched to
(1.5s/0.5s)
the PSTN
and is being
used

The phone
connecting to
this port is
On offhook,
including the
locking status
of the phone
The phone
connecting to
Off
this port is
onhook

1.3.2 Rear Panel

I. IAD101H/IAD101S

Figure 1-3 shows external ports on the IAD101H rear panel.

Huawei Technologies Proprietary

1-8
LINE: PSTN emergency PHONE: PHONE PWR: Local
port port power supply
port
LAN: Data user port WAN: Upstream network port
Figure 1-3 External ports of the IAD101H

Compared with the IAD101H, the IAD101S does not provide a


LINE port (PSTN Emergency port).

II. IAD102H

Figure 1-4 shows external ports on the IAD102H rear panel.

LINE: PSTN emergency PHONE1-PHONE2: PWR: Local


port PHONE ports power
supply port
LAN: Data user port WAN: Upstream network port
Figure 1-4 External ports of the IAD102H

Huawei Technologies Proprietary

1-9
III. IAD104H

Figure 1-5shows external ports on the IAD104H rear panel.

PWR: Local power CONSOLE: Serial port


WAN: Upstream
supply port network port
LAN: Data user port PHONE1~PHONE4: PHONE ports
Figure 1-5 External ports of the IAD104H

Huawei Technologies Proprietary

1-10
Chapter 2 Device Installation

This chapter introduces how to install hardware and load


software of the IAD.

Caution:

Use waterproof measures during storage, transportation, and running


of the IAD.

2.1 Hardware Installation


The IAD is like a box.

Main installation steps are connections of cables, as shown in


Table 2-1.

Table 2-1 Installation steps

Step Operation

Plug one end of the phone line into the PHONE port,
1
and then plug the other end to the jack of your phone.

Huawei Technologies Proprietary

2-1
Step Operation

Plug one end of the network cable into the LAN port,
2 and then plug the other end to the network port of your
computer.
Plug one end of the phone line into the LINE port, and
3
then plug the other end to the phone jack on the wall.
Plug one end of the network port into the WAN port,
4
and then plug the other end to an upstream network port.
Plug one side of the power adapter to the PWR port,
5
and then plug the other side to the power socket.

& Note:
To install the IAD101S, skip Step 3. That’s because the IAD101S does
not provide a LINE port.

Figure 2-1 shows cable connections.

Huawei Technologies Proprietary

2-2
Figure 2-1 Cable connections

2.2 Software Loading

& Note:
Before the IAD is delivered, software has been installed. Thus,
software loading is an optional operation.

For the IAD, loading means to write the programs and data files
that are needed by the normal running of equipment into Flash

Huawei Technologies Proprietary

2-3
memory, so as to ensure the system can be upgraded and run
normally.

The following introduces how to load software of the IAD.

Table 2-2 Task list

Step Operation Reference

Setting up configuration
1 2.2.1
environment for loading

Configuring servers for


2 2.2.2
transmitting files
3 Loading software by FTP/TFTP 2.2.3

2.2.1 Setting up Configuration Environment for


Loading

I. Loading through the Telnet program

You can telnet to the IAD for maintenance.

Figure 2-2 shows the corresponding networking.

Huawei Technologies Proprietary

2-4
Local host running telnet
program

LAN

Router

WAN

Router IAD

Figure 2-2 Setting up Telnet connection for remote loading


through a WAN

Configuration steps are as follows:

Huawei Technologies Proprietary

2-5
Step Operation

Run Telnet program on the maintenance terminal, and


then set its terminal type as VT-100/ANSI and the buffer size
as 1000, as shown in the following figure.

Enter the IP address of the IAD101S/101/102/104H,


2 such as 172.21.100.16 on the maintenance terminal, and
then set up the connection.
Enter correct user name and password to log in to the
3
configuration environment.

Huawei Technologies Proprietary

2-6
& Note:
l The default Telnet buffer size is small, and you can increase the
buffer size properly so that more history commands can be
displayed on the screen. Recommended buffer size is 1000 lines.
l When you are configuring the IAD through the Telnet program, do
not randomly change the IP address of the IAD. If it is necessary to
modify the IP address, after the modification, the Telnet connection
will be disconnected and you shall log in again with the new IP
address to set up the connection.

II. Local serial port

You can maintain the IAD through the local serial port.

The IAD has two IP addresses for maintenance: 192.168.100.1


and 1.1.1.1.

Follow these steps to maintain the IAD through the local serial
port.
1) Set the IP address of the client and that for maintenance to
belong to a same subnet.
2) Telnet to the IAD by the IP address for maintenance.

Huawei Technologies Proprietary

2-7
Caution:

The IP addresses for maintainance are used in private networks only.


If the IP address of the WAN port and that for maintainenance belong
to a same subnet, the system will switch the IP address for
maintainenance to another IP address.

2.2.2 Configuring Servers for Transmitting Files

Files can be transmitted to the IAD by TFTP and FTP.

I. Configuring a TFTP server

When TFTP is used to update the IAD software, latest software is


downloaded through network ports.

To do this, a computer is used as the file server to run TFTP


server program.

The following takes Tftpd32.exe for an example to configure a


TFTP server.

Step Operation

1 Double click Tftpd32.exe to start the TFTP software.

2 Open the ¡°TFTPD32 by Ph Jounin" dialog box.


Click <Settings> to display the ¡°Tftpd32: Settings¡±
3
dialog box.

Huawei Technologies Proprietary

2-8
Step Operation

In the ¡°Base Directory¡±text box, enter the path for


saving loaded files.

5 Click <OK> to validate the settings.

II. Configuring an FTP server

The following is an example about configuring the FTP server.


l Software: FileZilla_Server_0_9_7.exe
l User name and password: d060

Huawei Technologies Proprietary

2-9
Step Operation

Double-click the FileZilla_Server_0_9_7.exe file.


1
Install the FTP software by following the guide.

Double-click the shortcut of the


FileZilla_Server_0_9_7 file, the Connect to Server dialog
box appears, as shown in the following figure.

Huawei Technologies Proprietary

2-10
Step Operation

Click OK, select Edit > Users in the pop-up interface.


The User dialog box appears, as shown in the following
figure.

Select General and then click Add. The Add user


account dialog box appears, as follows.

Input the user account, such as d060, and then click


OK.

Huawei Technologies Proprietary

2-11
Step Operation

Navigate back to the Users dialog box, select Enable


account and Password, and then input the password. The
interface is as follows.

Click OK to complete the configuration

2.2.3 Loading Files by FTP/TFTP

The following table lists steps about loading files by FTP/TFTP:

Step Operation

Configure FTP server/TFTP server. Refer to 2.2.2


1
Configuring Servers for Transmitting Files.
2 Run FTP or TFTP program on the file server.
Enter load packet on the maintenance terminal, and
3
then load a package of files.

Huawei Technologies Proprietary

2-12
Step Operation

Use reboot to reset the system to validate new


4
programs.

For details, refer to 5.6 Loading & Backup Management.

Huawei Technologies Proprietary

2-13
Chapter 3 Basic Configurations

This chapter introduces how to use the command lines and basic
configurations of IAD101S/101/102/104H.

After reading this chapter, you can master the method of


configuring IAD devices.

3.1 Login to the Configuration Mode


According to ¡°Chapter 2 Device Installation 2.3.1 Setting up
Configuration Environment for Loading¡±
, telnet to the
IAD101S/101/102/104H to be configured.

The following interface is displayed. Enter your user name and


the password.
Huawei TERMINAL Multi-service Distribution Module.
Copyright(C) 1998-2004 by Huawei Technologies Co., Ltd.
User name:root
User password:

TERMINAL>

By default, the IAD has a super manager, whose user name is


root and password is admin.

When TERMINAL> is displayed on the screen, it means that you


have logged in to the system.

Huawei Technologies Proprietary

3-1
You can modify the password in the global config mode by using
terminal user.

For how to manage users, refer to 3.3 IV. Setting user names
and passwords.

3.2 Basic Commands


Before configuration, make sure that you have master the usage
of command lines, which is a means provided by the device for
configuration.

3.2.1 Command Structure

The command prompt consists of two parts: fixed character string


and command mode identifier.
l The command mode identifier indicates the mode in which
the current command is in. For example: ¡°>¡±indicates that
the command mode is user mode, while # indicates privilege
mode.
l In the privilege mode, you can use hostname to configure
the fixed character string. By default, the fixed character
string of the system is TERMINAL.
Example:

Modify the default host name of the system into iad101h.


TERMINAL#hostname iad101h
iad101h#

Huawei Technologies Proprietary

3-2
This command is executed successfully, and the host name has
been changed into iad101h.

3.2.2 Command Modes

Command modes include: user mode, privilege mode, global


config mode, advanced config mode, and LAN Switch mode.

& Note:
l Commands in debugging mode are used for maintenance. They
are seldom used daily. Therefore, this chapter only introduces
features and usage of some usually used commands.
l The commands used in debugging mode can be found in the CD
delivered.

The privilege mode and global config mode are compatible with
the lower-authority modes.
l In the privilege mode, you can run all commands in the user
mode.
l In the global config mode, you can run all commands in the
user mode and privilege mode.
The relations among the command modes are shown in
Figure 3-1.

Huawei Technologies Proprietary

3-3
The oval circles in the figure represent command modes. Each
arrow indicates the change from one mode to another. The commands
used to change modes are appended to the arrows.

LAN Switch
mode

c o n fig u r e

te r m in a l
ch

la n s w itc h
it
w
s
n
la

t
xi
e
configure
exit enable Privilege terminal Global
User mode
disable mode exit config

Figure 3-1 Relations among different command modes

To switch from the privilege mode to the global config mode, use
configure terminal.

To exit from the global config mode and enter the privilege mode,
use exit.

3.2.3 Online Help of Command Lines

The interface of command line provides the following online


helps:

I. Complete Help

Type ? in any view, and then you can get all the commands
usable under the view and the concise descriptions of the commands.

Huawei Technologies Proprietary

3-4
II. Partial Help

l Type ? after a command separated with a space, if that


position is a keywords, all keywords and their concise
descriptions will be listed.
l Type ? after a command separated with a space, if that
position is a parameter, the descriptions of all related
parameters will be listed.
l Type ? after a character string, all the commands beginning
with the character string will be listed.
l Add a space after a command, if that position is a keyword,
the keywords of the command will be completed.

3.3 Usually Used Commands


Table 3-1 lists usually used commands and their functions.

Table 3-1 Usually used commands

To... Use...

Enter the privilege mode. TERMINAL>enable

Enter the global config mode. TERMINAL#configure terminal

Enter the LAN Switch mode. TERMINAL(config)#lanswitch

Exit from the current


command mode to enter the disable (any mode)
user mode.

Exit from the current mode


and enter the previous mode,
exit (any mode)
or exit from the configuration
environment.

Huawei Technologies Proprietary

3-5
To... Use...

TERMINAL(config)#write
Save data immediately.
TERMINAL#write

Set the host name. TERMINAL#hostname

Display the device version. TERMINAL>display version

Modify user names and


TERMINAL(config)#terminal user
passwords.

Set local system time. TERMINAL#time

TERMINAL(config)# region { CN | HK
Set the region of the device. | BR | EG | GB | CL | SG | US }
Set interval of command line TERMINAL#terminal timeout
timeout timeout-value

Caution:

To prevent data loss caused by system rebooting or power-off, you


can use write in the privilege mode to save the configured data.

The example of each command is shown as follows:

I. Entering the global config mode from the privilege mode

TERMINAL#configure terminal
TERMINAL(config)#

Huawei Technologies Proprietary

3-6
II. Setting time

TERMINAL#time 18:29:00 2005-03-22


TERMINAL#

III. Setting the host name

TERMINAL#hostname IAD101H
IAD101H#

IV. Setting user names and passwords

Operators can operate and maintain the IAD through the


command line.

The IAD provides three operators: root, system, and user.

Table 3-2 lists their descriptions.

Table 3-2 User description

User Management
Authority
name mode
Password: admin
Administrator level
root Root can be modified
Root can carry out commands
by high-level users
except those of super user level.
and other root users.

Huawei Technologies Proprietary

3-7
User Management
Authority
name mode
Operator level
System can carry out commands
except those listed below:
1. Modify commands used for
Password: login maintenance except NTID and
keys.
System can be
system modified by high-level 2. Restore default settings.
users and other Recommend to configure and
system users. maintain the device as a system
user.
3. Do not modify MAC address.
4. Do not modify domain name of
the device.
Password: guess Common user level
user User can be modified User can carry out commands
by high-level users which do not affect system
and other users. configuration.

You can use terminal user name to modify passwords of above


users for login.

You cannot modify user authorities and user names.

Example:

Modify password of user.


TERMINAL(config)#terminal user
User name (<=15 chars):user
New password(<=15 chars):
Confirm Password(<=15 chars):

Huawei Technologies Proprietary

3-8
Information takes effect
Repeat this operation? (y/n)[n]:

Caution:

Do not modify passwords at will. Record new passwords.


If you forget the password of root, contact Huawei.

V. Setting interval of command line timeout

Set the interval of command line timeout to 120 minutes, as


follows:

TERMINAL#terminal timeout 120

VI. Setting the region of the IAD

In the global config mode, you can run TERMINAL(config)#


region to set the region of the IAD.

BR: Brazil

CL: Chile

CN: Chinese Mainland

EG: Egypt

GB: Great Britain

Huawei Technologies Proprietary

3-9
HK: Hong Kong

SG: Singapore

US: United States

Example:

Set the region to Hong Kong and configure a voice file of Hong
Kong.
TERMINAL(config)#region
{ CN<K>|HK<K>|BR<K>|EG<K>|GB<K>|CL<K>|SG<K>|US<K> }:hk
Command:
region hk
TERMINAL(config)#
Start to decode current region voice file,Please wait...
Decode voice file OK.

VII. Saving data

TERMINAL#write
Write running-config to flash ... Succeed!
TERMINAL#

VIII. Displaying the device version

TERMINAL#display version 
Equipment type : IAD101H
PCB version : AG31VPPB VER.B
Software version : TS0401V300R001B01D060
BIOS version : 1002
SLIC version : N/A

Huawei Technologies Proprietary

3-10
DSP version : N/A

3.4 Configuring IP address of IAD


In the global config mode, configure an IP address of the IAD.

Commands:

To... Use...

Configuring a fixed IP address:


ipaddress static ip-address net-mask gateway-ip

Configuring the IAD to obtain an IP address


automatically:

Configure an IP ipaddress dhcp


address of the IAD.
Configuring the IAD to obtain an IP address
by PPPoE dialup:
pppoe username usermane password
password
ipaddress pppoe { disable | enable }

IP address of the IAD must be configured. After being configured,


the IP address can take effect at once without rebooting.

IP address of the IAD can be obtained in three ways:


l Configuring a fixed IP address
l Dynamically obtained from the DHCP server
l Obtained through the PPPoE dialup mode

Huawei Technologies Proprietary

3-11
& Note:
l You cannot configure the IAD to obtain the IP address in several
modes at one time.The Ethernet port is not configured with an IP
address.
l When the IAD obtains its IP address dynamically, such as in DHCP
or PPPoE mode, you need not to configure information about the
DNS server.

IP address used for maintenance is 192.168.100.1 or 1.1.1.1.

You can use display ipaddress to check the IP address for


maintenance.

I. Configuring a fixed IP address

Command Remarks
ip-address: IP address
TERMINAL(config)#ipaddress static net-mask: subnet mask
ip-address net-mask gateway-ip gateway-ip: IP address of the
gateway

Example:

Configure the following:


l Fixed IP address of the IAD: 172.21.100.23
l Subnet mask: 255.255.0.0
l Default gateway: 172.21.200.250

Huawei Technologies Proprietary

3-12
TERMINAL(config)#ipaddress static 172.21.100.23
255.255.0.0 172.21.200.250
Changing net parameter may affect current service,
continue?[Y|N]: y
Command executing, please wait...
--------------------------------------------------
ip address : 172.21.100.16
subnetwork mask: 255.255.0.0
default gateway: 172.21.200.250
--------------------------------------------------
TERMINAL(config)#

II. Configuring the IAD to obtain an IP address through


DHCP

To dynamically obtain the IP address, the IAD needs to work with


the DHCP server, and the DHCP server in the network shall work and
communicate with the IAD normally.

Command:

To... Use…
Start DHCP. TERMINAL(config)#ipaddress dhcp

Example:

Configure the IAD to obtain an IP address through DHCP.

Huawei Technologies Proprietary

3-13
Step Operation
Check the IP address mode.
TERMINAL(config)#display ipaddress 
------------------------------------------------
DNS Domain Name...............: my.domain
PhysicalAddress.............: 00-e0-fc-15-64-18
IP Address Get Method.........: Static IP config
esw (unit number 3):
Flags: (0x68243) UP BROADCAST MULTICAST ARP
RUNNING
1 IP Address..................: 172.21.100.24
Subnet Mask.................: 255.255.0.0
Default Gateway.............: 172.21.1.1

esw (unit number 4):


Flags: (0x68243) UP BROADCAST MULTICAST ARP
RUNNING
IP Address..................: 192.168.100.1
Subnet Mask.................: 255.255.255.0
------------------------------------------------
The result shows that the device obtains a fixed IP address. Start
the DHCP function.
TERMINAL(config)# ipaddress dhcp
Changing net parameter may affect current service,
continue?[Y|N]:y
2 Command executing, please wait...
------------------------------------------------
ip address : 172.21.50.79
subnetwork mask: 255.255.0.0
default gateway: 172.21.200.250
------------------------------------------------
TERMINAL(config)#

Huawei Technologies Proprietary

3-14
Step Operation
Check the IP address mode again.
TERMINAL(config)#display ipaddress
------------------------------------------------
DNS Domain Name.....
PhysicalAddress.....: 00-e0-fc-15-64-18
IP Address Get Method...: DHCP
esw (unit number 3):
Flags: (0x68243) UP BROADCAST MULTICAST ARP
RUNNING
IP Address..................: 172.21.50.79
3 Subnet Mask.................: 255.255.0.0
Default Gateway.............: 172.21.200.250
esw (unit number 4):
Flags: (0x68243) UP BROADCAST MULTICAST ARP
RUNNING
IP Address..................: 192.168.100.1
Subnet Mask.................: 255.255.255.0
--------------------------------------------
The result shows that the DHCP function is enabled and the
device obtains its IP address from the DHCP Server.

III. Configuring the IAD to obtain an IP address through


PPPoE dialup

The IAD supports PPPoE dialup mode. It can obtain IP address


from the DNS server during the PPPoE dialup process and perform
DNS resolution.

Commands:

To… Use… Remarks


Set user
names and TERMINAL(config)#pppoe username: User name
passwords username usermane
for PPPoE password password password: Password
dialup.

Huawei Technologies Proprietary

3-15
To… Use… Remarks
Enable TERMINAL(config)#
-
PPPoE. ipaddress pppoe

The user name and password are used on the Broadband


Access Server (BAS) for authenticating users. They shall be
consistent with those configured on the BAS.

Configure the IAD to obtain an IP address through PPPoE dialup:

Step Operation
Set the PPPoE user name as zw@isp, and password as huawei.
TERMINAL(config)#pppoe username zw@isp password
huawei
----------------------------------------------
1 PPPoE Dialup on System Start..: no
PPPoE Online..................: no
PPPoE Dialup Username.........: zw@isp
PPPoE Dialup Password.........: huawei
----------------------------------------------
Enable PPPoE.
TERMINAL(config)# ipaddress pppoe
2 Changing net parameter may affect current service,
continue?[Y|N]:y

TERMINAL(config)#

Huawei Technologies Proprietary

3-16
Step Operation
Check configuration.
TERMINAL#display ipaddress
----------------------------------------------DNS
Domain Name...............:
Physical Address..............: 00-e0-fc-a8-64-0c
IP Address Get Method.........: PPPoE
cpm (unit number 0):
Flags: (0x1) UP TRAILERS ARP
IP Address..................: 192.168.100.12
3 Default Maintain IP Address.: 192.168.100.1
Subnet Mask.................: 255.255.255.0
Default Gateway.............: 0.0.0.0
Destination IP Address........:
PPPoE Dialup on System Start..: yes
PPPoE Online..................: no
PPPoE Dialup Username.........: zw@isp
PPPoE Dialup Password.........: huawei
-----------------------------------------------
TERMINAL#

Caution:

Once you change the IP address mode, telnet connection may cut off.
Use the new IP address to establish Telnet connection.

3.5 Configuring System Time


The IAD needs correct time for functions like local accounting,
alarm report, call tracing and log output. Therefore, precise system
time shall be configured.

Huawei Technologies Proprietary

3-17
You can configure the system time of the IAD by yourself, or
configure it to synchronize with that of the SNTP server.

I. Configuring the system time of the IAD

Commands:

To… Use…
Set time. TERMINAL#time hh:mm:ss yyyy-mm-dd
Check the current
TERMINAL#display time
time.

Example:

Change the time to 2005-04-23/11:02:00.

Step Operation
Check the current time.
1 TERMINAL#display time
Current date: 2004-02-20
Current time: 14:31:16
Modify the current time.
2
TERMINAL#time 11:02:00 2005-04-23

II. Enabling the SNTP Server

SNTP function can be started on the IAD.

As an SNTP client, the IAD can fetch time from the NTP Server or
SNTP Server.

Commands:

Huawei Technologies Proprietary

3-18
To… Use…
Configure the SNTP TERMINAL(config)#sntp server {address
Server. server-ip | name server-name}
Configure the time
TERMINAL(config)#sntp time-zone sign value
zone.
Configure interval for
TERMINAL(config)#sntp interval second
time synchronization.

Example:

Start SNTP client on the IAD and specify the following:


l Name of the SNTP server: SNTP-SVR
l Time zone: GMT+8
l Synchronization interval: 60 seconds
Step Operation
Set the name of the SNTP Server.
TERMINAL(config)#sntp server name
1 { server-name<S><0,250> }:SNTP-SVR.tele.com
Command:
sntp server name SNTP-SVR.tele.com
Set the time zone to GMT+8.
2
TERMINAL(config)#sntp time-zone + 8
Set the time interval to 60 seconds.
3
TERMINAL(config)#sntp interval 60
Check SNTP status.
TERMINAL(config)# display sntp
-----------------------------------------------
4 SNTP server: SNTP-SVR
Local time zone : +8
Synchronization interval : 60Sec.
-----------------------------------------------

& Note:

Huawei Technologies Proprietary

3-19
l To specify the SNTP server by sntp-svr.tele.com, you need to start
the DNS client on the IAD, and then configure the SNTP client.
Otherwise, the IAD accesses the SNTP server by IP address. For
how to start the DNS client, refer to Chapter4 MGCP Service
Configuration 4.2.7 Configuring DNS.
l After you have started the SNTP client, the start and end time of
the log information and accounting information will all be subject to
the time provided by the SNTP server. In this case, the local time
on the IAD that is configured by using time will not take effect.

3.6 Configuring SNMP NMS


An NMS is hard to manage a great many of IADs. To solve this
problem, Huawei deploys hierarchical management.

The IADMS manages IADs, while the iManager N2000 manages


IADMSs. The IADMS is a software system, running on a workstation.

To configure the IADMS to manage the IAD, add information


about the NMS to IADs, and then configure information about IADs on
the NMS.After configuring data on IADs and the NMS, IADs are
managed by the IADMS.

Commands:

Operation Command Remarks


String: equipment
Configuring IAD TERMINAL(config)#physical identifier (value
identifier -serial-num string range 1 64
characters).

Huawei Technologies Proprietary

3-20
Operation Command Remarks
Enabling IADMS TERMINAL#nms access {off off: disabled
switch |on} on: enabled
domain_name:
Configuring value range 1 32
TERMINAL#nms domain
IADMS domain characters. It is
domain_name
information iadms.com by
default.
get_community:
Configuring GET
TERMINAL#nms getcom GET community
community name
get_community name of IADMS. It is
of IADMS
public by default.
set_community: SET
Configuring SET
TERMINAL#nms setcom community name of
community name
set_community IADMS. It is private
of IADMS
by default.
Configuring IP
TERMINAL#nms primary primary_ip: IP
address of
primary_ip address of IADMS.
IADMS
trap_community:
Configuring trap community
TERMINAL#nms trapcom
TRAP community name (value range 1
trap_community
name of IADMS 32 characters). It
is public by default.
Trapport: TRAP port
Configuring
TERMINAL#nms trapport name used by the
TRAP port name
trapport NM. It is 162 by
used by IADMS
default.
Querying IADM
TERMINAL#display nms
configuration

I. Adding an IADMS workstation

When configuring IAD to accept the unified management by


IADMS, you should also configure the EID (equipment ID) of the IAD
Huawei Technologies Proprietary

3-21
in IADMS. The EID should be consistent with that configured in
IADMS. IADMS identifies IAD depending only on this ID, and then add
other config information of IADMS to the IAD.

For example, add a NM workstation, whose IAD identifier is


iad101H, IP address is 172.21.50.13, GET community name is public,
SET community name is private, Trap community name is public and
Trap port is 162.

& Note:
In the following configuration steps, Steps 3, 4 and 5 are optional,
because the IADMS provides defaults.

Process of Data Configuration:

Step Operation
Configure the equipment identifier as iad101h:
1 TERMINAL(config)#physical-serial-num iad101h
Save physical serial to flash... done.
Configure the IP address of the IADMS.
TERMINAL#nms primary
{ primary_ip<I> }:172.21.50.13
{ <cr>|secondary<K> }:

2 Command:
nms primary 172.21.50.13
primary IP 172.21.50.13
config succeed

TERMINAL>

Huawei Technologies Proprietary

3-22
Step Operation
Configure Get Community name of the IADMS to public.
TERMINAL>nms getcom public
{ <cr>|setcom<K>|trapcom<K>|trapport<K> }:
3 Command:
nms getcom public
config succeed
TERMINAL>
Configure Set Community name of the IADMS to private.
TERMINAL>nms setcom private
{ <cr>|getcom<K>|trapcom<K>|trapport<K> }:
4 Command:
nms setcom private
config succeed
TERMINAL>
Configure Trap Community name and port number.
TERMINAL>nms trapcom public trapport 162
5 { <cr>|getcom<K>|setcom<K> }:
Command:
nms trapcom public trapport 162
config succeed
Configure the domain name of the IADMS.
6 TERMINAL>nms domain iadms1
config succeed
TERMINAL>
Activate the IADMS.
7 TERMINAL>nms access on
config succeed
TERMINAL>
Check configuration.
TERMINAL#display nms
the config is DNS
domainName
iadms1
8 get community : public
set community : private
trap community : public
trap port : 162
nms access value: 1
register state : registing
---------------------------------------------

Huawei Technologies Proprietary

3-23
& Note:
l When adding an NMS workstation, you shall ensure that the IP
address of the NMS workstation is unique.
l After configuring the IADMS, use nms access on to activate the
IADMS.

II. Adding devices to the IADMS

You need to add IADs to the IADMS.

Step Operation
1 On the NMS server, enable the IADMS.

Double click a destination node in the navigation tree of


2
iManager N2000 IADMS.
3 Right click on the page, and then select Add Terminal.

Huawei Technologies Proprietary

3-24
Step Operation

Set the parameters in the displayed dialog box, as shown


in the following figure.

5 Click OK.

Table 3-3 Parameter description

Item Description

Manufacturer Device supplier

Identification code of the device, which must be


Identification
filled. Device supplier and terminal identification
code
code identifies a unique device.
Name Device name

Type Device type, such as IAD and EPHONE


Device subtype, such as IAD132E(T), IAD108,
Subtype IAD208, IAD104E, IAD102E, IAD101E, IAD104,
IAD101H, IAD102H, IAD104H, and ET322

Huawei Technologies Proprietary

3-25
Item Description

Read
Get Community name of the terminal, which must
community
be consistent with that set on the terminal.
name
Write
Set Community name of the terminal, which must
community
be consistent with that set on the terminal.
name

& Note:
For how to configure and operate the IADMS, refer to Huawei
iManager N2000 Fixed Network Integrated Management System
IADMS User Manual.

Huawei Technologies Proprietary

3-26
Chapter 4 MGCP Service Configuration

IAD101S/101/102/104H realize MGCP and SIP services through


different software.

This chapter introduces how to configure data of the


IAD101S/101/102/104H. After reading this chapter, you can configure
MGCP service of it.

& Note:
In this manual, the IAD is taken as an MG and the SoftSwitch is taken
as the Media Gateway Controller (MGC).
For the configuration of SIP service, refer to ¡°Chapter 5 SIP Service
Configuration¡±
.

4.1 Planning Data


Before configuring data, you shall plan the data of the IAD, such
as IP addresses of it and related servers. Because the IAD
interconnection with the MGC, you shall also plan the data for the
interconnection between them.

Table 4-1 lists IP addresses to be planned

Huawei Technologies Proprietary

4-1
Table 4-1 IP address allocation

Item Remarks

It can be static mode, DHCP mode or


IP address of the IAD
PPPoE mode.
IP address of the default
By default, the gateway is an L3
upstream gateway of the
router or a low end router.
IAD
In this manual, the SoftSwitch is
IP address of the MGC
taken as an example of the MGC. 

NMS is the network management


IP address of the NMS system that runs IAD management
system (IADMS).
IP address of the DNS DNS is the domain name server.

SNTP indicates the Simple Network


IP address of the SNTP
Time Protocol server.
Loghost is the host used for
IP address of the Loghost
generating and storing logs.

& Note:
In Table 4-1, IP addresses of NMS, DNS, SNTP, and Loghost are
optional. If a server is not configured in the IAD101S/101/ 102/104H,
the corresponding IP address is unnecessary

When the IAD interconnects to the MGC, you need to plan


parameters listed in Table 4-2.

Huawei Technologies Proprietary

4-2
Table 4-2 Parameters for interconnection with the MGC

Data need to be Data need to be configured on


configured on the IAD the MGC

IP address of the IAD IP address of the IAD

IP address or domain name IP address or domain name of the


of the MGC MGC
Domain name of the IAD Domain name of the IAD

Interface name of the IAD Interface name of the IAD

For details of the usage of Login configuration environment and


command lines, refer to Chapter 3 Basic Configuration.

4.2 Process of Data Configuration


Table 4-3 lists process of data configuration.

Table 4-3 Process of data configuration

Stage Description Reference

Configure IP address of the


1 3.4
IAD.

Configure the domain name of


2 4.2.2
the MG.
Configure the IP address of the
3 4.2.3
MGC.

Configure authentication of the


4 4.2.4
MG.

Huawei Technologies Proprietary

4-3
Stage Description Reference

Configure the signaling port


5 4.2.5
number of the MG.

Configure the signaling port


6 4.2.6
number of the MGC server.
8 Configure the DNS. 4.2.7

& Note:
In Table 4-3, Steps 1-3 are mandatory. In other steps, keep defaults of
parameters.

4.2.1 Configuring IP address of the IAD

In the global config mode, configure an IP address of the IAD.

Commands:

To... Use...

Configuring a fixed IP address:


Configure an IP
address of the IAD. ipaddress static ip-address net-mask
gateway-ip

Configuring the IAD to obtain an IP address


automatically:
ipaddress dhcp

Huawei Technologies Proprietary

4-4
To... Use...

Configuring the IAD to obtain an IP address


by PPPoE dialup:
pppoe username usermane password
password
ipaddress pppoe { disable | enable }

IP address of the IAD must be configured. After being configured,


the IP address can take effect at once without rebooting.

IP address of the IAD can be obtained in three ways:


l Configuring a fixed IP address
l Dynamically obtained from the DHCP server
l Obtained through the PPPoE dialup mode
For detailed configurations, refer to ¡°Chapter 3 Basic
Configuration 3.4 Configuring IP address of IAD¡±
.

4.2.2 Configuring Domain Name of MG for


Registration

You can configure the domain name of the IAD in the global
configure mode by using the following command.

Huawei Technologies Proprietary

4-5
Command Remarks

name: The domain name of the IAD,


containing 1 60 characters.

TERMINAL(config)#mg The domain name shall be consistent


cp mg-domain-name with that configured on the MGC server.
name When the device registers in the MGC,
it searches the MGC by domain name. If
the search fails, the device registers in
the MGC by IP address.

Example:

Configure the domain name of the IAD as iad101.com.

Step Operation

Configure the domain name of the MG for registration.


1 TERMINAL(config)#mgcp mg-domain-name
iad101.com

Huawei Technologies Proprietary

4-6
Step Operation

Check configuration.
TERMINAL(config)#display mgcp attribute
=======================================
======
MGIP MG-PORT MG-DOMAIN-NAME
191.168.208.13 2427 iad101.com
=======================================
======
MGC-IP1 MGC-PORT1
MGC-DOMAIN-NAME1
0.0.0.0 2727 -
=======================================
2
======
MGC-IP2 MGC-PORT2
MGC-DOMAIN-NAME2
0.0.0.0 2727 -
=======================================
======
MG-STATE REGISTERED-MGC
Fault 1
=======================================
======
AUTH-MODE KEY
Huawei mode -

Huawei Technologies Proprietary

4-7
4.2.3 Configuring MGC Information

You can configure the IP address or domain name of the IAD in


the global config mode by using the following command.

Command Remarks
index: index of the SoftSwitch in
which the gateway can register,
ranging 1–2
TERMINAL(config)#mgcp
mgc index address str str: containing 1–256 characters. It
can be a domain name or an IP
address. Configure it as a domain
name or an IP address.

Example:

Configure the IP address of the server for registration as


192.168.10.10. The signaling port number is 2727.

Step Operation

Configuring an IP address:
TERMINAL(config)#mgcp mgc 1 address
192.168.10.10

1 { <cr>|port<K> }:

Command:
mgcp mgc 1 address 192.168.10.10

Huawei Technologies Proprietary

4-8
Step Operation

Check configuration.
TERMINAL(config)#display mgcp attribute
========================================
=======
MGIP MG-PORT MG-DOMAIN-NAME
191.168.208.13 2427 iad101.com
========================================
=======
MGC-IP1 MGC-PORT1
MGC-DOMAIN-NAME1
192.168.10.10 2727 -
========================================
2
=======
MGC-IP2 MGC-PORT2
MGC-DOMAIN-NAME2
0.0.0.0 2727 -
========================================
=======
MG-STATE REGISTERED-MGC
Fault 1
========================================
=======
AUTH-MODE KEY
Huawei mode -

Huawei Technologies Proprietary

4-9
4.2.4 Configuring MG Authentication Information

To prevent illegal MG from registering on the MGC, start


registration authentication on the MG.

To… Use…

Configure the
TERMINAL(config)# mgcp authentication
authentication
gb-mode {mgiD |mgkI }
mode to GB.

Configure the
TERMINAL(config)# mgcp authentication
authentication
hw-mode key keyword
mode to HW.

& Note:
l HW authentication mode is a private authentication procedure of
Huawei. GB authentication mode is defined by Ministry of
Information Industry.
l When the Encryption Algorithm of the SoftX3000 is MD5, you need
to configure the authentication mode of the interconnected IAD to
HW mode. When the Encryption Algorithm of the SoftX3000 is DH,
you need to configure the authentication mode of the
interconnected IAD to GB mode.

Example:

Configure the IAD to register in the call server in HW mode. The


registration key configured on the server is iad101register.

Huawei Technologies Proprietary

4-10
After configuration, query the result.

Step Operation

Configure the authentication mode to HW as well as the


authentication key.
TERMINAL(config)#mgcp authentication
1 hw-mode key
Please input your keyword<1~16
characters>:**************
Please input again:**************

Huawei Technologies Proprietary

4-11
Step Operation

Check configuration.
TERMINAL(config)#display mgcp attribute
=======================================
========
MGIP MG-PORT MG-DOMAIN-NAME
191.168.208.13 2427 -
=======================================
========
MGC-IP1 MGC-PORT1
MGC-DOMAIN-NAME1
0.0.0.0 2727 -
2 =======================================
========
MGC-IP2 MGC-PORT2
MGC-DOMAIN-NAME2
0.0.0.0 2727 -
=======================================
========
MG-STATE REGISTERED-MGC
Fault 1
=======================================
========AUTH-MODE KEY
Huawei mode *******

Huawei Technologies Proprietary

4-12
4.2.5 Configuring Signaling Port Number of MG

By default, the protocol port number of the Transport Layer of the


MG device is 2427. To change it, use the following command:

Command Remarks
TERMINAL(config)#mgcp mg-port port: port number. By
port default, it is 2427.

The default port number is suggested.

4.2.6 Configuring the Signaling Port Number of the


MGC Server

By default, the number of the Transport Layer protocol port of the


MGC server is 2727. To change it, use the following command:

Command Remarks

index: index of the MGC server


TERMINAL(config)#mgcp mgc
index port port port: number of the Transport
Layer protocol port

The default port number is suggested.

4.2.7 Configuring DNS

After enabling the DNS client, the IAD can access other network
devices by domain name.

Huawei Technologies Proprietary

4-13
Commands:

To… Use…

Set the domain TERMINAL(config)#dns domain-name


name of the DNS. name

Set the IP address TERMINAL(config)#dns server first


of the DNS server. { second | third }

Example:

Start the DNS client on the IAD.

Configure the domain name of the DNS domain as tele.com and


the IP address of the DNS server as 210.11.123.13.

Step Operation

Set the domain name of the DNS.


1
TERMINAL(config)#dns domain-name tele.com

Set the IP address of the DNS server.


TERMINAL(config)#dns server 210.11.123.13
{ <cr>|<I> }:
2

Command:
dns server 210.11.123.13

Huawei Technologies Proprietary

4-14
Step Operation

Check configuration.
TERMINAL(config)#display dns
-----------------------------------------------
3 DNS suffix:tele.com
Server address:
Main DNS Server.............: 210.11.123.13
-----------------------------------------------

4.3 Configuration Examples


The IAD provides VoIP service. In the case of normal network
connections, the IAD can provide VoIP service as long as it registers in
the MGC server, such as the SoftSwitch successfully.

The IAD provides data services too. You can surf on net by
connecting the LAN port to your PC.

The following lists examples about configuring data and voice


services.

4.3.1 Before Configuration

Networking is shown as the following figure:

Huawei Technologies Proprietary

4-15
NMS
DNS
210.11.123.33
210.11.123.13

MGC
210.11.180.18

WAN

IAD
MGC 10.70.33.62
P
10.70.33.60

Figure 4-1 Networking

Table 4-4 lists IP addresses to be planned.

Table 4-4 IP address allocation

Item Value

IP address of the IAD 10.70.33.62


IP address of the default upstream
10.70.33.60
gateway of the IAD
IP address of the MGC 210.11.180.18

IP address of the NMS, namely


210.11.123.33
IADMS

Huawei Technologies Proprietary

4-16
Item Value

IP address of the DNS 210.11.123.13

Domain name of the IADMS huawei.com

4.3.2 Configuring Voice Service

Complete the following configurations to realize VoIP service.

I. Configuring IP address

Example:

Configure the fixed IP address of the IAD as 10.70.33.62, and


subnet mask as 255.255.0.0, while default gateway as 10.70.33.60.
TERMINAL(config)#ipaddress static 10.70.33.62 255.255.0.0
10.70.33.60
Changing net parameter may affect current service,
continue?[Y|N]:y
--------------------------------------------------
DNS Domain Name...............: my.domain
Physical Address..............: 00-e0-fc-15-64-18
IP Address Get Method.........: Static IP config
esw (unit number 3):
Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING
IP Address..................: 10.70.33.62
Subnet Mask.................: 255.255.0.0
Default Gateway.............: 10.70.33.60

Huawei Technologies Proprietary

4-17
esw (unit number 4):
Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING
IP Address..................: 192.168.100.1
Subnet Mask.................: 255.255.255.0
--------------------------------------------------

II. Configuring domain name of the IAD

l Domain name: huawei.com


l MG interface name: aaln
l Signaling port number: default
TERMINAL(config)#mgcp mg-domain-name huawei.com

III. Configuring the IP address of the MGC server

l IP address of the MGC: 210.11.180.18


l Protocol port number: default
TERMINAL(config)#mgcp mgc 1 address 210.11.180.18
{ <cr>|port<K> }:

Command:
mgcp mgc 1 address 210.11.180.18

Check configuration.
TERMINAL(config)#display mgcp attribute
=======================================================
MGIP MG-PORT MG-DOMAIN-NAME
172.21.100.24 2427 huawei.com
=======================================================
MGC-IP1 MGC-PORT1 MGC-DOMAIN-NAME1
210.11.180.18 2727 -

Huawei Technologies Proprietary

4-18
=======================================================
MGC-IP2 MGC-PORT2 MGC-DOMAIN-NAME2
0.0.0.0 2727 -
=======================================================
MG-STATE REGISTERED-MGC
Fault 1
=======================================================
AUTH-MODE KEY
Huawei mode -

IV. Configuring the system time

Set the time to 2005-04-23/11:55:00.


TERMINAL(config)#time 11:55:00 2005-04-23

V. Starting the DNS client

Start the DNS client on the IAD.

Configure the domain name of the DNS domain as tele.com and


the IP address of the DNS server as 210.11.123.13.
TERMINAL(config)#dns domain-name tele.com
TERMINAL(config)#dns server 210.11.123.13
{ <cr>|<I> }:

Command:
dns server 210.11.123.13

TERMINAL(config)#display dns
-------------------------------------------------------

Huawei Technologies Proprietary

4-19
user config:
DNS suffix:tele.com
Main DNS Server.............: 210.11.123.13
Secondary DNS Server........:
config protocol get:
DNS suffix:my.domain
Main DNS Server.............: 192.168.0.6
Secondary DNS Server........:

VI. Adding an IADMS workstation

Configure the IP address of the IADMS workstation to


210.11.123.33.
TERMINAL(config)#nms primary 210.11.123.33
{ <cr>|secondary<K> }:
Command:
nms primary 210.11.123.33
primary IP 210.11.123.33
config succeed

Set the IAD to register in the IADMS when the IAD starts.
TERMINAL(config)#nms access on
config succeed

VII. Saving configuration data

After data configuration, use write to save data.


TERMINAL#write
Command executing, please wait...
System starts to save configuration data, please wait a

Huawei Technologies Proprietary

4-20
moment......
The configuration data backup percent is: 100%
IAD2000(config)#

4.3.3 Configuring Voice Added Value Service

IAD supports voice added value services, including: Three-Party


service, Conference Call, Call transfer, Caller Identification Display
and Advice of Charge at the End of Conversation. These services can
be realized without any configurations. That is, they can be
implemented by following the descriptions in 4.3.2 Configuring Voice
Service and subscribing these services from the carrier.

4.3.4 Configuring Data Service

I. Surfing on net

In non-NAT mode, the IAD enables you to surf on net. In this case,
the IAD works as a hub.

To surf on net by using the IAD, follow these steps:


1) Connect cables well.
2) Configure the IP address of the IAD.
3) Start your PC.
You can surf on net through LAN port or by using a Modem
through PHONE port. The connections are as shown in Figure 4-2.

Huawei Technologies Proprietary

4-21
Figure 4-2 Connections of internet services

II. Fax

By default, the IAD enables fax service.

You need to select fax mode.

Under global configuration mode, use display mgcp


soft-parameter to check the fax mode. It is t38v3 by default.

Connect the devices referring to Figure 4-3.

Huawei Technologies Proprietary

4-22
Upstream
network port

FAX

Figure 4-3 Networking of fax service

& Note:
If you want to change fax mode, refer to Appendix A Advanced
Configuration A.1.3 Configuring MGCP User Fax Mode. It is
recommended to contact the carrier when you perform this operation.

Huawei Technologies Proprietary

4-23
4.3.5 Configuring One Set Two Number

Caution:

One Set Two Number function is supported only by IAD101/102H, but


not supported by IAD101S or IAD104H.

With the One Set Two Number function, you can switch VoIP
service to PSTN service.

By default, the IAD provides VoIP service. You can set a number
which is used to switch VoIP service to PSTN service.

Example: Set a prefix for two stage dialing. That is, after picking
up the handset, you will hear dialing tone twice. After you pick up the
handset and hear the first dialing tone, dial 0000 for switch. After you
hear the second dialing tone, dial the phone number of the called party.
The PSTN call is made.

Set a prefix for one stage dialing. That is, phone numbers whose
prefixes are the same as the prefix for one stage dialing can be dialed
out. For example, the prefix for one stage dialing is 3654 and the
phone number contains 8 digits. After you pick up the handset and
hear the first dialing tone, dial 3654, and then dialing the called
number, such as 36547155. The PSTN call is made.

The PSTN switch mode decides how to switch to the PSTN.

Huawei Technologies Proprietary

4-24
l Manually: After the VoIP network is broken, you need to
configure the IAD to switch to the PSTN.
l Automatically: The IAD switches to the PSTN automatically.
Commands:

To… Use… Remarks

Set a prefix and prefix: prefix for


the length of a one-stage dialing
TERMINAL(config)#pstn
phone number
prefix prefix length length length: length of
for PSTN one
stage dialing. a called number

Set the number switchkey: dialed


used to switch TERMINAL(config)#pstn number used to
to PSTN two switchkey switchkey switch to two
stage dialing. stage dialing
auto: automatic
TERMINAL(config)#pstn switch
Set the PSTN
switchmode { auto |
switch mode. manual: manual
manual }
switch

Delete prefixes
for PSTN one prefix: Delete the
stage dialing specified prefix.
TERMINAL(config)#undo
according to
pstn prefix {prefix | all } all: Delete all
the specified
prefix or delete prefixes.
all prefixes.

For example: Configure PSTN as automatic switch mode, the


prefix for two-stage switch is 1111.

Huawei Technologies Proprietary

4-25
Procedure Operation

Configure automatic switch mode:


1 TERMINAL(config)#pstn switchmode auto
Execution of command succeeded

Configure prefix for two-stage switch:


2 TERMINAL(config)#pstn switchkey 1111
Execution of command succeeded

Huawei Technologies Proprietary

4-26
Chapter 5 SIP Service Configuration

This chapter introduces the configuration methods and steps of


SIP service data through command lines. After reading the chapter,
you will be able to perform SIP service configuration.

For the command lines and basic configuration, see ¡°Chapter 3


Basic Commands¡±
.

5.1 Introduction to SIP


Brief introduction to Session Initiation Protocol (SIP) will help you
understand SIP service well.

I. Functions

SIP is an application layer protocol which is used to set up,


change or end multimedia session.

Based on text coding, SIP uses the protocols such as HTTP and
SMTP for reference. SIP can work with the protocols such as
RTP/RTCP, SDP, RTSP and DNS to perform the services such as
Voice, Video, Data, E-mail, Presence, Chat and Game.

Through SIP protocol, IAD can realize the interworking of Internet


and PSTN/ISDN network, the telephone services between POTS
users over Internet and the call connection between POTS users and
Internet telephone users.

Huawei Technologies Proprietary

5-1
II. Features

l Minimum state: A conference call or telephone call may


contain one or multiple requests. The proxy server can work
in stateless mode.
l Content encapsulation: The SIP message body can carry
any content; SIP protocol layer can use UDP protocol or
TCP protocol. UDP protocol is the first choice.
l Transparency: The network devices in-between such as
Proxy need not to understand the content of SIP message
and can process the SIP message transparently.

III. SIP Network Model

SIP Network Model is shown in the figure below.

Redirect
Server
Location/Register
Server
1
2 4
3 5
8 6
Proxy
SIP Client Server 7
(UA) media
SIP Client
(UA)

Figure 5-1 SIP network model

l UA: The entities that initiate requests or calls. For example,


SIP Phone and SoftPhone.
l Proxy: Forward the requests or responses of clients.

Huawei Technologies Proprietary

5-2
l Redirect Server: Map the addresses in users’ call requests
into new addresses and return the new addresses to users.
l Register Server: The server that receives registration
requests. For example SoftSwitch devices.

IV. Call Procedure

The SIP call procedure is basically the same with that of ordinary
telephone call.

After startup, users register user information in Register Server.


After registration is done, VoIP telephone services can be available.

5.2 Configuration Steps of SIP Data


The configuration steps of SIP data of IAD101S/101/102/104H
are shown in the table below:

Table 5-1 The configuration steps of SIP

Stage Description Reference

1 Configure the IP addresses of devices 5.2.1

2 Configure Server 5.2.2


3 Configure SIP users 5.2.3

4 Configure SIP user digitmap 5.2.4

5 Configure SIP local port number. 5.2.5

Huawei Technologies Proprietary

5-3
& Note:
The step 1 – 3 must be configured. Others steps use default
configuration provided by devices.
For SIP IAD, the default method of obtaining IP address is DHCP. If
user wants to use other methods, IP address needs to be configured.

The configuration commands in use are listed below:

Operation Command
TERMINAL(config)#sip server index
Configure SIP server { address address | domain name | port
port | expire-time expire-time }

TERMINAL(config)#sip user user-sn


Configure SIP user
{ id id | password password | name
information
name }
TERMINAL(config)#( undo) sip
SIP user logout
shutdown { user-sn | all }

Configure SIP user TERMINAL(config)#sip digitmap


digitmap digitmap

Configure SIP local TERMINAL(config)#sip local-port


port number localport

TERMINAL(config)#display sip
Display SIP attribute
attribute
TERMINAL(config)#display sip
Display SIP digitmap
digitmap

Display SIP TERMINAL(config)#display sip


send-capability send-capability

Huawei Technologies Proprietary

5-4
Operation Command

Display SIP server


TERMINAL(config)#display sip server
information

Display SIP software TERMINAL(config)#display sip


parameters soft-parameter

5.2.1 Configure IP Addresses of Devices

Configure IP addresses of devices in the global configuration


mode. Configuration commands are listed below:

Operation Command

Configure the static IP address:


ipaddress static ip-address net-mask
gateway-ip

Configure auto obtaining IP address:


Configure IP
ipaddress dhcp
addresses of
devices Configure obtaining IP address through
PPPoE dialing:
pppoe username usermane password
password
ipaddress pppoe { disable | enable }

The device IP address of IAD101S/101/102/104H must be


configured.

Huawei Technologies Proprietary

5-5
After configuration, the IP address will take effect immediately
and the device does not need to restart.

IAD101S/101/102/104H provides three methods of obtaining IP


address:
l Configure static IP address
l Dynamically obtain IP address through DHCP server
l Obtain IP address through PPPoE dialing
For SIP IAD, the default method of obtaining IP address is DHCP.

For detailed operation and description, see ¡°Chapter 3 Basic


Configuration 3.4 Configuring IP address of IAD¡±

5.2.2 Configure SIP Server

This command is used to configure the information of the call


server that SIP IAD registers with. In global configuration mode, use
the following commands.

Command Remarks
address: The IP address of the server.
name: The user domain name. The
TERMINAL(config)# sip length does not exceed 31 characters.
server index { address
address | domain name port: Server port number. The default is
| port port | expire-time 5060.
expire-time }
expire-time: Registration validity period.
The range is 5 – 3600 * 24 * 365. The
default is 3600 seconds.

Huawei Technologies Proprietary

5-6
Configuration example: the IP address of Server 2 is 191.168.3.3
and the port number is 5061.

Step Operation

Configure SIP server information:


TERMINAL(config)#sip server 2 address 191.168.3.3
port 5061
1 { <cr>|domain<K>|expire-time<K> }:
Comman
sip server 2 address 191.168.3.3 port 5061
Execution of command succeeded
Display the configuration result:
TERMINAL(config)#display sip server
{ <U><0,2>|all<K> }:2

Command:
display sip server 2
2 Sip Server Information
----------------------------------------------
index : 2
domain name :
IP address : 191.168.3.3
port : 5061
expire time : 3600
----------------------------------------------

5.2.3 Configure SIP user

This command is used to configure SIP user information,


including user telephone number, call authentication password and
user alias.

In global configuration mode, use the following commands.

Huawei Technologies Proprietary

5-7
Command Remarks

user-sn: the port number of the


connected IAD device. Its range
depends on the actual port quantity of
the device in use. For example,
IAD101H is used and the port number
is 0 – 0.
id: User telephone number. It is used to
TERMINAL(config)#sip identify user and the length does not
user user-sn { id id | exceed 31 characters. The number is
password password | allocated by the operator and has been
name name } configured on the call server.
password : User authentication
password. The length does not exceed
31 characters. The operator decides
whether to configure the parameter.
name: User alias. The length does not
exceed 63 characters.

Caution:

The parameters id and password must be configured on the


registration server firstly and then users can succeed in registering.

Configuration example: user-sn is 0; id is 88889999; password is


abcxyz; name is Jack.

Huawei Technologies Proprietary

5-8
Step Operation

Configure SIP user:


TERMINAL(config)#sip user 0 id 88889999 password
abcxyz name Jack
1 This operation will affect the user's current services.
Continue? [Y/N]:y
Execution of command succeeded.

TERMINAL(config)#
Display the configuration result:
TERMINAL(config)#display sip attribute 0
Sip User Information
-----------------------------------------------
user-sn : 0
id : 88889999
2 password : ********
name : jack
local address : 172.21.100.29
local-port : 5060
registration state : registered
previous server : 0.0.0.0 : 5060
current server : 191.168.100.8 : 5060
-----------------------------------------------

In global configuration mode, execute undo sip user to delete


SIP user; use sip shutdown to perform user logout.

5.2.4 Configure SIP User Digitmap

This command is used to configure the restriction policies of user


dialing.

SIP IAD default policy is that users are permitted to enter any
character or number when dialing. This policy may be modified
according to actual requirement.

Huawei Technologies Proprietary

5-9
The command is shown below:

Command Remarks
digitmap: The digitmap string to be
added. The length is 1 – 31. The valid
characters that may be contained in the
TERMINAL(config)#sip
string: 0 – 9, a, b, c, d, x. ¡°x¡±is wildcard
digitmap digitmap
and can represent any number. The
default digitmap of SIP IAD is
¡°[xABCD*#].t¡±.

& Description:
l Use undo sip digitmap to cancel user digitmap.
l Use display sip digitmap to view user digitmap information.

For example: Delete the default digitmap, the configured


digitmap string is 0755xxxxxxxx. Only the number starting with 0755 is
permitted to dial.

Step Operation

Configure SIP user digitmap:


1 TERMINAL(config)#sip digitmap 0755 xxxxxxxx
Execution of command succeeded.
TERMINAL(config)#

Huawei Technologies Proprietary

5-10
Step Operation

Display the configuration result:


TERMINAL(config)#display sip digitmap
Sip digitmap
--------------------------------------
2 index digitmap
----- --------------------------------
[xABCD*#].t
0755xxxxxxxx
--------------------------------------

5.2.5 Configure SIP Signaling Port Number

The command is used to configure the local port number which is


used by IAD to send SIP signaling.

The default SIP signaling port number is 5060. It can be modified


through the following command.

Command Remarks

local-port: Local port number. The value


TERMINAL(config)#sip
cannot be the same with other port
local-port port
number. The default is 5060.

Example: the configured local port number is 5061.

Step Operation

Configure local port number:


1 TERMINAL(config)#sip local-port 5061
Execution of command succeeded

Huawei Technologies Proprietary

5-11
Step Operation

Display the configuration result:


id : 88889999
password : ********
name : jack
local address : 172.21.100.29
2 local-port : 5061
registration state : registering
previous server : 0.0.0.0 : 5060
current server : 191.168.3.3 : 5061
------------------------------------------------
TERMINAL(config)#

5.3 Configuration Examples of SIP Services


SIP IAD101S/101/102/104H provides VoIP voice service. When
the network connection is normal, and IAD device succeeds in
registering with SIP server (for example softswitch), the voice call can
be available.

The configuration of SIP voice service is illustrated below by


examples.

5.3.1 Configuration Preparation

Need to plan data as shown in the table below.

Table 5-2 The allocation table of IP addresses

Item Parameter

IP address of IAD Obtained through DHCP


IP address of SIP server 191.168.10.10

Huawei Technologies Proprietary

5-12
Item Parameter

SIP user telephone number 88880008

The configuration of other parameters uses the defaults provided


by IAD. For the detailed description of defaults, see Appendix B
¡°Defaults list¡±
.

5.3.2 Configuration of Voice Service

I. Configure IP Address

The default method of obtaining IP address is DHCP. When


DHCP server is configured, IAD connects with network and is
power-on; IAD obtains the IP address from DHCP server
automatically.

The information is displayed below:


--------------------------------------------------
DNS Domain Name...............: abc.com
Physical Address..............: 00-e0-fc-92-8a-2a
IP Address Get Method.........: DHCP
esw (unit number 3):
Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING
IP Address..................: 191.168.100.2
Subnet Mask.................: 255.255.0.0
Default Gateway.............: 191.168.10.10
DHCP Server Address...........: 191.168.210.17
DHCP Expired Time Length .....: 60 S

Huawei Technologies Proprietary

5-13
esw (unit number 4):
Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING
IP Address..................: 192.168.100.1
Subnet Mask.................: 255.255.255.0
--------------------------------------------------

II. Configure SIP Server

The IP address of SIP server is 192.168.10.10. The operations


are shown below.
TERMINAL(config)#sip server 0 address 191.168.10.10
{ <cr>|domain<K>|port<K>|expire-time<K> }:

Command:
sip server 0 address 191.168.10.10
Execution of command succeeded

III. Configure SIP User Information

Configuration: the port number of SIP user is 0. The telephone


number is 88880008 and the password is 88880008. The operations
are shown below.
TERMINAL(config)#sip user 0 id 88880008 password 88880008
{ <cr>|name<K> }:

Command:
sip user 0 id 88880008 password 88880008
This operation will affect the user's current services.
Continue? [Y/N]:y

Huawei Technologies Proprietary

5-14
TERMINAL(config)#
Execution of command succeeded

IV. View the Configuration Result

TERMINAL(config)#display sip attribute 0


Sip User Information
-----------------------------------------------------
user-sn : 0
id : 88880008
password : ********
name :
local address : 191.168.100.2
local-port : 5060
registration state : registered
expire-time : 300 sec
previous server :
current server : 191.168.10.10 : 5060

V. Save the Configuration Data

After data configuration is completed, use write to save data.


TERMINAL#write
Command executing, please wait...
System starts to save configuration data, please wait a
moment......
The configuration data backup percent is: 100%
IAD2000(config)#

Huawei Technologies Proprietary

5-15
& Note:
Currently, SIP IAD only supports basic voice service. For the added
value services such as: Three-Party Service, Conference Call, Video
Conference, Call Transfer, Caller Identification Display and Advice of
Charge at the End of Conversation are not supported.

5.3.3 Configuring Data Service

I. Surfing on net

In non-NAT mode, the IAD enables you to surf on net. In this case,
the IAD works as a hub.

To surf on net by using the IAD, follow these steps:


1) Connect cables well.
2) Configure the IP address of the IAD.
3) Start your PC.
You can surf on net through LAN port or by using a Modem
through PHONE port. The connections are as shown in Figure 4-2:

Huawei Technologies Proprietary

5-16
Figure 5-2 Connections of internet services

II. Fax

By default, the IAD enables fax service. Connect the devices


referring to Figure 5-3:

Huawei Technologies Proprietary

5-17
Upstream
network port

FAX

Figure 5-3 Networking of fax service

& Note:
If you want to change fax mode, refer to Appendix A Advanced
Configuration A.1.3 Configuring MGCP User Fax Mode. It is
recommended to contact the carrier when you perform this operation.

Huawei Technologies Proprietary

5-18
5.3.4 Configuring One Set Two Number

Caution:

One Set Two Number function is supported only by IAD101/102H, but


not supported by IAD1001S or IAD104H.

The One Set Two Number settings of SIP IAD are identical to
those of the MGCP IAD. For details, refer to ¡°Chapter 4 MGCP Service
Configuration 4.3.5 Configuring One Set Two Number¡±
.

Huawei Technologies Proprietary

5-19
Chapter 6 Maintenance

To ensure normal operation of the IAD, you need to carry out


routine maintenance after the data has been configured.

This chapter introduces the common operations in daily


maintenance, including:
l System management
l Operation log management
l Terminal Information output management
l Alarm management
l RTCP Alarm threshold setting
l Loading and backup management
l Automatic software update management
l Network Test Tools

6.1 System Management

6.1.1 Saving Data

To ensure the system availability and data security, the IAD


supports the saving of data.

The configured system data is temporarily stored in the SDRAM.

To prevent loss of data caused by unexpected events, you need


to save the configured data into the Flash memory.

The operations for saving data are as follows:

Huawei Technologies Proprietary

6-1
Step Operation

1 Configure data.

Save data.
2 TERMINAL#write
Write running-config to flash ... Succeed!
TERMINAL#

6.1.2 Resetting System

In the privilege mode, you can use reboot to reset the system:

TERMINAL#reboot

Are you sure to reset system? Caution:Unsaved data will


be lost![Y|N]:y

Caution:

Rebooting the system will affect the currently running services, use it
with caution.

6.1.3 Restoring Settings

In the global config mode:


l Use restore carrier-config to restore default settings made
by carriers.

Huawei Technologies Proprietary

6-2
l Use restore vendor-config to restore factory defaults.
After using the above commands, use reboot to validate the
settings.

Example: Restore carrier configuration:


TERMINAL(config)#restore carrier-config
Are you sure to restore carrier config?[Y|N]:y

Example: Restore vendor configuration:


TERMINAL(config)#restore vendor-config
Restore to vendor configuration ... Succeed!
Please reboot the system to make vendor configuration
effective.

The following table lists descriptions of carrier-config,


vendor-config, and initial-config.

Configuration Description

vendor-config Factory defaults of the device


Configuration made by carriers, saved in the
FLASH memory as a configuration file
After the IAD is hatched, the configuration of the
IAD is carrier-config.
carrier-config
If carriers do not configure IADs by hatching, they
can change current configuration into
carrier-config by using write
generate-carrier-config.

Huawei Technologies Proprietary

6-3
Configuration Description

initial-config refers to configuration when the IAD


starts, while current-config refers to configuration
taking effect currently.
1) Suppose the IP address of the MGC is
1.1.1.1 when the IAD starts. Use display
initial-config and display current-config to
query the IP address of the MGC. The
results show that the IP address is 1.1.1.1.
2) Change the IP address of the MGC to
1.1.1.2, but do not use write. Use display
initial-config. The result shows that the IP
initial-config address is 1.1.1.1. Use display
and current-config. The result shows that the IP
current-config address is 1.1.1.2.
3) Use write, and then use display
initial-config and display current-config.
The results show that the IP address of the
MGC is 1.1.1.2.
The above shows that:
1) When the IAD starts, initial-config is the
same as the current-config.
2) After you change data and use write,
initial-config is the same as the
current-config.

For example:
TERMINAL(config)#restore vendor-config
Restore to vendor configuration ... Succeed!
Please reboot the system to make vendor configuration
effective.

Huawei Technologies Proprietary

6-4
6.1.4 Showing CPU Utilization

In the privilege mode, you can use display cpu to show the CPU
utilization.
l When the utilization exceeds 85%, the system will generate
a CPU overload alarm.
l When the utilization is lower than 75%, the alarm will be
recovered.
Example:
TERMINAL#display cpu
CPU occupancy: 12%
TERMINAL#

6.1.5 Showing System Date and Time

In the privilege mode, you can use display time to query the
system time of the IAD, making sure that the time is accurate.

Example:

Show the current date and time.

TERMINAL# display time

Current date: 2003-02-13

Current time: 17:54:43

TERMINAL#

Huawei Technologies Proprietary

6-5
6.1.6 Showing Version Information

In the user mode, you can use display version to display the
versions of the basic input output system (BIOS) and the system
software.

Example:

Show the system version.


TERMINAL#display version
Equipment type : IAD101H
PCB version : AG31VPPB VER.B
Software version : TS0401V300R001B01D060
BIOS version : 1002
SLIC version : N/A
DSP version : N/A

6.1.7 Showing IP Addresses

In the user mode, you can use display ipaddress to query IP


address configuration of the IAD:
l Mode about obtaining an IP address
l IP address
l Subnet mask
l Gateway IP address
l IP address for maintenance
Example:

Show current IP address configuration.

TERMINAL(config)#display ipaddress

Huawei Technologies Proprietary

6-6
--------------------------------------------------

DNS Domain Name...............: my.domain

Physical Address..............: 00-e0-fc-15-64-18

IP Address Get Method.........: Static IP config

esw (unit number 3):

Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING

IP Address..................: 172.21.100.24

Subnet Mask.................: 255.255.0.0

Default Gateway.............: 172.21.1.1

esw (unit number 4):

Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING

IP Address..................: 192.168.100.1

Subnet Mask.................: 255.255.255.0

---------------------------------------------------

6.1.8 Showing MGC Configuration

In the global config mode, you can use display mgcp attribute
to query MGC configuration.

Example:

Query MGC configuration.

Huawei Technologies Proprietary

6-7
TERMINAL#display mgcp attribute
=======================================================
MGIP MG-PORT MG-DOMAIN-NAME
172.21.100.131 2427 huawei.com
=======================================================
MGC-IP1 MGC-PORT1 MGC-DOMAIN-NAME1
210.11.180.18 2727 -
=======================================================
MGC-IP2 MGC-PORT2 MGC-DOMAIN-NAME2
0.0.0.0 2727 -
=======================================================
MG-STATE REGISTERED-MGC
Fault 1
=======================================================
AUTH-MODE KEY
Huawei mode *******

6.1.9 Showing Startup Settings

In the privilege mode, you can use display initial-config to


query settings of the system when it starts.
TERMINAL#display initial-config
System startup configuration:
……….
………
configure terminal
countrycode China
mgcp user 0 0 aaln 0
dns domain-name my.domain

Huawei Technologies Proprietary

6-8
…….
…….
TERMINAL#

6.1.10 Showing Current Configuration

In the privilege mode, you can use display current-config to


query current configuration of the system.
TERMINAL(config)#display current-config
System current configuration:
enable
configure terminal
mgcp mgc 1 address 210.11.180.18
mgcp user 0 0 aaln 0
sntp server address 140.11.2.189
dns server 210.11.123.13
dns domain-name tele.com
advanced
lanswitch
end
TERMINAL(config)#

6.1.11 Showing Access User Data

In the user mode, you can use display mgcp user { all | portid }
to display the service data of access users.

Example:

Show user data of ports.

Huawei Technologies Proprietary

6-9
TERMINAL#display mgcp user all
=======================================================
EndPoint: EndPointName: DomainName:

0 aaln/0 huawei.com
=======================================================

6.2 Operation Log Management


The IAD provides operation log function. By Syslog, the IAD
records the operation and maintenance information on the system,
including the remote maintenance information.

To carry out log function, you need to assign the IP address of the
log host on the IAD. Active and standby log hosts can be used.

Commands:

To… Use…

Add an active log host. TERMINAL#loghost primary

Add a standby log


TERMINAL#loghost secondary
host.

Set the output switch


of log host TERMINAL#infoswitch syslog
information.
Set the output level of
TERMINAL#infolevel syslog
log host information.

Delete a log host. TERMINAL#undo loghost

Show log host


TERMINAL#display loghost
information.

Huawei Technologies Proprietary

6-10
6.2.1 Configuring a Log Host

Example:
l Add an active log host with an IP address of 210.11.123.56.
l Enable log information output.
l Configure the output level of log host information as 3.
Step Operation

Add an active log host.


TERMINAL#loghost primary 210.11.123.56
1 { <cr>|secondary<K> }:

Command:
loghost primary 210.11.123.56
Enable log information output.
TERMINAL#infoswitch syslog primary syslog on
{ <cr>|oprlog<K>|debug<K>|alarm<K>|diagnose<K>|tra
2 ce<K>|stat<K>|other<K> }:
Command:
infoswitch syslog primary syslog on
TERMINAL#
Configure output level of log host information.
TERMINAL#infolevel syslog primary syslog 3
{ <cr>|oprlog<K>|debug<K>|alarm<K>|diagnose<K>|tra
3 ce<K>|stat<K>|other<K> }:
Command:
infolevel syslog primary syslog 3
TERMINAL(config)#

Huawei Technologies Proprietary

6-11
Step Operation

Check configuration of the log host.


TERMINAL(config)#display loghost
TERMINAL(config)#
4 -----------------------------------------------Typ
e IP address State
Primary 210.11.123.56 Normal
Secondary Not config
-----------------------------------------------
Check output switch of log information.
TERMINAL#display infoswitch syslog primary
{ <cr>|syslog<K>|oprlog<K>|debug<K>|alarm<K>|diagn
ose<K>|trace<K>|stat<K>|other<K> }:

Command:
display infoswitch syslog primary

5 TERMINAL#
Terminal information output control switch:
System log type :On
Operation log type :On
Debugging information type :On
Alarm information type :On
Test and diagnosis type :On
Trace information type :On
Performance statistics type :On
Other information type :On
Check output level of log information.
TERMINAL#display infolevel syslog primary syslog
{ <cr>|oprlog<K>|debug<K>|alarm<K>|diagnose<K>|tra
ce<K>|stat<K>|other<K> }:
6 Command:
display infolevel syslog primary syslog

TERMINAL#
Terminal information output control level:
System log type :3

Huawei Technologies Proprietary

6-12
6.2.2 Showing Operation Log Information

In the privilege mode, use display log to query information about


operation logs.

Commands:

To… Use…

Query information
TERMINAL#display log all
about logs of all users.

Query information
TERMINAL#display log name
about logs of a user.

Example:

Show operation logs of root.


TERMINAL#display log name root
{ <cr>|date<D><yyyy-mm-dd> }:

Command:
display log name root
No. UserName Command Data&Time LogMode
IPAdd
1 root enable 08/17/2004 14:54:14 Terminal
0.0.0.0
2 root configure terminal 08/17/2004 14:54:15 Terminal
0.0.0.0
3 root user name 08/17/2004 14:56:34 Terminal
0.0.0.0

Huawei Technologies Proprietary

6-13
4 root no user name 08/17/2004 14:57:09 Terminal
0.0.0.0
5 root write 08/17/2004 14:58:30 Terminal
0.0.0.0
TERMINAL>

6.3 Outputting Information about Terminals


The management of terminal information output includes setting
terminal information output switch and information output level.

Information about terminals includes:


l System log (syslog)
l Operation log (oprlog)
l Debugging information (debug)
l Alarm information (alarm)
l Tracing information (trace)
l Diagnosis information (diagnose)
l Statistics information (stat)
l Other information (other)
The management and maintenance terminals of the IAD include:
l Command line terminal
l Network management station (NMS)
l Log host
Commands:

Huawei Technologies Proprietary

6-14
To… Use…

Set the information


output switch for the TERMINAL#infoswitch cli
command line.
Set the information
output switch for the TERMINAL#infoswitch nms
NMS.

Set the information


output switch for log TERMINAL#infoswitch syslog
host .
Show the information
output switch for TERMINAL>display infoswitch cli
command line.
Show the information
output switch for the TERMINAL>display infoswitch nms
NMS.

Show the information


output switch for the log TERMINAL>display infoswitch syslog
host.
Set the information
output level for the TERMINAL#infolevel cli
command line.
Set the information
output level for the TERMINAL#infolevel nms
NMS.

Set the information


output level for the log TERMINAL#infolevel syslog
host.
Show the information
output level for the TERMINAL>display infolevel cli
command line.

Huawei Technologies Proprietary

6-15
To… Use…

Show the information


output level for the TERMINAL>display infolevel nms
NMS.
Show the information
output level for the log TERMINAL>display infolevel syslog
host.

6.3.1 Setting Information Output Switch

By setting the information output switch, you can control the type
of information to be output to a certain terminal.

When you set the information output switch and level for the
command line, you need to input the parameter ¡°Client ID¡±
, which can
be obtained through command display client.

The display client command will display the information on


command line client end of the registered users, including terminal
user number (Client ID), user name, IP address and login time.

Example:

Set the IAD not to send the system log to iadms1, but send the
alarm information, debugging information and diagnosis information to
the command line terminal named ¡°aaa¡±
:

Huawei Technologies Proprietary

6-16
Step Operation

Set the IAD not to send the system log to the NMS.
TERMINAL#infoswitch nms primary syslog off
1 { <cr>|oprlog<K>|debug<K>|alarm<K>|diagnose<K>|tra
ce<K>|stat<K>|other<K> }:
Command:
infoswitch nms primary syslog off
Query Client ID of aaa user.
TERMINAL#display client
----------------------------------------------
Client ID Client Name Client Type IP Address Login
Time
2 ----------------------------------------------
1 root Telnet 172.21.200.250 2003-02-13
20:02:59
2 aaa Telnet 172. 21. 50. 8 2004-08-17
10:41:05
----------------------------------------------
TERMINAL#
The result shows that Client ID of aaa user is 2.
Set the information output switch.
TERMINAL#infoswitch cli 2 alarm on debug on diagnose
on
3 { <cr>|syslog<K>|oprlog<K>|trace<K>|stat<K>|other<
K> }:
Command:
infoswitch cli 2 alarm on debug on diagnose
on
TERMINAL#

6.3.2 Setting Information Output Level

By setting the information output switch, you can control the level
of information to be output to a certain terminal.

Huawei Technologies Proprietary

6-17
To set information output level, first enable the information output
switch, and then control the output level of the information.

Once a level is set, other information with a higher level will be


output to the specified terminal.

The level is 0 to 4. ¡°4¡±indicates the highest level.

Example:
l Set the output level of information to iadms1 as 3.
l Set the output levels of alarm, debugging and diagnosis
information to command line terminal with Client ID 3 to 1, 2
and 3 respectively.
Step Operation

Set the output level of information to iadms1as 3.


TERMINAL#infolevel nms primary syslog 3
{ <cr>|oprlog<K>|debug<K>|alarm<K>|diagnose<K>|tra
1 ce<K>|stat<K>|other<K> }:

Command:
infolevel nms primary syslog 3
Set output levels of alarm, debugging, and diagnosis
information of the command line terminal.
TERMINAL#infolevel cli 2 debug 2 diagnose 3 alarm 1
2 { <cr>|syslog<K>|oprlog<K>|trace<K>|stat<K>|other<
K> }:

Command:
infolevel cli 2 debug 2 diagnose 3 alarm 1

Huawei Technologies Proprietary

6-18
6.4 Alarm Management
Alarm management includes alarm record, alarm setting, alarm
statistics of the IAD.

The IAD can be maintained through alarm management, so as to


ensure its normal operation.

After an alarm occurs, the system will broadcast it to each


terminal according to the conditions of the maintenance terminals
currently configured, mainly including NMS workstation and command
line terminal.

Whether to report the alarm to each terminal is defined in the


alarm control.

6.4.1 Description of Common Alarm Attributes

I. Alarm ID

A certain type of alarms refers to all the alarms of the same type
(with the same alarm ID).

Alarms of the same type are identified by a unique alarm ID of


four bytes, like 0x********.

You can input the complete alarm ID like 0x********, or input it in


decimal form.

The value of an alarm ID ranges from 38 to 1507589.

Huawei Technologies Proprietary

6-19
II. Alarm level

Alarm level indicates the severity of an alarm, which can be


critical, major, minor or warning.
l Critical alarm refers to the alarms for the faults which can
affect the normal operation of the device, and the user is
required to mend the faults immediately. Such as faults of
power supply or circuits.
l Major alarm refers to board alarms or line alarms. If the user
does not handle the fault in time, normal operation of
services will be affected. Such as fault of a physical line.
l Minor alarm refers to the fault alarms and event alarms
describing the working status of each board or line. For
example, bit error occurs in a certain physical line.
l Warning alarm refers to a change of status, or an event, that
does not affect the normal service of the device, but may be
of interest to the maintenance and operation person. The
recovery prompt of the device is also a warning.

III. Alarm class

There are three alarm classes:


l Event
l Fault
l Restore

IV. Alarm type

The alarms of the IAD can be divided into five types:

Huawei Technologies Proprietary

6-20
l Communication
l Service_quality
l Process_error
l Equipment
l Environmental alarm

6.4.2 Alarm Task Management

Table 6-1 lists tasks and commands about alarm management.

Table 6-1 Alarm task

To… Use…

Output alarms to the


command line TERMINAL#(undo) alarm output all
interface.
Show alarm
TERMINAL#display alarm configuration
configuration.
Show information
TERMINAL#display alarm history
about history alarms.
TERMINAL#display alarm list
Show details of
{ alarmclass |alarmlevel |alarmtype |all |
alarms.
from}

6.4.3 Setting Alarm Output

The IAD101S/101/102/104H provides the alarm output mask


function.

Huawei Technologies Proprietary

6-21
After enabling the output mask, simple alarm information is
displayed when an alarm occurs. To query details of the alarm, use
display alarm.

In the privilege mode, use the following commands:

To… Use…

Enable alarm output. TERMINAL#alarm output all

Disable alarm output. TERMINAL#undo alarm output all

Example:

Enable alarm output.


TERMINAL#alarm output
! EVENT WARNING 2003-02-13 01:19:56
ALARM NAME :Change of maintenance user's status
PARAMETERS :User name: root, Log mode: Serial, IP: 0x0,
State: Log on
TERMINAL#

6.4.4 Showing Alarm Records

The IAD stores the alarm information, and maintenance


personnel can query it at any time.

The IAD stores up to 5000 alarms currently generated.

When a new alarm occurs, and if the record list is full, the old
record will be replaced with the new one.

You can query alarms by alarm class, alarm level, alarm ID, alarm
type, and alarm generation time.

Huawei Technologies Proprietary

6-22
Commands:

To… Use…

Query alarms by TERMINAL#display alarm list


alarm class. alarmclass class [ startnum number ]

Query alarms by TERMINAL#display alarm list


alarm level. alarmlevel level [ startnum number ]

Query alarms by TERMINAL#display alarm list alarmtype


alarm type. type_value [ startnum number ]

Query alarms by TERMINAL#display alarm list from


alarm ID. idbegin to idend [ startnum number ]
TERMINAL#display alarm list all
Query latest alarms.
startnum number

Table 6-2 lists parameters in commands.

Table 6-2 Parameters in commands

Parameter Description

Alarm class
class
There are three classes: event, fault and restore.
Alarm level
level There are four levels: critical, major, minor, and
warning.
Alarm type
type_value There are five types: communication, service,
process, equipment and environmental.

Huawei Technologies Proprietary

6-23
Parameter Description

idbegin Start ID
Idend End ID
The alarm number from which the display starts
The value range is 1–5000.
startnum
In the command line interface, you can start the
display from 1, or from a designated startnum.

Maximum number of alarm records after the


number startnum that can be displayed in one time, ranging
1–5000.

Example:
th
Show 10 alarm records following the 5 alarm.
TERMINAL#display alarm list all 5 10

-------------------------------------------------------
ALARMID OUTPUT STATISTIC ALARM_NAME

-------------------------------------------------------
0x05300000 YES NO Online load start
0x05300001 YES NO Online load end
0x06100005 YES NO Device start
0x06110002 YES NO CPU occupany exceeds the
threshold
0x06120002 YES NO CPU occupancy recovery alarm
0x06400001 YES NO Change of maintenance user's

Huawei Technologies Proprietary

6-24
status
0x0c000002 YES NO MGCP user succeeded in
registration
0x0c000003 YES NO MGCP user switched MGC
0x0c010001 YES NO MGCP user interface failed
0x0c020001 YES NO MGCP user interface restored

-------------------------------------------------------

6.4.5 Showing History Alarms

You can query history alarms by alarm class, alarm ID, alarm
level, alarm generation time, and alarm type.

Commands:

To… Use…

Query history alarms TERMINAL# display alarm history


by alarm class. alarmclass class [ startnum number ]

Query history alarms display alarm history alarmlevel level


by alarm level. [ startnum number ]

Query history alarms display alarm history alarmtype


by alarm type. type_value [ startnum number ]

Query history alarms TERMINAL#display alarm history


by alarm ID. alarmid id number [ detail | list ]

Query history alarms TERMINAL#display alarm history


by alarm generation alarmtime start yyyy-mm-dd hh:mm:ss
time. end yyyy-mm-dd hh:mm:ss

Huawei Technologies Proprietary

6-25
To… Use…

Query all history TERMINAL#display alarm history all


alarms. [ detail | list ]

Table 6-3 lists parameters of commands.

Table 6-3 Parameters of commands

Parameter Description

Alarm class
class
There are three classes: event, fault and restore.

Alarm level
level There are four levels: critical, major, minor, and
warning.
Alarm type
type_value There are five types: communication, service,
process, equipment and environmental.
idbegin Start ID

The alarm number from which the display starts


The value range is 1–5000.
startnum
In the command line interface, you can start the
display from 1, or from a designated startnum.

Maximum number of alarm records after the


number startnum that can be displayed in one time, ranging
1–5000.

Huawei Technologies Proprietary

6-26
Parameter Description

yyyy-mm-dd
Alarm generation time
hh:mm:ss

detail Alarm details


list General alarm information

6.4.6 Showing Alarm Configuration

In the privilege mode, you can use display alarm configuration


to query configuration of an alarm.

6.5 Setting RTCP Alarm Threshold


The Real-Time Transport Control Protocol (RTCP) packet
contains the statistical results of the round-trip delay, delay jitter and
packet loss ratio of the Real-Time Transport Protocol (RTP) channel.

When the operational values of the system exceed the following,


an alarm is generated.
l The RTCP packet threshold
l The thresholds of the round-trip delay, delay jitter and
packet loss ratio of the RTP channel
l The threshold of the interval between sending two RTCP
packets
The system provides default RTCP alarm thresholds. To change
it, use the following commands in the advanced configuration mode:

Huawei Technologies Proprietary

6-27
To… Use…

Set RTCP alarm thresholds,


that is, an alarm is
generated after the
parameters delay, jitter and
lost of how many RTCP
packets in a row exceed the
thresholds. TERMINAL(advanced-config)#rtcp
alarmthreshold
The value range is 0 to 5,
and the default value is one
packet.
If it is set to 0, the alarm and
log function of RTCP is
disabled.
Set round-trip delay of the
RTP channel.
TERMINAL(advanced-config)#rtcp
The value range is 50ms to delay
1,000ms. By default, it is
60ms.

Set delay jitter of the RTP


channel.
TERMINAL(advanced-config)#rtcp
The value range is 10ms to jitter
150ms. By default, it is
20ms.
Set packet loss ratio of the
RTP channel.
TERMINAL(advanced-config)#rtcp
The value range is loss
0%–20%. By default, it is
50%.

Huawei Technologies Proprietary

6-28
To… Use…

Set the time interval


between sending RTCP
packets TERMINAL(advanced-config)#rtcp
interval
The value range is 5s to
20s. By default, it is 5s.

Example:

Set RTCP alarm thresholds.


l armthd: 2
l delay:100ms
l lost:10
l jitter:100ms
l interval:10s
Steps are as follows:

Step Operation

Enter the advanced configuration mode.


1 TERMINAL(config)#advanced
TERMINAL(advanced-config)#
Configure RTCP alarm thresholds.
2 TERMINAL(advanced-config)#rtcp alarmthreshold 2
loss 10 delay 100 jitter 100 interval 10
TERMINAL(advanced-config)#

Huawei Technologies Proprietary

6-29
Step Operation

Check configuration.
TERMINAL(config)#show rtcp-parameter
Lost rate of RTP channel :10/1000
3 Delay of RTP channel :100ms
Jitter of RTP channel :100ms
Timer length of RTCP channel :10s
Alarm threshold of RTCP channel :2

6.6 Loading and Backup Management


With the IAD, you can load files, including configuration files and
applications.

You can load files by FTP pr TFTP.

To load files, use the following commands in the privilege mode:

To… Use…

Cancel loading. TERMINAL#load cancel

TERMINAL#load config ftp {server


Load a configuration
ipaddress account username password
file by FTP.
dirname dir filename filename }

Load a configuration TERMINAL#load config tftp {server


file by TFTP. ipaddress } [ filename filename ]

TERMINAL#load packet ftp {server


Load a file package by
ipaddress account username password
FTP.
dirname dir filename filename }

Load a file package by TERMINAL#load packet tftp {server


TFTP. ipaddress } [ filename filename ]

Huawei Technologies Proprietary

6-30
To… Use…

TERMINAL#backup config ftp string


Back up configuration
[{account <name> <psw> | file
by FTP.
<filename> }]

Back up configuration TERMINAL#backup config tftp string


by TFTP. filename

Parameter descriptions:

Item Description

IP address of the FTP server or the TFTP


Ipaddress
server
username User name configured for using FTP
password Password used for FTP user login

The default directory of the file to be loaded


dir
by FTP
filename Name of the file to be loaded or backed up

6.6.1 Loading a File by FTP

The following is an example about loading D060 software in FTP.

I. Configuring the FTP server

The following is an example about configuring the FTP server.


l Software: FileZilla_Server_0_9_7.exe
l User name and password: d060

Huawei Technologies Proprietary

6-31
Step Operation

Double-click the FileZilla_Server_0_9_7.exe file. Install the


1
FTP software by following the guide.

Double-click the shortcut of the FileZilla_Server_0_9_7 file,


the Connect to Server dialog box appears, as shown in the
following figure.

Click OK, select Edit > Users in the pop-up interface. The
User dialog box appears, as shown in the following figure.

Huawei Technologies Proprietary

6-32
Step Operation

Select General and then click Add. The Add user account
dialog box appears, as follows.

Input the user account, such as d060, and then click OK.
Navigate back to the Users dialog box, select Enable
account and Password, and then input the password. The
interface is as follows.

Click OK to complete the configuration

Huawei Technologies Proprietary

6-33
II. Loading software

l IP address of the FTP server: 172.21.50.91


l User name: d060
l Password: d060
l Directory of the file to be loaded: default directory
l File to be loaded: TS0401.pts
Step Operation

1 Log in to the IAD client.


2 Enter the privilege mode.
Use load.
3 TERMINAL#load packet ftp account d060 d060 server
172.21.50.91 filename TS0401.pts
Reboot the system.
4 TERMINAL#reboot
Are you sure to reset system? Caution:Unsaved data
will be lost![Y|N]:Y

6.6.2 Loading a File by TFTP

The following is an example about loading D060 software in


TFTP.

I. Configuring the TFTP server

The following is an example about configuring the TFTP server


by using wftpd32.exe.

Huawei Technologies Proprietary

6-34
Step Operation

1 Double click Tftpd32.exe to start the TFTP software.

2 The ¡°TFTPD32 by Ph Jounin" dialog box is displayed.


Click <Settings> to display the ¡°Tftpd32:Settings¡±dialog
3
box.
In the ¡°Base Directory¡±text box, enter the default directory
of the file to be loaded.

5 Click <OK> to validate the settings.

Huawei Technologies Proprietary

6-35
II. Loading software

l IP address of the TFTP server: 172.21.50.91


l Directory of the file to be loaded: default directory
l File to be loaded: TS0401.pts
Step Operation

1 Log in to the IAD client.


2 Enter the privilege mode.
Use load.
3 TERMINAL(config)#load packet tftp server
172.21.50.91 filename ts0401.pts
Reboot the system to validate the settings.
TERMINAL#reboot
4
Are you sure to reset system? Caution:Unsaved data
will be lost![Y|N]:Y

6.6.3 Backing up Files by FTP


l IP address of the FTP server: 172.21.50.91
l User name: backup
l Password: backup
l Directory of the file to be backed up: D:\
l File to be backed up: file.txt
The following is an example about backing up a configuration file
in FTP by using wftpd32.

Huawei Technologies Proprietary

6-36
Step Operation

Configure the FTP server, as shown in the following


figure:

2 Log in to the IAD client.


Use backup in the privilege mode.
3 TERMINAL(config)#backup config ftp 172.21.50.91
account backup backup directory D:\ file.txt
4 Check the backup file under the home directory.

6.6.4 Backing up Files by TFTP


l IP address of the FTP server: 172.21.50.91
l Directory of the file to be backed up: D:\
l File to be backed up: file1.txt
The following is an example about backing up a configuration file
in TFTP by using Tftpd32.

Huawei Technologies Proprietary

6-37
Step Operation

Configure the TFTP server, as shown in the following


figure:

2 Log in to the IAD client.


Use backup in the privilege mode.
3 TERMINAL(config)#backup config tftp 172.21.50.91
file1.txt
4 Check the backup file under the home directory.

6.7 Automatic Software Update Management


Software of the IAD can be updated automatically.

After you enable automatic software upgrading, the IAD updates


software automatically.

In the privilege mode, use the following commands to manage


automatic update:

Huawei Technologies Proprietary

6-38
To… Use…

Configure user name,


TERMINAL(config)#auto-update
password, and default
ftpserve string username password
directory for automatic
director
update in FTP.
Set the time interval for
TERMINAL(config)#auto-update
detecting automatic
detect-interval interval
update.

Parameter descriptions:

Item Description

string Name of IP address of the FTP server


username User name for login to the FTP server
password Password for login to the FTP server
director Default directory of the file to be loaded

Steps are as follows:

Step Operation

Configure the time interval for automatic detection.


TERMINAL#self-update detect-interval 600
{ <cr>|enable<K>|disable<K> }:
Command:
1 self-update detect-interval 600
-----------------------------------------
Selfupdate Software Switch..........: Disable
Selfupdate Detect Interval..........: 600 S
-----------------------------------------

Huawei Technologies Proprietary

6-39
Step Operation

Start automatic detection.


TERMINAL(config)#auto-update ftpserver aaaa aaa aaa
c:/
-----------------------------------------
Selfupdate Software Switch..........: Enable
2 Selfupdate Detect Interval..........: 1800 S
FTP Server Name or IP Address.......: aaaa
FTP Server Login Username...........: 123
FTP Server Login Password...........: aaa
FTP Server Login Default Directory..: c:/
-----------------------------------------

You can use disable to disable automatic update.

6.8 Network Test Tools

6.8.1 Ping

In the user mode, you can use ping to check the connection state
of the system and whether the host is reachable.

The format of the command is ping hostip/name, between which


there can be one or multiple parameters, as shown in Table 6-4.

Table 6-4 Parameters of the ping command

Parameter Meaning

Set the number of ICMP ECHO_REQUEST


messages sent
-c
¡°0¡±indicates ICMP ECHO_REQUEST messages are
sent infinitely.

Huawei Technologies Proprietary

6-40
Parameter Meaning

-d Set ¡°socket¡±debugging function

Set that ECHO_REQUEST message is sent to the


-i directly -connected network through ping without
routing
Except statistics, other detailed information is not
-q
displayed

-s Set the length of ECHO_REQUEST message


Set the time-out time of waiting for the response of
-t
ECHO_REQUEST message

Display the received non ECHO_RESPONSE ICMP


-v
messages. It is not displayed by default.

6.8.2 Tracert

In user mode, you can use tracert to test the gateways through
which data packet is sent from the host to destination.

It is mainly used to check whether the network connection is


reachable, and analyze where a fault occurs in the network.

The format of the command is tracert hostip/name, between


which there can be one or multiple parameters, which are shown in
Table 6-5.

Huawei Technologies Proprietary

6-41
Table 6-5 Parameters of the tracert command

Parameter Meaning

-f Set the minimum value of TTL

-m Set the maximum value of TTL

-w Set time-out time

The procedure of using tracert is: first send a data packet with
TTL as 1. Therefore, an ICMP error message is returned for the first
hop to indicate that the data packet cannot be sent (since TTL is timed
out), after that, the data packet is resent, with TTL as 2. Similarly, TTL
timeout is returned for the second hop.

The procedure is carried on constantly until reaching the


destination.

The purpose of carrying out these procedures is to record the


source address of each ICMP TTL timeout message, so as to provide
the path through which an IP data packet reaches the destination.

Huawei Technologies Proprietary

6-42
Chapter 7 Troubleshooting

This chapter includes two parts:


l It introduces common means of locating faults so that you
can master simple fault-locating methods
l It then gives some examples on faults of the IAD for your
reference.

7.1 Common Fault-locating Means

7.1.1 Showing Important System Information

I. Showing version

Obtaining the software version of the IAD is the basis of locating


its faults.

If the software is not the latest version, some of its problems may
have been solved in a subsequent version. In this case, you can locate
some problems from the version number and get corresponding
solutions.

By using display version in the user mode, you can query the
software and hardware version of the IAD.
TERMINAL#display version
Equipment type : IAD101H
PCB version : AG31VPPB VER.B
Software version : TS0401V300R001B01D030

Huawei Technologies Proprietary

7-1
BIOS version : 101
SLIC version : N/A
DSP version : N/A

II. Showing MG status

Once there is a system fault leading to service failure, you need


to first check MG configuration and ensure the IAD registers in the call
server successfully. If the MG-STATE item is Fault, it indicates
registration failure. Check the network connections or device
configurations.

In the privilege mode, you can use display mgcp attribute to


query the MG status.
TERMINAL#display mgcp attribute
=======================================================
MGIP MG-PORT MG-DOMAIN-NAME
172.21.100.131 2427 huawei.com
=======================================================
MGC-IP1 MGC-PORT1 MGC-DOMAIN-NAME1
210.11.180.18 2727 -
=======================================================
MGC-IP2 MGC-PORT2 MGC-DOMAIN-NAME2
0.0.0.0 2727 -
=======================================================
MG-STATE REGISTERED-MGC
Fault 1
=======================================================
AUTH-MODE KEY
Huawei mode *******

Huawei Technologies Proprietary

7-2
TERMINAL#

III. Showing system time

In the privilege mode, you can use display time to show when
the system is reset and restarted.
TERMINAL#display time
Current date: 2005-04-24
Current time: 12:57:00

TERMINAL#

IV. Showing IP address

In the user mode, you can use display ipaddress to query IP


address of the IAD.
TERMINAL#display ipaddress
--------------------------------------------------
DNS Domain Name...............: tele.com
Physical Address..............: 00-e0-fc-a8-d0-0d
IP Address Get Method.........: Static IP config
esw (unit number 3):
Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING
IP Address..................: 172.21.100.131
Default Maintain IP Address.: 192.168.100.200
Subnet Mask.................: 255.255.0.0
Default Gateway.............: 0.0.0.0

esw (unit number 4):

Huawei Technologies Proprietary

7-3
Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING
IP Address..................: 192.168.1.1
Subnet Mask.................: 255.255.255.0
DNS Servers...................:
Main DNS Server.............: 210.11.123.13
--------------------------------------------------

V. Showing RTP statistics

In the global configuration mode, you can use display rtp state
to show information on media stream.

Only when the IAD is used for making a phone call, you can use
display rtp state to show status of RTP channels.
TERMINAL#display rtp status
Port Rtp chn index Rtp chn status Remote
ip address
0 0 Chan is open 191.168.200.27
Local udp port Remote udp port Recv pkt len(ms) Send
pkt len(ms)
55000 50004 20 20
Code type Decode type Recv pkt num Recv
byte num
g711u g711u 6843 1176996
Send pkt num Send byte num Loop delay(ms) Pkt
LossRate
3048 496860 0 0.0/100
Jitter(ms) Peer pkt LossRate Peer jitter(ms) If
spt 2833
2 0.0/100 0 0

Huawei Technologies Proprietary

7-4
2833 PT If spt 2833 eny 2833 HNC1 key
0 0

Table 7-1 lists results about using display rtp status.

Table 7-1 Parameters in the result

Item Description

Recv (Send) pkt It equals call duration (second) x


num 1000/length of packet received (sent).
0: G.711u

4: G.723 high
Code type 8: G.711A
18: G.729

20: G.723 low

In good network conditions, the jitter is


Jitter
usually lower than 30ms.
Query many times, and the difference
Pkt LossRate between numbers of sent packets and
received packets is stable.

7.1.2 Showing Alarms

Alarm information is part of the history records on device


operation.

By analyzing alarm information, you can predict problems that


may arise in the running of the device.

Huawei Technologies Proprietary

7-5
Note that when the IAD is powered off and restarted, the alarm
records saved before will be lost.

You can use display alarm list to show all alarms.

For other commands to show alarms, refer to 5.4 Alarm


Management.

During the running of the IAD, pay attention to the following


alarms.

I. System start alarm

This alarm tells you the system start time and whether the system
was reset while it was running.

The following is an example.


ALARM 4 INFO MAJOR 0x00000336 ----- 2004-08-18 09:37:34
ALARM NAME : device start
PARAS INFO : device start
DESCRIPTION : device start
REASON : none
ADVICE : none
--- END

II. Interface interruption/recovery alarm

Interface interruption is generally caused by network conditions.

When interface interruption occurs, no phone calls can be made.


If you hear busy tone or no tone after off-hook, you need to first check
if there is an interface interruption alarm.

Huawei Technologies Proprietary

7-6
If multiple IAD devices in the same area generate interface
interruption alarms almost at the same time, the problem is usually
caused by the bearer network.

It is normal that each system startup is accompanied by an


interface recovery alarm.

The following is an example.


ALARM 5 RESTORE MAJOR 0x00170105 COMMUNICATION
2004-08-18 09:38:03
ALARM NAME : MG interruption restoration
PARAS INFO : MG ID: 0
DESCRIPTION : MG restore
REASON : MG is normal
ADVICE : None
--- END

7.1.3 Capturing Network Packets

To locate faults in a VoIP device by capturing packets, Huawei


recommends ethereal, a free tool.

All IAD signaling and voice data are carried on User Datagram
Protocol (UDP). The protocol stack architecture is as shown in
Table 7-2. The key protocols are RTP and MGCP.

Table 7-2 UDP stack

Telnet remote
Voice Call control
maintenance

Telnet RTP RTCP MGCP

Huawei Technologies Proprietary

7-7
TCP UDP

IP

MAC

7.1.4 Tracing Signaling

You can use the following commands to trace signaling:

To… Use…

Enable signaling trace


TERMINAL#trace {<portnum> | all }
of ports.
Trace information TERMINAL(diagnose)%%mgcp trace
about MGCP ports. { <port> | all } [{ event | signal }]

7.2 Common Troubleshooting

I. The PWR indicator is off.

l Use the dedicated power adapter and ensure the input


voltage of the power adapter is proper.
l If the power adapter is proper and works normally, the cause
lies in the IAD. In this case, change the IAD.

II. The Ethernet port cannot work.

l Check WAN or LAN indicators. If they are on, check


software configuration of the device. If they are off, check
network port connections.

Huawei Technologies Proprietary

7-8
l Use straight through network cables in good condition. If the
LAN indicator is off, the hardware is damaged. Contact the
distributor. If the LAN indicator is on, the hardware is normal.
In this case, check other connecting devices.
l Ensure the WAN port is connecting to an upstream device
and the LAN port is connecting to a downstream device,
such as a computer.

III. The phone connecting to the PHONE port does not work
normally.

l Check the PHONE indicator. In the following cases, the IAD


works normally. On: offhook; off: onhook; blinking: ringing
l If the IAD works normally, the cause lies in hardware. In this
case, change the IAD.

Huawei Technologies Proprietary

7-9
Chapter 8 Advanced Configuration

This chapter introduces advanced configuration.

You can keep defaults for advanced configuration. The service


provisioning will not be affected.

Advanced configuration includes


l Configuring MGCP
l Configuring SIP
l Configuring Parameters of LAN Switch

8.1 Configuring MGCP


Advanced configuration includes:
l Configuring PHONE attributes
l Configuring MGCP Fax Mode
l Configuring Software parameters
l Configuring MGCP parameters

8.1.1 Configuring PHONE Attributes

The PHONE port attributes include:


l The volume which can be sent and received by the PHONE
user
l Whether pulse dialing is permitted at the PHONE port
l Whether to provide polarity reversal charging at the PHONE
port

Huawei Technologies Proprietary

8-1
Commands:

To… Use…
TERMINAL(advanced-config)#pst
nport attribute batset portid endportid
Set PHONE port
{ pole<Normal,Reverse> |
attributes in batches.
pulse-dial<Enable,Disable> |
voicegain<0,8> }
TERMINAL(advanced-config)#pst
nport attribute set portid
Set attributes of a
{ pole<Normal,Reverse> |
PHONE port.
pulse-dial<Enable,Disable> |
voicegain<0,8> }

Table 8-1 lists parameters about PHONE port attributes.

Table 8-1 Parameters about PHONE ports

Item Description

portid User port number


The end port number in the batch-adding
commands
endportid
The start port number cannot be greater
than the end port number.
The gain type of the PHONE user, ranging 0
to 8
voicegain The value of this parameter represents the
voice volume sent and received at the PHONE
port.

Huawei Technologies Proprietary

8-2
Item Description

Whether to permit pulse dialing at the


PHONE port
pulse-dial
The value can be ¡°enable¡±or ¡°disable¡±
.
Default is ¡°disable¡±
.

Whether the PHONE port provides polarity


reversal function
pole
The value can be ¡°normal¡±or ¡°reverse¡±
.
Default is ¡°reverse¡±
.

II. Configuring Polarity Reversal Charging

Polarity reversal charging is a way to realize real-time charging of


subscribers.

When a conversation starts or stops, the MGC sends charging


signaling to the IAD, and then the IAD sends polarity reversal pulse to
the charging terminal.

If the IAD coordinates with the MGC to send the polarity reversal
signal, either the IAD or the MGC can be configured to control the
polarity reversal signal.

Huawei Technologies Proprietary

8-3
Caution:

When the IAD is set to control the polarity reversal charging signal, the
subscriber polarity reversal parameter of the MGC shall be set to ¡°no¡±
.
Otherwise, there will be repeated charging.

Configure the attributes of No. 0 port:


l Set the gain type of the PHONE user to 6.
l Enable pulse dialing and polarity reversal charging at the
PHONE port.
Step Operation

Configure PHONE port attributes.


1 TERMINAL(advanced-config)#pstnport attribute set 0
6 enable reverse
TERMINAL(advanced-config)#
Check configuration.
TERMINAL(config)#display pstnport attribute
{ <cr>|<U><0,0> }:0

Command:
display pstnport attribute 0

2 -----------------------------------------------
Port Port Gain( dB ) Pulse
Dial Polarity

-----------------------------------------------
0 Sending gain 3.5, receiving gain 0 Enabled
Reversal

-----------------------------------------------

Huawei Technologies Proprietary

8-4
III. Configuring Send and Receive Gains at PHONE Physical
Port

The send and receive gains at the PHONE physical port of the
IAD are adjustable in order to enhance the volume of the talk.

IAD supports nine kinds of voice gain settings, as listed in


Table 8-2.

Table 8-2 Voicegain settings

Value Send gain (dB) Receive gain (dB)

0 0 3

1 0 -3.5
2 0 3.5

3 -3.5 0

4 -3.5 -3.5
5 -3.5 3.5

6 3.5 0

7 3.5 -3.5
8 3.5 -3.5

Example:

Set the send and receive gains at No. 0 port to 2.

Huawei Technologies Proprietary

8-5
Step Operation

Configure send and receive gains at No.0 port to 2.


TERMINAL(advanced-config)pstnport attribute set 0
2
1 { <cr>|pole<E><Normal,Reverse>|pulse-dial<E><Ena
ble,Disable> }:

Command:
pstnport attribute set 0 2

Check configuration:
TERMINAL(config)#display pstnport attribute 0
---------------------------------------------
Port Port Gain( dB ) Pulse
2 Dial Polarity
---------------------------------------------
0 Sending gain 0, receiving gain 3.5 Enabled
Reversal
---------------------------------------------

8.1.2 Configuring MGCP Fax Mode

IAD supports t38 mode by default. Under advanced configuration


mode, use mgcp soft-parameter fax-mode command to configure
the fax mode.

For example, the commands of configuring fax mode as ¡°711¡±are


as follows:
TERMINAL(advanced-config)#mgcp soft-parameter fax-mode
711v2
{ <cr>|mgc-type<K>|register-mode<K>|hold-flag<K>|cw-ton
e-mode<K> }:

Huawei Technologies Proprietary

8-6
Command:
mgcp soft-parameter fax-mode 711v2

8.1.3 Configuring Software Parameters

The IAD provides the function of dynamic querying and


configuring software parameters.

The system software parameters can be configured to adjust the


noise, echo, jitter, and loudness of voice, the transmission mode of
Fax/Modem, and the type of the MGC which networks with the IAD.

Commands:

To… Use… Remarks


mg: The IAD
plays
announcement.
TERMINAL(advanced- By default, the
Configur
config)#mgcp MG plays
e call waiting
soft-parameter announcement.
tone mode.
cw-tone-mode {mg | mgc }
mgc: The
SoftSwitch plays
announcement.
711v2 /
TERMINAL(advanced- t38v2/ t38v3: fax
Configur config)#mgcp transmission
e fax mode. soft-parameter fax-mode mode
{ 711v2 | t38v2 | t38v3} By default, it
is t38v3.

Huawei Technologies Proprietary

8-7
To… Use… Remarks

off: When
communication
between the
gateway and the
SoftSwitch
interrupts, the
active call is not
held.
TERMINAL(advanced-
Enable/di
config)#mgcp on: When
sable call
soft-parameter hold-flag communication
waiting.
{off | on} between the
gateway and the
SoftSwitch
interrupts, the
active call is held.
By default,
call waiting is
disabled.
softx / zte /
Nortel / cisco /
simens / sonus /
TERMINAL(advanced- etg / shangyang:
Configur config)#mgcp Types of
e the soft-parameter mgc-type SoftSwitch
SoftSwitch { softx | zte | Nortel | cisco | devices which
type. simens | sonus | etg | can be supported
shangyang } by the gateway
By default,
the type is softx.
TERMINAL(advanced-
Configur
config)#mgcp By default, it
e the MGCP
soft-parameter mgcpver is MGCP1.0.
version.
{ MGCP1.0 | NCS1.0 }

Huawei Technologies Proprietary

8-8
To… Use… Remarks

wildcard: All user


ports of the MG
register in the
Configur SoftSwitch by
e in which TERMINAL(advanced- using wildcards. It
mode the config)#mgcp is the default
gateway soft-parameter registration
registers in register-mode { wildcard | mode.
the individual } individual : All
SoftSwitch. user ports of the
MG register in the
SoftSwitch one by
one.

Example:

Set the SoftSwitch to play announcement.


TERMINAL(advanced-config)#mgcp soft-parameter
cw-tone-mode
{ mg<E><mg,mgc> }:mgc
{ <cr>|mgc-type<K>|register-mode<K>|hold-flag<K>|fax-mo
de<K> }:

Command:
mgcp soft-parameter cw-tone-mode mgc

Example:

Set the fax mode to 711V2.


TERMINAL(advanced-config)#mgcp soft-parameter fax-mode

Huawei Technologies Proprietary

8-9
711v2
{ <cr>|mgc-type<K>|register-mode<K>|hold-flag<K>|cw-ton
e-mode<K> }:
Command:
mgcp soft-parameter fax-mode 711v2

Example:

Configure the following:

The active call cannot be held when communication between the


gateway and the SoftSwitch interrupts.
TERMINAL(advanced-config)#mgcp soft-parameter hold-flag
{ on<E><off,on> }:off
{ <cr>|mgc-type<K>|register-mode<K>|fax-mode<K>|cw-tone
-mode<K> }:
Command:
mgcp soft-parameter hold-flag off

8.1.4 Configuring MGCP Parameters

You can define the MGCP parameters or just adopt the default
values for them.

It is recommended to adopt the default values.

If you are to modify these parameters, use the following


command to operate in the global or advanced config mode.

Huawei Technologies Proprietary

8-10
To… Use…

TERMINAL(advanced-config)#mgcp
Configure protocol heart-no-reply-threshold
MGCP parameters. <value1> max-retran-times <value2>
retran-interval-timer <value3>

Display MGCP TERMINAL(config)#display mgcp


parameters. protocol

Configure TERMINAL(config)#mgcp user


MGCP user data of start-user-port end- user-port
the specified port. epname-prefix terminalid

Show MGCP TERMINAL(config)#display mgcp


user data of ports. user {all | start-user-port end-user-port }

Parameter descriptions:

Item Description

Maximum times for no response to


value1
heartbeat messages
value2 Maximum retransmission times 

value3 Maximum retransmission interval 

start-user-port Start user port number, ranging 0 to 7


end-user-port End user port number, ranging 0 to 7

Prefix of endpoint name, less than 23


epname-prefix characters
By default, it is aaln.

Huawei Technologies Proprietary

8-11
Item Description

Terminal ID, less than six 0 9 digits

terminalid Terminalid and epname-prefix identify a


user end port. Fore example, aaln/0
identifies a user endpoint.

Example:

Configure the following:


l Maximum times for no response to heartbeat messages: 2
l Maximum retransmission times: 2
l Maximum retransmission interval: 2 seconds
TERMINAL(advanced-config)#mgcp protocol
heart-no-reply-threshold 2 max-retran-times 2
retran-interval-timer 2

Example:

Configure the endpoint name of PHONE port of the IAD101H is


aaln/0. This endpoint name shall be consistent with that of the
registered endpoint name configured on the call server.
TERMINAL(config)#mgcp user 0 0 aaln 0
Are you sure reset mg port? [Y/N]:y
TERMINAL(config)#display mgcp user
{ all<K>|<U><0,0> }:all
Command:
display mgcp user all
=======================================================
EndPoint: EndPointName: DomainName:

Huawei Technologies Proprietary

8-12
0 aaln/0
=======================================================

8.2 Configuring SIP

8.2.1 Configuring Send and Receive Gains at PHONE


Physical Port

The send and receive gains at the PHONE physical port of the
IAD are adjustable in order to enhance the volume of the talk.

IAD supports nine kinds of voice gain settings, as listed in


Table 8-3.

Table 8-3 Voicegain settings

Value Send gain (dB) Receive gain (dB)

0 0 3

1 0 -3.5
2 0 3.5

3 -3.5 0

4 -3.5 -3.5
5 -3.5 3.5

6 3.5 0

7 3.5 -3.5

Huawei Technologies Proprietary

8-13
Value Send gain (dB) Receive gain (dB)

8 3.5 -3.5

For details, refer to 8.1.1 III. Configuring Send and Receive


Gains at PHONE Physical Port.

8.2.2 Configure SIP Fax Send-capability

The command is used to configure the mode priority when IAD


performs the fax service negotiation with opposite end. When the
opposite end initiates negotiation, IAD may negotiate whether the
remote end is first or the local end first. When the local end is first, IAD
performs negotiation according to the priority of local configuration.
For example, the Priority 0 configured on IAD is t38, the fax mode
priority t38 is the highest when local negotiation is performed.

The configuration operation on IAD is shown below:

Command Remarks

pri: Priority number.


TERMINAL(advanced-config)# The range is 0 – 1.
sip send-capability fax pri pri
{ t38 redundancy redundancy | redundancy:
transfer { G711a | G711u } } Redundancy packet
quantity. The range is 0 – 2.

Example: the fax send-capability of Priority 0 is t38 and


redundancy packet quantity is 2.

Huawei Technologies Proprietary

8-14
Step Operation

Configure the fax send-capability of Priority 0


TERMINAL(advanced-config)# sip send-capability fax
1 pri 0 t38 redundancy 2
Execution of command succeeded.
TERMINAL(advanced-config)#
Display the configuration result:
TERMINAL(config)#display sip send-capability
VOIP capabilities
-----------------------
Pri Code-Type Ptime
--- --------- ---------
0 G711a 20ms
1 G729 20ms
2 G723 30ms
3 G711u 20ms
-----------------------

Fax capabilities
-----------------------
Pri Mode Parameter
2 --- -------- ----------
0 T38 2
1 Transfer G711a
-----------------------

Other capabilities
------------------------------
Capability Support Parameter
----------- ------- ---------
Modem Yes G711a
R2198 No -
R2833 No -
2833Hnc1 No
------------------------------

In advanced mode, use undo sip send-capability fax pri to cancel


configuration.

Huawei Technologies Proprietary

8-15
8.2.3 Configure Types of Encoding/Decoding
Protocols of SIP Users Modem

The command is used to configure the mode priority when IAD


performs the modem service negotiation with opposite end. When the
opposite end initiates negotiation, IAD may negotiate whether the
remote end is first or the local end first. When the local end is first, IAD
performs negotiation according to the priority of local configuration.
For example, the Priority 0 configured on IAD is G711a, the modem
mode priority G711a is the highest when local negotiation is
performed.

The configuration operation on IAD is shown below:

Command Remarks

TERMINAL(advanced-config)#
sip send-capability modem None.
{ G711a | G711u }

Example: the configured type of encoding/decoding protocols of


SIP users modem is G711u.

Step Operation

Configure the types of encoding/decoding protocols


of SIP users modem:
1 TERMINAL(advanced-config)#sip send-capability
modem g711u
Execution of command succeeded

Huawei Technologies Proprietary

8-16
Step Operation

Display the configuration information:


TERMINAL(config)#display sip send-capability
VOIP capabilities
-----------------------
Pri Code-Type Ptime
--- --------- ---------
0 G711a 20ms
1 G729 20ms
2 G723 30ms
3 G711u 20ms
-----------------------
Fax capabilities
-----------------------
2 Pri Mode Parameter
--- -------- ----------
0 t38 2
1 Transfer G711a
-----------------------
Other capabilities
------------------------------
Capability Support Parameter
----------- ------- ---------
Modem Yes G711u
R2198 No -
R2833 No -
2833Hnc1 No
------------------------------

In advanced mode, use undo sip send-capability modem to


cancel the configuration.

8.2.4 Configure the Voice Send-capability of SIP User

The command is used to configure the mode priority when IAD


performs the VoIP service negotiation with opposite end. When the
opposite end initiates negotiation, IAD may negotiate whether the
remote end is first or the local end first. When the local end is first, IAD

Huawei Technologies Proprietary

8-17
performs negotiation according to the priority of local configuration.
For example, the Priority 0 configured on IAD is G711u, G711u has the
highest priority when local VoIP voice encoding/decoding negotiation
is performed.

The configuration operation on IAD is shown below:

Command Remarks

pri: Priority number. The


TERMINAL(advanced-config)# range is 0 – 9.
sip send-capability voip pri pri
{ G711a | G711u | G729 } ptime ptime: Packetization
ptime or duration.
TERMINAL(advanced-config)# sip
send-capability voip pri pri G723 The range is 10ms, 20ms or
30ms.

Example: set the VoIP send-capability of Priority 3 to G711u; the


packetization duration is 20ms.

Step Operation

Configure the VoIP send-capability:


1 TERMINAL(advanced-config)#sip send-capability voip
pri 3 G711u ptime 20ms
Execution of command succeeded.

Huawei Technologies Proprietary

8-18
Step Operation

Display the configuration result:


TERMINAL(config)#display sip send-capability
VOIP capabilities
-----------------------
Pri Code-Type Ptime
--- --------- ---------
0 G711a 20ms
1 G729 20ms
2 G723 30ms
3 G711u 20ms
-----------------------

Fax capabilities
-----------------------
2 Pri Mode Parameter
--- -------- ----------
0 - -
1 Transfer G711a
-----------------------

Other capabilities
------------------------------
Capability Support Parameter
----------- ------- ---------
Modem Yes G711u
R2198 No -
R2833 No -
2833Hnc1 No
------------------------------

8.2.5 Configure RFC2833

The command is used to configure RFC2833 mode that is used


by IAD to transmit dual tone multi-frequency (DTMF) and the
encryption key of the transmission.

Huawei Technologies Proprietary

8-19
When RFC2833 mode is used to transmit DTMF number, the
important information such as card number and password is
transmitted.

Therefore, if the plain text is used for transmission, the content is


easy to steal and the mode is not reliable.

To ensure the DTMF number can be securely transmitted over IP


network in RFC2833 mode, RFC messages need to be encrypted.
The encryption key and whether the messages are encrypted is
configured on IAD.

Use the following command to configure RFC2833 functions.

Command Remarks

TERMINAL(advanced-config)#sip 2833-hnc1: The default is off.


send-capability 2833 string: The encryption key of
[ 2833-hnc1 <on | off> | hnc1-key 2833 messages. The value
string ] range is 1 – 16 characters.

Example: open RFC2833 function; enable 2833 encryption; the


configured key is 1234. The operations are shown below:

Step Operation

Enable 2833 function:


1 TERMINAL(advanced-config)#sip send-capability 2833
2833-hnc1 on hnc1-key 1234
Execution of command succeeded

Huawei Technologies Proprietary

8-20
Step Operation

Display the configuration result:


TERMINAL(config)#display sip send-capability
VOIP capabilities
-----------------------
Pri Code-Type Ptime
--- --------- ---------
0 G711a 20ms
1 G729 20ms
2 2 G723 30ms
3 G711u 20ms
-----------------------
Fax capabilities
-----------------------
Pri Mode Parameter
--- -------- ----------
0 Transfer G711a
1 T38 2
-----------------------

8.2.6 Configure SIP Software Parameters

SIP software parameters may be self-defining or the system


defaults. Recommend to use the system default. To modify SIP
software parameters, use the following command in the advanced
configuration mode.

Huawei Technologies Proprietary

8-21
Command Remarks

support-100rel: Whether to
support 100rel. The default is off.
require-100rel: whether
require-100rel domain is
contained in the report. The
TERMINAL(advanced-config)#
default is off.
sip soft-parameter
{ support-100rel < off | on > | default-qop-value: The default
require-100rel < off | on > | qop value. For auth/auth-int, the
require-qop < off | on > | default is auth.
default-qop-value < auth |
auth-int > | new-service-mode: The control
new-service-mode < softx | mode of new service. Softswitch
local > | or local control. The default is
codec-match-mode < remote softswitch control.
| local > |
codec-match-mode: The codec
fax-channel-change < off | on
match mode. Remote end or
>}
local end is first. The default is
remote control.
fax-channel-change: Whether
add 2 to fax channel. The default
is off.

Example: close support-100rel switch. The operations are shown


below:

Step Operation

View the current time:


TERMINAL(advanced-config)#sip soft-parameter
1 support-100rel off
Execution of command succeeded.
TERMINAL(advanced-config)#

Huawei Technologies Proprietary

8-22
Step Operation

Display the configuration information:


TERMINAL(config)#display sip soft-parameter
Sip Soft Parameter
-----------------------------
support-100rel : off
2 require-100rel : off
require-qop : off
default-qop-value : auth
new-service-mode : softX
codec-match-mode : remote
fax-channel-change : off
-----------------------------

8.3 Configuring Parameters of LAN Switch


The IAD provides two Ethernet ports:
l One WAN port, used as an upstream port
l One LAN port, used to access data subscribers

I. Configuring Tag

The IAD inserts 802.1p1q tags to data packets sent by its WAN
and LAN ports. That is, four bytes are inserted behind source MAC
addresses in data packet headers. These bytes include VID and
Priority.

Table 8-4lists commands used to configure tags.

Huawei Technologies Proprietary

8-23
Table 8-4 Configuring tags

To… Use… Remarks

TERMINAL(lanswitch)#tag id: VALN ID


Configure a
interface { lan | voice } vlanid id priority:
tag.
[ priority priority ] precedence
Delete the
undo tag interface { lan | voice } -
tag.
Show tag TERMINAL(lanswitch)#display
-
information. interface

In general, the CPU generates voice packets upstream, while


data packets are forwarded from the LAN port to the WAN port.

The command Tag is used to insert tags to data and voice


packets. Upstream devices can distinguish data packets and voice
packets according to tags and forward them according to priority.

In general, priority of voice packets is higher than that of data


packets.

In NAT mode, data packets forwarded from the LAN port to the
WAN port must be forwarded by the CPU. Thus, these data packets
are inserted tags which are the same as those of voice packets.

In non-NAT mode, data packets are inserted tags which are


different from those of voice packets.

Because Tag is used to insert tags to upstream data packets, you


need not configure the WAN port.

Huawei Technologies Proprietary

8-24
Example 1:

Insert tags into data packets received by the LAN port and sent
from the WAN port.

TERMINAL(lanswitch)#tag interface lan vlanid 200 priority 1

After configuration, data packets received by the LAN port are


inserted tags. VID = 200; priority = 1.

To cancel configuration, do as follows:

TERMINAL(lanswitch)#undo tag interface lan

Example 2:

In NAT mode, all data packets upstream pass the CPU. Insert
tags into these data packets.
TERMINAL(lanswitch)#tag interface voice vlanid 300
priority 6

After configuration, data packets sent from the WAN port are
inserted tags. VID = 300; priority = 6.

Example 3:

Insert tags into data packets generated by the CPU and sent from
the WAN port.
TERMINAL(lanswitch)#tag interface voice vlanid 100
priority 7

After configuration, data packets generated by the CPU and sent


from the WAN port are inserted tags. VID = 100; priority = 7.

Huawei Technologies Proprietary

8-25
To cancel configuration, do as follows:
TERMINAL(lanswitch)#undo tag interface voice

After configuration, all data packets generated by the CPU and


sent from the WAN port are not inserted tags.

II. Enabling/Disabling an Ethernet Port

You can use the following commands to enable or disable an


Ethernet port.

To… Use… Remarks

wan:
upstream
Disable an network port
TERMINAL(lanswitch)#shutdown
Ethernet
{wan | lan} lan:
port.
downstream
network port

Enable an
TERMINAL(lanswitch)#undo
Ethernet -
shutdown {wan | lan}
port.

Example:

Disable and enable a WAN port.


TERMINAL(lanswitch)#shutdown wan
TERMINAL(lanswitch)#undo shutdown wan

Huawei Technologies Proprietary

8-26
III. Setting Duplex Status of Ports

l Full-duplex: The port can send and receive data at the same
time.
l Half-duplex: Data packets are transmitted in only one
direction at a time.
l Automatic mode: The sender and the receiver negotiates
duplex mode.
Table 8-5lists the command used to configure the working mode
of ports.

Table 8-5 Configuring working mode of ports

To… Use… Remarks

half | full: half/full


duplex status
Configure By default, it is in
TERMINAL(lanswitch)#duplex
duplex full-duplex state.
{half | full | auto } {wan | lan}
status.
auto:
auto-negotiation
status

Example:

Configure a WAN port to work in auto-negotiation mode.


TERMINAL(lanswitch)#duplex auto wan

Huawei Technologies Proprietary

8-27
IV. Configuring Port Rate

When the port works in auto-negotiation mode, the rate is


negotiated by this port and the opposite port.

Command:

To… Use… Remarks

10 | 100 | auto:
Show global network port rate
TERMINAL(lanswitch)#speed
configuration
{10 | 100 | auto} {wan | lan} By default, it is 10
parameters.
Mbit/s.

Example:

Set the rate of No. 1 port to be 100 Mbit/s.


TERMINAL(lanswitch)#speed 100 1

V. Displaying Information about the LAN Port

You can use the following command to display information about


the LAN port.

To… Use…

Show data about TERMINAL(lanswitch)#display


ports. interface [ wan | lan | internal ]

Example:

Display data about a LAN port.

Huawei Technologies Proprietary

8-28
TERMINAL(lanswitch)#display interface lan
Ethernet LAN is link down
auto_negotiation, 10_BASE_TX, HALF_DUPLEX_MODE
The VLAN ID of port is 2
The priority of port is 1

Huawei Technologies Proprietary

8-29
User Manual
U-SYS IAD101S/101H/102H/104H Integrated
Access Device Chapter 9 Default Values

Chapter 9 Default Values

For some parameters, the IAD provides default values.

Table 9-1 MGCP

Parameter Default value

The mode about fetching an


DHCP
IP address

MGC address or domain


Null
name
Service authentication Huawei (MD5 private
procedure authentication)

Default IADMS domain


iadms.com
name
Service agreement MGCP

Source MGCP port 2427

Destination MGCP port 2727


Local name of the MGCP
aaln/0
endpoint

MGCP terminal domain


Null
name (NTID)
DTMF transmission 2833

User name and password system/login

Huawei Technologies Proprietary

9-1
User Manual
U-SYS IAD101S/101H/102H/104H Integrated
Access Device Chapter 9 Default Values

Parameter Default value

Administrator and password root/admin


FTPServer address Null

FTP path . (the current path)

FTP user name and


iadephone/enable
password
Codec Controlled by the SoftSwitch

Silence switch Disable

Table 9-2 SIP

Parameter Default value

The mode about fetching an


DHCP
IP address
Default IADMS domain
iadms.com
name
Service agreement SIP

Default SIP digit map [xABCD*#].t


SIP Server IP address Null

SIP Server port number 5060

SIP Server registration


3600
duration
Local SIP port number 5060

Huawei Technologies Proprietary

9-2
User Manual
U-SYS IAD101S/101H/102H/104H Integrated
Access Device Chapter 9 Default Values

Parameter Default value

Default SIP user Null


DTMF transmission 2833

User name and password system/login

Administrator and password root/admin


FTPServer address Null

FTP path .(the current path)

FTP user name and


iadephone/enable
password
Silence switch Disable

Huawei Technologies Proprietary

9-3
User Manual
U-SYS IAD101S/101H/102H/104H Integrated Chapter 10 System
Access Device Configuration

Chapter 10 System Configuration

Parameter Index

IAD101S series: 1 POTS user and 1 data user

Maximum IAD101H series: 1 POTS user and 1 data user


User IAD102H series: 2 POTS users and 1 data user

IAD104H series: 4 POTS users and 1 data user

Input/Output Input: 100V ~ 240VAC


Voltage Output: DC 5V (for IAD104H, DC output is12V)
Static: 3.7W, full load:
IAD101S series
4.8W
Static: 3.8W, full load:
IAD101H series
Power 4.9W
Consumption Static: 3.8W, full load:
IAD102H series
6.1W
Static: 4.0W, full load:
IAD104H series
7.4W
Echo
Cancellation ¦32ms
Time

Temperature For long-term running: 0°C - 55°C 


Relative
For long-term running: 5% - 95%
Humidity

Huawei Technologies Proprietary

10-1
User Manual
U-SYS IAD101S/101H/102H/104H Integrated Chapter 10 System
Access Device Configuration

Parameter Index

Air Presure 70 kPa ~ 106kPa

Huawei Technologies Proprietary

10-2
Chapter 11 Acroynms and
Abbreviations

3rd Party Server Third Party Server


A
ADSL Asymmetrical Digital Subscriber Loop
APU ADSL Processing Unit
ATM Asynchronous Transfer Mode
B
BHCA Busy Hour Call Attempts
BOOTP BOOT strap Protocol
C
CLI Command Line Interface
CNG Comfort Noise Generation
CSP Control and Signal Processing board
D
DHCP Dynamic Host Configuration Protocol
DNS Domain Name Server
Distributed Object-oriented Programmable
DOPRA
Real-time Architecture
DSL Digital Subscriber Line

Huawei Technologies Proprietary

11-1
DSLAM Digital Subscriber Line Access Multiplexer
DSP Data Signal Processor
DTMF Dual Tone Multi-Frequency
E
EC Echo Cancellation
ETA Ethernet Telephone Adapter
F
FE Fast Ethernet
FoIP Fax over IP
FSK Frequency Shift Keying
FTP File Transfer Protocol
H
H.248 H.248/MECAGO protocol
I
IAD Integrated Access Device
Integrated Access Device Management
IADMS
System
M
MFC Multi-Frequency Control
MGC Media Gateway Controller
MGCP Media Gateway Control Protocol
MGW Media Gateway
MRS Multimedia Resource Server

Huawei Technologies Proprietary

11-2
N
NGN Next Generation Network
NMS Network Management Station
O
OSS Operating Support System
P
POTS Plain Old Telephone Service
PS Packed Switched
PSTN Public Switched Telephone Network
Q
QoS Quality of Service
R
RTP Real-time Transport Protocol
RTCP Real-time Transfer Control Protocol
S
SCTP Simple Control Transmission Protocol
SG Signaling Gateway
SIP Session Initiation Protocol
SNMP Simple Network Management Protocol
SNTP Simple Network Time Protocol
T
TDM Time Division Multiplexing
TFTP Trivial File Transfer Protocol

Huawei Technologies Proprietary

11-3
TMG Trunk Media Gateway
V
VAD Voice Activity Detection
VDSL Very-high-data-rate Digital Subscriber Line
VLAN Virtual LAN
VoIP Voice over IP
VPU VDSL Processing Unit

Huawei Technologies Proprietary

11-4
Huawei Technologies Co., Ltd.
Administration Building, Huawei Technologies
Co., Ltd., Bantian, Longgang District,
Shenzhen, P. R. China
Postal Code: 518129
Website: http://www.huawei.com
BOM:31014957

Anda mungkin juga menyukai