You are on page 1of 56

EchoLife HG865 GPON Terminal

Service Manual

HUAWEI TECHNOLOGIES CO., LTD.

EchoLife HG865 GPON Terminal HG865 V100R001

Service Manual
Issue Date Part Number 02 2008-10-17 303007

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any assistance, please contact our local office or company headquarters.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: Email: http://www.huawei.com terminal@huawei.com

Copyright Huawei Technologies Co., Ltd. 2008. All rights reserved.


No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions


and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders.

Notice
The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute the warranty of any kind, express or implied.

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

EchoLife HG865 Service Manual

Contents

Contents
About This Document ............................................................................................... 1 Safety Precautions ...................................................................................................... 5 1 Getting to Know the HG865 ............................................................................... 1-1
1.1 Product Overview........................................................................................................ 1-1 1.2 Front Panel and Rear Panel ......................................................................................... 1-3 1.2.1 Front Panel ...................................................................................................... 1-3 1.2.2 Rear Panel ....................................................................................................... 1-4

2 Installation Guide................................................................................................. 2-1


2.1 Installing the HG865 ................................................................................................... 2-1 2.1.1 Installing the HG865 Against the Wall ........................................................... 2-1 2.1.2 Installing the HG865 on a Platform................................................................. 2-1 2.2 Cable Connection ........................................................................................................ 2-2 2.3 Software Loading ........................................................................................................ 2-3 2.3.1 Setting Up Configuration Environment........................................................... 2-3 2.3.2 Configuring the File Transfer Server .............................................................. 2-4 2.3.3 Loading Files Through FTP ............................................................................ 2-4

3 Configuration Guide............................................................................................ 3-1


3.1 Service Description ..................................................................................................... 3-1 3.2 Basic Command .......................................................................................................... 3-1 3.2.1 Command Structure ........................................................................................ 3-1 3.2.2 Command Modes ............................................................................................ 3-2 3.2.3 Online Help of Command Line ....................................................................... 3-2 3.2.4 Common Commands....................................................................................... 3-3 3.3 SIP Service Configuration........................................................................................... 3-4 3.3.1 SIP Networking Method ................................................................................. 3-4 3.3.2 SIP Configuring Commands ........................................................................... 3-4 3.3.3 Configuring SIP Data...................................................................................... 3-5 3.4 MGCP Service Configuration ................................................................................... 3-10 3.4.1 MGCP Networking Method .......................................................................... 3-10 3.4.2 MGCP Configuration Commands ................................................................. 3-10 3.4.3 Configuring MGCP Data .............................................................................. 3-11
Issue 02 (2008-10-17) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. i

Contents

EchoLife HG865 Service Manual

4 Operation Guide ................................................................................................... 4-1


4.1 Using a Telephone....................................................................................................... 4-1 4.2 Using an IP STB.......................................................................................................... 4-1 4.3 Using a PC .................................................................................................................. 4-2 4.4 Using a TV or a Digital STB....................................................................................... 4-2

5 Troubleshooting.................................................................................................... 5-1 6 Technical Specifications...................................................................................... 6-1 A SIP Service Configuration................................................................................. A-1


A.1 Voice Service Configuration................................................................................... A-1 A.1.1 Configuring IP Address ................................................................................. A-1 A.1.2 Configuring SIP Server.................................................................................. A-1 A.1.3 Configuring SIP User Information................................................................. A-2 A.1.4 Querying Configuration Result ...................................................................... A-2 A.1.5 Saving Configuration Data............................................................................. A-3 A.2 Data Service Configuration..................................................................................... A-3 A.2.1 Online Service................................................................................................ A-3 A.2.2 Fax Service .................................................................................................... A-4

B MGCP Service Configuration........................................................................... B-1


B.1 Voice Service Configuration....................................................................................B-1 B.1.1 Configuring IP Address...................................................................................B-1 B.1.2 Configuring Domain Name of the HG865 ......................................................B-1 B.1.3 Configuring IP address of MGC .....................................................................B-1 B.1.4 Configuring System Time ...............................................................................B-2 B.1.5 Starting DNS Client ........................................................................................B-2 B.1.6 Adding HG865 Network Management System...............................................B-3 B.1.7 Saving Configuration Data..............................................................................B-3 B.2 Data Service Configuration......................................................................................B-3 B.2.1 Online Service.................................................................................................B-3 B.2.2 Fax Service......................................................................................................B-5

C Acronyms and Abbreviations........................................................................... C-1

ii

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

About This Document

About This Document


Purpose
The EchoLife HG865 (hereinafter referred to as HG865) is an optical network terminal (ONT). It is designed for family users and Small Office Home Office (SOHO) users. This document describes the appearance, functions, and technical specifications of the HG865. Also, this document provides guides for installing, configuring and using the HG865.

Related Versions
Table 1-1 lists the product versions related to this document. Table 1-1 Related Versions Product Name EchoLife HG865 Version V100R001

Intended Audience
This document is intended for:
z z

Technical support engineers Maintenance engineers

Organization
This document consists of six chapters and is organized as follows. Chapter 1 Getting to Know the HG865 2 Installation Guide Description This chapter describes the functions, the features, the front panel, and the rear panel of the HG865. This chapter describes how to install the HG865, how to connect the HG865 to other devices, and how to load software applications.

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

About This Document

EchoLife HG865 Service Manual

Chapter 3 Configuration Guide

Description This chapter describes the command lines of the HG865 and the configuration method of the SIP service of the HG865. This chapter describes the operations of the HG865 after it is connected to a telephone, an IP STB, or a PC. This chapter describes the common faults of the HG865 and the solutions. This chapter describes the interface parameters and physical specifications of the HG865. Appendix A describes configuration methods and procedures of the voice service and the data service of SIP. Appendix B describes configuration methods and procedures of the voice service and the data service of MGCP Appendix B lists the acronyms and abbreviations used in this document.

4 5

Operation Guide Troubleshooting

6 Technical Specifications Appendix A SIP Service Configuration Appendix B MGCP Service Configuration Appendix C Acronyms and Abbreviations

Conventions
Symbol Conventions
The symbols that may be found in this document are defined as follows. Symbol Description Indicates a hazard with a high level of risk that, if not avoided, will result in death or serious injury. Indicates a hazard with a medium or low level of risk which, if not avoided, could result in minor or moderate injury. Indicates a potentially hazardous situation that, if not avoided, could cause equipment damage, data loss, and performance degradation, or unexpected results. Indicates a tip that may help you solve a problem or save time. Provides additional information to emphasize or supplement important points of the main text.

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

About This Document

General Conventions
Convention Times New Roman Boldface Italic Courier New Description Normal paragraphs are in Times New Roman. Names of files, directories, folders, and users are in boldface. For example, log in as user root. Book titles are in italics. Terminal display is in Courier New.

Command Conventions
Convention Boldface Italic [] { x | y | ... } [ x | y | ... ] Description The keywords of a command line are in boldface. Command arguments are in italics. Items (keywords or arguments) in square brackets [ ] are optional. Alternative items are grouped in braces and separated by vertical bars. One is selected. Optional alternative items are grouped in square brackets and separated by vertical bars. One or none is selected. Alternative items are grouped in braces and separated by vertical bars. A minimum of one or a maximum of all can be selected.

{ x | y | ... } *

GUI Conventions
Convention Boldface > Description Buttons, menus, parameters, tabs, windows, and dialog titles are in boldface. For example, click OK. Multi-level menus are in boldface and separated by the ">" signs. For example, choose File > Create > Folder.

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

About This Document

EchoLife HG865 Service Manual

Keyboard Operation
Format Key Key 1+Key 2 Description Press the key. For example, press Enter and press Tab. Press the keys concurrently. For example, pressing Ctrl+Alt+A means the three keys should be pressed concurrently. Press the keys in turn. For example, pressing Alt, A means the two keys should be pressed in turn.

Key 1, Key 2

Mouse Operation
Action Click Double-click Drag Description Select and release the primary mouse button without moving the pointer. Press the primary mouse button twice continuously and quickly without moving the pointer. Press and hold the primary mouse button and move the pointer to a certain position.

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

Safety Precautions

Safety Precautions
General Requirements:
z z z z z

Before you install and use the HG865, read these safety precautions carefully. During storage, transportation, and operation of the device, keep the device dry. During storage, transportation, and operation of the device, avoid collision and crash of the device. Never attempt to dismantle the device by yourself. If any fault is found, contact the appointed maintenance center. Without prior written consent, no organization or individual is permitted to make any change to the structure or safety design of the device. Huawei Technologies Co., Ltd. is not liable to any consequences or legal issues due to such changes. While operating the device, observe all applicable laws and regulations, and respect the legal rights of others.

Environment Requirements:
z z z z z z z

Place the device at a well-ventilated place. Do not place the device in direct sunlight. Keep the device clean and free of dust. Keep at least 10 cm between the device and the closest object for heat dissipation. Do not place any object on top of the device. Otherwise, the device may get heated during operation. It may even get damaged by the heavy load. Do not place the device on or near any object that can easily catch fire, such as foam. Keep the device away from any heat source or bare fire, such as an electric heater or a candle flame. Keep the device away from any electrical appliances with strong electromagnetic field, such as a microwave oven, a refrigerator or a mobile phone.

Operation Requirement:
z z z z z

Do no let a child operate the device without guidance. Do not let a child play with the device or any accessory. Swallowing the accessories may lead to peril. Use the accessories provided or suggested by the manufacturer only. The power supply of the device must meet the requirements of the input voltage of the device. Before plugging or unplugging a cable, shut down the device and disconnect it from the power supply.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 5

Issue 02 (2008-10-17)

Safety Precautions
z z z z z

EchoLife HG865 Service Manual

z z

When plugging or unplugging a cable, make sure that your hands are completely dry. Do not tread on, pull or over-bend a cable to avoid malfunction of the device. Do not use old or damaged power cables. Do not stare at the optical interface on the device. Otherwise, your eyes may be injured. Stop using the device when there is abnormal noise, smell or smoke emitted from the device. Power off the device and unplug the power plug immediately, and then contact the appointed maintenance center. Prevent any object (such as metal shavings) from entering the device through the heat dissipation intakes. Do not scratch or abrade the shell of the device. Because the shed paint fragments may cause malfunction (such as short circuit) of the device by dropping into the device. They may also cause skin allergy.

Cleaning Requirements:
z z z

Stop using the device and power off it before cleaning. Use a soft cloth to clean the device. Keep the power plug clean and dry. Using a dirty or wet power plug may cause electric shock or other hazards.

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

1 Getting to Know the HG865

1 Getting to Know the HG865


1.1 Product Overview
The HG865 is an optical network terminal (ONT) designed for family users and Small Office Home Office (SOHO) users. Using the gigabit-capable passive optical network (GPON) technology, the HG865 provides a high-speed data channel with the upstream rate up to 1.244 Gbit/s and downstream rate up to 2.488 Gbit/s through an optical fiber. The HG865 enables users to access the Internet to enjoy high-speed data services and high-quality voice and video broadband services, such as Internet Protocol TV (IPTV) and Cable TV (CATV). The HG865 provides abundant hardware interfaces to meet diversified networking requirements of home users and SOHO users.
z z z

Provides one 10/100/1000 BASE-T Ethernet interface and three 10/100 BASE-T Ethernet interfaces for service terminals, such as PCs, STBs, and videophones. Provides two Voice over IP (VoIP) telephone interfaces for high-quality and low-cost VoIP and Fax over IP (FoIP) services based on the IP network. Provides one CATV interface for high-quality CATV transport services based on the CATV network.

The HG865 supports remote Telnet management, remote File Transfer Protocol (FTP) loading update, and automatic update of the online ONT Management and Control Interface (OMCI) software to facilitate configuration, maintenance and management of the remote services.

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

1-1

1 Getting to Know the HG865

EchoLife HG865 Service Manual

Figure 1-1 shows the networking diagram of the HG865. Figure 1-1 Networking diagram of the HG865

2 5 4 6

3 7 8

9 10

11

12

13

14

15

16

1 3 5 7 9 11 13 15

Network management system IPTV Trunk gateway Softswitch Switch HG865 Fax machine TV

2 4 6 8 10 12 14 16

Internet Public Switched Telephone Network (PSTN) IP network VoIP Optical Line Terminal (OLT) Telephone PC IP set-top box (STB)

1-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

1 Getting to Know the HG865

1.2 Front Panel and Rear Panel


The front panel and rear panel of the real product might be different from the images in this manual. These differences do not affect the functions of the product.

1.2.1 Front Panel


Figure 1-2 shows the front panel of the HG865. Figure 1-2 Front panel of the HG865

Table 1-1 describes the indicators of the HG865. Table 1-1 Indicators of the HG865 Indicator CATV Tel 1Tel 2 VoIP GE, FE 1FE 3 Status On Off On Off On Off On Off Blink Auth Link Power See the next table See the next table On Off
NOTE GE = Gigabit Ethernet FE = Fast Ethernet

Description The CATV function is enabled. The CATV function is disabled. The telephone interface is in the call status. The telephone interface is idle. The VoIP function is enabled. The VoIP function is disabled. The device is connected to the Ethernet. The device is not connected to the Ethernet. Data is being transmitted through the Ethernet interface. See the next table. See the next table. The HG865 is powered on. The HG865 is powered off.

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

1-3

1 Getting to Know the HG865

EchoLife HG865 Service Manual

Link and Auth indicate the states of the GPON interface on the HG865 when connecting to an OLT. Table 1-2 describes status of the Link indicator and the Auth indicator. Table 1-2 Status of the Link indicator and the Auth indicator Status Link Off Slow blink (1 Hz) Fast blink (3 Hz) Fast blink (3 Hz) On Fast blink (3 Hz) On Auth Off Off Slow blink (1 Hz) On On Off Off Initial state Standby state Serial-number state Ranging state Operation state POPUP state Emergency-stop state Description

1.2.2 Rear Panel

With a lightning protection mechanism, the HG865 stops running automatically if the voltage of lightning exceeds the nominal value. It is recommended to disconnect the power supply from the HG865 in a lighting weather.

Figure 1-3 shows the rear panel of the HG865. Figure 1-3 Rear panel of the HG865

CATV

Battery Monitor

Optical

FE1

FE2

FE3

GE

Tel1

Tel2

12V;2A

Table 1-3 describes the external interfaces of the HG865.

1-4

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

1 Getting to Know the HG865

Table 1-3 External interfaces of the HG865 Interface/Button CATV Battery monitor Optical Function CATV signal interface. It is used to connect to a TV or a digital STB. External battery monitoring interface (reserved, not supported temporarily) GPON interface. It is used to connect the HG865 to an upper-layer device of the optical network. GE is an auto-sensing 10/100/1000 Base-T Ethernet interface. FE 1FE 3 are auto-sensing 10/100 Base-T Ethernet interfaces. They are used to connect to other network devices, such as a computer, IP STB, or switch. The four Ethernet interfaces can be used simultaneously. VoIP telephone interfaces. They are used to connect to telephones or fax machines to provide the VoIP or FoIP service. Two VoIP users can make calls at the same time. Power interface. It is used to connect to the power adapter or the BBU. It is used to power on or off the device.

GE, FE 1FE 3

Tel 1Tel 2

12V; 2A ON/OFF

NOTE BBU = Battery Backup Unit

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

1-5

EchoLife HG865 Service Manual

2 Installation Guide

2 Installation Guide
2.1 Installing the HG865
2.1.1 Installing the HG865 Against the Wall

Ensure that the positioning screws on the wall are installed firmly. You can mount HG865 on the wall. There are two mounting holes at the bottom of the HG865. Figure 2-1shows the distance between the mounting holes. Figure 2-1 Distance between the mounting holes at the bottom
190mm

2.1.2 Installing the HG865 on a Platform


This section describes how to install the HG865 on a platform. Ensure that the platform is stable. Do not place any object on the HG865. Keep a distance of at least 10 cm around or above the HG865 for heat dissipation. Step 1 Step 2 Attach four plastic feet obtained in the delivery accessories to the grooves on the bottom of the HG865. Choose an appropriate platform to place the HG865.

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

2-1

2 Installation Guide

EchoLife HG865 Service Manual

2.2 Cable Connection

Before connecting the HG865, turn off the power supply of devices such as your computer, STB, and switch. Figure 2-2 shows the connection of the HG865 with devices. Figure 2-2 Connection of the HG865 with devices
1

CATV

Battery Monitor

Optical

FE1

FE2

FE3

GE

Tel1

Tel2

12V;2A

5 2 3 4 4 6 7 8

1 4 7

Optical interface on the wall PC Telephone

2 5 8

TV Switch Power adapter

3 6

IP STB Fax machine

See Figure 2-2, and do the following to connect the HG865: Step 1 Step 2 Step 3 Step 4 Step 5 Connect the optical outlet on the wall to the Optical interface of the HG865 by using an optical fiber. Connect the CATV interface of the HG865 to the CATV interface of a TV or a digital STB by using a coaxial cable. Connect the GE (or FE 1FE 3) interface of the HG865 to the network interface of a PC (or the upstream interface of a switch) by using an Ethernet cable. Connect the Tel 1 or Tel 2 interface of the HG865 to a telephone by using a telephone line. Connect the 12V; 2A interface of the HG865 to a power socket by using the power adapter (or the BBU). ----End
2-2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

2 Installation Guide

2.3 Software Loading


2.3.1 Setting Up Configuration Environment
Remote Maintenance
The HG865 supports the remote Telnet maintenance. When configure the HG865 through the Telnet, do not randomly change the IP address of the HG865. If it is necessary to change the IP address, the Telnet connection will be disconnected after the change. You need to log in again with the new IP address to set up the connection. Figure 2-3 shows the networking for the remote Telnet maintenance through the WAN. Figure 2-3 Networking for the remote Telnet maintenance through the WAN

1 4

Remote maintenance terminal OLT

2 5

WAN HG865

Switch

The following steps describes the procedure for setting up the configuration environment. Take the Windows XP operating system as an example. Step 1 Ensure that the maintenance terminal and the HG865 are correctly connected. Ping the public network address of the HG865 (such as ping 11.11.11.1). If the address can be pinged through, it indicates that the connection between the maintenance terminal and the HG865 is established.
In the general configuration mode, use the display ipaddress command to view the public network IP address of the HG865.

Step 2

Select start > Run to display the Run text box.


Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 2-3

Issue 02 (2008-10-17)

2 Installation Guide

EchoLife HG865 Service Manual

Step 3 Step 4 Step 5

Enter the Telnet command and the IP address of the public network of the HG865 in the Run text box, for example, telnet 11.11.11.1. Click OK to enter the Telnet running dialog box. After the connection with the HG865, the related information of the Telnet is displayed on the dialog box. Enter the correct user name and password. Then you can enter the configuration environment. (The preset user name of the terminal is root and the password is admin.) ----End The IP addresses of the maintenance terminal and the HG865 may not be at the same network section. Ensure that the two IP addresses can be pinged through by each other.

Local Maintenance
The HG865 supports the local maintenance through the LAN interfaces. The HG865 provides the maintenance IP address as 192.168.100.1. You can set the IP address of the client in the same network segment of the maintenance IP address. You can log in to the HG865 through Telnet. NOTE
Use the Ethernet cable to connect the maintenance terminal with the HG865. If the network port indicators on the maintenance terminal and the HG865 are both on, it indicates that the network connection is established.

2.3.2 Configuring the File Transfer Server


The HG865 supports file transfer through FTP. To configure the FTP server, install the client software of the FTP server.

2.3.3 Loading Files Through FTP


The procedure for installing a protocol is as follows. Step 1 Step 2 Step 3 Step 4 Configure the FTP server. Run the FTP server on the remote maintenance terminal. Execute load HG865 in the maintenance terminal to load the compressed file. Execute reboot to reboot the system to enable the new program. ----End Example: The IP address of the FTP server is 172.21.50.91; the user name is admin; the authentication password is admin; the loading path is the default value; the loading file name is upgrade.bin. The procedure is as follows. Step 1 Step 2
2-4

Log in to the HG865 through the Telnet mode. Enter the privilege mode.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 02 (2008-10-17)

EchoLife HG865 Service Manual TERMINAL#enable

2 Installation Guide

Step 3 Step 4

Execute the load command.


TERMINAL#load HG865 ftp 172.21.50.91 admin admin upgrade.bin

Restart the system to validate the configuration.


TERMINAL#reboot Are you sure to reset system? Caution:Unsaved data will be lost![Y|N]:Y

----End

After executing the load command, the upgrade process is displayed. When the loading completes, the prompt that the upgrade is successful is displayed. During the upgrade, do not restart the system or power off the supply.

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

2-5

EchoLife HG865 Service Manual

3 Configuration Guide

3 Configuration Guide
3.1 Service Description
The HG865 supports the VoIP service. When the network is normally connected, the voice call can be realized after the HG865 successfully registers to the media gateway controller (MGC) server, for example, the softswitch. The HG865 supports the data service. It enables PCs to access the network through the Lan interfaces. The HG865 has two software versions: HG865 V100R001C01 supports Session Initiation Protocol (SIP) HG865 V100R001C02 supports Media Gateway Control Protocol (MGCP)

In this chapter, the HG865 serves as a media gateway (MG) and the softswitch device serves as a MGC.

3.2 Basic Command


Before the configuration, make sure that you master the usage of command lines, which is a means to configure the device.

3.2.1 Command Structure


The command prompt consists of two parts: fixed character string and command mode identifier.
z z

In the privilege mode, you can use the hostname method to configure the fixed character string. By default, the fixed character string of the system is TERMINAL. The command mode identifier indicates the mode of the current command. For example, > indicates the user mode, and # indicates the privilege mode.

Example: Modify the default hostname of the system to HG865.


TERMINAL#hostname HG865 HG865#

This command is executed successfully, and the hostname has been changed into HG865.
Issue 02 (2008-10-17) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 3-1

3 Configuration Guide

EchoLife HG865 Service Manual

3.2.2 Command Modes


Command modes of the HG865 include the user mode, privilege mode, general configuration mode, advanced configuration mode, and GPON mode. The privilege mode and the general configuration mode are compatible with the lower authority modes.
z z

In the privilege mode, you can run all commands in the user mode. In the general configuration mode, you can run all commands in the user mode and the privilege mode.

Figure 3-1 shows the relationships between the command modes. An ellipse represents a command mode. An arrow indicates the switching from one mode to another mode. Commands are listed above the arrows. Figure 3-1 Relationships between the command modes
GPON mode

Exit

User mode

Enable Disable

Privilege mode

Configure terminal Exit

Advanced configuration mode

To switch from the privilege mode to the general configuration mode, execute configure terminal. To exit from the general configuration mode and enter the privilege mode, execute exit.

3.2.3 Online Help of Command Line


The command interface provides the following online helps.

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

Partial Help
z z

Enter ? after a command separated by a space. If that position is a keyword, all keywords and their concise descriptions will be listed. Enter ? after a command separated by a space. If that position is a parameter, the descriptions of all related parameters will be listed.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 02 (2008-10-17)

3-2

GPON

Exit

EchoLife HG865 Service Manual


z z

3 Configuration Guide

Enter ? after a character string. All the commands beginning with the character string will be listed. Add a space after a command. If that position is a keyword, the keywords of the command will be completed.

3.2.4 Common Commands

To avoid data loss due to exceptional system reset or power-off, save settings in time by executing the command write. Table 3-1 describes the common commands in the HG865. Table 3-1 Common commands To Access the privilege mode Access the general configuration mode Exit the current mode and access the user mode Exit the current mode and access the upper-level mode or exit the configuration environment Save the settings Set the hostname Query the version Change the password Set the system time Set the region information Set the timeout interval Update the software version Execute TERMINAL>enable TERMINAL#configure terminal disable (any mode) exit (any mode)

TERMINAL#write TERMINAL#hostname TERMINAL>display version TERMINAL(config)#terminal user TERMINAL#time TERMINAL(config)#region { CN | HK | BR | EG | GB | CL | SG | US } TERMINAL#terminal timeout timeout TERMINAL#load hg865 ftp_server username password filename

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

3-3

3 Configuration Guide

EchoLife HG865 Service Manual

3.3 SIP Service Configuration


3.3.1 SIP Networking Method
Figure 3-2 shows the SIP networking. Figure 3-2 SIP networking

5 6 7

1 4 7

Softswitch OLT PC

2 5

IP Network HG865

3 6

Switch Telephone

3.3.2 SIP Configuring Commands


Configure commands as follows. Operation Configure the SIP server. Command TERMINAL(config)#sip server index { address address | domain name | port port | expire-time expire-time } TERMINAL(config)#sip user user-sn { id id | password password | name name } TERMINAL(config)#( undo) sip shutdown { user-sn | all }
Issue 02 (2008-10-17)

Configure the SIP user information. Log out the SIP user.

3-4

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

EchoLife HG865 Service Manual

3 Configuration Guide

Operation Configure the SIP user digitmap. Configure the SIP local port number. Display the SIP user attribute. Display the SIP digitmap. Display the SIP send-capability. Display the SIP server information. Display the SIP software parameters.

Command TERMINAL(config)#sip digitmap digitmap TERMINAL(config)#sip local-port localport TERMINAL(config)#display sip attribute TERMINAL(config)#display sip digitmap TERMINAL(config)#display sip send-capability TERMINAL(config)#display sip server TERMINAL(config)#display sip soft-parameter

3.3.3 Configuring SIP Data


Configuring the IP Address of the HG865
In the general configuration mode, configure the IP address of the HG865. The configuration commands are listed as follows. Operation Configure the IP address of the HG865 Command Configure the HG865 to obtain a static IP address: ipaddress static ip-address net-mask gateway-ip Configure the HG865 to obtain an IP address automatically: ipaddress dhcp Configure the HG865 to obtain an IP address by the PPPoE dialing: z pppoe username username password password z ipaddress pppoe

The IP address of the HG865 must be configured. After being configured, the IP address can take effect at once without rebooting. The IP address of the HG865 can be obtained in three ways:
z z z

By Configuring a fixed IP address From DHCP server Through the PPPoE dialing mode
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 3-5

For the SIP HG865, DHCP is the default method of obtaining the IP address.
Issue 02 (2008-10-17)

3 Configuration Guide

EchoLife HG865 Service Manual

Configuring SIP Serve


In the general configuration mode, configure the information of the call server, which SIP HG865 registers to. The configuration command is listed as follows. Command TERMINAL(config)# sip server index { address address | domain name | port port | expire-time expire-time } Remarks
z z z

Index: Index of server, ranging from 0 to 2. address: The IP address of the server. name: The user domain name. The length should not exceed 63 characters. port: The port number of the server. The default is 5060. expire-time: Registration validity period. The range is 5s3600 24 365s. The default is 120s.

Example: Configure the IP address of the server 2 as 191.168.3.3 and the port number as 5061. Step 1 Configure the information of the SIP server.
TERMINAL(config)#sip server 2 address 191.168.3.3 port 5061 { <cr>|domain<K>|expire-time<K> }: Comman sip server 2 address 191.168.3.3 port 5061 Execution of command succeeded

Step 2

Query the configuration result.


TERMINAL(config)#display sip server { <U><0,2>|all<K> }:2 Command: display sip server 2 Sip Server Information ---------------------------------------------index : 2 user domain : domain name : IP address : 191.168.3.3 port : 5061 expire time : 3600 ----------------------------------------------

----End

Configuring SIP User


This command is used to configure the information of the SIP user, including user telephone number, call authentication password and user alias. In the general configuration mode, the command is listed as follows.
3-6 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

3 Configuration Guide

Command TERMINAL(confi g)#sip user user-sn { id id | password password | name name }

Remarks
z

user-sn: The port number of the connected HG865. Its range varies according to the actual port quantity of the devices in use. For example, the HG865 has two ports. The port number ranges from 0 to 2. id: User SIP ID. It is used to identify the user and the length should not exceed 31 characters. The number is allocated by the service provider and has been configured on the SIP server. Password: User authentication password. The length should not exceed 31 characters. The service provider decides whether to configure the parameter. Name: User alias. The length should not exceed 63 characters.

The ID and the password must be configured on the registration server firstly and then the user can succeed in registering. Example: Configure user-sn as 0, id as 88889999, password as abcxyz, and name as Jack. Step 1 Configure the SIP user.
TERMINAL(config)#sip user 0 id 88889999 password abcxyz name Jack This operation will affect the user's current services. Continue? [Y/N]:y Execution of command succeeded. TERMINAL(config)#

Step 2

Query the configuration result.


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

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

3-7

3 Configuration Guide

EchoLife HG865 Service Manual

----End In the general configuration mode, execute undo sip user to delete the SIP user; execute sip shutdown to enable the user to log out.

Configuring SIP User Digitmap


This command is used to configure the restriction rules when the user dials a number. The default rule of the SIP HG865 is that the user is permitted to enter any character or number when the user is dialing a number. This rule may be modified according to the actual requirement. Command TERMINAL(config)#sip digitmap digitmap Remarks Digitmap: The digitmap string to be added. The length is 131. The valid characters that may be contained in the string: 09, a, b, c, d, x. x is wildcard and can represent any number. The default digitmap of the SIP HG865 is [xABCD*#].t.

Execute undo sip digitmap to cancel user digitmap. Execute display sip digitmap to view user digitmap information. Example: Delete the default digitmap, the configured digitmap string is 0755xxxxxxxx. Only the number starting with 0755 is permitted to be dialed. Step 1 Delete the default SIP digitmap.
ERMINAL(config)#display sip digitmap Sip digitmap -------------------------------------index digitmap ----- -------------------------------0 [XABCD*#].T -------------------------------------TERMINAL(config)#undo sip digitmap 0 { <cr>|<U><0,15> }: Command: undo sip digitmap 0 [XABCD*#].T is deleted Execution of command succeeded

Step 2

Configure SIP user digitmap.


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

Step 3

Query the configuration result.


TERMINAL(config)#display sip digitmap

3-8

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual Sip digitmap -------------------------------------index digitmap ----- -------------------------------0755xxxxxxxx --------------------------------------

3 Configuration Guide

----End

Configuring Signaling Port Number of SIP


The command is used to configure the local port number, which is used by the HG865 to send the SIP signaling. The default SIP signaling port number is 5060. It can be modified through the following command. Command TERMINAL(config)#sip local-port port Remarks local-port: Local port number. The value cannot be the same with other port numbers. The default is 5060.

Example: Configure the local port number as 5061. Step 1 Configure the local port number.
TERMINAL(config)#sip local-port 5061 Execution of command succeeded

Step 2

Query the configuration result.


TERMINAL(config)#display sip attribute all Sip User Information --------------------------------------------------user-sn : 0 id : 88889999 password : ******** name : jack local address : 172.21.100.29 local-port : 5061 registration state : registering expire-time : 0 sec previous server : 0.0.0.0 : 5060 current server : 191.168.3.3: 5061----------------------------------------------TERMINAL(config)#

----End

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

3-9

3 Configuration Guide

EchoLife HG865 Service Manual

After the SIP configuration completes, connect the HG865 with a telephone according to 2.2 "Cable Connection" and then pick up the telephone. If you hear a beep, the configuration is successful.

3.4 MGCP Service Configuration


3.4.1 MGCP Networking Method
Figure 3-3 shows the MGCP networking. Figure 3-3 MGCP networking method

5 6 7

1 4 7

Softswitch OLT Fax machine

2 5

IP network HG865

3 6

Switch Telephone

3.4.2 MGCP Configuration Commands


Table 3-2 lists the MGCP configuration commands. Table 3-2 MGCP configuration commands To Set the MG domain name for registration
3-10

Run TERMINAL(config)#mgcp mg-domain-name name


Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

EchoLife HG865 Service Manual

3 Configuration Guide

To Set the MGC information Set the authentication mode to the GB mode Set the authentication mode to the HW mode Set the signaling port number of the MG Set the signaling port number of the MGC server Set the DNS domain name Set the IP address of the DNS server
NOTE DNS = Domain Name System

Run TERMINAL(config)#mgcp mgc index address str TERMINAL(config)#mgcp authentication gb-mode {mgiD | mgkl } TERMINAL(config)#mgcp authentication hw-mode key keyword TERMINAL(config)#mgcp mg-port port TERMINAL(config)#mgcp mgc index port port TERMINAL(config)#dns domain-name name TERMINAL(config)#dns server first { second }

3.4.3 Configuring MGCP Data


Configuring IP Address of the HG865
In general configuration mode, configure the IP address of the HG865. The configuration commands are as follows. To Configure the IP Address of the HG865 Run To obtain a fixed IP address: ipaddress static ip-address net-mask gateway-ip To automatically obtain an IP address: ipaddress dhcp To obtain an IP address by the PPPoE dialing: z pppoe username username password password z ipaddress pppoe

The IP address of the HG865 must be configured. After the configuration, the IP address can take effect at once without restarting the HG865. The IP address of the HG865 can be obtained in the following methods:
z z z

By configuring a fixed IP address From the DHCP server Through the PPPoE dialing mode
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 3-11

Issue 02 (2008-10-17)

3 Configuration Guide

EchoLife HG865 Service Manual

z z

The HG865 can only configure one mode to obtain the IP address. When you are dynamically obtaining the IP address, such as through the Dynamic Host Configuration Protocol (DHCP) and PPPoE modes, you need not configure the DNS server information.

Configuring the MG Domain Name for Registration


In general configuration mode, configure the domain name of the HG865. Command TERMINAL(config)#mgcp mg-domain-name name Remarks name: The domain name of the HG865, containing 160 characters. The domain name should be consistent with that configured on the MGC server.

Example: Configure the domain name of the HG865 as huawei.com. Step 1 Step 2 Configure the MG domain name for registration.
TERMINAL(config)#mgcp mg-domain-name huawei.com

Query the configuration result.


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

----End

Configuring the MGC Information


In general configuration mode, configure the IP address or domain name of the HG865. The configuration commands are as follows.

3-12

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

3 Configuration Guide

Command TERMINAL(config)#mgcp mgc index address str

Remarks index :The index of the softswitch to which the gateway can register, ranging from 1 to 2. str: It contains 160 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 210.11.180.18. The signaling port number is 2727 by default Step 1 Configure the IP address.
TERMINAL(config)#mgcp mgc 1 address 210.11.180.18 { <cr>|port<K> }: Command: mgcp mgc 1 address 210.11.180.18

Step 2

Query the configuration result.


TERMINAL(config)#display mgcp attribute =============================================== MGIP MG-PORT MG-DOMAIN-NAME 10.70.33.62 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 -

----End

Configuring MG Authentication Information


To prevent the illegal MG from registering to the MGC, start registration authentication on the MG. The commands are as follows. To Set the authentication mode to the GB mode Set the authentication mode to the HW mode Run TERMINAL(config)#mgcp authentication gb-mode {mgiD | mgkl } TERMINAL(config)#mgcp authentication hw-mode key keyword

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

3-13

3 Configuration Guide

EchoLife HG865 Service Manual

The HW authentication mode is a private authentication procedure of Huawei. The GB authentication mode is defined by Ministry of Information Industry. When the encryption algorithm of the SoftX3000 is MD5, you need to set the authentication mode of the interconnected HG865 to the HW mode. When the encryption algorithm of the SoftX3000 is DH, you need to set the authentication mode of the interconnected HG865 to the GB mode.

Example: Configure the HG865 to register to the call server in HW mode. The registration key configured on the server is HG865register. Then, query the result after the configuration. Step 1 Configure the authentication mode to HW and the authentication key.
TERMINAL(config)#mgcp authentication hw-mode key Please input your keyword<1~16 characters>:************* Please input again:*************

Step 2

Query the configuration result.


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 =============================================== MGC-IP2 MGC-PORT2 MGC-DOMAIN-NAME2 0.0.0.0 2727 =============================================== MG-STATE REGISTERED-MGC Fault 1 =============================================== AUTH-MODE KEY Huawei mode *******

----End

Setting the Signaling port number of the MG Device


By default, the protocol port number of the transport layer of the MG device is 2427. To change it, run the following command. Command TERMINAL(config)#mgcp mg-port port Remarks port: Port number. By default, it is 2427. The default port number is recommended.

Setting the Signaling port number of the MGC Server

3-14

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

3 Configuration Guide

By default, the protocol port number of the transport layer of the MGC server is 2727. To change it, run the following command. Command TERMINAL(config)#mgcp mgc index port port Remarks index: index of the MGC server. port: protocol port number of the transport layer. By default, it is 2727. The default port number is recommended.

Configuring DNS
After enabling the DNS client, the HG865 can access other network devices by the domain name. The relevant commands are as follows. To Set the DNS domain name Set the IP address of the DNS server Obtain the configuration of the DNS automatically through the DHCP or PPPoE server Run TERMINAL(config)#dns domain-name name TERMINAL(config)#dns server first { second } TERMINAL(config)#dns auto

Example: Start the DNS client on the HG865. Set the domain name of the DNS domain as tele.com and the IP address of the DNS server as 210.11.123.13. Step 1 Step 2 Set the domain name of the DNS.
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> }: Command: dns server 210.11.123.13

Step 3

Query the configuration result.


TERMINAL(config)#display dns ----------------------------------------------DNS mode: STATIC ----------------------------------------------DNS suffix:tele.com Server address: ....Main DNS Server.............: 210.11.123.13 -----------------------------------------------

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

3-15

3 Configuration Guide

EchoLife HG865 Service Manual

----End

After the configuration of the MGCP completes, connect the telephone and then pick up the phone according to section 2.2 Cable Connection" If you can hear a buzz sound, it indicates that the MGCP is configured successfully.

3-16

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

4 Operation Guide

4 Operation Guide
4.1 Using a Telephone
Step 1 Connect the HG865. Refer to section 2.2 "Cable Connection" to connect to a telephone. Ensure that the telephone and the HG865 are correctly connected. Step 2 Step 3 Step 4 Power on the HG865. Configure the VoIP service of the HG865. For details, refer to section 3 "Configuration Guide" Enjoy the high-speed voice service. Pick up the telephone. Enter the number that you want to dial. Wait for an answer. ----End

4.2 Using an IP STB


Step 1 Connect the HG865 Refer to section 2.2 "Cable Connection" to connect to an IP STB. Ensure that the STB and the HG865 are correctly connected. Step 2 Power on the HG865, the TV and the IP STB. Three modes are available:
z z z

Preset a fixed IP address. Obtain an IP address from a DHCP server. Obtain an IP address through the PPPoE dialing mode.

Contact your service provider for which mode to use. Step 3 Enjoy the high-speed video service. Watch or listen to programs according to the prompt on the TV screen. ----End

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

4-1

4 Operation Guide

EchoLife HG865 Service Manual

4.3 Using a PC
Step 1 Connect the HG865. Refer to section 2.2 "Cable Connection" to connect to a PC. Ensure that the PC and the HG865 are correctly connected. Step 2 Step 3 Power on the PC and the HG865. Set the IP addresses of the PC. Three modes are available:
z z z

Preset a fixed IP address Obtain an IP address from a DHCP server Obtain an IP address through the PPPoE dialing mode

Contact your service provider for which mode to use. Step 4 Enjoy the high-speed data service. Enable the Internet Explorer to surf on the Internet. ----End

4.4 Using a TV or a Digital STB


The CATV interface is used to connect to a TV or a digital STB. Please contact your service provider for which device to be connected.

Step 1 Step 2 Step 3

Refer to section 2.2 "Cable Connection" to connect to a TV or a digital STB. Ensure that the TV or digital STB and the HG865 are correctly connected. Power on the HG865, the TV, and the digital STB. Watch or listen to programs according to the prompt on the TV screen. ----End

4-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

5 Troubleshooting

5 Troubleshooting
The CATV indicator is off
Contact the service provider to check that you have subscribed to the CATV function.

The Power indicator is off


z z z

Check whether the power adapter matches the HG865. Check whether the power connection is correct. Check whether the ON/OFF button on the rear panel is pressed.

The Link indicator is off


This indicates that the upstream connection authentication is not successful.
z z

Check whether the optical fiber is connected properly. Check whether the optical connectors are damaged or unclean.

The Link indicator is on, but the Auth indicator is off


The HG865 may not receive the downstream optical signal sent by the service provider. Contact the service provider for help.

The GE and FE indicator is off


z z z z

Check whether the provided Ethernet cable is used. Check whether the Ethernet cable is connected properly. Check whether the indicator of the network adapter is on. Check whether the network adapter works normally. Check whether there are devices marked with ? or ! under Network adapters. If there are such devices, uninstall and then re-install them, or insert the network adapter into another slot.

The Tel indicator is off


z z z

Check whether the telephone line matches the HG865. Check whether the connection of the telephone line is correct. Check whether the telephone is on-hook.

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

5-1

EchoLife HG865 Service Manual

6 Technical Specifications

6 Technical Specifications
Physical Interfaces
z z z z z z z

One CATV interface One Battery Monitor interface One Optical interface One auto-sensing 10/100/1000 Base-T Ethernet interface (RJ-45) Three auto-sensing 10/100 Base-T Ethernet interfaces (RJ-45) Two VoIP telephone interfaces (RJ-11) One Power interface

Protocols and Standards


z z z

GPON: ITU-T G.984.x GE / FE: IEEE802.1p, IEEE 802.3u, IEEE802.1q, IEEE 802.3ab VoIP: G.711A/u, and T38, RTP/RTCP, SIP

Physical Specifications
z z z z z z z

Dimensions (L W H): 275 mm 205 mm 46 mm Weight: About 910 g Power adapter input: 100240 V AC, 5060 Hz Whole-device power supply: 12 V DC, 2 A Standard power consumption: < 15 W Operating environment temperature: 0 to +40 Operating environment humidity: 5%95% (non-condensing)

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

6-1

EchoLife HG865 Service Manual

A SIP Service Configuration

A SIP Service Configuration


A.1 Voice Service Configuration
A.1.1 Configuring IP Address
The HG865 obtains the IP address through DHCP by default. When the DHCP server is configured, and the HG865 is connected to the network and powered on, the HG865 obtains the IP address from the DHCP server automatically. Run the following command to query the IP address information:
TERMINAL(config)#display ipaddress

The information is displayed as follows:


-------------------------------------------------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 esw (unit number 4): Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING IP Address..................: 192.168.100.1 Subnet Mask.................: 255.255.255.0 --------------------------------------------------

A.1.2 Configuring SIP Server


Run the following command to configure the IP address of the SIP server as 192.168.10.10:
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 Issue 02 (2008-10-17) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. A-1

A SIP Service Configuration

EchoLife HG865 Service Manual

Configure the address of the SIP server as sipserver.com.


TERMINAL(config)#sip server 0 domain sipserver.com { <cr>|address<K>|port<K>|expire-time<K> }: Command: sip server 0 domain sipserver.com Execution of command succeeded

You can configure three SIP servers for the HG865. If the HG865 fails to register to the first SIP server, then it registers to the second one. If it fails to register to the second SIP server, it registers to the third one. The SIP servers here can be configured from 0 to 2. It is recommended to configure the address of Server 0 as that of the main server and the IP address of Server 2 as that of the standby server. This can shorten the register time.

A.1.3 Configuring SIP User Information


Run the following command to configure the three parameters for the SIP user.
z z z

Port number: 0 ID: 88880008 Authentication password: 88880008

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 TERMINAL(config)# Execution of command succeeded

The HG865 can configure two SIP users, which range from 0 to 1.

A.1.4 Querying Configuration Result


Query 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 A-2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 02 (2008-10-17)

EchoLife HG865 Service Manual registration state : registered expire-time : 300 sec previous server : current server : 191.168.10.10 : 5060

A SIP Service Configuration

The HG865 can configure two users. You can configure the sip user to 0, 1 and all to check the information of the SIP user(s).

A.1.5 Saving Configuration Data


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

A.2 Data Service Configuration


A.2.1 Online Service
The HG865 supports the online service. Connect the cables; configure the IP address of your PC, and power on your PC. Then you can enjoy the online service. Figure A-1 shows the connection for the online service. Figure A-1 Connection for the online service
1

CATV

Battery Monitor

Optical

FE1

FE2

FE3

GE

Tel1

Tel2

12V;2A

3 2 2 2 2

Optical interface on the wall

PC

Switch
A-3

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

A SIP Service Configuration

EchoLife HG865 Service Manual

A.2.2 Fax Service


By default, the HG865 supports the fax service. Figure A-2 shows the connection for the fax service. Figure A-2 Connection for the fax service

CATV

Battery Monitor

Optical

FE1

FE2

FE3

GE

Tel1

Tel2

12V;2A

Optical interface on the wall

Fax machine

If you want to change the fax mode, contact your service provider for help.

A-4

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

B MGCP Service Configuration

B MGCP Service Configuration


B.1 Voice Service Configuration
B.1.1 Configuring IP Address
Configure the following parameters of the HG865:
z z z

Fixed IP address: 10.70.33.62 Subnet mask: 255.255.0.0 Default gateway: 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 esw (unit number 4): Flags: (0x68243) UP BROADCAST MULTICAST ARP RUNNING IP Address..................: 192.168.100.1 Subnet Mask.................: 255.255.255.0 --------------------------------------------------

B.1.2 Configuring Domain Name of the HG865


Configure the domain name of the HG865 as huawei.com. Use the default signaling port number.
TERMINAL(config)#mgcp mg-domain-name huawei.com

B.1.3 Configuring IP address of MGC


Configure the MGC 1 IP address as 210.11.180.18. Use the default protocol port number.
Issue 02 (2008-10-17) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. B-1

B MGCP Service Configuration TERMINAL(config)#mgcp mgc 1 address 210.11.180.18 { <cr>|port<K> }: Command: mgcp mgc 1 address 210.11.180.18

EchoLife HG865 Service Manual

Configure the address of the MGC 1 server as mgc.com.


TERMINAL(config)#mgcp mgc 1 address mgc.com

Query the configuration result.


TERMINAL(config)#display mgcp attribute ======================================================= MGIP MG-PORT MG-DOMAIN-NAME 10.70.33.62 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 KEY AUTH-MODE Huawei mode

The HG865 supports dual homing. You can configure two MGC servers for the HG865. When the HG865 fails to register to the first MGC, it registers to the second MGC. 1 indicates the first IP address of the MGC, while 2 indicates the second IP address of the MGC.

B.1.4 Configuring System Time


Configure the system time as 11:55:00, 2006-10-20.
TERMINAL(config)#time 11:55:00 2006-10-20

B.1.5 Starting DNS Client


Start the DNS client on the HG865. Configure the following parameters of the DNS:
z z

Domain name: tele.com IP address: 210.11.123.13

TERMINAL(config)#dns domain-name tele.com TERMINAL(config)#dns server 210.11.123.13 { <cr>|<I> }: Command: B-2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

B MGCP Service Configuration

dns server 210.11.123.13 TERMINAL(config)#display dns -----------------------------------------------------------DNS mode: STATIC -----------------------------------------------------------DNS suffix: tele.com Server address: Main DNS Server.............: 210.11.123.13 ------------------------------------------------------------

B.1.6 Adding HG865 Network Management System


Configure the IP address of the HG865 network management system as 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

Configure the HG865 to register to the network management system when the HG865 is started.
TERMINAL(config)#nms access on config succeed

B.1.7 Saving Configuration Data


After the data configuration, use the write command to save data.
TERMINAL(config)#write { <cr>|generate-carrier-config<K> }: Command: write Write running-config to flash ... Succeed!

B.2 Data Service Configuration


B.2.1 Online Service
The HG865 supports the online service. Connect the cables; configure the IP address of your PC, and power on your PC. Then you can enjoy the online service.

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

B-3

B MGCP Service Configuration

EchoLife HG865 Service Manual

Figure B-1 shows the connection for the online service. Figure B-1 Connection for the online service
1

CATV

Battery Monitor

Optical

FE1

FE2

FE3

GE

Tel1

Tel2

12V;2A

3 2 2 2 2

Optical interface on the wall

PC

Switch

B-4

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

B MGCP Service Configuration

B.2.2 Fax Service


The HG865 supports three fax modes: 711v2, T38v2, and T38v3. The default mode is T38v3. Figure B-2 shows the connection for the fax service. Figure B-2 Connection for the fax service

CATV

Battery Monitor

Optical

FE1

FE2

FE3

GE

Tel1

Tel2

12V;2A

Optical interface on the wall

Fax machine

Querying Fax Mode


To query the MGCP fax mode, do as follows:
TERMINAL(config)#display mgcp soft-parameter ======================================================== MGC-TYPE REGISTER-MODE CW-TONE-MODE SoftX Wildcard mg ======================================================== FAX-MODE HOLD-FLAG CHARGE CONTROL 711v2 Off on

Issue 02 (2008-10-17)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

B-5

B MGCP Service Configuration

EchoLife HG865 Service Manual

Configuring Fax Mode


The methods to configure the three fax modes are similar. To configure the fax mode to 711v2, do as follows:
TERMINAL(config)#advanced TERMINAL(advanced-config)# TERMINAL(advanced-config)#mgcp soft-parameter fax-mode 711v2 { <cr>|mgc-type<K>|register-mode<K>|hold-flag<K>|cw-tone-mode<K>|c hargecontrol<K>|fax-port-add2<K> }: Command: mgcp soft-parameter fax-mode 711v2

B-6

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

EchoLife HG865 Service Manual

C Acronyms and Abbreviations

C Acronyms and Abbreviations


C CATV D DHCP DNS F FoIP FTP G GPON I IP IPTV L LAN M MG MGC MGCP N NAT
Issue 02 (2008-10-17)

Cable TV

Dynamic Host Configuration Protocol Domain Name Server

Fax over IP File Transfer Protocol

Gigabit-Capable Passive Optical Network

Internet Protocol Internet Protocol Television

Local Area Network

Media Gateway Media Gateway Controller Media Gateway Control Protocol

Network Address Translation


Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. C-1

C Acronyms and Abbreviations

EchoLife HG865 Service Manual

O OLT OMCI ONT P PC PON POTS PSTN PPPoE R RTCP RTP S SIP SNTP SOHO STB T TG V VoIP W WAN Wide Area Network Voice over IP Trunk Gateway Session Initiation Protocol Simple Network Time Protocol Small Office and Home Office Set-Top Box Real-time Transport Control Protocol Real-time Transport Protocol Personal Computer Passive Optical Network Plain Old Telephone Service Public Switched Telephone Network Point-to-Point Protocol over Ethernet Optical Line Terminal ONT Management and Control Interface Optical Network Terminal

C-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 02 (2008-10-17)

HUAWEI TECHNOLOGIES CO., LTD.


Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China www.huawei.com Part Number: 303007

You might also like