Anda di halaman 1dari 177

Recommendations

 Huawei Learning Website


 http://learning.huawei.com/en

 Huawei e-Learning
 http://support.huawei.com/learning/NavigationAction!createNavi?navId=MW
000001_term1000025144&lang=en n
t io
Huawei Certification ica
tif

r
Ce
 http://support.huawei.com/learning/NavigationAction!createNavi?navId=_31
&lang=en &
ng
Find Training ini
ra

T

ei
http://support.huawei.com/learning/NavigationAction!createNavi?navId=_trai
ningsearch&lang=en a w
Hu
More Information n
it o
i c a
r tif
 Huawei learning APP Ce
&
g
n in
r ai
i T
e
a w
H u

版权所有© 2018 华为技术有限公司


Huawei Access Certificate Training

HCNA-Access V2.0
Lab Guide n
t io
ica
rtif
C e
&
i ng
n
ai
ISSUE:2.0
T r
e i
a w
H u
n
t io
f ica
r ti
Ce
&
i ng
n
rai
i T
e
a w
H u
HUAWEI TECHNOLOGIES CO., LTD.

1
Copyright © Huawei Technologies Co., Ltd. 2018. 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.
n
t io
ica
Notice

tif
The purchased products, services and features are stipulated by the contract made between Huawei and the
r
C e
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and

&
recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any
kind, either express or implied.
g
n has been made in the
The information in this document is subject to change without notice. Every ieffort
instatements, information, and
raexpress or implied.
preparation of this document to ensure accuracy of the contents, but all

T
recommendations in this document do not constitute a warranty of any kind,

ei
a w
Hu
n
it o
i c a
r tif
Ce
&
Huawei Technologies Co., Ltd.
i ng Industrial Base
inBantian, Longgang
Address: Huawei
a
i Tr Shenzhen 518129
e
a w People's Republic of China

H u
Website: http://e.huawei.com

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 1

Huawei Certificate System


Huawei Certified Network Associate-Wireless Local Area Network (HCNA-WLAN) is
designed for Huawei local offices, online engineers in representative offices, and readers who
Relying on strong technical strength and professional training systems, Huawei provides customers
with practical and professional technical certification, meeting customers' requirements on access
technologies at different levels.
Huawei Certified Network Associate-Access (HCNA-Access) provides customers with a four-
level certificate system based on access technology characteristics and different levels of customer
n
requirements.
t io
i c a
HCNA-Access is designed for frontline engineers at Huawei local offices and representative

rtif
offices, and readers who want to understand Huawei Access product technologies. HCNA-Access

C e
covers Huawei access network basics, Layer 2 principles, routing technologies, Point-to-Point

&
Protocol over Ethernet (PPPoE)\Dynamic Host Configuration Protocol (DHCP), principles of x
g
n management
digital subscriber line (xDSL), principles and networking modes of x Passive Optical Network
(xPON), Huawei xPON products and service configurations, and access inetwork
in
system (NMS).
T ra
ei
a w
Hu
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 2

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
i ng
n
rai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 3

About This Document

Overview
This document is a training course for HCNA-Access certification. It is applicable to trainees who
prepare for the HCNA-Access exam or want to understand any of the following access network
n
io
information:
t
ica
 Access network basics

tif
 xPON/xDSL technologies
 DHCP/PPPoE/SIP
e r
 Access networking C
 Huawei access network product features &
 Basic device configuration
i ng
n
ai
 Broadband data service configuration
 SIP voice service configuration
T r
 ODN network basics
e i
 NMS basics
a w
H u
n
Description it o
i c a
if
This Lab Guide consists of 6 parts (including 8 experiments) and is organized as follows:
Part 1: FTTx xPON BasicrtOperations (experiment 1). This part describes an OLT initialization
C
configuration experiment.eThe basic operation and configuration description helps you understand
&Basic Configurations (experiment 2). This part describes how to create a
OLTs and master the basic operation functions.

g
Part 2: FTTx xPON

n in a terminal
profile and add on an OLT, helping you understand the process of adding a terminal to

a
an OLT andi common query methods.
Part 3:rFTTx GPON BIAS Configuration (experiments 3 and 4). This part describes the provisioning
i T of the GPON broadband Internet access service (BIAS).
ePart 4: FTTx GPON xDSL BIAS Configuration (experiment 5). This part describes the provisioning
mode

a w mode of the ADSL2+/VDSL2 broadband access service. This experiment helps you understand how
H u to create and reference a profile and how to provision broadband data services in different FTTx
xDSL scenarios.
Part 5: FTTx SIP Voice Service Configuration (experiments 6 and 7). This part describes how to
configure the SIP service in various scenarios. The experiments help you understand how to
configure and query the VoIP/SIP protocol in the FTTH, FTTB, or FTTC scenario.
Part 6: eSight PON Basic Operations (experiment 8). This part describes how to install and
operate on the eSight.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 4

Intended Audience
To better master the contents of this course, the audience should:
 Have basic access network knowledge.
 Be familiar with Huawei switch devices.
 Have a basic understanding of datacom knowledge.

Icon Conventions n
t io
ica
rtif
C e
Splitter &
ng
OLT MDU ONT

ni
r ai
i T
e
a w
H u
PC Phone Switch Soft switch BRAS/Router
n
t io
f ica
rti
Experiment Environments
Ce
Networking Introduction&
ng
ni
The experiment environments are prepared for access network engineers who are preparing for the

ai
HCNA-Access exam. Each experiment environment includes 1 OLT, 2–16 ONUs, 1 core switch, 1

Tr
eSight server, and 1 AR router (simulating the BRAS to terminate PPPoE dial-up and serving as the

ei
network gateway), 1 or 2 optical splitters, and several PCs. Each experiment environment can be

aw
used by 1–16 trainees to perform hands-on practice.

u
OLT Versions
H
Both the MA5600T and MA5800 can be used in this Lab Guide. The command lines and NMS
operations in this Lab Guide are performed on the MA5600T. If the MA5800 is actually used,
perform experiments according to the instructions of lecturers.

Involved Devices
The following table lists the recommended device configurations in each experiment environment
of HCNA-Access.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 5

Device Name Device Model Software Version


Core switch S3700-28TP-EI-AC S3700 V100R005C01SPC100 or later

OLT MA5600T or MA5800 V800R013C00 or later

ONT HG8247H
MxU MA5620 V800R312C00 or later

Optical splitter 1:16 or above

n
NMS server eSight PON eSight_V300R008C00SPC200_Win

SIP server Huawei SoftX3000 Other SIP server software, such as TekSIP, can be
t io
ica
used instead.
AR router AR1220 V200R005
rtif
C e
&
Environment Preparation i ng
n
r ai
Device Checklist i T
e
a w
Before starting an experiment, ensure that the devices as listed in the following table are ready.

Quantity u
Device Name
H Remarks

eSight 1
o n Shared by all groups

1ti
SIP server
ic a Shared by all groups

f
rti
Huawei S3700 switch 1 Shared by all groups

Ce
or S5700 switch

AR1220 router
& 1 Shared by all groups
OLT
n g 1 Shared by all groups

i ni
ra
ONU 2/group One desktop ONT and one MDU

i T splitter
Optical 1 or 2 Shared by all groups
e
aw
Ensure that the split ratio is appropriate.

Hu
Laptop or desktop computer 1/group A desktop computer requires dual-NICs.
Common RJ11 telephone 2/group Alternatively, all groups can share 2
telephones.

Twisted pair 1/group Used for data service testing


Console cable 1/group Alternatively, the Telnet mode can be used.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 6

Experiment Topology

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
i ng
n
rai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 7

Clearing OLT Configurations


Previous configurations may affect experiment results. Therefore, clear all OLT configurations before
shutting down the OLTs. Before starting a new experiment, ensure that the OLTs do not have
configurations. If the devices have previous configurations, clear the configurations and restart the
OLTs.

 If you log in to an OLT in Telnet mode, do not perform this operation. Otherwise, the
original account data of the OLT will be lost, and the login will fail.
To log in to the OLT, you must enter the user name and password. In this experiment, the default
n
user name and password are root and admin respectively.
t io
ica
>>User name:root

tif
>>User password:
Huawei Integrated Access Software (MA5600T).
e r
Copyright(C) Huawei Technologies Co., Ltd. 2002-2013. All rights reserved.
C
&
----------------------------------------------------------------------------

ng
User last login information:

i
----------------------------------------------------------------------------

n
ai
Access Type : Serial

r
IP-Address : --
Login Time : 2018-04-17 10:30:32+08:00
i T
Logout Time : 2018-04-17 11:00:51+08:00
e
w
----------------------------------------------------------------------------
a
All user fail login information:
H u
----------------------------------------------------------------------------

----------------------------------------------------------------------------
n
io
Access Type IP-Address Time Login Times

t
----------------------------------------------------------------------------

ica
Telnet 10.175.195.116 2018-04-17 10:46:06+08:00 1
Serial --
tif 2018-04-17 10:30:28+08:00 1
r
----------------------------------------------------------------------------
e
C
User root has used a default password. Change the password in time.

&
huawei>.

g
To clear the configurations, run the following command:

n in
huawei>enable

ai
huawei#
r
i{Tflash<K> }:flash
huawei#erase

e { data<K> }:data
aw { Options<E><active,standby> }:active

Hu
Command:
erase flash data active
This command will clear the active board data that has been loaded or saved
Please remember to backup the system configuration data
Are you sure to continue? (y/n)[n]:y
Command executes successfully, and will take effect after active board
rebooted
To restart an OLT, run the following command:
huawei#reboot
{ Options<E><system,active,standby> }:active
Command:
reboot active

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 8

Please check whether data has saved, the unsaved data may lose if reboot
active board, are you sure to reboot active board? (y/n)[n]:y
Standby board failure or not exist, reboot active will cause system reboot,
are you sure to reboot active board? (y/n)[n]:y
huawei#
Platform System start ...
Memory Data Bus Test .................pass.
Memory Address Bus Test ..............pass.
Press 'Ctrl+T' To Start Memory Complete Test
Trace code : 0x00000000
Copy from ROM to RAM ...... OK!
Uncompress from ROM to RAM ...... OK!
n
Update fpga...OK.
t io
ica
Copyright (c) 1998 - 2013 by Huawei Technologies Co.,Ltd.

tif
All Rights Reserved.

r
The last update date of base BIOS B is : Jan 15 2013 16:39:10
===============================================================
BOARD INFORMATION : C e
CPU: MPC8548E - Security Engine. Processor #1.(Rev 2.02) running at
&
ng
1333Mhz
512M bytes DDR(ECC), 128M bytes flash installed on board
ni
ai
Baudrate of serial channel is 9600bps
Board's LAN IP address is 10.11.104.6
T r
Board's LAN Subnet mask is 255.255.255.0
e i
w
Board's LAN MAC address is 08:19:A6:C1:6A:52

Base BIOS version is 307 ua


===============================================================

Save extended BIOS disable start flag...OK! H


n
Transferring control to the extended BIOS ...OK!
System Vfs init...OK
t io
ica
The last update date of extended BIOS is : Feb 28 2013 16:23:52

f
System is booting from extended BIOS...

r ti
Extended BIOS version is 311

Ce
Press <D> key to stop auto-boot 0
Now system will boot from flash memory.

&
Testing Flash memory...OK!

ng
Select area information : Program Area A ,Data Area A .
i
Begin to expand program... OK!
n
ai
Save extended BIOS enable start flag...OK!

T r
Transferring control to the loaded program...OK!

e i Starting system application init......successfully!


Starting system configuration data init...successfully!

a w Press any key to get started

H u >>User name:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 9

Contents

1 FTTx xPON Basic Operations................................................................................... 13


1.1 Experiment Introduction .............................................................................................................................. 13
1.1.1 About This Experiment ............................................................................................................................. 13
1.1.2 Objectives ................................................................................................................................................ 13
1.1.3 Networking.............................................................................................................................................. 13
o n
i
t 14
a
1.1.4 Data Plan .................................................................................................................................................
ic 15
1.2 Configuration Environment Setup ................................................................................................................
i f
e rt
1.2.1 Serial Port Maintenance Mode .................................................................................................................. 15
C
1.2.2 Outband Maintenance Mode .................................................................................................................... 16
&
1.2.3 Inband Maintenance Mode.......................................................................................................................
g
17

i n
1.3 Exercise for Basic Operations ....................................................................................................................... 18
in
r a
1.3.1 Task Requirements ................................................................................................................................... 18

i T
1.3.2 Login to an OLT and System Information Query ......................................................................................... 18
e
1.3.3 System User Management. ....................................................................................................................... 22
a w
u
1.3.4 Inband Management Environment Configuration....................................................................................... 25

H
1.4 Result Verification ....................................................................................................................................... 28

n
1.4.1 Viewing Terminal User Information ........................................................................................................... 28
1.4.2 Logging In as a Terminal User (in Inband Management it o Mode).................................................................... 28
i c a
1.5 Configuration Reference.............................................................................................................................. 29

ti f
e r
1.5.1 Configurations on the OLT Side ................................................................................................................. 29

C
1.5.2 Common Commands................................................................................................................................ 30

&
1.6 Quiz ........................................................................................................................................................... 32
2 FTTx xPON Basic Configuration
n g .............................................................................. 33
i
n .............................................................................................................................. 33
2.1 Experiment Introduction
a i
T r
2.1.1 About This Experiment ............................................................................................................................. 33

e
2.1.2 Objectives i ................................................................................................................................................ 33
a w
2.1.3 Networking.............................................................................................................................................. 34
2.1.4u
H
Data Plan ................................................................................................................................................. 34
2.2 Experiment Configuration ............................................................................................................................ 36
2.2.1 Configuration Tasks .................................................................................................................................. 36
2.2.2 Configuration Process of Adding a Class-A ONT ......................................................................................... 37
2.2.3 Configuration Procedure for Adding a Class-A ONT.................................................................................... 38
2.2.4 Configuration Process of Adding a Class-B ONT ......................................................................................... 48
2.2.5 Configuration Procedure for Adding a Class-B ONT .................................................................................... 48
2.3 Result Verification ....................................................................................................................................... 56
2.3.1 Checking the Status of the Added ONTs on the OLT ................................................................................... 56

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 10

2.3.2 Querying Information About the Class-B ONT ............................................................................................ 57


2.4 Configuration Reference.............................................................................................................................. 59
2.4.1 Configuration for Adding a Class-A ONT on an OLT.................................................................................... 59
2.4.2 Configuration for Adding a Class-B ONT on an OLT .................................................................................... 60
2.5 Quiz ........................................................................................................................................................... 61
3 FTTH GPON BIAS Configuration .............................................................................. 62
3.1 Experiment Introduction .............................................................................................................................. 62
3.1.1 About This Experiment ............................................................................................................................. 62
3.1.2 Objectives ................................................................................................................................................ 62
n
it o
3.1.3 Networking.............................................................................................................................................. 62

i c a 62
3.1.4 Data Plan .................................................................................................................................................

r tif
3.2 Experiment Configuration ............................................................................................................................ 63

C e
3.2.1 Configuration Tasks .................................................................................................................................. 63

&
3.2.2 Service Configuration Process ................................................................................................................... 64

n g
3.2.3 Configuration Procedure (on the OLT Side) ................................................................................................ 64

ini
3.3 Result Verification ....................................................................................................................................... 75

T ra
3.3.1 Accessing the Internet Through PPPoE Dial-up ........................................................................................... 75

e i
3.4 Configuration Reference.............................................................................................................................. 75

a w
3.4.1 Configurations on the OLT Side ................................................................................................................. 75

H u
3.5 Quiz ........................................................................................................................................................... 76
4 FTTB GPON BIAS Configuration .............................................................................. 77
o n
t i
4.1 Experiment Introduction .............................................................................................................................. 77

c a
4.1.1 About This Experiment .............................................................................................................................
i
77

t if
4.1.2 Objectives ................................................................................................................................................
r
77

C e
4.1.3 Networking.............................................................................................................................................. 77
4.1.4 Data Plan ................................................................................................................................................. 77
&
n g
4.2 Experiment Configuration ............................................................................................................................
4.2.1 Configuration Tasksi..................................................................................................................................
79

n
79

r ai Process ................................................................................................................... 80
4.2.2 Service Configuration

i
4.2.3 Configuration T Procedure (on the OLT Side) ................................................................................................ 80
e Procedure (on the MDU Side) .............................................................................................. 87
w
4.2.4 Configuration
a Verification ....................................................................................................................................... 89
u
4.3 Result
H Accessing the Internet Through PPPoE Dial-up ........................................................................................... 89
4.3.1
4.4 Configuration Reference.............................................................................................................................. 90
4.4.1 Configurations on the OLT Side ................................................................................................................. 90
4.4.2 Configurations on the MDU Side ............................................................................................................... 91
4.5 Quiz ........................................................................................................................................................... 91
5 FTTB/C GPON xDSL BIAS Configuration .................................................................. 92
5.1 Experiment Introduction .............................................................................................................................. 92
5.1.1 About This Experiment ............................................................................................................................. 92

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 11

5.1.2 Objectives ................................................................................................................................................ 92


5.1.3 Networking.............................................................................................................................................. 92
5.1.4 Data Plan ................................................................................................................................................. 93
5.2 Configuration Task: ADSL2+ Access ............................................................................................................. 95
5.2.1 Configuration Process............................................................................................................................... 95
5.2.2 Configuration Procedure (on the OLT Side) ................................................................................................ 95
5.2.3 Configuration Procedure (on the ONU Side) ............................................................................................. 101
5.3 Configuration Reference............................................................................................................................ 103
5.3.1 Configurations on the OLT Side ............................................................................................................... 103
n
5.3.2 Configurations on the ONU side.............................................................................................................. 104 it o
5.4 Configuration Task: VDSL2 Access .............................................................................................................
i c a 104
r tif
5.4.1 Experiment Introduction ......................................................................................................................... 104

C e
5.4.2 Configuration Procedure (on the OLT Side) .............................................................................................. 104

&
5.4.3 Configuration Procedure (on the ONU Side) ............................................................................................. 110

n g
5.5 Configuration Reference............................................................................................................................ 112

n i
i
5.5.1 Configurations on the OLT Side ............................................................................................................... 112

T ra
5.5.2 Configurations on the ONU side.............................................................................................................. 113

e
6 FTTH GPON SIP Service Configuration ..................................................................i 114

a w
6.1 Experiment Introduction ............................................................................................................................ 114

H u
6.1.1 About This Experiment ........................................................................................................................... 114
6.1.2 Objectives .............................................................................................................................................. 114

o n
t i
6.1.3 Networking............................................................................................................................................ 114

c a
6.1.4 Data Plan ............................................................................................................................................... 115

t i fi
6.2 Task Configuration .................................................................................................................................... 116

e r
6.2.1 Configuration Process ............................................................................................................................. 116
6.2.2 Configuration Procedure (on the C OLT Side) .............................................................................................. 116
&the ONT Side) ............................................................................................. 126
6.2.3 Configuration Procedure (on
g
6.2.4 Experiment Verification
n in ........................................................................................................................... 130
r ai ............................................................................................................................ 130
6.3 Configuration Reference

i T
6.4 Quiz ......................................................................................................................................................... 131
e SIP Service Configuration................................................................... 132
w
7 FTTB GPON
a Introduction ............................................................................................................................ 132
u
7.1 Experiment
H About This Experiment ........................................................................................................................... 132
7.1.1
7.1.2 Objectives .............................................................................................................................................. 132
7.1.3 Networking............................................................................................................................................ 132
7.1.4 Data Plan ............................................................................................................................................... 133
7.2 Task Configuration .................................................................................................................................... 134
7.2.1 Configuration Process............................................................................................................................. 134
7.2.2 Configuration Procedure (on the OLT Side) .............................................................................................. 134
7.2.3 Configuration Procedure (on the MDU Side) ............................................................................................ 143

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 12

7.2.4 Experiment Verification ........................................................................................................................... 147


7.2.5 Configuration Reference ......................................................................................................................... 147
8 eSight PON Basic Operations ................................................................................ 149
8.1 Experiment Introduction ............................................................................................................................ 149
8.1.1 About This Experiment ........................................................................................................................... 149
8.1.2 Objectives .............................................................................................................................................. 149
8.1.3 Networking............................................................................................................................................ 149
8.1.4 Data Plan ............................................................................................................................................... 150
8.2 Experiment Configuration .......................................................................................................................... 152
n
8.2.1 Experiment Process ................................................................................................................................ 152 it o
i
8.2.2 Configuring the OS.................................................................................................................................c a 152
r tif
8.2.3 Installing the Database ........................................................................................................................... 153

C e
8.2.4 Installing the eSight ................................................................................................................................ 162

&
8.2.5 Logging in to the Sight and Verifying Login ............................................................................................. 167

n g
8.2.6 (Optional) Uninstalling the eSight ............................................................................................................ 171

ini
8.3 Quiz ......................................................................................................................................................... 173

T ra
ei
a w
Hu
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 13

1 FTTx xPON Basic Operations

1.1 Experiment Introduction n


t io
1.1.1 About This Experiment
if ica
rt
e management
This guide describes the basic operations, system operations, and network
configurations of the GPON broadband access device. After studying thisCchapter, you can
understand how to maintain and manage an OLT. &
ng
1.1.2 Objectives ini
T ra
eifeatures.
 Understand environment setup.
 Be familiar with the command line mode and
a
Master system user management methods.w
Hu

 Be familiar with device management.

n
1.1.3 Networking it o
a
Figure 1-1 FTTxicGPON maintenance environment topology
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u

OLT management and maintenance

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 14

This experiment aims to perform basic operations on OLTs. PCs are used to log in to and manage
the OLTs in outband management mode. Figure 1-2 shows the layout of the involved devices.
Figure 1-2 Layout of the devices involved in an experiment for FTTx xPON basic
operations

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
1.1.4 Data Plan H u
Device maintenance environment:
o n
i
t specify your group members and required devices, write
i a
According to Figure 1-2, find your group,
c of the devices, and log in to the devices.
f
down the management IP addresses
ETH: outband maintenance IP
r tiaddress
OLT1 (for users 1–4)
C e
IP:
&
g
Password: in
User name:

n 5–8)
iusers
r
OLT2 (fora
IP:i T
eUser name:
a w
H u Password:
OLT3 (for users 9–12)
IP:
User name:
Password:
When creating a terminal user and a user profile, you are advised to name the profile and user by
your own name. This avoids name conflicts and facilitates the query and deletion after the
configuration.
User profile name:
User name:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 15

Password:

1.2 Configuration Environment Setup

1.2.1 Serial Port Maintenance Mode


1.2.1.1 Connection Topology
n
Figure 1-3 Topology diagram in serial port maintenance mode
t io
ica
rtif
C e
RS232 serial
&
ng
cable

ni
r ai
i T
e
a w
H u
n
it o
1.2.1.2 Configuration Procedureica
r tif
eto connect the serial port of a PC to the serial port of a control board on
Set up physical connections.
C
Use an RS232 serial cable
an OLT.
&through CRT and set parameters.
g
inprogram (or HyperTerminal) on the PC. Double-click the CRT program, choose File >
Set up a connection

n
ai in the
Start the CRT
Connect
r Tab, and click the icon of New Session. In the dialog box that is displayed, select
Tand click OK.
Serial from Protocol drop-down list, select the COM port, retain the default baud rate 9600
i
eLog in to the OLT.
bit/s,
w
a Enter the user name and password as prompted. The default user name and password are root
H u
and admin respectively.
Press Enter. You can successfully log in to the OLT if the login information is correct.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 16

1.2.2 Outband Maintenance Mode


1.2.2.1 Connection Topology
Figure 1-4 Topology for outband maintenance

n
t io
ica
rtif
C e
&
1.2.2.2 Configuration Procedure i ng
n
r ai
Step 1 Configure management ports.
i T
e
a w
After logging in to the OLT using a console port, check the IP address of the Meth 0 port. If the IP
address does not exist, configure the IP address of the maintenance network, add an outband

H u
management route, save the configuration, and exit the login.

Step 2 Set up physical connections.


o n
i
t to the ETH management network port on the control board
a
Use a network cable to connect the PC
of the OLT.
i f ic
t
Step 3 Test the networkrconnectivity.
Open the command prompt
e
C on the PC, run the ping command to test the network connectivity
between the PC and & toETHcheck
the management network port of the OLT. If the ping operation fails, run

n gin to the OLT in telnet


the ipconfig command whether the IP address of the host is correct. If the IP address can

n i
be pinged, log mode.
i
Step 4raLog in to the OLT.
i Tthe CRT program on the PC, set up a telnet connection, enter the IP address of the ETH
emanagement network port in the telnet address bar, and enter the user name and password. Then,
Start
w
a you can log in to the OLT and perform operations on the OLT.
Hu

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 17

1.2.3 Inband Maintenance Mode


1.2.3.1 Connection Topology
Figure 1-5 Topology for inband maintenance

n
t io
ica
rtif
C e
&
i ng
n
1.2.3.2 Configuration Procedure
r ai
i T
e
Step 1 Configure the management VLAN and management IP address on an OLT.
w
a a VLAN port and IP address on the OLT for
inband management. After the configuration, you
H u
Log in to the OLT in serial port mode, and configure
can log in to the OLT using the IP address.

n 0
huawei(config)#vlan 500 smart
huawei(config)#port vlan 500 0/19
i o
t address
huawei(config)#interface vlanif

i c a 500

f
huawei(config-if-vlanif500)#ip 10.175.192.36 22

r ti
Step 2 huawei(config-if-vlanif500)#quit
Step 3 Set up physical Ceconnections.
Use a network g
&
cable to connect the PC to the upstream service port of the upstream board on the
OLT.
n in
i
Step 4raRemotely log in to the OLT.
T
# iCheck the IP address and gateway address automatically obtained by the PC. Ensure that the IP
eaddress and the management IP address of the OLT are in the same network segment. In this
w
a experiment, the gateway address is 10.175.192.1.
Hu # Run the ping 10.175.192.36 command to test the connectivity between the PC and the OLT.
# Open the command prompt on the PC, run the telnet 10.175.192.36 command to log in to the
OLT, and enter the user name and password to log in to the OLT.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 18

1.3 Exercise for Basic Operations

1.3.1 Task Requirements


Table 1-1 Requirements for experiment tasks
Task Requirement Completion Status
Be familiar with command Be familiar with basic operation
lines. commands and query
n
commands.
t io
Add a user profile. The login is allowed only in the
ica
period of 08:00–18:00 p.m. The
rtif
profile name is mandatory.
C e
Add a user. Add a user to use the added
profile, and write down the user &
name.
i ng
in
Query the version of the
a
Query the versions of the control
board and service board. r
OLT.
i T
Query the upstream port of Query the duplex mode e rate.
and
an upstream board.
a w
Create a VLAN, u
Create a Layer 3 interface.
H create a Layer 3
interface, and write down the IP
addressn
it o3 interface.
and MAC address of the
Layer
a the Layer 3 interface that
if cDelete
ti
Delete a Layer 3 interface.

e r you add.

C
&
1.3.2 Login to an g
n OLT and System Information Query
i
in
Step 1raLog in to an OLT.
T
Inithis experiment, the outband maintenance mode is adopted. A network cable is used to connect
ea PC and the OLT management port on the same local area network (LAN). Start the CRT program
w
a of a PC and connect a telnet connection.
H u # Choose Connect > New Session. On the page that is displayed, select the telnet protocol, click
Next, enter the host name 10.175.192.36, and click Next until the operation is complete.
# On the connection page, select the created session 10.175.192.36, click Connect, and enter the
user name and password on the login page to log in to the OLT. (The user name and password are
allocated based on the experiments. In this experiment, root and admin are used.)
>>User name:root
>>User password: // The password is admin, which is not displayed.
Huawei Integrated Access Software (MA5600T).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2013. All rights reserved.
User root has used a default password. Change the password in time.
MA5600T>

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 19

Step 2 Be familiar with basic command line operations.


Learn about the command line modes and understand how to switch the configuration modes.
# Enter privileged mode from user mode:
MA5600T>enable
MA5600T#
# Enter global config mode.
MA5600T#config
MA5600T(config)#
# Enter interface mode (for example, meth 0).
n
MA5600T(config)#interface meth 0
t io
ica
MA5600T(config-if-meth0)#

tif
# Return to the upper mode from the current mode.
MA5600T(config-if-meth0)#quit
e r
MA5600T(config)#quit
C
&
MA5600T#

ng
# Exit privileged mode.
MA5600T#disable
ni
MA5600T>
r ai
# Log out.
i T
MA5600T#quit
e
a w
Check whether system data has been changed. Please save data before logout.
Are you sure to log out? (y/n)[n]:y
H u
n
Step 3 Perform operations related to the system name and time.
o
Change the OLT name to huawei. t i
i c a
tif
# Change the system name.
MA5600T#sysname huawei
e r
huawei#
C
& language
# Query the system language.

Local:in
g
huawei#display

a in
Description: CHINESE SIMPLIFIED (DEFAULT LANGUAGE)

T r Version: MA5600V800R013C00 // Query the NE software version

ei Encoding: GBK
information.

a w
u
General:

H
Description: ENGLISH (DEFAULT LANGUAGE)
Version: MA5600V800R013C00
Encoding: ANSI
# Query system time.
huawei#display time
{ <cr>|date-format<K>|dst<K>|time-stamp<K> }:
Command:
display time
2018-04-10 16:48:15+08:00
# Change the local system time.
huawei#time 16:00:00 2018-04-10

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 20

huawei#

Step 4 Perform operations related to subracks and boards.


Query the detailed information about subracks and boards.
# Query the subrack information. The subrack ID is 0.
huawei(config)#display frame info 0
--------------------------------------------------------------------------
Type: H801MABC
State: Normal
Desc: H801MABC_0
EMU ID: 0 Subnode:1 State:Communications normal
n
--------------------------------------------------------------------------
it o
// If 0 is not entered, the IDs, types, and status of all subracks in the system can be queried.a
i f ic
rt
# Query the information about all boards in a subrack.
huawei(config)#display board 0
------------------------------------------------------------------------- C e
SlotID BoardName Status SubType0 SubType1 &
Online/Offline

n g
-------------------------------------------------------------------------

ni
0
1
a i
2
T r
ei
3

w is in auto-find state and can be


4
5 H802GPBD Auto_find
a
// The board

Hu
used only after being confirmed.
6
7
o n
8
t i
9 H801SCUN Active_normal
c a // The board is in the Normal state.
10
t i fi
r
11
12
13 C e
14
&
H802EPBD Auto_find
g
in
15

17 in
16

Tr19a H801GICG Auto_find


18

ei 20
a w 21

H u 22
-------------------------------------------------------------------------
After a board is inserted into a subrack, the OLT automatically detects the board. However, the
board in the Auto-find state cannot provide services. You need to confirm the board and ensure
that the board status is normal.
# Confirm all boards in the Auto-find state.
huawei(config)#board confirm 0
# Query the status of the confirmed boards.
huawei(config)#display board 0
-------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 21

-------------------------------------------------------------------------
0
1
2
3
4
5 H802GPBD Normal // The board is in the Normal state.
6
7
8
9 H801SCUN Active_normal
10
n
11
t io
ica
12

tif
13

r
14 H802EPBD Normal
15
16 C e
17
&
ng
18
19 H801GICG Normal
ni
ai
20
21
T r
22
e i
w
-------------------------------------------------------------------------

ua
# Query the information about a board in the specified slot.
huawei(config)#display board 0/5
H
n
---------------------------------------

io
Board Name : H802GPBD
t
ica
Board Status : Normal
---------------------------------------

ti f
----------------------------------------------------------------------------
Power Status
e r
Power-off cause Power-off Time

C
----------------------------------------------------------------------------

&
POWER-ON - -

ng
----------------------------------------------------------------------------

i
-------------------------------------------------------------
n
ai
Port Port min-distance max-distance Optical-module

T r type (km) (km) status

i
-------------------------------------------------------------

e 0 GPON 0 20 Online

a w 1 GPON 0 20 Online

H u 2
3
GPON
GPON
0
0
20
20
Offline
Offline
4 GPON 0 20 Offline
5 GPON 0 20 Offline
6 GPON 0 20 Offline
7 GPON 0 20 Offline
-------------------------------------------------------------
In port 0/ 5/0 , the total of ONTs are: 0, online: 0
In port 0/ 5/1 , the total of ONTs are: 0, online: 0
In port 0/ 5/2 , the total of ONTs are: 0, online: 0
In port 0/ 5/3 , the total of ONTs are: 0, online: 0
In port 0/ 5/4 , the total of ONTs are: 0, online: 0
In port 0/ 5/5 , the total of ONTs are: 0, online: 0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 22

In port 0/ 5/6 , the total of ONTs are: 0, online: 0


In port 0/ 5/7 , the total of ONTs are: 0, online: 0

GPON service boards are installed in slot 0/5. The information shows that the GPON 0 port
used in this experiment is normal.

Step 5 Query system version information.


# Query the system software version.
huawei#config
huawei(config)#display version
n
io
{ <cr>|backplane<K>|frameid/slotid<S><Length 1-15> }:
Command:
t
ica
display version

tif
VERSION : MA5600V800R013C00
PRODUCT : MA5600T
e r
C
Active Mainboard Running Area Information:
--------------------------------------------------
Current Program Area : Area A &
ng
Current Data Area : Area A

ni
ai
Program Area A Version : MA5600V800R013C00

r
Program Area B Version : MA5600V800R013C00
Data Area A Version : MA5600V800R013C00
i T
e
Data Area B Version : MA5600V800R013C00

w
--------------------------------------------------
a
# Query the software version of a service board. u
Uptime is 0 day(s), 0 hour(s), 26 minute(s), 34 second(s)

H
huawei(config)#display version 0/5
o n // Query the software versions of the

Send message for inquiringtiboard version successfully, board executing...


service boards in slots 0/5.

Main Board: H802GPBD ca

t i fi
er VER B
---------------------------------------
Pcb Version: H802GPBD
Mab Version: C 0000

&
Logic Version: (U50)001(U25)008(U26)008(U49)023

g
Main CPU :
in
CPU Version: (U48)MPC8349
APP nVersion: 405(2013-4-25)
r ai Version: (U57)310
T the software version of a control board.
BIOS
# iQuery
e huawei(config)#display version 0/9
a w
H u Main Board: H801SCUN
---------------------------------------
PCB Version: H801SCUN VER B
Base BIOS Version: 307
Extended BIOS Version: 311
Software Version: MA5600V800R013C00
Logic Version: (U48)118
MAB Version: 0002

1.3.3 System User Management.


Step 1 Add a maintenance user profile.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 23

The following lists the maintenance user profile information:


Profile name: weihuzu
Validity period of the user name: 30 days
Validity period of the user password: 30 days
Login start time: 08:00
Login end time: 18:00
huawei(config)#terminal user-profile add
User profile name(<=15 chars):weihuzu
Validity period of the user name(0--999 days)[0]:30
Validity period of the password(0--999 days)[0]:30
Permitted start time of logon by a user(hh:mm)[00:00]:08:00
n
io
Permitted end time of logon by a user(hh:mm)[00:00]:18:00
Adding user-profile successfully
t
ica
Repeat this operation? (y/n)[n]:n

Step 2 Add a maintenance user account.


rtif
C e
When adding a maintenance user, you can set your name as the user name and specify a password
as you want to facilitate further query.
&
ng
# Add two maintenance users. The following lists the information about the first maintenance user
account:
ni
User name: huawei
r ai
T
Password: huawei123
Bound user profile: weihuzu
e i
w
Permission: administrator
Number of concurrent login times: 2
u a
huawei(config)#terminal user name
User Name(length<6,15>):huawei H
User Password(length<6,15>): n
Confirm Password(length<6,15>):
t i o
i c a
User profile name(<=15 chars)[root]:weihuzu

tifOperator 3. Administrator:3
User's Level:
1. Common User 2.
r
Permitted Reentere Number(0--4):2
User's AppendedCInfo(<=30 chars):
Adding user&
g
successfully

i n
Repeat this operation? (y/n)[n]:y

a inhuawei1
The following lists the information about the second maintenance user account:
r huawei123
User name:
T
i
Password:
eBound user profile: weihuzu

a w Number of concurrent login times: 2


Permission: operator

H u User Name(length<6,15>):huawei1
User Password(length<6,15>): //The password is huawei123.
Confirm Password(length<6,15>):
User profile name(<=15 chars)[root]:weihuzu
User's Level:
1. Common User 2. Operator 3. Administrator:2
Permitted Reenter Number(0--4):2
User's Appended Info(<=30 chars):
Adding user successfully
Repeat this operation? (y/n)[n]:n

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 24

Step 3 Modify the maintenance account.


Modify other attributes of user huawei1. For example, change the user level, login password, and
number of concurrent login times.
# Change the user level to a common user. (Only a higher-level user can change the level of another
user.)
huawei(config)#terminal user level
User Name(<=15 chars):huawei1
1. Common User 2. Operator 3. Administrator:
User's Level:1
Confirm Level: 1
n
io
Information will take effect when this user logs on next time
Repeat this operation? (y/n)[n]:n
t
# Change the user password to huawei1234.
ica
huawei(config)#terminal user password
rtif
User Name(<=15 chars):huawei1
C e
&
New Password(length<6,15>): //The password is huawei1234.

ng
Confirm Password(length<6,15>):

i
Information takes effect

n
ai
Repeat this operation? (y/n)[n]:n
# Change the number of concurrent login times to 4.
T r
huawei(config)#terminal user reenter
e i
w
User Name(<=15 chars):huawei1
Permitted Reenter Number(0--4):4
ua
H
Confirm Reenter Number(0--4):4
Information will take effect when this user logs on next time
Repeat this operation? (y/n)[n]:n
o n
Step 4 Maintain an online user. t i
i c a
t i fperformuser
If the operation of an online terminal threatens system security, you can force the user to go

e r
offline so that the user cannot any operations on the system.
# Query the client ID ofCthe online user.
&
huawei(config)#display client

ngname Domain name IP Address


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

n i
ID Client Login Time
i
1raroot
---------------------------------------------------------------------------

T -- 10.175.197.60 2018-04-10 09:20:23+08:00

ei ---------------------------------------------------------------------------
2 huawei1 -- 10.175.197.116 2018-04-10 09:40:49+08:00

aw # Force huawei1 to log out.


Hu huawei(config)#client kickoff
{ clientID<U><1,22> }:2 // Find that the client ID of user huawei1 is 2.
Command:
client kickoff 2
Are you sure to kick the user off?(y/n)[n]:y
The user has been kicked off successfully

When you run a command to force a user to go offline, exercise caution based on the
experiment environment to prevent other trainees from being logged off. You are
advised to perform this operation at the end of the experiment and delete the users
created by yourself.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 25

# Query online users again and find that user huawei1 is offline.
huawei(config)#display client
---------------------------------------------------------------------------
ID Client name Domain name IP Address Login Time
---------------------------------------------------------------------------
1 root -- 10.175.197.60 2018-04-10 09:20:23+08:00
---------------------------------------------------------------------------

Step 5 Delete the maintenance account.


In general, only administrators have the right to delete users whose levels are lower than their own

n
levels and cannot delete online users.
# View all users in the system.
t io
ica
huawei(config)#display terminal user all

tif
----------------------------------------------------------------------------
Name Level Status Reenter Profile Append
e r
Num Info
C
&
----------------------------------------------------------------------------

ng
root Super Online 1 root -----

i
huawei Admin Offline 2 weihuzu -----

n
ai
huawei1 User Offline 4 weihuzu -----

r
----------------------------------------------------------------------------
Total record(s) number: 3
i T
# Delete the maintenance user huawei1. e
huawei(config)#undo terminal user name
a w
User Name(<=15 chars):huawei1
Are you sure to delete the user?(y/n)[n]:y H u
Deleting user successfully
o n
Repeat this operation? (y/n)[n]:n
i
t User huawei1 is deleted.
# Query all the users in the systemaagain.
c
huawei(config)#display fiterminal user all
r ti
Ce Status Reenter
----------------------------------------------------------------------------
Name Level Profile Append

& Num Info

g
----------------------------------------------------------------------------
n
root
i Super Online 1 root -----

a in
huawei Admin Offline 2 weihuzu -----

r record(s) number: 2
----------------------------------------------------------------------------
TTotal
e i
w
1.3.4aInband Management Environment Configuration
Hu Step 1 Create management VLAN 500.
# Create management VLAN 500 and set the VLAN type to smart.
huawei(config)#vlan 500
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart
Command:
vlan 500 smart

Step 2 Add an upstream port.


# Add upstream GIU port 0/19/0 to VLAN 500.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 26

huawei(config)#port vlan
{ name<K>|vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:500
{ frameid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }:0/19
{ portlist<S><Length 1-256> }:0
Command:
port vlan 500 0/19 0

Step 3 Configure the IP address of the management VLAN interface.


# Enter the management VLAN interface.
huawei(config)#interface vlanif 500
# Configure the IP address of the management VLAN interface.
n
huawei(config-if-vlanif500)#ip address 10.175.192.36 22
t io
ica
{ <cr>|description<K>|sub<K> }:

tif
Command:
ip address 10.175.192.36 22
e r
huawei(config-if-vlanif500)#quit
C
Step 4 Configure the default VLAN of the upstream port. &
huawei(config)#interface giu 0/19
i ng
n
ai
huawei(config-if-giu-0/19)#native-vlan
{ all<K>|portid<U><0,1> }:0
T r
{ vlan<K> }:vlan
{ vlanid<U><1,4093> }:500 e i
Command:
a w
native-vlan 0 vlan 500
huawei(config-if-giu-0/19)# H u
Step 5 Configure the management route.
o n
i
twith the next hop pointing to the gateway address.
# Configure the management route
c a
t i
huawei(config)#ip route-staticfi 0.0.0.0 0.0.0.0 10.175.192.1
r
Ce
Step 6 Query related configurations.
& of the OLT.
# Query all IP addresses

i ng
huawei(config)#display ip interface brief

i n
{ <cr>|meth<K>|null<K>|vlanif<K> }:

T ra display ip interface brief


Command:

ei*down: administratively down

aw (s): spoofing
(l): loopback

Hu The number
The number
of
of
interface that is
interface that is
UP in Physical is 1
DOWN in Physical is 2
The number of interface that is UP in Protocol is 1
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol
meth0 10.11.104.6/24 down down
null0 unassigned up up(s)
vlanif500 10.175.192.36/22 down down
# Query the inband management address of the OLT.
huawei(config)#display interface vlanif 500
vlanif500 current state : DOWN

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 27

Line protocol current state : DOWN


Description : HUAWEI, SmartAX Series, vlanif500 Interface
The Maximum Transmit Unit is 1500 bytes
Forward plane MTU: -
Internet Address is 10.175.192.36/22
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0819-a6c1-
6a53
VLAN Encap-mode : single-tag
# Query the outband management address of the OLT.
huawei(config)#display interface meth 0

n
meth0 current state : UP

io
Line protocol current state : UP
t
ica
Description : HUAWEI, SmartAX Series, meth0 Interface
The Maximum Transmit Unit is 1500 bytes

tif
Internet Address is 10.11.104.6/24
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0819-a6c1-
e r
6a52
C
Auto-duplex(Full), Auto-speed(100M)
&
ng
5 minutes input rate 2190 bytes/sec, 35 packets/sec
5 minutes output rate 14 bytes/sec, 0 packets/sec
ni
ai
142413 packets input, 8647104 bytes
2043 packets output, 130601 bytes
T r
i
# Display the port information of the upstream interface board.
e
huawei(config)#interface giu 0/19
a w
u
huawei(config-if-giu-0/19)#display port state all

Speed H
----------------------------------------------------------------------------
Port Port Optic Native MDI Duplex Flow- Active Link
n
io
Type Status VLAN (Mbps) Ctrl State

t
----------------------------------------------------------------------------

ica
0 GE - 500 auto auto auto off active offline
1 GE -
ti f
1 auto auto auto off active offline

r
----------------------------------------------------------------------------
e
C
----------------------------------------------------------------------------
Port Detecting Time(Min) TX State Auto-sensing
&
----------------------------------------------------------------------------

ng
0 - - -
1
n i - - -

ai
----------------------------------------------------------------------------
r
i T ----------------------------------------------------------------------------

e
Port 15Min 15Min 24Hour 24Hour

a w AlmProf WarnProf AlmProf WarnProf

u
----------------------------------------------------------------------------

H
0 - - - -
1 - - - -
----------------------------------------------------------------------------
Note: For any port, setting MDI to auto-negotiation is invalid, For a 1000 M
Electrical port in the full-duplex mode, setting MDI to any value is
invalid
# Display route information.
huawei(config)#display ip routing-table
{ <cr>|acl<K>|all-vpn-instance<K>|ip-
prefix<K>|ip_addr<I><X.X.X.X>|limit<K>|protocol<K>|statistics<K>|time-
range<K>|verbose<K>|vpn-instance<K>||<K> }:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 28

Command:
display ip routing-table
Route Flags: R - relay, D - download to fib
-----------------------------------------------------------------------------
Routing Tables: Public
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 Static 60 0 RD 10.175.192.1 vlanif500
10.175.192.0/22 Direct 0 0 D 10.175.192.36 vlanif500
10.175.192.36/32 Direct 0 0 D 127.0.0.1 vlanif500
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
n
Step 7 Save configuration data. t io
ica
tif
huawei(config)#save
{ <cr>|configuration<K>|data<K> }:
e r
Command:
C
&
save

ng
It will take several minutes to save configuration file, please wait...

i
Configuration file had been saved successfully

n
ai
Note: The configuration file will take effect after being activated

r
The data is being saved, please wait a moment...

i T
e
a w
1.4 Result Verification u
H
n
io
1.4.1 Viewing Terminal User Information
t
c a
fi
# Display information about terminal users on an OLT.
ti
r
huawei(config)#display terminal user all
e
C
----------------------------------------------------------------------------
Name Level Status Reenter Profile Append
& Num Info

ng
----------------------------------------------------------------------------
i
n
ai
root Super Online 1 root -----

r
huawei Admin Offline 2 weihuzu -----

i T ----------------------------------------------------------------------------

e
Total record(s) number: 2

w
uaLogging In as a Terminal User (in Inband Management Mode)
1.4.2
H # Use a network cable to connect the ETH port of a PC to the upstream port giu 0/19/0 of the
upstream board on the MA5600T.
# Enable the network configuration on the PC. Ensure that the IP address automatically obtained
by the PC is in the same network segment as the IP address of the upstream port 0/19/0 of the OLT.
# Open the command prompt on the PC, run the Ping 10.175.192.36 command to test the
connectivity between the PC and OLT. If they are not properly connected, check for the fault and
rectify it.
# If they are properly connected, run the telnet 10.175.192.36 command, and enter the user
name and password (huawei and huawei123 respectively) to check whether the login is successful
and whether operations can be performed.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 29

telnet 10.175.192.36
>>User name:huawei
>>User password:
Huawei Integrated Access Software (MA5600T).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2013. All rights reserved.
----------------------------------------------------------------------------
User last login information:
----------------------------------------------------------------------------
Access Type : Serial
IP-Address : --
Login Time : 2018-04-12 14:46:37+08:00
Logout Time : 2018-04-12 14:58:06+08:00
n
----------------------------------------------------------------------------
t io
ica
----------------------------------------------------------------------------

tif
User fail login information:

r
----------------------------------------------------------------------------
Last Access Type
Last IP-Address
: Serial
: -- C e
Last Login Time : 2018-04-12 15:00:28+08:00
&
ng
Login Failure Times : 1

ni
----------------------------------------------------------------------------

ai
----------------------------------------------------------------------------
All user fail login information:
T r
i
----------------------------------------------------------------------------
e
w
Access Type IP-Address Time Login Times

Serial -- a
----------------------------------------------------------------------------
u
2018-04-12 15:00:28+08:00 1
H
----------------------------------------------------------------------------

n
User root has used a default password. Change the password in time.
o
huawei>
i
t login is successful.
According to the command output,
c athe

t i fi
e r
1.5 Configuration&Reference C
i ng
a in
1.5.1 Configurations on the OLT Side
#T
r
i
e >>User name:root

a w # >>User password:admin

Hu enable
config
sysname huawei
switch language-mode
display language
display time
time 16:00:00 2018-04-10
#
interface meth 0
quit
#
board confirm 0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 30

display board 0
display board 0/5
#
terminal user-profile add
terminal user name huawei huawei123 weihuzu 3 2
terminal user name huawei1 huawei123 weihuzu 2 2
#
terminal user level huawei1 1 1
terminal user password huawei1 huawei1234
terminal user reenter huawei1 4 4
#
display client
n
client kickoff 2
t io
ica
display terminal user all

tif
undo terminal user name huawei1

r
#
vlan 500 smart
port vlan 500 0/19 0 C e
#
&
ng
interface vlanif 500
ip address 10.175.192.36 22
ni
ai
quit
#
T r
ip route-static 0.0.0.0 0.0.0.0 10.175.192.1
e i
w
display ip routing-table
#
interface giu 0/19 ua
native-vlan 0 vlan 500 H
quit
n
#
t io
ica
interface giu 0/19

f
display port state all
#
r ti
save
# Ce
&
display terminal user all

ng
telnet 10.175.192.36
i
>>User name:huawei
n
ai
>>User password:huawei123
r
T Commands
i
1.5.2 Common
e
a w The following table describes common commands.
H u
Common Command Function
terminal user name Adds a device operation user. To add a user and authorize the user
to access and operate the device, run this command. After a user
is added successfully, the user can access the device and perform
operations such as configuration and management on the device.
undo terminal user name Deletes a device operation user. After a user is deleted
successfully, the user cannot access the device or perform
operations such as configuration and management on the device.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 31

Common Command Function


terminal user level/ Changes the user level, number of concurrent login times, and
reenter/password password.
display client Queries the information about the current login user. To query the
information about the current login user, such as the user ID, IP
address, and login time, for security management, run this
command.

client kickoff Disconnects a client. To forcibly disconnect a client or a type of


clients whose operation threatens the system security, run this
n
it o
command. After being disconnected successfully, the user cannot
perform any operation on the system.

i c a
time
After the command is executed successfully, the system
r t iftime
Sets the system time. To set the system time, run this command.

changes to the set time.


C e
board add
&
Adds a board offline. When the system needs to implement the
g
xDSL service and the device subtending service, you can run this

n in of thesubtending
command to add the service board, Ethernet board or

board is added successfully, youra


power interface board to the vacant i slot subrack. After a

T
can configure and query the
board.
e i
board confirm Confirms an auto-found w
a board to a vacant slot, you need to
board or boards in an entire subrack.

confirm the board


u
After inserting a service
H for implementing the xDSL service or device
subtending. In this scenario, run this command. You can configure
and query n
i o the board after it is confirmed successfully.
t the information about the boards in an entire subrack or
display board
c a
Queries

t i fi details of a specified board. After performing an operation on


the
r a board, and you need to query the slot ID, name, status, daughter

Ce board information, port information or online/offline state of the


board, run this command.
&
ng
board delete Deletes a board in a subrack. When a board becomes faulty or is

n i removed and does not process services, and no other board

r ai registers again in that slot, the slot will be in the board-faulty state

i T all the time. To change the slot state to the vacant state, run this
command. After the board is deleted successfully, you can add a
e
w
new board to the vacant slot.

u a undo ip address Deletes the IP address and subnet mask of a VLAN interface.
H When the IP address of an interface is not required, run this
command. After the IP address and subnet mask of the interface
are deleted successfully, this IP address cannot be used by the
VLAN interface for L3 forwarding.
ip route-static Configures a unicast static route. Static routes, instead of dynamic
routes, are sufficient for a simple network to function. After a
static route is created, the network devices can implement L3
interworking.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 32

Common Command Function


undo ip route-static Deletes a unicast static route. After a network fault occurs or the
topology changes, a static route does not change automatically.
Therefore, you must run this command to delete the static route.
After a static route is deleted, the network devices need to select
other routes to forward packets.

display ip interface Queries the IP-related configuration and statistics of an interface.


To query the numbers of packets, bytes and multicast packets
received/transmitted by an interface, or query the number of
broadcast packets received, transmitted, forwarded and discarded
n
by an interface, run this command.
it o
display interface
i
Queries the current state and statistics of an interface. To query
c a
tif
the interface running state and the packet forwarding state
r
Cequery the IDs,
through the interface, run this command.

display frame info Queries the basic information about a subrack. To


types, statuses, and cascade port information &of allthatsubracks,
n
query the IDs, types, statuses, and cascadeg description,satisfy
ports the

inIDi or slot ID of a cascade


specified search criteria such as the subrack MAC

raport ID of a cascade port, or


address, sequence number, subrack
T
board, or subrack ID, slot ID, and

ei
query the subrack type, status, and description by subrack ID, run
this command.
a w
display version
H u
Queries the versions of the NE software and board software.

port vlan Adds an upstream port to a VLAN. To enable the user packets of a
VLAN to bentransmitted upstream using an upstream port, run this
t ioto add the upstream port to the VLAN. After the
a port is added to the VLAN, the packet of this VLAN can
command

i c
upstream
f transmitted upstream using this port.
rti
be

undo port vlan


Ce Deletes an upstream port from a VLAN. To stop the user packets
of a VLAN from being transmitted upstream using an upstream
& port, run this command to delete the upstream port from the

ing VLAN. After the upstream port is deleted from the VLAN, the

in
packet of this VLAN cannot be transmitted upstream on this port.

undora
i T vlan Deletes one VLAN or multiple VLANs of the same type in batches.
When you no longer need a VLAN, you can run this command to
e
w
delete it. After a VLAN is deleted successfully, the VLAN is

u a unavailable.

1.6 Quiz
When I run the telnet 10.175.192.36 command on a PC to log in to an OLT in inband
management mode, the login fails. What should I do?

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 33

2 FTTx xPON Basic Configuration

2.1 Experiment Introduction n


t io
2.1.1 About This Experiment ica
if
r t
Ce
This experiment is to perform basic configurations on GPON devices so that the same OLT can
manage ONTs of classes A, B, and C and provide services for them.
&
2.1.2 Objectives g
nin
i
a the MA5600T.
r
Understand the principles of configuring an ONT on


i T class-A and class-B/C ONTs and
Understand the similarities and differences between
their management methods. e
Master the configuration procedures fora w
adding and managing various types of ONTs.
u

H
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 34

2.1.3 Networking
Figure 2-1 Topology for an FTTx xPON basic configuration experiment

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
2.1.4 Data Plan
f ica
r ti
The following lists the configuration resources planned for each group based on the lab networking.

Ce
GPON OLT data plan for each group:
&
OLT maintenance mode:

ng
OLT outband maintenance IP address:

i ni
User name and password for login:

T ra profile ID:
DBA

e i DBA bandwidth planning:


aw
ONT line profile:

Hu
OLT inband management VLAN ID:
OLT inband management IP address:
The parameters in the following data plan table are for reference only. You need to plan the
parameters based on the actual networking environment to avoid conflicts and service
configuration failures.

Table 2-1 ONT data plan for FTTx xPON configurations


ONT Data Plan Class-A ONU Class-B/C ONU

Device type HG824x HG824x MA5620

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 35

ONT Data Plan Class-A ONU Class-B/C ONU


OLT PON port 0/5/0 0/5/0 0/5/0

ONT_ID 1 5 2

ONT SN 48575443D8EAC605 48575443D8F92405 4857544329518907


Management mode OMCI OMCI SNMP

ont-srvprofile ID: 31; name: HG824x /


Ports: 4 ETH ports, 2 POTS ports, and 1 CATV port

o n
ont-lineprofile ID: 31; name: HG824x 

name: MA5620 at
ID: 32
i
ic

i f
rt0
Inband management:


C e
T-CONT ID:

&0
GEM port 0 cached to T-
gCONT
n GEM port 0 mapped to
ni

a i VLAN 500

Tr
ei
Inband management IP /  OLT management VLAN:
address 500
a w Upstream port: 0/19/0

Hu

 Static IP address:
10.175.192.36/22
n
t io  ONT management

ica
VLAN: 500
f
rti
 Static IP address:
10.175.192.41/22
Ce
&
ng
Table 2-2 Access service data plan for FTTx GPON configurations

n i
ai
ONU Service Port VLAN GEM Port T-CONT DBA
Type
T rType ID ID ID
ID and Bandwidth
e i Name

a
Class-A w Voice Iphost 172 1 1 21, ftth_voip Type 1 (fixed

H u
ONU bandwidth: 1
Mbit/s)
Internet ETH1 11 2 2 22, ftth_hsi Type 2
access (assured
bandwidth: 2
Mbit/s)

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 36

ONU Service Port VLAN GEM Port T-CONT DBA


Type Type ID ID ID
ID and Bandwidth
Name
Multicast ETH2 200 3 3 23, ftth_iptv Type 3
(assured
bandwidth: 4
Mbit/s; max.
bandwidth: 8
Mbit/s)

n
io
Class-B/C Voice All 172 4 1 21, ftth_voip Type 1 (fixed
ONU
t
bandwidth: 1

ica
Mbit/s)

Internet ETH1 11 5 2 22, ftth_hsi


rtif
Type 2
access
C e(assured
bandwidth: 2
& Mbit/s)
Multicast ETH2 200 6 3 23,in
g
ftth_iptv Type 3
n
ai
(assured

T r bandwidth: 4

e i Mbit/s; max.
bandwidth: 8
a w Mbit/s)

H u
n
it o
2.2 Experiment Configuration i c a
r tif
2.2.1 Configuration Tasks Ce
&the tasks to be completed during the experiment.
g
in
Table 2-3 describes

Table 2-3 Tasks a


n
i during FTTx xPON basic configurations
T r required

e i
Task Requirement Completion Status
w profile.
Add aaDBA Add a profile using an allocated profile ID.

H u Type 2 bandwidth is used (2 Mbit/s or other


bandwidth for upstream transmission).

Add an ONT line profile. Add a line profile in non-encryption mode


using the allocated profile ID and the added
DBA profile.
Add an ONT service profile. Add a service profile based on the allocated
ONT and profile ID.

Enable the ONT auto-find Connect an optical fiber to the ONT and check
function of a PON port. whether the ONT can be automatically
discovered.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 37

Task Requirement Completion Status


Add an ONT. The ONT can be automatically or manually
added. Record the ONT information, including
the status, control flag, running flag,
configuration status, and matching status.
Add an MDU. Write down the MDU status, including the
control flag, running flag, configuration status,
and matching status.

Configure the MDU Configure the channel and IP address based on


n
io
management channel and the lab data.
IP address.
t
ica
tif
(Optional) Log in to the Be familiar with the command environment.
MA5620 in telnet mode on
e r
C
an OLT.

&
g
2.2.2 Configuration Process of Adding a Class-AinONT in
T ra
ei
a w
Hu
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 38

2.2.3 Configuration Procedure for Adding a Class-A ONT


Step 1 Log in to an OLT.
Use a network cable to connect a PC to the management port of an OLT. Ensure that the IP address
automatically obtained by the PC is in the same network segment as the management port IP
address of the OLT. Then, log in to the OLT in telnet mode and enter the user name and password.
(Enter the user name and password as planned. In this experiment, the user name and password
are root and admin.)
# Enter the user name and password to log in to the OLT.
n
io
>>User name:root
>>User password: // Enter the password admin, which is not displayed.
t
ica
Huawei Integrated Access Software (MA5600T).

tif
Copyright(C) Huawei Technologies Co., Ltd. 2002-2013. All rights reserved.
----------------------------------------------------------------------------
e r
User last login information:
C
&
----------------------------------------------------------------------------

ng
Access Type : Serial

i
IP-Address : --

n
ai
Login Time : 2018-04-17 17:08:55+08:00

r
Logout Time : 2018-04-17 17:10:46+08:00
T
----------------------------------------------------------------------------
i
e
User root has used a default password. Change the password in time.

Step 2 Configure board information. a w


# Enter the configuration mode. H u
huawei#config n
it o
Configure board information and ensure that the boards are properly running.

i c aboards. The boards are to be confirmed.


if board 0
# In global config mode, check for
huawei(config)#display
r t
Ce Status
-------------------------------------------------------------------------
SlotID BoardName SubType0 SubType1 Online/Offline
&
-------------------------------------------------------------------------
g
in
0

2 in
1

3ra
T
ei 5
4

a w H802GPBD Auto_find // The board is in auto-find state and can be

u
used only after being confirmed.

H
6
7
8
9 H801SCUN Active_normal // The board is in the Normal state.
10
11
12
13
14 H802EPBD Auto_find
15
16
17

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 39

18
19 H801GICG Auto_find
20
21
22
-------------------------------------------------------------------------
# Check all boards in subrack 0 and check the running status of the boards.
huawei(config)#board confirm 0
huawei(config)#display board 0
-------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline
-------------------------------------------------------------------------
n
0
t io
ica
1

tif
2

r
3
4
5 H802GPBD Normal C e
6
&
ng
7
8
ni
ai
9 H801SCUN Active_normal
10
T r
11
e i
w
12
13
14 H802EPBD Normal ua
15 H
16
n
17
t io
ica
18

f
19 H801GICG Normal
20
r ti
21
22 C e
&
-------------------------------------------------------------------------

g
n DBA profiles.
i
Step 3 Configure

a in view, create 3 DBA profiles and record the DBA-profile indexes that are allocated.
In the global
r global view, check the existing DBA profiles in the system.
# InTthe
i
e huawei(config)#display dba-profile all
w
a huawei(config)#display dba-profile all
Hu
----------------------------------------------------------------------------
Profile-ID type Bandwidth Fix Assure Max Bind
compensation (kbps) (kbps) (kbps) times
----------------------------------------------------------------------------
0 3 No 0 8192 20480 1
1 1 No 5120 0 0 0
2 1 No 1024 0 0 1
3 4 No 0 0 32768 0
4 1 No 1024000 0 0 0
5 1 No 32768 0 0 0
6 1 No 102400 0 0 0
7 2 No 0 32768 0 0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 40

8 2 No 0 102400 0 0
9 3 No 0 32768 65536 0
----------------------------------------------------------------------------
# Add the first DBA profile. Set the profile ID to 21, profile name to ftth_voip, broadband type to
type1, and fixed bandwidth to 1 Mbit/s.
huawei(config)# dba-profile
{ add<K>|delete<K>|modify<K> }:add
{ profile-id<K>|profile-
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id
{ profile-id<U><10,512> }:21

n
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name

io
{ profile-name<S><Length 1-33> }:ftth_voip
t
ica
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type1
{ fix<K> }:fix

tif
{ fix-bandwidth<U><128,10000000> }:1024
{ <cr>|bandwidth_compensate<K> }:
e r
Command:
C
&
dba-profile add profile-id 21 profile-name ftth_voip type1 fix 1024
Adding a DBA profile succeeded
n g
ni
Profile ID : 21
Profile name: ftth_voip
i
# Add the second DBA profile. Set the profile ID to 22, profile
T raname to ftth_hsi, broadband type
ei
to type2, and fixed bandwidth to 2 Mbit/s.
huawei(config)#dba-profile
a w
Hu
{ add<K>|delete<K>|modify<K> }:add
{ profile-id<K>|profile-
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id
{ profile-id<U><10,512> }:22
o n
t i
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name
{ profile-name<S><Length 1-33>
i c a }:ftth_hsi

{ assure<K> }:assure ti
f
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type2

e r
C
{ assure-bandwidth<U><128,10000000> }:2048
Command:

Adding a g
& add profile-id 22 profile-name ftth_hsi type2 assure 2048
dba-profile

inID : 22
DBA profile succeeded

n
Profile
i name: ftth_hsi
a
Profile
# Add
i Trtheassured
third DBA profile. Set the profile ID to 23, profile name to ftth_iptv, broadband type to
e huawei(config)#dba-profile
Type3, bandwidth to 4 Mbit/s, and maximum bandwidth to 8 Mbit/s.

a w
H u { add<K>|delete<K>|modify<K> }:add
{ profile-id<K>|profile-
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id 23
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name
{ profile-name<S><Length 1-33> }:ftth_iptv
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type3
{ assure<K> }:assure
{ assure-bandwidth<U><128,10000000> }:4096
{ max<K> }:max
{ max-bandwidth<U><128,10000000> }:8064
Command:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 41

dba-profile add profile-id 23 profile-name ftth_iptv type3 assure


4096 max 8064
Adding a DBA profile succeeded
Profile ID : 23
Profile name: ftth_iptv

Step 4 Configure an ONT line profile.


In the global view, create an ONT line profile (ont-lineprofile), set detailed parameters, bind the
corresponding DBA profile, and record the index of the line profile.
# Check for the ont-lineprofile in the system.
huawei(config)#display ont-lineprofile
n
{ epon<K>|gpon<K> }:gpon
t io
ica
{ all<K>|bound-info<K>|profile-id<K>|profile-name<K> }:all

tif
Command:
display ont-lineprofile gpon all
---------------------------------------------------------------------------- e r
Profile-ID Profile-name Binding times C
&
----------------------------------------------------------------------------

ng
0 line-profile_default_0 0

ni
----------------------------------------------------------------------------
Total: 1
r ai
T
# Create an ONT line profile named HG824x and enter profile configuration mode. The profile ID is
i
31.
e
huawei(config)#ont-lineprofile
a w
{ epon<K>|gpon<K> }:gpon
H
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
u
n
{ profile-id<U><0,8192> }:31

io
{ <cr>|profile-name<K> }:profile-name
t
ica
{ profile-name<S><Length 1-32> }:HG824x

f
Command:

ti
ont-lineprofile gpon profile-id 31 profile-name HG824x
r
C e
When you create a line profile or DBA profile, the system automatically allocates a profile ID
&
if you do not specify an ID.

i ng
In profile configuration mode, bind a T-CONT to the corresponding DBA profile.
n
ai
# Bind T-CONT 1 to DBA profile 21.

T r
huawei(config-gpon-lineprofile-31)#tcont

e i { tcont-list<S><Length 1-13> }:1

w
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id

u a { profile-id<U><0,512> }:21

H
Command:
tcont 1 dba-profile-id 21
# Bind T-CONT 2 to DBA profile 22.
huawei(config-gpon-lineprofile-31)#tcont
{ tcont-list<S><Length 1-13> }:2
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id
{ profile-id<U><0,512> }:22
Command:
tcont 2 dba-profile-id 22
# Bind T-CONT 3 to DBA profile 23.
huawei(config-gpon-lineprofile-31)#tcont

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 42

{ tcont-list<S><Length 1-13> }:3


{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id
{ profile-id<U><0,512> }:23
Command:
tcont 3 dba-profile-id 23
In profile config mode, add a GEM port and map it to the corresponding T-
CONT.
# Add GEM port 1 to carry Ethernet services and map it to T-CONT 1.
huawei(config-gpon-lineprofile-31)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add

n
{ gem-index<U><0,1023> }:1

io
{ service-type<E><eth,tdm> }:eth
t
ica
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:1
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
rtif
e
car<K>|priority-queue<K> }:
Command:
C
gem add 1 eth tcont 1
&
ng
# Add GEM port 2 to carry Ethernet services and map it to T-CONT 2.

ni
ai
huawei(config-gpon-lineprofile-31)#gem

r
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:2
i T
e
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
a w
u
{ tcont-id<U><0,127> }:2

H
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
car<K>|priority-queue<K> }:
n
it o
Command:
gem add 2 eth tcont 2

i c
# Add GEM port 3 to carry Ethernet a services and map it to T-CONT 3.
r tif
huawei(config-gpon-lineprofile-31)#gem

C e
{ add<K>|delete<K>|mapping<K>|modify<K>
{ gem-index<U><0,1023> }:3
}:add

&
{ service-type<E><eth,tdm> }:eth

g
{ tcont<K> }:tcont
n
i
{ tcont-id<U><0,127> }:3

a in
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-

T r
car<K>|priority-queue<K> }:

eiConfigure
Command:
gem add 3 eth tcont 3

a w the mapping modes of GEM ports.

H u # Configure the mapping mode between GEM ports and user data to VLAN mapping.
huawei(config-gpon-lineprofile-31)#mapping-mode
{iptos<K>|port-priority<K>|port-vlan-priority<K>|port-
vlan<K>|port<K>|priority<K>|vlan-priority<K>|vlan<K>}:vlan
Command:
mapping-mode vlan
Configure the mapping relationships between GEM ports and VLANs.
# Configure the mapping between the GEM port 1 and the user flow with the VLAN 172 tag. The
mapping index is 1.
huawei(config-gpon-lineprofile-31)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 43

{ gem-index<U><0,1023> }:1
{ mapping-index<U><0,7> }:1
{ e1<K>|eth-bundle<K>|eth<K>|flow-
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-
vcl<K>|transparent<K>|vlan<K> }:vlan
{ untag<K>|vlan-id<U><0,4095> }:172
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 1 1 vlan 172
# Configure the mapping between the GEM port 2 and the user flow with the VLAN 11 tag. The
mapping index is 2.
n
io
huawei(config-gpon-lineprofile-31)#gem
t
ica
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:2

tif
{ mapping-index<U><0,7> }:2
{ e1<K>|eth-bundle<K>|eth<K>|flow-
e r
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-
C
&
vcl<K>|transparent<K>|vlan<K> }:vlan

ng
{ untag<K>|vlan-id<U><0,4095> }:11
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
ni
ai
Command:
gem mapping 2 2 vlan 11
T r
mapping index is 3. e i
# Configure the mapping between the GEM port 3 and the user flow with the VLAN 200 tag. The

a w
u
huawei(config-gpon-lineprofile-31)#gem

H
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:3
{ mapping-index<U><0,7> }:3
n
{ e1<K>|eth-bundle<K>|eth<K>|flow-
t io
ica
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-

tif
vcl<K>|transparent<K>|vlan<K> }:vlan

r
{ untag<K>|vlan-id<U><0,4095> }:200
e
C
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
&
gem mapping 3 3 vlan 200

ng
i
# After completing the configuration, run the commit command to make the configuration take
effect.
i n
T ra
huawei(config-gpon-lineprofile-31)#commit

i huawei(config-gpon-lineprofile-31)#quit
e huawei(config)#
a w
H u All parameter settings can take effect only after the commit command is executed.

Step 5 Configure class-A ONT service profiles.


In global config mode, create a service profile named ont-srvprofile, match the profile with the
actual ONT type, and record the allocated index of the service profile.
# Query the existing service profiles in the system.
huawei(config)# display ont-srvprofile
{ epon<K>|gpon<K> }:gpon
{ all<K>|bound-info<K>|profile-id<K>|profile-name<K> }:all
Command:
display ont-srvprofile gpon all

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 44

Command:
display ont-srvprofile gpon all
----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
----------------------------------------------------------------------------
0 srv-profile_default_0 0
----------------------------------------------------------------------------
Total: 1
# Create an ONT service profile named HG824x and enter profile configuration mode. The profile
ID is 31.

n
huawei(config)#ont-srvprofile

io
{ epon<K>|gpon<K> }:gpon
t
ica
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:31

tif
{ <cr>|profile-name<K> }:profile-name
{ profile-name<S><Length 1-32> }:HG824x
e r
Command:
C
ont-srvprofile gpon profile-id 31 profile-name HG824x
&
Configure ONT port capabilities.
g
n the ONTs in the lab. In
niports,ofand
# Configure the port types and number of ONTs based on the capabilities
i
r a
this experiment, 1 ONT is used, which provides 4 ETH ports, 2 POTS 1 CATV port.
huawei(config-gpon-srvprofile-31)#ont-port
i T
e
{ catv<K>|eth<K>|moca<K>|pots<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:eth
{ adaptive<K>|eth-port<U><0,8> }:4
a w
{ adaptive<K>|pots-port<U><0,32> }:2 u
{ <cr>|catv<K>|moca<K>|pots<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:pots
H
{ <cr>|catv<K>|moca<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:catv
{ adaptive<K>|catv-port<U><0,8>n}:1
t io
a
{ <cr>|moca<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:

ic 2 catv 1
Command:
ont-port eth 4 fpots
i
rt port of the ONT.
e
Configure a VLAN for the user-side
C user-side iphost port on the ONT to 172.
# Set the VLAN ID of the
&
g
huawei(config-gpon-srvprofile-31)#port

in }:vlan
{ car<K>|dscp<K>|e1<K>|eth<K>|igmp-forward<K>|priority-policy<K>|q-in-
n
ai
q<K>|vlan<K>

T r
{ eth<K>|iphost<K>|moca<K> }:iphost

i
{ q-in-q<K>|translation<K>|transparent<K>|vlanid<U><0,4095> }:172

e Command:
{ <cr>|priority<K>|prival<U><0,7>|TLS<K> }:

a w
H u port vlan iphost 172
Set ONT port(s) VLAN configuration, success: 1, failed: 0
# Set the VLAN ID of user-side Ethernet port 1 on the ONT to 11.
huawei(config-gpon-srvprofile-31)#port
{ car<K>|dscp<K>|e1<K>|eth<K>|igmp-forward<K>|priority-policy<K>|q-in-
q<K>|vlan<K> }:vlan
{ eth<K>|iphost<K>|moca<K> }:eth
{ ont-portlist<S><Length 1-128> }:1
{ downstream<K>|q-in-
q<K>|translation<K>|transparent<K>|vlanid<U><0,4095> }:11
{ <cr>|priority<K>|prival<U><0,7>|TLS<K> }:
Command:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 45

port vlan eth 1 11


Set ONT port(s) VLAN configuration, success: 1, failed: 0
# Set the VLAN ID of user-side Ethernet port 2 on the ONT to 200.
huawei(config-gpon-srvprofile-31)#port
{ car<K>|dscp<K>|e1<K>|eth<K>|igmp-forward<K>|priority-policy<K>|q-in-
q<K>|vlan<K> }:vlan
{ eth<K>|iphost<K>|moca<K> }:eth
{ ont-portlist<S><Length 1-128> }:2
{ downstream<K>|q-in-
q<K>|translation<K>|transparent<K>|vlanid<U><0,4095> }:200

n
{ <cr>|priority<K>|prival<U><0,7>|TLS<K> }:

io
Command:
t
ica
port vlan eth 2 200
Set ONT port(s) VLAN configuration, success: 1, failed: 0
# Commit the parameters to make them take effect.
rtif
huawei(config-gpon-srvprofile-31)#commit
huawei(config-gpon-srvprofile-31)#quit C e
huawei(config)# &
Step 6 Check whether the ONT is automatically added to the iGPON
g
n system.
in
Switch from global config mode to GPON mode, and then enable
T ra the ONT auto-find function of an

new ONT SN address, and copy the SN address. Set theeONT i ID based on the data plan and bind
optical port. Wait for the system to detect the newly added ONT in the PON network, report the

a w that the ONT is in the normal state.


the configured ont-lineprofile and ont-srvprofile. Ensure
Enable the ONT auto-find function of a PON port.u
# Enter GPON mode. The port is the PON portH connected to the ONT that is used, that is, port 0 in
n
io
slot 5 of subrack 0.
huawei(config)#interface
at
i c
tif
{ adsl<K>|atm<K>|csp<K>|edt<K>|emu<K>|epon<K>|eponnni<K>|eth<K>|giu<K>|gpon<K
>|gponnni<K>|h248<K>|loopback<K>|meth<K>|null<K>|opf<K>|opg<K>|scu<K>|shl<K>|

e r
top-stm1<K>|top<K>|tunnel<K>|vdsl<K>|vlanif<K>|vrgw<K> }:gpon
C
{ frameid/slotid<S><Length 3-15> }:0/5
Command:
& gpon 0/5
# Enable thein
g
interface
auto-find function of GPON port 0/5/0.
n
r ai
huawei(config-if-gpon-0/5)#port

i T
{ dba<K>|optical-alarm-profile<K>|portid<U><0,7> }:0

e renew<K>|range<K> }:ont-auto-find
{ fec<K>|laser-switch<K>|ont-auto-find<K>|ont-password-

w
a { switch<E><enable,disable> }:enable
Hu Command:
port 0 ont-auto-find enable
Query the found ONTs.
# In GPON mode, query the information about the auto-found ONT on GPON port 0/5/0, confirm
the ONT version information, and copy the SN address.
huawei(config-if-gpon-0/5)#display ont autofind 0
---------------------------------------------------------------------------
Number : 1
F/S/P : 0/5/0
Ont SN : 4857544329518907
Password : 0x30303030303030303030(0000000000)

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 46

Loid : 0000000000
Checkcode :
VendorID : HWTC
Ont Version : MA5620 VER.C
Ont SoftwareVersion : V8R308 C00
Ont EquipmentID : SmartAX MA5620
Ont autofind time : 2018-04-10 14:35:59+08:00
---------------------------------------------------------------------------
Number : 2
F/S/P : 0/5/0
Ont SN : 48575443D8EAC605
Password : 0x00000000000000000000
n
Loid :
t io
ica
Checkcode :

tif
VendorID : HWTC

r
Ont Version : 120D4600
Ont SoftwareVersion : V1R006C00S210
Ont EquipmentID : 247 C e
Ont autofind time : 2018-04-10 14:35:44+08:00
&
ng
---------------------------------------------------------------------------
Number : 3
ni
ai
F/S/P : 0/5/0
Ont SN : 48575443D8F92405
T r
Password : 0x00000000000000000000
e i
w
Loid :
Checkcode
VendorID
:
: HWTC ua
Ont Version : 120D4600 H
Ont SoftwareVersion : V1R006C00S210
n
Ont EquipmentID : 247
t io
ica
Ont autofind time : 2018-04-10 14:35:44+08:00

if
---------------------------------------------------------------------------

Confirm the found ONT. e r t


C that the ID of the found class-A ONT is 1. The SN 48575443D8EAC605
& and registration, the management mode is OMCI. The ONT is bound to the
# In GPON mode, confirm

line profile (ID: g


is used for verification

n in 31) and service profile (ID: 31).

a i
huawei(config-if-gpon-0/5)#ont confirm
r
{Tall<K>|loid-auth<K>|ontid<K>|password-auth<K>|sn-auth<K> }:ontid
{ portid<U><0,7> }:0

i
e {{ ontid<U><0,127> }:1

a w loid-auth<K>|password-auth<K>|sn-auth<K> }:sn-auth

H u { sn<S><Length 13-16> }:48575443D8EAC605


{ omci<K>|password-auth<K>|snmp<K> }:omci
{ <cr>|desc<K>|ont-lineprofile-id<K>|ont-lineprofile-name<K>|ont-srvprofile-
id<K>|ont-srvprofile-name<K> }:ont-lineprofile-id
{ profile-id<U><0,8192> }:31
{ <cr>|desc<K>|ont-srvprofile-id<K>|ont-srvprofile-name<K> }:ont-srvprofile-
id
{ profile-id<U><0,8192> }:31
{ <cr>|desc<K> }:
Command:
ont confirm 0 ontid 1 sn-auth 48575443D8EAC605 omci ont-
lineprofile-id 31 ont-srvprofile-id 31

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 47

Number of ONTs that can be added: 1, success: 1


PortID :0, ONTID :1
Check the status of the added ONT.
# Check the status of the ONT that is added to GPON port 0/5/0.
huawei(config-if-gpon-0/5)#display ont info
{ portid<U><0,7> }:0
{ all<K>|ontid<U><0,127> }:all
Command:
display ont info 0 all
----------------------------------------------------------------------------
F/S/P ONT SN Control Run Config Match Protect
n
ID flag state state state side
t io
ica
----------------------------------------------------------------------------

tif
0/ 5/0 1 48575443D8EAC605 active online normal match no

r
----------------------------------------------------------------------------
F/S/P ONT-ID Description
C
----------------------------------------------------------------------------
e
0/ 5/0 1 ONT_NO_DESCRIPTION
&
g
----------------------------------------------------------------------------
In port 0/ 5/0 , the total of ONTs are: 1, online: 1
n in
i
Step 7 (Optional) Manually add an ONT to the GPON system.
T ra
# Enter GPON mode. Manually add a class-A ONT to GPON
ei the port 0/5/0. The ONT ID is 5. The SN
w (ID: 31).management mode is OMCI. The
48575443D8F92405 is used for verification and registration,
ONT is bound to the line profile (ID: 31) and serviceaprofile
huawei(config)#interface gpon 0/5 H
u
n
huawei(config-if-gpon-0/5)#ont

i o
{ activate<K>|add<K>|alarm-policy<K>|alarm-
t
a
profile<K>|cancel<K>|confirm<K>|cos-queue-map-

fi c
profile<K>|deactivate<K>|delete<K>|factory-setting-

t i
restore<K>|gemport<K>|ipconfig<K>|modify<K>|optical-alarm-
r
C e
profile<K>|port<K>|power-shedding-config<K>|re-discovery<K>|re-
register<K>|remote-ping<K>|reset<K>|snmp-profile<K>|snmp-

& }:0
route<K>|statistics<K>|tdm-vcl<K>|tr069-server-config<K>|voip<K> }:add

g
{ portid<U><0,7>
n
auth<K> i}:5
{ loid-auth<K>|ontid<U><0,127>|password-auth<K>|protect-side<K>|sn-

i n
r a
{ loid-auth<K>|password-auth<K>|protect-side<K>|sn-auth<K>
{Tsn-value<S><Length 13-16> }:48575443D8F92405
}:sn-auth

ei{{ <cr>|desc<K>|ont-lineprofile-id<K>|ont-lineprofile-name<K>|ont-srvprofile-
omci<K>|password-auth<K>|snmp<K> }:omci

aw id<K>|ont-srvprofile-name<K> }:ont-lineprofile-id
Hu { profile-id<U><0,8192> }:31
{ <cr>|desc<K>|ont-srvprofile-id<K>|ont-srvprofile-name<K> }:ont-srvprofile-
id
{ profile-id<U><0,8192> }:31
{ <cr>|desc<K> }:
Command:
ont add 0 5 sn-auth 48575443D8F92405 omci ont-lineprofile-id 31 ont-
srvprofile-id 31
Number of ONTs that can be added: 1, success: 1
PortID :0, ONTID :5
huawei(config-if-gpon-0/5)#quit
huawei(config)#

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 48

2.2.4 Configuration Process of Adding a Class-B ONT

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
C e
&
i ng
n
rai
i T
e
a w
H u

2.2.5 Configuration Procedure for Adding a Class-B ONT

If a class-A ONT has been added and the DBA profile to be bound to the class-B ONT
service profile is the same as that bound to the class-A ONT service profile, skip steps 1 to 3.

Step 1 Log in to an OLT.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 49

Use a network cable to connect a PC to the management port of an OLT. Ensure that the IP address
automatically obtained by the PC is in the same network segment as the management port IP
address of the OLT. Then, log in to the OLT in telnet mode and enter the user name and password.
# Enter the user name and password to log in to the OLT.
>>User name:root
>>User password:

Step 2 Configure board information.


# Enter the configuration mode.
huawei#config
n
Configure board information and ensure that the GPON service boards and upstream boards are
t io
ica
properly running.

tif
# In global config mode, check for boards. The boards are to be confirmed.
huawei(config)#display board 0
e r
# Check all boards in subrack 0 and check the running status of the boards. C
huawei(config)#board confirm 0 &
ng
huawei(config)#display board 0

ni
ai
Step 3 Configure DBA profiles.

T r
i
In the global view, create 3 DBA profiles and record the DBA-profile indexes that are allocated.
e
# In the global view, check the existing DBA profiles in the system.
a w
u
huawei(config)#display dba-profile all

Fix H
----------------------------------------------------------------------------
Profile-ID type Bandwidth Assure Max Bind
compensation (kbps)
n (kbps) (kbps) times

t io
----------------------------------------------------------------------------

ica
0 3 No 0 8192 20480 1
1 1
ti
No
f 5120 0 0 1
2 1
e rNo 1024 0 0 1

C
3 4 No 0 0 32768 0
4 1 No 1024000 0 0 0
5 1 & No 32768 0 0 0

ng
6 1 No 102400 0 0 0

n
7i 2 No 0 32768 0 0

rai 8 2 No 0 102400 0 0

i T 9 3 No 0 32768 65536 0

e
----------------------------------------------------------------------------

w # Add the first DBA profile. Set the profile ID to 21, profile name to ftth_voip, broadband type to

Hua Type1, and fixed bandwidth to 1 Mbit/s.


huawei(config)# dba-profile
{ add<K>|delete<K>|modify<K> }:add
{ profile-id<K>|profile-
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id
{ profile-id<U><10,512> }:21
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name
{ profile-name<S><Length 1-33> }:ftth_voip
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type1
{ fix<K> }:fix
{ fix-bandwidth<U><128,10000000> }:1024
{ <cr>|bandwidth_compensate<K> }:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 50

Command:
dba-profile add profile-id 21 profile-name ftth_voip type1 fix 1024
Adding a DBA profile succeeded
Profile ID : 21
Profile name: ftth_voip
# Add the second DBA profile. Set the profile ID to 22, profile name to ftth_hsi, broadband type
to Type2, and fixed bandwidth to 2 Mbit/s.
huawei(config)#dba-profile
{ add<K>|delete<K>|modify<K> }:add
{ profile-id<K>|profile-

n
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id

io
{ profile-id<U><10,512> }:22
t
ica
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name
{ profile-name<S><Length 1-33> }:ftth_hsi

tif
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type2
{ assure<K> }:assure
e r
{ assure-bandwidth<U><128,10000000> }:2048
C
Command:
&
ng
dba-profile add profile-id 22 profile-name ftth_hsi type2 assure
2048
ni
ai
Adding a DBA profile succeeded
Profile ID : 22
T r
i
Profile name: ftth_hsi
e
# Add the third DBA profile. Set the profile ID to 23, profile name to ftth_iptv, broadband type to
a w
Type3, assured bandwidth to 4 Mbit/s, and maximum bandwidth to 8 Mbit/s.
huawei(config)#dba-profile
H u
{ add<K>|delete<K>|modify<K> }:add
n
io
{ profile-id<K>|profile-

t
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id 23

ica
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name

ti f
{ profile-name<S><Length 1-33> }:ftth_iptv

r
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type3
e
C
{ assure<K> }:assure
{ assure-bandwidth<U><128,10000000> }:4096
{ max<K> }:max &
ng
{ max-bandwidth<U><128,10000000> }:8064

n i
Command:

rai dba-profile add profile-id 23 profile-name ftth_iptv type3 assure

i T4096 max 8064

e
Adding a DBA profile succeeded

a w Profile ID : 23

u
Profile name: ftth_iptv

H Step 4 Configure an ONT line profile.


In the global view, create an ONT line profile (ont-lineprofile), set detailed parameters, bind the
corresponding DBA profile, and record the index of the line profile.
# Create an ONT line profile named MA5620 and enter profile configuration mode. The profile ID
is 32.
huawei(config)#ont-lineprofile
{ epon<K>|gpon<K> }:gpon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:32
{ <cr>|profile-name<K> }:profile-name

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 51

{ profile-name<S><Length 1-32> }:MA5620


Command:
ont-lineprofile gpon profile-id 32 profile-name MA5620
In profile configuration mode, bind a T-CONT to the corresponding DBA profile.
# Bind T-CONT 1 to DBA profile 21.
huawei(config-gpon-lineprofile-32)#tcont
{ tcont-list<S><Length 1-13> }:1
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id
{ profile-id<U><0,512> }:21
Command:
tcont 1 dba-profile-id 21
n
# Bind T-CONT 2 to DBA profile 22.
t io
huawei(config-gpon-lineprofile-32)#tcont 2
ica
tif
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id
{ profile-id<U><0,512> }:22
e r
Command:
C
tcont 2 dba-profile-id 22
&
ng
# Bind T-CONT 3 to DBA profile 23.

ni
ai
huawei(config-gpon-lineprofile-32)#tcont

r
{ tcont-list<S><Length 1-13> }:3
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id
i T
e
{ profile-id<U><0,512> }:23
Command:
a w
u
tcont 3 dba-profile-id 23

H
In profile config mode, add a GEM port and map it to the corresponding T-
CONT.

o n
# Add GEM port 4 to carry Ethernet services and map it to T-CONT 1.
t i
i c a
huawei(config-gpon-lineprofile-32)#gem

{ gem-index<U><0,1023>if}:4
{ add<K>|delete<K>|mapping<K>|modify<K> }:add

e rt }:eth
{ service-type<E><eth,tdm>
{ tcont<K> }:tcontC
&
{ tcont-id<U><0,127> }:1

g
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
n
i
car<K>|priority-queue<K> }:

a ingem add 4 eth tcont 1


Command:

TrGEM port 5 to carry Ethernet services and map it to T-CONT 2.


# iAdd
e huawei(config-gpon-lineprofile-32)#gem
a w
H u { add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:5
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:2
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
car<K>|priority-queue<K> }:
Command:
gem add 5 eth tcont 2
#Add GEM port 6 to carry Ethernet services and map it to T-CONT 3.
huawei(config-gpon-lineprofile-32)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 52

{ gem-index<U><0,1023> }:6
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:3
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
car<K>|priority-queue<K> }:
Command:
gem add 6 eth tcont 3
Configure the mapping modes of GEM ports.
# Configure the mapping mode between GEM ports and user data to VLAN mapping.
huawei(config-gpon-lineprofile-32)#mapping-mode
n
{iptos<K>|port-priority<K>|port-vlan-priority<K>|port-
t io
ica
vlan<K>|port<K>|priority<K>|vlan-priority<K>|vlan<K>}:vlan

tif
Command:

r
mapping-mode vlan
Configure the mapping relationships between GEM ports and VLANs.
C e
&
# Configure the mapping between GEM port 4 and the user flow with the VLAN 172 tag. The
mapping index is 4.
g
huawei(config-gpon-lineprofile-32)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping n
in
i
{ gem-index<U><0,1023> }:4
T ra
{ mapping-index<U><0,7> }:4
e i
w
{ e1<K>|eth-bundle<K>|eth<K>|flow-

vcl<K>|transparent<K>|vlan<K> }:vlan ua
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-

{ untag<K>|vlan-id<U><0,4095> }:172H

n
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
o
Command:
i
t 172
gem mapping 4 4 vlan
a
ic GEM port 5 and the user flow with the VLAN 11 tag. The
i f
# Configure the mapping between
mapping index is 5.
e rt
C
huawei(config-gpon-lineprofile-32)#gem

&
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping

ng
{ gem-index<U><0,1023> }:5

i
{ mapping-index<U><0,7> }:5

in
{ e1<K>|eth-bundle<K>|eth<K>|flow-
a
Tr
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-

i
vcl<K>|transparent<K>|vlan<K> }:vlan

e { <cr>|flow-car<K>|priority<K>|transparent<K> }:
{ untag<K>|vlan-id<U><0,4095> }:11

a w
H u Command:
gem mapping 5 5 vlan 11
# Configure the mapping between GEM port 6 and the user flow with the VLAN 200 tag. The
mapping index is 6.
huawei(config-gpon-lineprofile-32)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:6
{ mapping-index<U><0,7> }:6
{ e1<K>|eth-bundle<K>|eth<K>|flow-
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-
vcl<K>|transparent<K>|vlan<K> }:vlan
{ untag<K>|vlan-id<U><0,4095> }:200

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 53

{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 6 6 vlan 200
# Commit the parameters to make them take effect.
huawei(config-gpon-lineprofile-32)#commit
huawei(config-gpon-lineprofile-32)#quit

Step 5 Check whether the ONT is automatically added to the GPON system.
Query the found ONT.
# In GPON mode, query the information about the auto-found ONT on GPON port 0/5/0, confirm
n
io
the ONT version information, and copy the SN address.
t
ica
huawei(config)#interface gpon 0/5

tif
huawei(config-if-gpon-0/5)#display ont autofind
{ portid<U><0,7> }:0
Command:
e r
display ont autofind 0
C
&
---------------------------------------------------------------------------

ng
Number : 1
F/S/P : 0/5/0
ni
ai
Ont SN : 4857544329518907
Password : 0x30303030303030303030(0000000000)
T r
Loid
Checkcode
: 0000000000
:
e i
VendorID : HWTC
a w
Ont Version : MA5620 VER.C
Ont SoftwareVersion : V8R308 C00 H u
n
Ont EquipmentID : SmartAX MA5620

io
Ont autofind time : 2018-04-10 14:35:59+08:00
t
ica
---------------------------------------------------------------------------
Confirm the found ONT.
tif
r
# In GPON mode, confirm that the ID of the found class-B ONT is 2. The SN 4857544329518907
e
C
is used for verification and registration, the management mode is SNMP. The ONT is bound to the
line profile (ID: 32).
&
ng
huawei(config-if-gpon-0/5)#ont confirm

i
{ portid<U><0,7> }:0
n
ai
{ all<K>|loid-auth<K>|ontid<K>|password-auth<K>|sn-auth<K> }:ontid

T r
{ ontid<U><0,127> }:2

i
{ loid-auth<K>|password-auth<K>|sn-auth<K> }:sn-auth
e { sn<S><Length 13-16> }:4857544329518907

a w { omci<K>|password-auth<K>|snmp<K> }:snmp

H u { <cr>|desc<K>|ont-lineprofile-id<K>|ont-lineprofile-name<K> }:ont-
lineprofile-id
{ profile-id<U><0,8192> }:32
{ <cr>|desc<K> }:
Command:
ont confirm 0 ontid 2 sn-auth 4857544329518907 snmp ont-lineprofile-
id 32
Number of ONTs that can be added: 1, success: 1
PortID :0, ONTID :2

Step 6 Configure the inband management VLAN and IP address of the OLT.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 54

To remotely log in to an ONT from an OLT, configure the management VLANs and IP addresses and
ensure that the management VLANs of the OLT and ONT are the same and the IP addresses of the
OLT and ONT are in the same network segment.
# Create inband management VLAN 500 on an OLT and add upstream port 0/19/0 to the VLAN.
huawei(config)#vlan
{ attrib<K>|bind<K>|desc<K>|forwarding<K>|loop<K>|name<K>|packet-
policy<K>|priority<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1-
256>|vlanid<U><2,4093> }:500
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart
Command:

n
vlan 500 smart

io
huawei(config)#port vlan 500
t
ica
{ frameid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }:0/19
{ portlist<S><Length 1-256> }:0
Command:
rtif
e
port vlan 500 0/19 0

C
# Enter the VLAN interface 500 and set the inband management IP address to 10.175.192.36/22.
huawei(config)#interface vlanif 500 &
ng
huawei(config-if-vlanif500)#ip address 10.175.192.36 22

ni
ai
{ <cr>|description<K>|sub<K> }:

r
Command:
ip address 10.175.192.36 22
i T
e
huawei(config-if-vlanif500)#quit
huawei(config)#
w
a and IP address of the ONT.
Step 7 Configure the inband management VLAN
H u
n to ONT 2 over the OMCI channel.
In GPON mode, run the ont ipconfig command to configure the inband NMS address of ONT 2.

i o
The system automatically sends the address
# Enter GPON 0/5/0 interface mode.
gateway to 10.172.192.1/22, iandc atmanagement
Set the static IP address of ONT 2 to 10.175.192.41/22,

i f VLAN to 500 (same as the management VLAN


of the OLT).
e rt gpon 0/5
C
huawei(config)#interface

& }:0
huawei(config-if-gpon-0/5)#ont ipconfig

ng
{ portid<U><0,7>

i
{ ontid<U><0,127> }:2

i n
{ dhcp<K>|dscp-mapping-table<K>|ip-index<K>|pppoe<K>|static<K> }:static

r a
{ <cr>|gateway<K>|ip-address<K>|pri-dns<K>|slave-dns<K>|vlan<K> }:ip-address

i T
{ ip-address<I><X.X.X.X> }:10.175.192.41

e { mask<M><X.X.X.X> }:255.255.252.0
{ mask<K> }:mask

w
a { <cr>|gateway<K>|pri-dns<K>|slave-dns<K>|vlan<K> }:gateway
Hu {
{
gateway<I><X.X.X.X> }:10.175.192.1
<cr>|pri-dns<K>|slave-dns<K>|vlan<K> }:vlan
{ vlanid<U><0,4095> }:500
{ <cr>|pri-dns<K>|priority<K>|slave-dns<K> }:
Command:
ont ipconfig 0 2 static ip-address 10.175.192.41 mask 255.255.252.0
gateway 10.175.192.1 vlan 500
huawei(config-if-gpon-0/5)#quit

Step 8 Configure the line profile for an inband management channel.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 55

Configure the management GEM port in the ONT line profile and map the GEM port to the
management VLAN.
# Enter the line profile with ID 32.
huawei(config)#ont-lineprofile
{ epon<K>|gpon<K> }:gpon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:32
{ <cr>|profile-name<K> }:
Command:
ont-lineprofile gpon profile-id 32
# In line profile mode, add a GEM port (index: 0) to carry the management traffic stream, carry the
n
ETH service, and bind it to T-CONT 0.
t io
ica
huawei(config-gpon-lineprofile-32)#gem

tif
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:0
e r
C
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:0 &
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
i ng
n
ai
car<K>|priority-queue<K> }:

r
Command:
gem add 0 eth tcont 0
T
i stream of the management VLAN.
e
Configure the mapping between the GEM port and the traffic
# Map the traffic stream of management VLAN 500 to
a wGEM port 0. The mapping index is 0.
huawei(config-gpon-lineprofile-32)#gemu
{ add<K>|delete<K>|mapping<K>|modify<K> H }:mapping
{ gem-index<U><0,1023> }:0
{ mapping-index<U><0,7> }:0 o
n
t i
c
{ e1<K>|eth-bundle<K>|eth<K>|flow-a
i fi
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-
t
r
vcl<K>|transparent<K>|vlan<K> }:vlan

Ce
{ untag<K>|vlan-id<U><0,4095> }:500
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command: &
gem gmapping 0 0 vlan 500

n inparameters to make them take effect.


ai
# Commit the

T r
huawei(config-gpon-lineprofile-32)#commit

e i huawei(config-gpon-lineprofile-32)#quit

a wStep 9 Configure the downstream port for the inband management VLAN of the OLT.

Hu Configure an inband management traffic stream.


# In global config mode, create traffic stream 0 for management ONT 2. Set the management VLAN
to 500, GEM port ID to 0, and user-side VLAN to 500.
huawei(config)#service-port 0
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-
port<K>|vlan<K> }:vlan
{ aoe<K>|name<K>|vlanid<U><1,4093> }:500
{ adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|port<K>|shdsl<K>|vdsl<K> }:gpon
{ frameid/slotid/portid<S><Length 5-18> }:0/5/0
{ ont<K> }:ont
{ ontid<U><0,127> }:2

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 56

{ eth<K>|gemport<K>|iphost<K> }:gemport
{ gemindex<U><0,1023> }:0
{ <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag-
transform<K> }:multi-service
{ user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan
{ other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:500
{ <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:
Command:
service-port 0 vlan 500 gpon 0/5/0 ont 2 gemport 0 multi-service
user-vlan 500

Step 10 Test the inband management channel.


n
Check whether the management channel between the OLT and the ONT is available. it o
# Run the ping 10.175.192.41 command on the OLT to check the connectivity between
i c athe OLT
and ONT 2. Check whether the OLT can receive the response packets from ONT 2. if
huawei(config)#ping 10.175.192.41
e rt
PING 10.175.192.41: 56 data bytes, press CTRL_C to break C
Reply from 10.175.192.41: bytes=56 Sequence=1 ttl=255 time=22 & msms
ng time=8 ms
Reply from 10.175.192.41: bytes=56 Sequence=2 ttl=255 time=8
Reply from 10.175.192.41: bytes=56 Sequence=3 ttl=255 i
n time=8 ms
a
Reply from 10.175.192.41: bytes=56 Sequence=4 ttl=255i
Reply from 10.175.192.41: bytes=56 Sequence=5r ttl=255 time=8 ms
i T
e
--- 10.175.192.41 ping statistics ---

w
5 packet(s) transmitted
5 packet(s) received
ua
round-trip min/avg/max = 8/10/22 msH
0.00% packet loss

n
Step 11 Save the data.
it o
# Save the data before exiting. a
i f ic
rt
huawei(config)#save

Command: C e
{ <cr>|configuration<K>|data<K> }:

save
&
g
It will take several minutes to save configuration file, please wait...

n in
r ai
2.3 Result i T Verification
e
a w
u
H Checking the Status of the Added ONTs on the OLT
2.3.1
# Check the status of the ONT that is added to GPON port 0/5/0.
huawei(config-if-gpon-0/5)#display ont info 0 all
----------------------------------------------------------------------------
F/S/P ONT SN Control Run Config Match Protect
ID flag state state state side
----------------------------------------------------------------------------
0/ 5/0 1 48575443D8EAC605 active online normal match no
0/ 5/0 2 4857544329518907 active online normal match no
0/ 5/0 5 48575443D8F92405 active online normal match no
----------------------------------------------------------------------------

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 57

F/S/P ONT-ID Description


----------------------------------------------------------------------------
0/ 5/0 1 ONT_NO_DESCRIPTION
0/ 5/0 2 ONT_NO_DESCRIPTION
0/ 5/0 5 ONT_NO_DESCRIPTION
----------------------------------------------------------------------------
In port 0/ 5/0 , the total of ONTs are: 3, online: 3

After adding an ONT, run the display ont info command to query the status of the ONT.
Ensure that Control flag is active, Run state is online, Config state is normal, and
Match state is match.
n
When Config state is failed, Run state is offline, or Match state is mismatch, refer to the
it o
following suggestions to rectify the fault:
If Control flag is deactive, run the ont activate command in GPON mode to activate ithe c aONT.
If Run state is offline, a physical line may be broken, the ONT is not powered on, rtorif the optical
module may be damaged. Check the line and the optical module.
C e
&accordingly.
If Config state is failed, run the display ont failed-configuration command in diagnosis mode
g
to check the failed configuration item and the failure cause. Rectify the fault
n
ni the ONU configuration:
If Match state is mismatch, run the display ont capability command to query the actual

a
capability of the ONU, and use one of the following methods to modifyi
a. Create a proper ONU profile based on the actual capability r
i T of the ONU, and run the ont modify
command to modify the ONU configuration.
e
a
b. Modify the ONU profile based on the actual capabilityw of the ONU and save the modification.
Hu
The ONU will automatically recover the configuration.

2.3.2 Querying Information Aboutnthe Class-B ONT


t ioand ensure that the management channel between the OLT
Test the inband management channel
i c a
tif command on the OLT to check the connectivity between the OLT
and the ONT is available.
r
e the OLT can receive the response packets from ONT 2.
# Run the ping 10.175.192.41
and ONT 2. Check whether
C
&
huawei(config)#ping 10.175.192.41

g
PING 10.175.192.41: 56 data bytes, press CTRL_C to break
Replynfrom 10.175.192.41: bytes=56 Sequence=1 ttl=255 time=20 ms
i ni from 10.175.192.41: bytes=56 Sequence=2 ttl=255 time=10 ms
a from 10.175.192.41: bytes=56 Sequence=3 ttl=255 time=12 ms
Reply

T rReply
Reply

i Reply
from 10.175.192.41: bytes=56 Sequence=4 ttl=255 time=9 ms
e --- 10.175.192.41
from 10.175.192.41: bytes=56 Sequence=5 ttl=255 time=11 ms

a w ping statistics ---

Hu
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 9/12/20 ms
If response packets from ONT 2 are received, the management channel between the OLT and the
ONT is available.
Log in to OLT 2.
# Run the telnet 10.175.192.41 command on an OLT to log in to ONT 2. The user name is root
and password is mduadmin.
huawei(config)#telnet 10.175.192.41
{ <cr>|service-port<U><1,65535> }:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 58

Command:
telnet 10.175.192.41
Press CTRL_] to quit telnet mode
Trying 10.175.192.41 ...
Connected to 10.175.192.41 ...
>>User name:root
>>User password:
Huawei Integrated Access Software (MA5620).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2010. All rights reserved.
----------------------------------------------------------------------------
User last login information:
----------------------------------------------------------------------------
n
Access Type: Telnet
t io
ica
IP-Address : 10.175.192.41

tif
Time : 2018-04-11 15:54:01+08:00

r
----------------------------------------------------------------------------
MA5620>
# Query the existing configurations of ONT 2. C e
&
ng
MA5620>enable
MA5620#display current-configuration
ni
ai
{ <cr>|section<K>|simple<K>||<K> }:
Command:
T r
i
display current-configuration
[MA562XV800R308: 3600]
e
#
a w
[global-config]
<global-config>
H u
n
trap convert event-to-alarm 0x3721000a

io
alarm alarmlevel 0x0a11a106 warning
t
ica
alarm alarmlevel 0x0a11a109 warning
alarm alarmlevel 0x0a310112 warning

tif
alarm alarmlevel 0x0a310142 warning
#
e r
[device-config]
C
&
<device-config>

ng
port port-index 0/0/2 port-type GPON-PORT
#
n i
ai
[public-config]

T r
<public-config>

i
snmp-agent local-engineid 800007DB035C4CA929518A

e snmp-agent community read public

a w snmp-agent community write private

H u #
snmp-agent trap enable standard

[vlan-config]
<vlan-config>
vlan 500 smart
port vlan 500 0/0 2
protocol-8021p-pri 5 vlan 500
#
[gponnni]
<gponnni-0/0/2>
interface gponnni 0/0/2
password 0000000000
#

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 59

[abs-config]
<abs-config>
config
#
[prevlanif]
<prevlanif>
interface vlanif500
#
[vlanif]
<vlanif500>
interface vlanif500
ip address 10.175.192.41 255.255.252.0
n
#
t io
ica
[meth]

tif
<meth0>

r
interface meth0

#
ip address 10.11.104.2 255.255.255.0
C e
[null]
&
ng
<null0>
interface null0
ni
ai
#
[post-system]
T r
<post-system>
e i
w
ip route-static 0.0.0.0 0.0.0.0 10.175.192.1
#
return ua
# Exit the ONT. H
MA5620#quit
n
it o
Check whether system data has been changed. Please save data before logout.

i c a
Are you sure to log out? (y/n)[n]:y

tif exit, please retry to log on


MA5620#
r
Ce
Configuration console

&
g
2.4 Configuration
n in Reference
r ai
i T
2.4.1 Configuration for Adding a Class-A ONT on an OLT
e
u aw #config
H switch language-mode
#
board confirm 0
display board 0

display dba-profile all


dba-profile add profile-id 21 profile-name ftth_voip type1 fix 1024
dba-profile add profile-id 22 profile-name ftth_hsi type2 assure
dba-profile add profile-id 23 profile-name ftth_iptv type3 assure 4096 max
8064
#

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 60

display ont-lineprofile gpon all


ont-lineprofile gpon profile-id 31 profile-name HG824x
tcont 1 dba-profile-id 21
tcont 2 dba-profile-id 22
tcont 3 dba-profile-id 23
gem add 1 eth tcont 1
gem add 2 eth tcont 2
gem add 3 eth tcont 3
mapping-mode vlan
gem mapping 1 1 vlan 172
gem mapping 2 2 vlan 11
gem mapping 3 3 vlan 200
n
commit
t io
ica
quit

tif
#

r
ont-srvprofile gpon profile-id 31 profile-name HG824x
ont-port eth 4 pots 2 catv 1
port vlan iphost 172 C e
port vlan eth 1 11
&
ng
port vlan eth 2 200
commit
ni
ai
quit
#
T r
interface gpon 0/5
e i
w
port 0 ont-auto-find enable
display ont autofind 0
ua
ont confirm 0 ontid 1 sn-auth 48575443D8EAC605 omci ont-lineprofile-id
31 ont-srvprofile-id 31 H
display ont info 0 all
n
#
t io
ica
interface gpon 0/5

f
ont add 0 5 sn-auth 48575443D8F92405 omci ont-lineprofile-id 31 ont-
srvprofile-id 31
r ti
e
2.4.2 Configuration forCAdding a Class-B ONT on an OLT
&
#
i ng
n
ai
ont-lineprofile gpon profile-id 32 profile-name MA5620

r
tcont 1 dba-profile-id 21

i T
tcont 2 dba-profile-id 22

e tcont 3 dba-profile-id 23

a w gem add 4 eth tcont 1

u
gem add 5 eth tcont 2

H gem add 6 eth tcont 3


gem add 0 eth tcont 0
mapping-mode vlan
gem mapping 4 4 vlan 172
gem mapping 5 5 vlan 11
gem mapping 6 6 vlan 200
gem mapping 0 0 vlan 500
commit
quit
#
interface gpon 0/5
display ont autofind 0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 61

ont confirm 0 ontid 2 sn-auth 4857544329518907 snmp ont-lineprofile-id 32


#
vlan 500 smart
port vlan 500 0/19 0
interface vlanif 500
ip address 10.175.192.36 22
quit
#
interface gpon 0/5
ont ipconfig 0 2 static ip-address 10.175.192.41 mask 255.255.252.0
gateway 10.175.192.1 vlan 500
quit
n
#
t io
ica
service-port 0 vlan 500 gpon 0/5/0 ont 2 gemport 0 multi-service user-

tif
vlan 500

r
#
ping 10.175.192.41
# C e
telnet 10.175.192.41
&
ng
root
mduadmin
ni
r ai
i T
2.5 Quiz e
w
a but no ONT is automatically found, what

H u
If the ONT auto-find function is enabled
should I do?

o nand the management channel between the OLT and


i
 When a class-B ONT is added

at What
the ONT is set up, no response packet is received after I run a ping command on the

i c
OLT to ping the connectivity.
f
should I do?

r ti
Ce
&
g
n in
i
T ra
e i
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 62

3 FTTH GPON BIAS Configuration

3.1 Experiment Introduction n


t io
3.1.1 About This Experiment ica
if
rt
Ce
In this experiment, you can configure OLT data and ONT data to provision the dial-up access service
for a user using a class-A ONT.
&
3.1.2 Objectives g
n in
i
Understand the HSI service process.
ra

T
eion a network solution and data plan as
 Understand the functions of VLANs.

w
Be able to perform data configuration based

guided. a
Be able to query and modify service u

H data.
n
3.1.3 Networking it o
i c a
r
Figure 3-1 Topologytif for configuring the FTTH GPON BIAS service
Ce
&
g
n in
r ai
i T
e
a w
H u

3.1.4 Data Plan


The following table provides a data plan reference. The data varies depending on PCs to avoid a
data conflict. Some parameters such as the port ID and profile ID need to be planned based on
actual situations.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 63

Table 3-1 Data plan for the FTTH GPON BIAS service
Parameter Value Parameter Value

OLT PON port 0/5/0 CAR profile ID 10


ONT ID 3 CAR profile bandwidth CIR: 4096 kbit/s; PIR:
8192 kbit/s
ONT SN 48575443E1F0A409 DBA profile ID 15

Outer VLAN ID 2000 ONT line profile ID 10

n
io
Inner VLAN ID 35 ONT service profile ID 10
t
ica
User ETH port 1 T-CONT ID 10

C-VLAN 35 GEM port ID 10


r tif
DBA bandwidth Type4 DBA bandwidth
Ce
4096 kbit/s
type
&
i ng
n
r ai
i T
3.2 Experiment Configuration e
a w
H u
3.2.1 Configuration Tasks
n
t io
Table 3-2 Tasks for configuring the FTTH GPON BIAS service

f ica
rti
Task Requirement Completion Status

Ce
Add an ONT. An ONT is automatically or manually
added. Record the following ONT
& status data: control flag, running

ng
flag, configuration status, and

n i matching status.

ai
Tr
Create an SVLAN. According to experiment data, create

i VLAN attributes.
a VLAN and record the VLAN ID.
eSet
w Set the attributes so that double

ua
VLAN tags are carried. Record VLAN

H attributes.

Configure an upstream port Record the upstream port and VLAN


of the VLAN. IDs that are allowed to pass through
the upstream port.
Configure service ports of the Create mapping between the inner
VLAN. VLAN ID and outer VLAN ID of a
specified ONT, and record the inner
VLAN ID and outer VLAN ID
separately.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 64

Configure a native VLAN ID In the receive direction of user data,


for the FE port of the ONT. the inner VLAN ID is stripped, and
Ethernet frames not carrying a tag
are forwarded. Record the FE port ID
of the ONT, as well as the VLAN ID
and native VLAN ID that are allowed
to pass through.
Perform dial-up access. Run dial-up software, enter the user
name and password, and try dial-up
authentication.
n
t io
ica
tif
3.2.2 Service Configuration Process
r
Ce access
Figure 3-2 Flow for configuring the FTTH GPON broadband internet
service
&
ng
ini
T ra
ei
a w
Hu
n
it o
i c a
r tif
Ce
&
g
n in
r ai
T
ei
a w
H u

3.2.3 Configuration Procedure (on the OLT Side)

In this example, the HG824x is connected to OLT PON port 0/5/0, the SN of the HG824x is
48575443E1F0A409, the ONT ID is 3, the inner VLAN (C-VLAN) ID is 35, and the outer
VLAN (SVLAN) ID is 2000. Parameters such as the profile name, profile ID, VLAN ID, and
ONT ID need to be modified based on the actual data plan.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 65

Step 1 Log in to the OLT and prepare the configuration environment.


Specifically, log in to the OLT, enter configuration mode, and change the device name.
# Log in to the OLT in Telnet mode, and enter the user name and password (huawei and
huawei123 respectively).
>>User name:huawei
>>User password:
Huawei Integrated Access Software (MA5600T).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2013. All rights reserved.
----------------------------------------------------------------------------
User last login information:
n
io
----------------------------------------------------------------------------
Access Type : Serial
t
ica
IP-Address : --

tif
Login Time : 2018-06-04 17:38:25+08:00
Logout Time : 2018-06-04 17:49:42+08:00
e r
----------------------------------------------------------------------------
C
&
User root has used a default password. Change the password in time.

ng
MA5600T>enable

i
MA5600T#config

n
ai
MA5600T(config)#
# Chang the device name.
T r
MA5600T(config)#sysname huawei
e i
w
huawei(config)#
Configure board information.
u a
H normally.
# Check a board and ensure that the board runs

n check the board status.


huawei(config)#display board 0 // Query the board running status. If the
o
t
board status is not normal, further
i
huawei(config)#board confirm
c a
i 1-15> }:0
i f
{ frameid[/slotid]<S><Length

rt 0
Command:

C e
display board
-------------------------------------------------------------------------
&
SlotID BoardName Status SubType0 SubType1 Online/Offline

ng
-------------------------------------------------------------------------
i
1 in H802EPBD Normal
0

2ra
i T3
e 4
a w 5 H802GPBD Normal

H u 6
7
H802EPBD
H805GPBD
Normal
Normal
8
9 H801SCUN Active_normal
10
11
12
13
14
15 H802GPBD Normal
16
17

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 66

18
19 H801GICG Normal
20
21
22
-------------------------------------------------------------------------

Step 2 (Optional) Configure a CAR profile.


Traffic control can be implemented on the BRAS, or on the OLT or ONU by using port rate limitation
or using a traffic profile to limit the upstream and downstream traffic.

n
You can query the existing traffic profiles in the system. If the existing traffic profiles in the system
do not meet the requirement, you can run the traffic table ip command to create a required traffic
t io
ica
profile.

tif
# Check whether an appropriate IP traffic profile exists in the system.
MA5620(config)#display traffic table ip
e r
{ from-index<K>|index<K>|name<K> }:from-index
C
&
{ row-index<U><0,63> }:0

ng
{ <cr>|to-index<K> }:

i
Command:

n
ai
display traffic table ip from-index 0

r
---------------------------------------------------------------------------
TID CIR CBS PIR PBS Pri Copy-policy
T
Pri-Policy
i
(kbps) (bytes) (kbps) (bytes)
e
w
---------------------------------------------------------------------------
a
0 1024
1 2496
34768
81872
2048
4992
69536
163744
6
6
-

H
- u tag-pri
tag-pri
2 512 18384 1024 36768 0 - tag-pri
n
io
3 576 20432 1152 40864 2 - tag-pri
4 64 4048 128
t
8096 4 - tag-pri

ica
5 2048 67536 4096 135072 0 - tag-pri
6 off off off
tif off 0 - tag-pri
r
---------------------------------------------------------------------------
e
Total Num : 7
C
&
# Create a traffic profile. Set the index to 10, CIR to 4096 kbit/s, PIR to 8064 kbit/s, and priority to

g
5. The priority policy schedules traffic according to the priority configured in the traffic profile.

n in }:table
huawei(config)#traffic

ai }:ip
{ table<K>
r
i{Tcir<K>|index<K>|modify<K>|name<K> }:index
{ ip<K>

e { row-index<U><0,1023> }:10
aw { cir<K>|name<K> }:cir

Hu
{ cir<U><64,10240000>|off<K> }:4096
{ cbs<K>|pbs<K>|pir<K>|priority<K> }:pir
{ pir<U><64,10240000> }:8064
{ cbs<K>|pbs<K>|priority<K> }:priority
{ prival<U><0,7>|user-cos<K>|user-inner-cos<K>|user-tos<K> }:user-cos
{ defaultval<U><0,7>|mapping-profile<K> }:5
{ inner-priority<K>|priority-policy<K> }:priority-policy
{ priority-policy<E><Local-Setting,Tag-In-Package> }:local-Setting
Command:
traffic table ip index 10 cir 4096 pir 8064 priority user-cos 5
priority-policy local-Setting
Create traffic descriptor record successfully

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 67

------------------------------------------------
TD Index : 10
TD Name : ip-traffic-table_10
Priority : 5
Copy Priority : user-cos
Mapping Index : 0
CTAG Mapping Priority: -
CTAG Mapping Index : -
CTAG Default Priority: 0
Priority Policy : local-pri
CIR : 4096 kbps
CBS : 133072 bytes
n
PIR : 8064 kbps
t io
ica
PBS : 260048 bytes

tif
CAR Threshold Profile: -

r
Color policy : dei
Referenced Status : not used
------------------------------------------------ C e
&
Step 3 Configure a DBA profile.
g
nin A T-CONT is bound to the
i
Create a DBA profile. A DBA profile describes GPON traffic parameters.

ra profiles in the system. If existing


DBA profile for dynamic bandwidth allocation, improving upstream bandwidth usage.
# Run the display dba-profile command to query existingTDBA
DBA profiles in the system do not meet the requirement, e i run the dba-profile add command to
a w
create a DBA profile. Set the DBA profile ID to 15, bandwidth type to type4, and bandwidth to

Hu
4096 kbit/s.
huawei(config)#dba-profile
{ add<K>|delete<K>|modify<K> }:add
o n
{ profile-id<K>|profile-
t i
c a
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id
{ profile-id<U><10,512> }:15
t i fi
r
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type4

Ce
{ max<K> }:max
{ max-bandwidth<U><128,1235456> }:4096
Command:
&
Addingin
g
dba-profile add profile-id 15 type4 max 4096

n
a DBA profile succeeded

a i ID
Profile : 15

T r
Profile name: dba-profile_15

eihuawei(config)#display
# Query the status of the DBA profile.

a w dba-profile all

H u ----------------------------------------------------------------------------
Profile-ID type Bandwidth Fix Assure Max Bind
compensation (kbps) (kbps) (kbps) times
----------------------------------------------------------------------------
0 3 No 0 8192 20480 1
1 1 No 5120 0 0 2
2 1 No 1024 0 0 1
3 4 No 0 0 32768 0
4 1 No 1024000 0 0 0
5 1 No 32768 0 0 0
6 1 No 102400 0 0 0
7 2 No 0 32768 0 0
8 2 No 0 102400 0 0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 68

9 3 No 0 32768 65536 0
15 4 No 0 0 4096 0
----------------------------------------------------------------------------

Step 4 Configure an ONT line profile.


# Set the line profile ID to 10 and the profile name to ftth_hsi.
huawei(config)#ont-lineprofile
{ epon<K>|gpon<K> }:gpon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:10

n
{ <cr>|profile-name<K> }:profile-name

io
{ profile-name<S><Length 1-32> }:ftth_hsi
t
ica
Command:

tif
ont-lineprofile gpon profile-id 10 profile-name ftth_hsi
huawei(config-gpon-lineprofile-10)#

e r
C
# Bind T-CONT 10 to DBA profile 15.

&
huawei(config-gpon-lineprofile-10)#tcont

ng
{ tcont-list<S><Length 1-13> }:10

i
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id

n
ai
{ profile-id<U><0,512> }:15

r
Command:
tcont 10 dba-profile-id 15
i T
e
# Create GEM port 10 for carrying ETH traffic streams and bind GEM port 10 to T-CONT 10.
huawei(config-gpon-lineprofile-10)#gem
a w
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
H u
{ gem-index<U><0,1023> }:10
{ service-type<E><eth,tdm> }:eth
n
{ tcont<K> }:tcont
t io
ica
{ tcont-id<U><0,127> }:10

ti f
{ <cr>|cascade<K>|encrypt<K>|gem-car<K>|priority-queue<K> }:
Command:
e r
gem add 10 eth tcont 10
C
&
Configure the service mapping mode from the GEM port to ONT services to VLAN (default),

g
and map traffic streams with VLAN 35 to GEM port 10.

i n mode of the GEM port to VLAN.


# Set the mapping

a in
huawei(config-gpon-lineprofile-10)#mapping-mode

Tr
{ iptos<K>|port-priority<K>|port-vlan-priority<K>|port-
i vlan<K>|port<K>|priority<K>|vlan-priority<K>|vlan<K>
e Command:
}:vlan

a w mapping-mode vlan

H u # Map traffic streams with C-VLAN 35 to GEM port 10. The mapping index is 1.
huawei(config-gpon-lineprofile-10)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:10
{ mapping-index<U><0,7> }:1
{ e1<K>|eth-bundle<K>|eth<K>|flow-
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|transparent<K>|vlan<K> }:vlan
{ vlan-id<U><0,4095> }:35
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 10 1 vlan 35

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 69

# After the configuration is completed, run the commit command to make the configured
parameters take effect.
huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit
# Query information about a line profile.
huawei(config)#display ont-lineprofile
{ epon<K>|gpon<K> }:gpon
{ all<K>|bound-info<K>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:10
Command:
display ont-lineprofile gpon profile-id 10
n
----------------------------------------------------------------------------
t io
ica
Profile-ID :10

tif
Profile-name :ftt_hsi

r
Access-type :GPON
----------------------------------------------------------------------------
FEC upstream switch :Disable C e
OMCC encrypt switch :Off
&
ng
Qos mode :PQ
Mapping mode :VLAN
ni
ai
Tr069 management :Disable

T r
----------------------------------------------------------------------------
<T-CONT 0> DBA Profile-ID:1
e i
w
<T-CONT 10> DBA Profile-ID:15
<Gem Index 10>
ua
--------------------------------------------------------------------
H
|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |

n
|Upstream-priority-queue:0 |Downstream-priority-queue:- |

io
--------------------------------------------------------------------
t
ica
Mapping VLAN Priority Port Port Bundle Flow Transparent

f
index type ID ID CAR

r ti
--------------------------------------------------------------------
1 35 -
C e - - - - -
--------------------------------------------------------------------

&
----------------------------------------------------------------------------

ng
Binding times :0
i
----------------------------------------------------------------------------
n
i
Step 5 aConfigure a service profile.
Tr ONT service profile is used to configure the actual ONT capability and service-related
A iGPON
eparameters, and provides a service configuration channel for the ONT that is managed by using
w
a optical network terminal management and control interface (OMCI).
Hu # Set the service profile ID to 10 and profile name to HG824x.
huawei(config)#ont-srvprofile
{ epon<K>|gpon<K> }:gpon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:10
{ <cr>|profile-name<K> }:profile-name
{ profile-name<S><Length 1-32> }:HG824x
Command:
ont-srvprofile gpon profile-id 10 profile-name HG824x
# Configure the ONT port type and quantity: 4 LAN ports, 2 POTS ports, and 1 CATV port.
huawei(config-gpon-srvprofile-10)#ont-port

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 70

{ catv<K>|eth<K>|moca<K>|pots<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:catv
{ adaptive<K>|catv-port<U><0,8> }:1
{ catv<K>|eth<K>|moca<K>|pots<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:eth
{ adaptive<K>|eth-port<U><0,8> }:4
{ <cr>|catv<K>|moca<K>|pots<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:pots
{ adaptive<K>|pots-port<U><0,8> }:2
{ <cr>|catv<K>|moca<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:
Command:
ont-port catv 1 eth 4 pots 2
# Add ONT port 1 under the Ethernet port in GPON ONT service profile 10 to VLAN 35.

n
huawei(config-gpon-srvprofile-10)#port

io
{ car<K>|dscp<K>|e1<K>|igmp-forward<K>|priority-policy<K>|q-in-
t
ica
q<K>|vlan<K> }:vlan
{ eth<K>|iphost<K>|moca<K> }:eth

tif
{ ont-portlist<S><Length 1-128> }:1
{ q-in-q<K>|translation<K>|transparent<K>|vlanid<U><0,4095> }:35
e r
{ <cr>|priority<K>|prival<U><0,7>|TLS<K> }:
C
Command:
&
port vlan eth 1 35
ng
ni to make the configured
Set ONT port(s) VLAN configuration, success: 1, failed: 0
# After the configuration is completed, run the commit command i
parameters take effect.
T ra
ei
huawei(config-gpon-srvprofile-10)#commit
huawei(config-gpon-srvprofile-10)#quit
a w
Hu
# Query the service module status.
huawei(config)#display ont-srvprofile
{ epon<K>|gpon<K> }:gpon
o n
t i
{ all<K>|profile-id<K>|profile-name<K> }: profile-id
{ profile-id<U><0,8192> }:10
c a
fi
Command:

r t i
display ont-srvprofile gpon profile-id 10

Profile-ID : 10 C e
-----------------------------------------------------------------------------

&
Profile-name: HG824x

g
Access-type : GPON
in Port-number
-----------------------------------------------------------------------------
n
ai
Port-type
r
TPOTS
----------------------------------------------------------------------------

i
e TDMETH
2
4

a w 0

H u MOCA
CATV
0
1
----------------------------------------------------------------------------
TDM port type : E1
TDM service type : TDMoGem
MAC learning function switch : Enable
ONT transparent function switch : Disable
Multicast forward mode : Unconcern
Multicast forward VLAN : -
Multicast mode : Unconcern
Upstream IGMP packet forward mode : Unconcern
Upstream IGMP packet forward VLAN : -

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 71

Upstream IGMP packet priority : -


Native VLAN option : Concern
Upstream PQ color policy : -
Downstream PQ color policy : -
-----------------------------------------------------------------------------
Port-type Port-ID QinQmode PriorityPolicy Inbound Outbound
-----------------------------------------------------------------------------
ETH 1 unconcern unconcern unconcern unconcern
ETH 2 unconcern unconcern unconcern unconcern
ETH 3 unconcern unconcern unconcern unconcern
ETH 4 unconcern unconcern unconcern unconcern
-----------------------------------------------------------------------------
n
Port-type Port-ID Dscp-mapping-table-index
t io
ica
-----------------------------------------------------------------------------

tif
ETH 1 0

r
ETH 2 0
ETH
ETH
3
4
0
0 C e
IPHOST 1 0
&
ng
-----------------------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP
ni S-PRI

ai
type ID POLICY

T r
-----------------------------------------------------------------------------
ETH 1 Translation 1 35 -
e
35 -
i - -

w
-----------------------------------------------------------------------------

ua
Notes: * indicates transparent attribute of the vlan
-----------------------------------------------------------------------------
Port-type Port-ID IGMP-mode H
IGMP-VLAN IGMP-PRI Max-MAC-Count

n
-----------------------------------------------------------------------------
ETH 1 -
t io - - Unlimited

ica
ETH 2 - - - Unlimited

f
ETH 3 - - - Unlimited
ETH 4
r
-
ti - - Unlimited

C
Binding times : 0
e
-----------------------------------------------------------------------------

&
-----------------------------------------------------------------------------

g
n the automatic discovery function of a PON port.
Step 6 Enable
i
Enter thein
r atopology.
PON board view, and enable the automatic discovery function of a PON port in the
T
network
# iEnter the view of PON board 0/5, and enable the automatic discovery function of GPON port
e0/5/0.
a w
Hu
huawei(config)#interface gpon 0/5
huawei(config-if-gpon-0/5)#port
{ optical-alarm-profile<K>|portid<U><0,7> }:0
{ fec<K>|laser-switch<K>|ont-auto-find<K>|ont-password-
renew<K>|range<K> }:ont-auto-find
{ switch<E><enable,disable> }:enable
Command:
port 0 ont-auto-find enable

Step 7 Query the ONTs that are automatically discovered by the PON port.
huawei(config-if-gpon-0/5)#display ont autofind
{ portid<U><0,7> }:0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 72

Command:
display ont autofind 0
---------------------------------------------------------------------------
Number : 1
F/S/P : 0/5/0
Ont SN : 48575443E1F0A409
Password : 0x00000000000000000000
Loid :
Checkcode :
VendorID : HWTC
Ont Version : 120D4600
Ont SoftwareVersion : V1R006C00S210
n
Ont EquipmentID : 247
t io
ica
Ont autofind time : 2018-04-10 14:35:44+08:00

tif
---------------------------------------------------------------------------

Step 8 Register an ONT.


e r
C
# Register an ONT, set the authentication mode to SN authentication and management type to
OMCI, and bind line profile 10 and service profile 10 to the ONT. &
huawei(config-if-gpon-0/5)# ont
i ng
n
ai
{ activate<K>|add<K>|alarm-policy<K>|alarm-
profile<K>|cancel<K>|confirm<K>|cos-queue-map-
T r
profile<K>|deactivate<K>|delete<K>|factory-setting-
e
restore<K>|gemport<K>|ipconfig<K>|modify<K>|optical-alarm- i
a w
profile<K>|port<K>|power-shedding-config<K>|re-discovery<K>|re-

H u
register<K>|remote-ping<K>|reset<K>|snmp-profile<K>|snmp-
route<K>|statistics<K>|tdm-vcl<K>|tr069-server-config<K>|voip<K> }:confirm

n
{ portid<U><0,7> }:0

io
{ all<K>|loid-auth<K>|ontid<K>|password-auth<K>|sn-auth<K> }:ontid
t
ica
{ ontid<U><0,127> }:3
{ loid-auth<K>|password-auth<K>|sn-auth<K> }:sn-auth

tif
{ sn<S><Length 13-16> }:48575443E1F0A409

e r
{ omci<K>|password-auth<K>|snmp<K> }:omci
C
{ <cr>|desc<K>|ont-lineprofile-id<K>|ont-lineprofile-name<K>|ont-srvprofile-

&
id<K>|ont-srvprofile-name<K> }:ont-lineprofile-id

ng
{ profile-id<U><0,8192> }:10

i
{ <cr>|desc<K>|ont-srvprofile-id<K>|ont-srvprofile-name<K> }:ont-srvprofile-
n
ai
id

T r
{ profile-id<U><0,8192> }:10

i
{ <cr>|desc<K> }:
e Command:

a w ont confirm 0 ontid 3 sn-auth 48575443E1F0A409 omci ont-lineprofile-

H u id 10 ont-srvprofile-id 10
Number of ONTs that can be added: 1, success: 1
PortID :0, ONTID :1
# Query the ONT status.
huawei(config-if-gpon-0/5)#display ont info
{ portid<U><0,7> }:0
{ all<K>|ontid<U><0,127> }:all
Command:
display ont info 0 all
-----------------------------------------------------------------------------
F/S/P ONT SN Control Run Config Match Protect
ID flag state state state side

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 73

-----------------------------------------------------------------------------
0/ 5/0 3 48575443E1F0A409 active online normal match no
-----------------------------------------------------------------------------
F/S/P ONT-ID Description
-----------------------------------------------------------------------------
0/ 5/0 3 ONT_NO_DESCRIPTION
-----------------------------------------------------------------------------
In port 0/ 5/0 , the total of ONTs are: 1, online: 1
# To query detailed information about an ONT, run the following command: display ont info 0 3

Step 9 Configure a default VLAN for the ETH 1 port of an ONT.


n
# Configure VLAN 35 as the default VLAN for the ETH 1 port of ONT 3 on PON 0/5/0. When the
t io
ica
ETH 1 port receives an untagged packet from a user, it adds a VLAN 35 tag to the packet. When
data is sent from this port to a user, the port strips the VLAN 35 tag.
huawei(config-if-gpon-0/5)#ont
rtif
{ activate<K>|add<K>|alarm-policy<K>|alarm-
profile<K>|cancel<K>|confirm<K>|cos-queue-map- C e
profile<K>|deactivate<K>|delete<K>|factory-setting- &
ng
restore<K>|gemport<K>|ipconfig<K>|modify<K>|optical-alarm-
profile<K>|port<K>|power-shedding-config<K>|re-discovery<K>|re-
ni
register<K>|remote-ping<K>|reset<K>|snmp-profile<K>|snmp-
r ai
T
route<K>|statistics<K>|tdm-vcl<K>|tr069-server-config<K>|voip<K> }:port

e i
{ attribute<K>|car<K>|igmp-forward-mode<K>|multicast-forward<K>|native-

w
vlan<K>|vlan<K> }:native-vlan
{ portid<U><0,7> }:0
ua
H
{ ontid<U><0,127> }:3
{ eth<K>|iphost<K>|moca<K> }:eth
{ ont-portid<U><1,8> }:1
n
{ priority<K>|vlan<K> }:vlan
t io
ica
{ vlanid<U><0,4095> }:35
{ <cr>|priority<K> }:
ti f
r
Command:
e
ont port native-vlan 0 3 eth 1 vlan 35
C
&
Step 10 Configure a broadband service VLAN.

i ng
# Configure data service VLAN 2000 and set its type to smart.
n
ai
huawei(config)#vlan

T r
{ attrib<K>|bind<K>|desc<K>|forwarding<K>|loop<K>|packet-

e i policy<K>|priority<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1-
256>|vlanid<U><2,4093> }:2000

a w { <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart

H u Command:
vlan 2000 smart

# Set the attribute of VLAN 2000 to QinQ.


huawei(config)#vlan
{ attrib<K>|bind<K>|desc<K>|forwarding<K>|loop<K>|packet-
policy<K>|priority<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1-
256>|vlanid<U><2,4093> }:attrib
{ bydesc<K>|vlan-list<S><Length 1-256>|vlanid<U><2,4093> }:2000
{ common<K>|q-in-q<K>|stacking<K>|to<K> }:q-in-q
Command:
vlan attrib 2000 q-in-q

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 74

# Add a data VLAN upstream port that allows VLAN 2000 to pass through.
huawei(config)#port
{ desc<K>|mode<K>|vlan<K> }:vlan
{ vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:2000
{ frame/slot<S><Length 1-15>|to<K> }:0/19
{ portlist<S><Length 1-256> }:0
Command:
port vlan 2000 0/19 0
# Query VLAN 2000.
huawei(config)#display vlan
{ all<K>|aoe<K>|desc<K>|loop<K>|number<K>|reserve<K>|service-profile<K>|vlan-
n
list<S><Length 1-256>|vlanid<U><1,4093> }:2000
t io
ica
{ <cr>|to<K> }:

tif
Command:

r
display vlan 2000
VLAN ID: 2000
VLAN name: VLAN_2000 C e
VLAN type: smart
&
ng
VLAN attribute: QinQ
VLAN description:
ni
ai
VLAN forwarding mode in control board: VLAN-MAC
VLAN forwarding mode: VLAN-MAC
T r
VLAN broadcast packet forwarding policy: forward
e i
w
VLAN unknown multicast packet forwarding policy: forward

VLAN bind service profile ID: - ua


VLAN unknown unicast packet forwarding policy: forward

VLAN bind RAIO profile index: - H


VLAN priority: -
n
-------------------------------
t io
ica
F /S /P Native VLAN State

f
-------------------------------
0 /19/0
r
1
ti up

C e
-------------------------------
Standard port number: 1

&
Service virtual port number: 0

g
n a GPON service port for VLAN 2000.
Step 11 Create
i
n port 10, bind it to port 0/5/0, set the C-VLAN ID to 35, and bind traffic profile 10
# Create iservice
a
to therport.
i T
e { desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|vlan<K> }:vlan
huawei(config)#service-port 10
w
a { aoe<K>|vlanid<U><1,4093> }:2000
Hu { adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|port<K>|shdsl<K>|vdsl<K> }:gpon
{ frameid/slotid/portid<S><Length 1-15> }:0/5/0
{ ont<K> }:ont
{ ontid<U><0,127> }:3
{ eth<K>|gemport<K>|iphost<K> }:gemport
{ gemindex<U><0,1023> }:10
{ <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag-
transform<K> }:multi-service
{ user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan
{ other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:35
{ <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:rx-
cttr

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 75

{ rx-index<U><0,1023> }:10
{ tx-cttr<K> }:tx-cttr
{ tx-index<U><0,1023> }:10
Command:
service-port 10 vlan 2000 gpon 0/5/0 ont 3 gemport 10 multi-service
user-vlan 35 rx-cttr 10 tx-cttr 10

The following table describes common commands.

Common Command Function


display dba-profile Queries information about DBA profiles in the system.
n
display traffic table Queries parameter settings of a specified traffic table. The settings
t io
ica
ip include the CAR, priority, and priority policy.
display ont-lineprofile
tif
Queries information about a GPON ONT line profile that has taken
r
C e
effect. The information includes the following: binding relationship
between a T-CONT and a DBA profile, QoS mode of a traffic stream,
&
and mapping between a GEM port and services on the ONT.

n g
ni
display ont-srvprofile Queries information about a GPON ONT service profile.

a i
display ont autofind Queries the basic information of an automatically discovered ONT in
the system.
T r
i
e the current ONT status, ONT
settings, and ONT T-CONT w
display ont info Queries ONT information, including

u a information.

display vlan Queries informationHabout a VLAN.

n about a service port.


it o
display service-port Queries information

i c a
r tif
3.3 Result Verification
Ce
&
g
3.3.1 Accessingnthe Internet Through PPPoE Dial-up
i
nthe
i
a FE port of an ONT with HSI services configured to a PC.
r
# Connect

i
# On Tthe PC, use PPPoE dial-up software to dial up. If an IP address is obtained, the configuration
e
is successful.

a w
H u
3.4 Configuration Reference

3.4.1 Configurations on the OLT Side


>>User name:huawei
>>User password:huawei123
#
enable
config

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 76

sysname huawei
#
display board 0
board confirm 0
#
display traffic table ip from-index 0
traffic table ip index 10 cir 4096 pir 8064 priority user-cos 5 priority-
policy local-Setting
#
dba-profile add profile-id 15 type4 max 4096
display dba-profile all
#
n
ont-lineprofile gpon profile-id 10 profile-name ftth_hsi
t io
ica
tcont 10 dba-profile-id 15

tif
gem add 10 eth tcont 10

r
mapping-mode vlan
gem mapping 10 1 vlan 35
commit C e
quit
&
ng
#
display ont-lineprofile gpon profile-id 10
ni
ai
#
ont-srvprofile gpon profile-id 10 profile-name HG824x
T r
ont-port catv 1 eth 4 pots 2
e i
w
port vlan eth 1 35
commit
quit ua
# H
n
display ont-srvprofile gpon profile-id 10
#
t io
ica
interface gpon 0/5

f
port 0 ont-auto-find enable
display ont autofind 0
r ti
ont-srvprofile-id 10C e
ont confirm 0 ontid 3 sn-auth 48575443E1F0A409 omci ont-lineprofile-id 10

&
display ont info 0 all

ng
#
i
ont port native-vlan 0 3 eth 1 vlan 35
n
ai
vlan 2000 smart

T r
vlan attrib 2000 q-in-q

e i port vlan 2000 0/19 0


display vlan 2000

a w #

H u service-port 10 vlan 2000 gpon 0/5/0 ont 3 gemport 10 multi-service user-


vlan 35 rx-cttr 10 tx-cttr 10

3.5 Quiz
In this experiment, the FTTH BIAS service is configured. According to the data plan, packets in a
traffic stream carry double VLAN tags, and the tags are terminated after the packets reach the
broadband access server (BAS). If the topology is changed and packets in a traffic stream are
required to carry single VLAN tags, what are the required configurations?

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 77

4 FTTB GPON BIAS Configuration

4.1 Experiment Introduction n


t io
4.1.1 About This Experiment ica
if
rt
Ce
In this experiment, you can configure OLT data and MDU data to provision the dial-up access service
for a user using an MDU.
&
4.1.2 Objectives g
nin
i
Understand the FTTB HSI service process.
ra

Understand the functions of an MDU VLAN andTan OLT VLAN.


Understand the function of a service port. e


i
w

Be able to perform data configuration a


Hu
 based on a network solution and data plan as
guided.

n
4.1.3 Networking it o
i c afor configuring the FTTB GPON BIAS service
tif
Figure 4-1 Topology
r
Ce
&
g
n in
r ai
i T
e
a w
H u

4.1.4 Data Plan


The following table provides a data plan reference. The data varies depending on PCs to avoid a
data conflict. Some parameters such as the port ID and profile ID need to be planned based on
actual situations.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 78

Table 4-1 Data plan for the FTTB GPON BIAS service
ONT Data Plan Class-B/C ONU

Device type MA5620


OLT PON port 0/5/0
ONT_ID 4

ONT SN 48575443F444CB04
C-VLAN 36
n
User ETH port ETH1
t io
ica
tif
Inner VLAN 36
SVLAN 2001
e r
Management mode SNMP C
&
dba-profile Profile ID: 25 g
Profile name: fttb_hsiin
in

Bandwidth type:aType3
Tr

CIR: 20480i kbit/s


e kbit/s


w
PIR: 40960
a ID: 20
ont-lineprofile 
H u
Profile
 Profile name: MA5620

tion Inband management:


ic a  GEM port 0 buffered to T-CONT 0

ti f GEM port 0 mapped to VLAN 500


r

Ce Broadband service:

&  T-CONT ID 20 bound to DBA profile 25


g
in
 GEM port ID 20 buffered to T-CONT 20

n
ai
 GEM port ID 20 mapped to VLAN 36

r
iT
Inband management IP address  OLT management VLAN: 500

e  Upstream port: 0/19/0


w
ua
 Static IP address: 10.175.192.36/22

H  ONT management VLAN: 500


 Static IP address: 10.175.192.42/22

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 79

4.2 Experiment Configuration

4.2.1 Configuration Tasks


Table 4-2 Tasks for configuring the FTTB GPON BIAS service
Task Requirement Completion Status
Add an MDU. An MDU is automatically or manually
added. Record the following MDU status
n
data: control flag, running flag,
t io
ica
configuration status, and matching

tif
status.
Create an SVLAN for an According to experiment data, create a
e r
OLT. VLAN and record the VLAN ID.
C
Set VLAN attributes for an Set the attributes so that double VLAN &
OLT.
i ng
tags are carried. Record VLAN attributes.

in IDs
Configure an upstream port Record the upstream port and VLAN
a
r the
of the VLAN for an OLT.
T
that are allowed to pass through
upstream port. i
e
Configure a service port of
a w the inner
Create mapping between
a VLAN. VLAN ID and outer
specified ONT,H
u VLAN ID of a
and record the inner

n
VLAN ID and outer VLAN ID separately.

Log in to the MDU. Log tinio


to the MDU in Telnet mode.

i c a the inband management IP


Record

t i f address of the MDU.

Create traffic entries. er


C
CIR: 2 Mbit/s

& PIR: 4 Mbit/s

g Record the index of a traffic entry.

Create a n in for the According to experiment data, create a


MDU.ai
C-VLAN

T r VLAN and record the VLAN ID.

i
eConfigure an upstream port Record the upstream port and VLAN IDs

a w of the VLAN for the MDU. that are allowed to pass through the

H u upstream port.
Configure a service port of Create mapping between a user port on
a VLAN for the MDU. the specified MDU and a C-VLAN, and
record the user port ID and C-VLAN ID.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 80

4.2.2 Service Configuration Process


Figure 4-2 Flow for configuring the FTTB GPON BIAS service

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
C e
&
i ng
n
rai
i T
e
a w
H u
4.2.3 Configuration Procedure (on the OLT Side)
Step 1 Configure a DBA profile.
A DBA profile describes GPON traffic parameters. A T-CONT is bound to a DBA profile for dynamic
bandwidth allocation, improving upstream bandwidth utilization.
# Set the line profile ID to 25, profile name to fttb_hsi, bandwidth type to Type3, CIR to 20480
kbit/s, and PIR to 40960 kbit/s.
huawei(config)#dba-profile
{ add<K>|delete<K>|modify<K> }:add

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 81

{ profile-id<K>|profile-
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id
{ profile-id<U><10,512> }:25
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name
{ profile-name<S><Length 1-33> }:fttb_hsi
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type3
{ assure<K> }:assure
{ assure-bandwidth<U><128,1235456> }:20480
{ max<K> }:max
{ max-bandwidth<U><128,1235456> }:40960
Command:
dba-profile add profile-id 25 profile-name fttb_hsi type3 assure
n
20480 max 40960
t io
ica
tif
Step 2 Configure an ONT line profile.
# Set the line profile ID to 20 and profile name to MA5620.
e r
huawei(config)#ont-lineprofile C
{ epon<K>|gpon<K> }:gpon &
ng
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:20
ni
ai
{ <cr>|profile-name<K> }:profile-name
{ profile-name<S><Length 1-32> }:MA5620
T r
Command:
e i
w
ont-lineprofile gpon profile-id 20 profile-name MA5620
Configure inband management channel parameters.
u a
# Configure GEM port 0 (for management) to H carry Ethernet services, and bind the GEM port to T-

n
CONT 0.

t i
huawei(config-gpon-lineprofile-20)#gem o
c a
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:0
t i fi }:eth
{ tcont<K> }:tcont r
{ service-type<E><eth,tdm>

{ tcont-id<U><0,127> Ce }:0
&
{ <cr>|cascade<K>|encrypt<K>|gem-car<K>|priority-queue<K> }:
g
ingem add 0 eth tcont 0
Command:

n
r ai the mapping mode from the GEM port to traffic streams to VLAN, and map
T
# Configure
i
management services with VLAN 500 to GEM port 0.
e huawei(config-gpon-lineprofile-20)#mapping-mode
a w
u
{ iptos<K>|port-priority<K>|port-vlan-priority<K>|port-

H vlan<K>|port<K>|priority<K>|vlan-iptos<K>|vlan-priority<K>|vlan<K> }:vlan
Command:
mapping-mode vlan
huawei(config-gpon-lineprofile-20)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:0
{ mapping-index<U><0,7> }:0
{ e1<K>|eth-bundle<K>|eth<K>|flow-
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-
vcl<K>|transparent<K>|vlan<K> }:vlan
{ untag<K>|vlan-id<U><0,4095> }:500
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 82

Command:
gem mapping 0 0 vlan 500
Configure broadband service channel parameters.
# Configure GEM port 20 for broadband services to carry Ethernet services, bind the GEM port to
T-CONT 20, and bind T-CONT 20 to DBA profile 25 for bandwidth scheduling.
huawei(config-gpon-lineprofile-20)#tcont
{ tcont-list<S><Length 1-13> }:20
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id
{ profile-id<U><0,512> }:25
Command:
tcont 20 dba-profile-id 25
n
huawei(config-gpon-lineprofile-20)#gem
t io
ica
{ add<K>|delete<K>|mapping<K>|modify<K> }:add

tif
{ gem-index<U><0,1023> }:20

r
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:20 C e
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
&
ng
car<K>|priority-queue<K> }:
Command:
ni
ai
gem add 20 eth tcont 20

T r
# Configure mapping from broadband service VLAN 36 to GEM port 20, and set the mapping
relationship index to 20.
e i
huawei(config-gpon-lineprofile-20)#gem
a w
{ gem-index<U><0,1023> }:20
H u
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping

{ mapping-index<U><0,7> }:20
n
io
{ e1<K>|eth-bundle<K>|eth<K>|flow-
t
ica
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-
vcl<K>|transparent<K>|vlan<K> }:vlan

ti f
{ untag<K>|vlan-id<U><0,4095> }:36

e r
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
C
&
gem mapping 20 20 vlan 36

ng
# After completing the configuration, run the commit command to make the configuration take
effect.
ni
ai
huawei(config-gpon-lineprofile-20)#commit

i Tr
huawei(config-gpon-lineprofile-20)#quit

e 3 Configure the function of automatic MDU discovery for a PON port.


Step
w
a # (Optional, and ignorable if the configurations have been completed) Enter the PON board view,
Hu and enable the automatic discovery function of GPON port 0/5/0.
huawei(config)#interface
{ adsl<K>|atm<K>|csp<K>|edt<K>|emu<K>|epon<K>|eponnni<K>|eth<K>|giu<K>|gpon<K
>|gponnni<K>|h248<K>|loopback<K>|meth<K>|null<K>|opf<K>|opg<K>|scu<K>|shl<K>|
top-stm1<K>|top<K>|tunnel<K>|vdsl<K>|vlanif<K> }:gpon
{ frameid/slotid<S><Length 3-15> }:0/5
Command:
interface gpon 0/5
huawei(config-if-gpon-0/5)#port 0
{ fec<K>|laser-switch<K>|ont-auto-find<K>|ont-password-
renew<K>|range<K> }:ont-auto-find

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 83

{ switch<E><enable,disable> }:enable
Command:
port 0 ont-auto-find enable

# Display an MDU that is automatically discovered by GPON port 0/5/0, and copy the corresponding
SN.
huawei(config-if-gpon-0/5)#display ont autofind 0
---------------------------------------------------------------------------
Number : 1
F/S/P : 0/5/0
Ont SN : 48575443F444CB04
n
io
Password : 0x30303030303030303030(0000000000)
Loid : 0000000000
t
ica
Checkcode :

tif
VendorID : HWTC
Ont Version : MA5620 VER.B
e r
C
Ont SoftwareVersion : V8R312 C00
Ont EquipmentID : SmartAX MA5620
Ont autofind time : 2018-04-30 14:35:44+08:00 &
ng
---------------------------------------------------------------------------
i
n
Step 4 Register an MDU.
r ai
i T
# Register an MDU. Set the MDU ID to 4, authentication mode to SN authentication, and
management type to SNMP. Bind line profile 20. e
huawei(config-if-gpon-0/5)#ont confirm
a w
{ portid<U><0,7> }:0
H u
{ all<K>|loid-auth<K>|ontid<K>|password-auth<K>|sn-auth<K> }:ontid
{ ontid<U><0,127> }:4
n
t io
{ loid-auth<K>|password-auth<K>|sn-auth<K> }:sn-auth

ica
{ sn<S><Length 13-16> }:48575443F444CB04

tif
{ omci<K>|password-auth<K>|snmp<K> }:snmp

r
{ <cr>|desc<K>|ont-lineprofile-id<K>|ont-lineprofile-name<K> }:ont-
lineprofile-id
C e
{ profile-id<U><0,8192> }:20
&
{ <cr>|desc<K> }:

ng
Command:

n i
ont confirm 0 ontid 4 sn-auth 48575443F444CB04 snmp ont-lineprofile-

ai
id 20

Tr
Number of ONTs that can be added: 1, success: 1
i PortID :0, ONTID :4
e# Check the MDU status. Check whether the running status and configuration status are normal,
a w and check whether the parameter settings match actual device functions.
H u huawei(config-if-gpon-0/5)#display ont info
{ portid<U><0,7> }:0
{ all<K>|ontid<U><0,127> }:all
Command:
display ont info 0 all
----------------------------------------------------------------------------
F/S/P ONT SN Control Run Config Match Protect
ID flag state state state side
----------------------------------------------------------------------------
0/ 5/0 3 48575443E1F0A409 active online normal match no
0/ 5/0 4 48575443F444CB04 active online normal match no
----------------------------------------------------------------------------

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 84

F/S/P ONT-ID Description


----------------------------------------------------------------------------
0/ 5/0 3 ONT_NO_DESCRIPTION
0/ 5/0 4 ONT_NO_DESCRIPTION
----------------------------------------------------------------------------
In port 0/ 5/0 , the total of ONTs are: 2, online: 2
huawei(config-if-gpon-0/5)#quit

Step 5 Configure a management VLAN.


To log in to the MDU in Telnet mode from the OLT and then configure the MDU, the management
VLAN of the OLT and that of the MDU must be the same, and the management IP address of the
n
io
OLT and that of the MDU must be in the same network segment.
t
ica
# Configure management VLAN 500, and add upstream port 0/19/0 to VLAN 500.

tif
huawei(config)#vlan
{ attrib<K>|bind<K>|desc<K>|forwarding<K>|loop<K>|name<K>|packet-
policy<K>|priority<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1- e r
256>|vlanid<U><2,4093> }:500 C
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart &
ng
Command:
vlan 500 smart
ni
ai
huawei(config)#port
{ desc<K>|mode<K>|vlan<K> }:vlan
T r
i
{ name<K>|vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:500
e
w
{ frameid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }:0/19
{ portlist<S><Length 1-256> }:0
ua
H
Command:
port vlan 500 0/19 0

n
# Enter the view of the VLANIF 500 interface, and set the management IP

t io
address of the OLT to 10.175.192.36/22.

ica
huawei(config)#interface vlanif 500

ti f
huawei(config-if-vlanif500)#ip address 10.175.192.36/22

r
{ integer<U><0,32>|ip_addr<I><X.X.X.X> }:22

Command: Ce
{ <cr>|description<K>|sub<K> }:

&
ip address 10.175.192.36 22

ng
huawei(config-if-vlanif500)#quit

n i
ai
Step 6 Configure a service channel for management VLAN 500.

T r
# In global config mode, create service channel service-port 0 for management VLAN 500. Set the
e iVLAN ID to 500, ONT ID to 4, GEM port ID to 0, and C-VLAN ID to 500.
w
ua
huawei(config)#service-port
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-
H port<K>|vlan<K> }:0
{ adminstatus<K>|inbound<K>|modify<K>|outbound<K>|source<K>|tag-
transform<K>|uplink-port<K>|vlan<K> }:vlan
{ aoe<K>|name<K>|vlanid<U><1,4093> }:500
{ adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|port<K>|shdsl<K>|vdsl<K> }:gpon
{ frameid/slotid/portid<S><Length 5-18> }:0/5/0
{ ont<K> }:ont
{ ontid<U><0,127> }:4
{ eth<K>|gemport<K>|iphost<K> }:gemport
{ gemindex<U><0,1023> }:0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 85

{ <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag-
transform<K> }:multi-service
{ user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan
{ other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:500
{ <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:
Command:
service-port 0 vlan 500 gpon 0/5/0 ont 4 gemport 0 multi-service
user-vlan 500

When service-port is not bound to a traffic profile, the system does not limit the rate of the
traffic stream and the packet priority is set to 0.
n
Step 7 Configure an inband management VLAN and IP address for the MDU. it o
In GPON mode, run the ont ipconfig command to configure the inband NMS address c ofaONT 4.
if i
The system automatically sends the address to ONT 4 through the OMCI channel.
rt
Ce VLAN of the
# In PON port 0/5/0 mode, set the static IP address of ONT 4 to 10.175.192.42/22, gateway
address to 10.175.192.1, and management VLAN to 500 (same as the management
OLT). &
g
huawei(config)#interface gpon 0/5
n in
huawei(config-if-gpon-0/5)#ont
a i
profile<K>|cancel<K>|confirm<K>|cos-queue-map-Tr
{ activate<K>|add<K>|alarm-policy<K>|alarm-

ei
profile<K>|deactivate<K>|delete<K>|factory-setting-

a w
restore<K>|gemport<K>|ipconfig<K>|modify<K>|optical-alarm-

H u
profile<K>|port<K>|power-shedding-config<K>|re-discovery<K>|re-
register<K>|remote-ping<K>|reset<K>|snmp-profile<K>|snmp-
route<K>|statistics<K>|tdm-vcl<K>|tr069-server-config<K>|voip<K> }:ipconfig
n
it o
{ portid<U><0,7> }:0

a
{ ontid<U><0,127> }:4

i c
{ dhcp<K>|dscp-mapping-table<K>|ip-index<K>|pppoe<K>|static<K>
f }:10.175.192.42
}:static

t i
{ <cr>|gateway<K>|ip-address<K>|pri-dns<K>|slave-dns<K>|vlan<K>
r
}:ip-address

{ mask<K> }:mask e
{ ip-address<I><X.X.X.X>

C }:255.255.252.0
&
{ mask<M><X.X.X.X>

g
{ <cr>|gateway<K>|pri-dns<K>|slave-dns<K>|vlan<K> }:gateway

in
{ gateway<I><X.X.X.X> }:10.175.192.1

i n
{ <cr>|pri-dns<K>|slave-dns<K>|vlan<K> }:vlan

ra
{ vlanid<U><0,4095> }:500

i T
{ <cr>|pri-dns<K>|priority<K>|slave-dns<K> }:

e Command:

a w ont ipconfig 0 4 static ip-address 10.175.192.42 mask 255.255.252.0

H u gateway 10.175.192.1 vlan 500


huawei(config-if-gpon-0/5)#quit

Step 8 Test the connectivity between the OLT and the MDU.
Check whether the management channel (namely, the management traffic stream) between the
OLT and the ONT is available.
# Run the ping 10.175.192.42 command on the OLT to check the connectivity between the OLT
and ONT 4. It is expected that the OLT can receive response packets from ONT 4.
huawei(config)#ping 10.175.192.42
PING 10.175.192.42: 56 data bytes, press CTRL_C to break
Reply from 10.175.192.42: bytes=56 Sequence=1 ttl=255 time=19 ms
Reply from 10.175.192.42: bytes=56 Sequence=2 ttl=255 time=9 ms

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 86

Reply from 10.175.192.42: bytes=56 Sequence=3 ttl=255 time=9 ms


Reply from 10.175.192.42: bytes=56 Sequence=4 ttl=255 time=9 ms
Reply from 10.175.192.42: bytes=56 Sequence=5 ttl=255 time=8 ms
--- 10.175.192.42 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 8/10/19 ms

Step 9 Configure a broadband service VLAN.


# Configure broadband service VLAN 2001, set the VLAN attribute to common, and create
n
io
upstream port 0/19/0 to the SVLAN.
t
ica
huawei(config)#vlan

tif
{ attrib<K>|bind<K>|desc<K>|forwarding<K>|loop<K>|name<K>|packet-
policy<K>|priority<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1-
256>|vlanid<U><2,4093> }:2001
e r
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart
C
Command:
&
vlan 2001 smart
n g
inisi common.
ra
By default, when a smart VLAN is created, its VLAN attribute
T
ei
huawei(config)#port
{ desc<K>|mode<K>|vlan<K> }:vlan

a w
{ vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:2001
{ frame/slot<S><Length 1-15>|to<K> }:0/19
{ portlist<S><Length 1-256> }:0
H u
Command:
port vlan 2001 0/19 0 n
t i o
Step 10 Configure a service portaof the broadband VLAN.
i f ic to ONT 4. Set the SVLAN ID to 2001, GEM port ID to 20, and
rt flow with VLAN 36 is received, VLAN 36 is translated to VLAN 2001.)
# Create traffic stream 20 connected
e
C-VLAN ID to 36. (When a user
C
huawei(config)#service-port
&
g
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-

i n
port<K>|vlan<K> }:20

in
{ adminstatus<K>|inbound<K>|modify<K>|outbound<K>|source<K>|tag-

r a
transform<K>|uplink-port<K>|vlan<K> }:vlan

i T
{ aoe<K>|name<K>|vlanid<U><1,4093> }:2001

e { frameid/slotid/portid<S><Length 5-18> }:0/5/0


{ adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|port<K>|shdsl<K>|vdsl<K> }:gpon

w
a { ont<K> }:ont
Hu { ontid<U><0,127> }:4
{ eth<K>|gemport<K>|iphost<K> }:gemport
{ gemindex<U><0,1023> }:20
{ <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag-
transform<K> }:multi-service
{ user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan
{ other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:36
{ <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:
Command:
service-port 20 vlan 2001 gpon 0/5/0 ont 4 gemport 20 multi-service
user-vlan 36

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 87

Step 11 Query information about SVLAN 2001.


huawei(config)#display vlan 2001
{ <cr>|inner-vlan<K>|to<K> }:
Command:
display vlan 2001
VLAN ID: 2001
VLAN name: VLAN_2001
VLAN type: smart
VLAN attribute: common // By default, the attribute of a smart VLAN is
common.

n
VLAN description:
VLAN forwarding mode in control board: VLAN-MAC
t io
ica
VLAN forwarding mode: VLAN-MAC

tif
VLAN broadcast packet forwarding policy: forward
VLAN unknown multicast packet forwarding policy: forward
VLAN unknown unicast packet forwarding policy: forward
e r
VLAN bind service profile ID: -
C
VLAN bind RAIO profile index: -
&
ng
VLAN priority: -
-------------------------------
ni
ai
F /S /P Native VLAN State
-------------------------------
T r
0 /19/0 1 up
-------------------------------
e i
Standard port number: 1
a w
H u
-----------------------------------------------------------
INDEX TYPE STATE F /S /P VPI VCI FLOWTYPE FLOWPARA

n
-----------------------------------------------------------

io
20 gpon up 0 /5 /0 4 20 vlan 36
t
ica
-----------------------------------------------------------

f
Service virtual port number: 1

ti
Note: F--Frame, S--Slot, P--Port,
r
C e
VPI indicates ONT ID for PON, VCI indicates GEM index for GPON,
v/e--vlan/encap, pritag--priority-tagged

Step 12 Save data. &


g
n in data, and log in to the MDU for subsequent configuration.
# Save configuration

r ai
huawei(config)#save

i TCommand:
{ <cr>|configuration<K>|data<K> }:

e
w save

Hua It will take several minutes to save configuration file, please wait...
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
The data is being saved, please wait a moment...

4.2.4 Configuration Procedure (on the MDU Side)


Step 1 Log in to the MDU.
Before logging in to the MDU in Telnet mode, ensure that the management link between the OLT
and the MDU is connected. That is, ping 10.175.192.42. If the connection fails, check and rectify
the fault.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 88

huawei(config)#telnet 10.175.192.42
{ <cr>|service-port<U><1,65535> }:
Command:
telnet 10.175.192.42
Press CTRL_] to quit telnet mode
Trying 10.175.192.42 ...
Connected to 10.175.192.42 ...
>>User name:root
>>User password: // The default password is mduadmin. This input
information has no output.
Huawei Integrated Access Software (MA5620).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2012. All rights reserved.
n
MA5620>
t io
ica
User root has used a default password. Change the password in time.

tif
MA5620>

r
MA5620>enable
MA5620#config
MA5620(config)# C e
&
Step 2 Create an SVLAN and add an upstream port to the SVLAN.
ng
# Create SVLAN 36 and add an upstream port of the MDU to VLAN i36.
in
MA5620 (config)#vlan
T ra
list<S><Length 1-256>|vlanid<U><2,4093> }:36 i
{ attrib<K>|bind<K>|desc<K>|priority<K>|reserve<K>|service-profile<K>|vlan-
e }:smart
{ <cr>|to<K>|vlantype<E><mux,standard,smart>
a w
Command:
vlan 36 smart H u
n
MA5620(config)#port
{ desc<K>|mode<K>|vlan<K> }:vlan
t i o
a
{ vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:36

i f ic }:1
{ frame/slot<S><Length 1-15>|to<K> }:0/0
{ portlist<S><Length 1-256>
r t
Command:
C e
port vlan 36 0/0 1

&
g
ina traffic profile of the system.
The SVLAN ID must be the same as the C-VLAN ID configured on the OLT.

Step 3 Queryi n
r a
i T whether an appropriate traffic profile exists in the system.
# Check
e MA5620(config)#display traffic table
w
a { ip<K> }:ip
Hu
{ from-index<K>|index<K>|name<K> }:from-index
{ row-index<U><0,63> }:0
{ <cr>|to-index<K> }:
Command:
display traffic table ip from-index 0
----------------------------------------------------------------------------
TID CIR CBS PIR PBS Pri Copy-policy Pri-Policy
(kbps) (bytes) (kbps) (bytes)
----------------------------------------------------------------------------
0 512 18384 1024 36768 6 - tag-pri
1 1024 34768 2048 69536 0 - tag-pri
2 2048 67536 4096 135072 0 - tag-pri

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 89

3 4096 133072 8192 266144 4 - tag-pri


4 8192 264144 16384 528288 4 - tag-pri
5 16384 526288 32768 1024000 4 - tag-pri
6 off off off off 0 - tag-pri
10 off off off off 4 - tag-pri
----------------------------------------------------------------------------
Total Num : 8

Step 4 Add a service port.


# Create a traffic stream. Generally, one port corresponds to one user. For other users, modify the
SVLAN and the port.
n
io
MA5620(config)#service-port
t
ica
{ desc<K>|index<U><0,511>|remote-desc<K>|vlan<K> }:20

tif
{ adminstatus<K>|inbound<K>|outbound<K>|vlan<K> }:vlan
{ transparent<K>|vlanid<U><1,4093> }:36
{ eth<K> }:eth
e r
{ frameid/slotid/portid<S><Length 1-15> }:0/1/1
C
{ multi-service<K> }:multi-service
&
ng
{ user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan
{ other-all<K>|priority-tagged<K>|untagged<K>|user-
ni
ai
vlanid<U><1,4095> }:untagged
{ bundle<K>|inbound<K>|rx-cttr<K>|user-encap<K> }:rx-cttr
T r
{ rx-index<U><0,63> }:6
{ tx-cttr<K> }:tx-cttr
e i
{ tx-index<U><0,63> }:6
a w
Command:
H u
service-port 20 vlan 36 eth 0/1/1 multi-service user-vlan untagged

n
rx-cttr 6 tx-cttr 6

Step 5 Save configuration data. it o


# Save data and exit the MDU. ic
a
MA5620(config)#save rt
if
Ce
{ <cr>|configuration<K>|data<K> }:

save &
Command:

i ng several
It will take minutes to save configuration file, please wait...

a inThe configuration file will take effect after being activated


Configuration file had been saved successfully

r data is being saved, please wait a moment...


Note:
TThe
i
e MA5620#quit
MA5620(config)#quit

a w
H u Check whether system data has been changed. Please save data before logout.
Are you sure to log out? (y/n)[n]:y
Configuration console exit, please retry to log on

4.3 Result Verification

4.3.1 Accessing the Internet Through PPPoE Dial-up


# Connect the FE port of an ONT with HSI services configured to a PC.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 90

# On the PC, use PPPoE dial-up software to dial up. If an IP address is obtained, the configuration
is successful.

4.4 Configuration Reference

4.4.1 Configurations on the OLT Side

n
#

io
dba-profile add profile-id 25 profile-name fttb_hsi type3 assure 20480 max
t
ica
40960
#

tif
nt-lineprofile gpon profile-id 20 profile-name MA5620
tcont 20 dba-profile-id 25
e r
gem add 0 eth tcont 0
C
&
gem add 20 eth tcont 20

ng
mapping-mode vlan
gem mapping 0 0 vlan 500
ni
ai
gem mapping 20 20 vlan 36
commit
T r
i
quit
#
e
interface gpon 0/5
a w
port 0 ont-auto-find enable
display ont autofind 0
H u
ont confirm 0 ontid 4 sn-auth 48575443F444CB04 snmp ont-lineprofile-id 20
n
io
display ont info 0 all
t
ica
quit
#
vlan 500 smart
ti f
vlan 2001 smart
e r
port vlan 500 0/19 0
C
&
port vlan 2001 0/19 0

ng
#

i
interface vlanif 500

n
ai
ip address 10.175.192.36/22

r
quit

i T#

e service-port 0 vlan 500 gpon 0/5/0 ont 4 gemport 0 multi-service user-vlan

a w 500

H u #
interface gpon 0/5
ont ipconfig 0 4 static ip-address 10.175.192.42 mask 255.255.252.0 gateway
10.175.192.1 vlan 500
quit
#
ping 10.175.192.42
service-port 20 vlan 2001 gpon 0/5/0 ont 4 gemport 20 multi-service user-
vlan 36
display vlan 2001
save
#
telnet 10.175.192.42

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 91

root
mduadmin

4.4.2 Configurations on the MDU Side


#
enable
config
switch language-mode
vlan 36 smart
port vlan 36 0/0 1
n
io
#
display traffic table ip from-index 0
t
ica
service-port 20 vlan 36 eth 0/1/1 multi-service user-vlan untagged rx-

tif
cttr 6 tx-cttr 6
save
e r
quit
C
&
quit

ng
y

ni
r ai
4.5 Quiz i T
e
a w
In this experiment, the FTTB BIAS service is configured. According to the data plan, packets in a

tags, what are the required configurations? H u


traffic stream carry single VLAN tags. If packets in a traffic stream are required to carry double VLAN

n
t io
f ica
r ti
C e
&
i ng
n
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 92

5 FTTB/C GPON xDSL BIAS Configuration

5.1 Experiment Introduction n


t io
5.1.1 About This Experiment ica
if
r t
Cethe MA5616 and
In the FTTB/C scenario, a DSLAM is connected to a remote ONU through a GPON port to provide
the high-speed Internet access service. ONUs that support ADSL2+ access include
MA5603T. This chapter uses the MA5616 and OLT using a GPBC board as an& example. The MA5616

ngexpand oftheanaccess
can leverage the wide coverage, flexible networking, and low cost features EPON/GPON,

ni
interwork with an OLT to provide high-bandwidth service access, and capacity
i
ra
of an OLT.

T
5.1.2 Objectives ei
Understand basic GPON principles. a
w
Hofu ADSL and VDSL.

 Understand the technical principles

n
5.1.3 Networking it o
i c a
Figure 5-1 Topology
t i f for configuring the FTTC xDSL BIAS service
e r
C
&
g
n in
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 93

In FTTx GPON networking shown in the preceding figure, the OLT is an optical line terminal, and
ONU1 and ONU2 are optical network units. In this example, the MA5616 is used, modem1 and
modem 2 provide ADSL and VDSL access, and PC1, PC2, PC3, and PC4 are user terminals.
For data services, a user PC uses the PPPoE dialup mode to connect to ONU1 and ONU2 through
the ADSL2+ and VDSL2 ports respectively, and then connects to the OLT through ONU1 and ONU2
to implement high-speed Internet access.

5.1.4 Data Plan


The high-speed Internet access service is identified by double precisely-bound VLAN tags. On an

n
ONU, each user is allocated with a C-VLAN; on the OLT, each slot is allocated with an SVLAN.
The high-speed Internet access service adopts an assured bandwidth mode with the maximum
t io
ica
bandwidth 100 Mbit/s as the DBA profile and performs the 4 Mbit/s rate limitation in both the

tif
upstream and downstream directions.
The VDSL2 mode is Normal. (You can run the display vdsl mode command in privilege mode to
e r
query the VDSL mode.)
C
Table 5-1 Data plan for the FTTC xDSL BIAS service &
Service Item Detailed Data i ng Remarks
n
ai
Type

T r In the current network, FTTH and


i FTTB/C can be implemented on
Networking FTTC OLT PON port: 0/2/1
data ONT IDs: 1 and 2 e
a w the same OLT. Generally, different

H u slots are used for the


implementation. Implementing
various FTTx networks
n
it o
concurrently, however, is not

a
recommended in general.
Inband NMS fIPic 10.175.192.36/22
Device
management i (IP address planned for
address of tthe
r
PVID:1

OLT e
Allow-pass: VLAN 10 20
C a lab)

&
Management 500 To log in to the MDU in Telnet

i ng VLAN of the mode from the OLT and then


n
ai
OLT configure the MDU, the

r
management VLAN of the OLT

iT
Inband ONU 1: and that of the MDU must be the
management 10.175.192.51/22
e same, and the management IP

aw
IP address of ONU 2: address of the OLT and that of
the MDU

Hu
10.175.192.52/22 the MDU must be in the same
(IP addresses planned network segment.
for a lab) In GPON access mode, the
management protocol of the
Management 500 MDU is SNMP.
VLAN of the
MDU

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 94

SVLAN HSI service ONU VLANs: 2–199 For the Internet access service,
OLT VLANs: you can use double precisely-
bound VLAN tags to extend
C-VLANs (using the VLANs and identify users.
ONU VLANs): 2–199
On an ONU, each user is allocated
SVLANs: 2000–2199 with a C-VLAN. On the OLT, an
SVLAN can be allocated for each
OLT, each slot of the OLT, or each
PON port.
The ONU VLANs of the same OLT
must be planned in a unified
n
manner, and each ONU VLAN ID
t io
ica
must be unique.
QoS (priority) HSI service Priority: 1; queue
tif
Generally, the QoS priorities of
r
scheduling: WRR
e
various services in descending
C
order are as follows: NMS service
&
and IP voice service, private line
g
service, IPTV service, and Internet
in are configured on
access service.
npriorities
i
aan ONU, and the OLT inherits
The

T r priorities on the ONU.


e i
QoS (DBA) HSI service
a4
Profile name: PPPoEw A DBA profile is used to control
u the upstream bandwidth of an
Maximum H
Profile type: type
ONU. DBA profiles are bound to
bandwidth:
n
T-CONTs. Different T-CONTs are

io ID: 4
100 Mbit/s provided with different types of
t
ica
T-CONT bandwidths.

f High-priority services use fixed

rti bandwidth or assured bandwidth.

Ce
Low-priority services use
maximum bandwidth or BE
& bandwidth.
g
QoS (CAR) n HSI service
ni
Upstream/Downstream Traffic control can be
i bandwidth: 4 Mbit/s implemented on the BRAS, or on

T ra the OLT or ONU by using port

ei
rate limitation or using a traffic
profile to limit the upstream and

a w downstream traffic.

H u Generally, in the FTTH scenario,


rate limitation is implemented on
the OLT; in the FTTB/FTTC
scenario, rate limitation is
implemented on the ONU.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 95

5.2 Configuration Task: ADSL2+ Access

5.2.1 Configuration Process

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
i ng
n
rai
i T
e
a w
H u
5.2.2 Configuration Procedure (on the OLT Side)
Step 1 Create an SVLAN and add an upstream port to it.
Set the SVLAN ID to 2000, type to smart VLAN, and attribute to QinQ. Add upstream port 0/19/0
to VLAN 2000.
huawei(config)#vlan 2000 smart
huawei(config)#vlan attrib 2000 q-in-q
huawei(config)#port vlan 2000 0/19 0

Step 2 (Optional) Configure upstream link aggregation.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 96

In this example, a single upstream port is used. In the case of multiple upstream ports, upstream
link aggregation can be configured.
Configure upstream ports 0/19/0 and 0/19/1 as an aggregation group. Each member port in the
aggregation group distributes packets according to the source MAC address and works in LACP
static aggregation mode.
huawei(config)#link-aggregation 0/19 0-1 ingress workmode lacp-static

 The types of the 2 ports to be aggregated must be the same.


 An aggregation group can be configured between an ETH board and an SCU board.
An aggregation group can be configured between an ETH board and a GIU slot.
n

 Inter-board aggregation is supported between 2 GIU slots.


t i o

ic
When only one control board is configured, inter-board aggregation is supported between
a
an SCUN board and a GIU slot.
i f
To query information about an aggregation group, run the display link-aggregation
e rt command .
Step 3 Configure a DBA profile. C
&
g
Configure GPON ONU profiles, including a DBA profile, line profile, service profile, and alarm profile.
DBA profile: It describes the traffic parameters of GPON.in
n AtheT-CONT is bound to a DBA

i
ra
profile to dynamically allocate the bandwidth, improving upstream bandwidth
utilization.
T

ei thebetween
Line profile: It describes the binding relationship a T-CONT and a DBA
profile, the QoS mode of a traffic stream,
a w and mapping between a GEM port and


a ONU-side service.
Service profile: It provides a service
u
Hconfiguration channel for the ONUs managed
through OMCI.
o n
 Alarm profile: It configuresi
t ONT line. When statistics reach an alarm threshold, the
a series of alarm threshold parameters to monitor the

c aand
performance of an activated
system notifies the iNE
i f sends alarm information to the log NE and the NMS.

profiles in the system doe


To query existing DBA profiles rt in the system, run the display dba-profile command. If existing DBA
C not meet the requirement, run the dba-profile add command to create

&
a DBA profile.

g
Configure a DBA profile. Set the name to PPPoE, type to type4, and maximum bandwidth to 100
Mbit/s.
n in
a i
huawei(config)#dba-profile add profile-name PPPoE type4 max 102400
r
StepT4 Configure an ONU line profile.
i
eCreate GPON ONU line profile 10 and bind T-CONT 4 to the DBA profile named PPPoE.
a w
Hu huawei(config)#ont-lineprofile gpon profile-id 10
huawei(config-gpon-lineprofile-10)#tcont 4 dba-profile-name PPPoE

 The ID of the line profile to be created must not exist in the system. In addition, you
need to create different line profiles according to different services. In this example,
line profile 10 is used.
Add GEM port 0 to carry management traffic streams and GEM port 1 to carry Internet access traffic
streams. Bind GEM ports 0 and 1 to T-CONT 4. The QoS mode is priority-queue (default).

huawei(config-gpon-lineprofile-10)#gem add 0 eth tcont 4

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 97

huawei(config-gpon-lineprofile-10)#gem add 1 eth tcont 4

 To modify the default QoS mode of the system, run the qos-mode command to set
the QoS mode to gem-car or flow-car, and run the gem add command to configure
an ID of a traffic profile bound to a GEM port.
 When the QoS mode is PQ, the default queue priority is 0. When the QoS mode is
flow-car, the default ID of a bound traffic profile is 6 (no rate limitation). When the
QoS mode is gem-car, the default ID of a bound traffic profile is 6 (no rate limitation).
 If you run the multi-service-port command to create traffic streams in batches,
ensure that the number of GEM ports is the same as the number of C-VLANs.
n
it o
Therefore, you need to create GEM ports based on the number of C-VLANs. In this
example, 24 GEM ports need to be created.

i
If you run the service-port command to create traffic streams one by one, note
c a that a
f

GEM ports according to the number of traffic streams. In this example,r3tiGEM ports
maximum of 8 traffic streams can be bound to 1 GEM port. Therefore, create sufficient

e port. For
different traffic streams on the same GEM port, only the mapping C
need to be created. This example uses this command to create 1 GEM
index mapping-
index needs to be replaced, and the mapped VLAN needs to be &replaced with the
ngas VLAN (default), map a
corresponding C-VLAN.
i
Configure mapping mode between a GEM port and an ONU service
a inan Internet access traffic stream
management traffic stream (C-VLAN 500) to GEM port 0, and map
T r
ei
(C-VLAN 101) to GEM port 1.

huawei(config-gpon-lineprofile-10)#gem a
huawei(config-gpon-lineprofile-10)#mapping-mode vlan
w
huawei(config-gpon-lineprofile-10)#gemumapping 1 1 vlan 101
mapping 0 0 vlan 500
H
After completing the configuration, runnthe commit command to make the configuration take
effect. t io
i c a
tif
huawei(config-gpon-lineprofile-10)#commit

e r
huawei(config-gpon-lineprofile-10)#quit

C
&
Step 5 (Optional) Configure an alarm threshold profile.
g
nalarm profile
The ID of the default GPON alarm threshold profile is 1. The thresholds of all the alarm parameters
n
in the defaulti are 0, which indicates that no alarm is reported.
i
a is nottherequired.
T rprofile
In this example, default alarm threshold profile is used, and therefore the configuration of the

eToi configure alarm threshold parameters for monitoring the performance statistics of an activated
alarm

aw ONU line, run the gpon alarm-profile add command to configure a GPON alarm threshold profile.
Hu Step 6 Add an ONU on the OLT.
ONU 1 and ONU 2 are connected to GPON port 0/5/0 through an optical splitter. The IDs of ONU
1 and ONU 2 are 1 and 2 respectively. The SN of ONU 1 is 32303131B39FD641, the SN of ONU 2
is 32303131B39FD642, the management mode is SNMP, and the bound line profile ID is 10.
#Add an ONT offline.
If the password or SN of an ONT is obtained, run the ont add command to add the ONT offline.

huawei(config)#interface gpon 0/5


huawei(config-if-gpon-0/5)#ont add 1 ontid 1 sn-auth 32303131B39FD641 snmp
ont-lineprofile-id 10

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 98

huawei(config-if-gpon-0/5)#ont add 1 ontid 2 sn-auth 32303131B39FD642 snmp


ont-lineprofile-id 10

#Automatically discover an ONT.


If the password or SN of an ONT is unknown, run the port portid ont-auto-find command in
GPON mode to enable automatic ONT discovery of a GPON port. Then, run the ont confirm
command to confirm the ONT.

huawei(config)#interface gpon 0/5


huawei(config-if-gpon-0/5)#port 1 ont-auto-find enable
huawei(config-if-gpon-0/5)#display ont autofind 1
n
io
// The ONU type varies according to the access mode. In this example, an ONU
in xDSL access mode is used as an example. In the case of LAN access mode,
t
ica
ONU information of the corresponding version is displayed.

tif
------------------------------------------------------------------------
Number : 1
e r
C
F/S/P : 0/5/1
Ont SN : 32303131B39FD641
Password : &
VenderID : HWTC
i ng
n
Ont SoftwareVersion : V8R308 C00
r ai
Ont EquipmentID : SmartAX MA5616
i T
e
Ont autofind time : 2018-06-21 16:51:45

w
------------------------------------------------------------------------
a
u
Number : 2
F/S/P
Ont SN
: 0/5/1
: 32303131B39FD642 H
n
it o
Password :
VenderID : HWTC

Ont SoftwareVersion :ic


a
Ont EquipmentID
r t:if SmartAX MA5616
V8R308 C00

Ce
Ont autofind time : 2018-06-21 16:51:45
------------------------------------------------------------------------
&
huawei(config-if-gpon-0/5)#ont confirm 1 ontid 1 sn-auth 32303131B39FD641

ng
snmp ont-lineprofile-id 10

n i
huawei(config-if-gpon-0/5)#ont confirm 1 ontid 2 sn-auth 32303131B39FD642

r ai
snmp ont-lineprofile-id 10

i T Bind an alarm threshold profile.


eIn this example, the default profile (profile 1) is used.
#(Optional)

a w
H u huawei(config-if-gpon-0/5)#ont alarm-profile 1 1 profile-id 1
huawei(config-if-gpon-0/5)#ont alarm-profile 1 2 profile-id 1

Step 7 Confirm that the ONU goes online successfully.


In this step, query the status of ONU 1 as an example. The same method is applied for querying the
status of ONU 2.
After adding an ONU, run the display ont info command to query the ONU status. Ensure that
the values of Control flag, Run State, Config state, and Match state of the ONU are active,
online, normal, and match respectively.

huawei(config-if-gpon-0/5)#display ont info 1 1

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 99

---------------------------------------------------------------------
F/S/P : 0/5/1
ONT-ID : 0
Control flag : active // The ONU is activated.
Run state : online // The ONU is online.
Config state : normal // The ONU configuration status is normal.
Match state : match // The capability profile bound to the ONU is
consistent with the actual capability of the ONU.
...//The rest of the response information is omitted.

When the ONU configuration status indicates a failure, the ONU cannot go online, or an
n
ONU match fails, you are advised to check the ONU status with reference to the preceding
t io
ica
description.

tif
 If Control flag is deactive, run the ont activate command in GPON mode to activate the
ONU.
e r
C
 If the ONU fails to go online, that is, Run state is offline, the physical line may be

&
disconnected or an optical module may be damaged. In this case, check the materials and

ng
lines.

i
 If the ONU configuration status indicates a failure, that is, Config state is failed, run the

n
ai
display ont failed-configuration command in diagnose mode to check the configuration
r
failure items and causes and modify the configurations according to the actual situation.
T
e i
 If the ONU does not match, that is, Match state is mismatch, run the display ont
capability command to query the actual capability of the ONU, and choose one of the
a w
following methods to modify the ONU configurations.

H u
 Create an appropriate ONU profile according to the actual capability of the ONU, and run the
ont modify command to modify the ONU configuration data.
n
it o
 Modify the ONU profile according to the actual capability of the ONU and save the
modification. The ONU automatically restores the configurations.

i c a channel from the OLT to an ONU.


tif VLAN and IP address of the OLT.
Step 8 Configure a management

e r
#Configure the inband management
To log in to an ONU in C Telnet mode from the OLT and then configure the ONU, you must configure
the inband management& VLANs and IP addresses of the OLT and the ONU on the OLT.
i nIPgaddressVLAN
Set the management ID to 500, add the upstream port to VLAN 500, and set the inband

in
management to 10.175.192.36/22.
a
i Tr
huawei(config)#vlan 500 smart

e huawei(config)#interface vlanif 500


huawei(config)#port vlan 500 0/19 0

w
a huawei(config-if-vlanif500)#ip address 10.175.192.36 22
Hu huawei(config-if-vlanif500)#quit

#Configure the inband management VLAN and IP address of the ONU.


Set the static IP address of ONU 1 to 10.175.192.51/22, the static IP address of ONU 2 to
10.175.192.52/22, the gateway to 10.175.192.1, and the management VLAN ID to 500 (same as
the management VLAN of the OLT).

huawei(config-if-gpon-0/5)#ont ipconfig 1 1 static ip-address 10.175.192.51


mask 255.255.252.0 gateway 10.175.192.1 vlan 500
huawei(config-if-gpon-0/5)#ont ipconfig 1 2 static ip-address 10.175.192.52
mask 255.255.252.0 gateway 10.175.192.1 vlan 500
huawei(config-if-gpon-0/5)#quit

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 100

#Configure an inband management traffic stream.


Set the ID of the traffic stream for managing ONU 1 to 1, the ID of the traffic stream for managing
ONU 2 to 2, the management VLAN ID to 500, the GEM port ID to 0, and the C-VLAN ID to 500.
The OLT does not limit the rate of an inband management traffic stream. Therefore, use the default
traffic profile (profile 6). If you need to limit the rate of a service port, run the traffic table ip
command to create a traffic profile and then bind the traffic profile to the service port.

huawei(config)#service-port 1 vlan 500 gpon 0/5/1 ont 1 gemport 0 multi-


service user-vlan 500 rx-cttr 6 tx-cttr 6
huawei(config)#service-port 2 vlan 500 gpon 0/5/1 ont 2 gemport 0 multi-
service user-vlan 500 rx-cttr 6 tx-cttr 6
n
Step 9 Check whether the management channel between the OLT and the ONU is
t io
ica
available.
#You can run the ping 10.175.192.51 and ping 10.175.192.52 commands on the OLT to verify
rtif
is expected that the OLT can receive an ICMP ECHO-REPLY response packet from each ONU.C e
the connectivity between the OLT and ONU 1 and that between the OLT and ONU 2 respectively. It

&
#You can run the telnet 10.175.192.51 and telnet 10.175.192.52 commands to log in to the
ONU 1 and ONU 2 respectively to configure the ONUs.
i ng
n
Step 10 Create a traffic stream.
r ai
i T
Create traffic stream 101 connected to ONU 1 and traffic stream 102 connected to ONU 2. Set the
e
SVLAN ID to 2000, GEM port ID to 1, and C-VLAN ID to 101. The upstream traffic and downstream
a w
traffic are limited on an ONU but not on the OLT. Therefore, use traffic profile 6 (default). To limit

the service port. H u


the rate of a service port, run the traffic table ip command to add a traffic profile and bind it to

nvlan 2000 gpon 0/5/1 ont 1 gemport 0 multi-


huawei(config)#service-port 101
t io
ica
service user-vlan 101 rx-cttr 6 tx-cttr 6

f
huawei(config)#service-port 102 vlan 2000 gpon 0/5/1 ont 2 gemport 0 multi-

r ti
service user-vlan 101 rx-cttr 6 tx-cttr 6

Ce

&
The C-VLAN must be the same as the upstream VLAN of an ONU.

ing
Run the service-port command to create traffic streams one by one. The following
n
ai
uses the creation of one traffic stream as an example. Pay attention to the mapping

T r between a GEM port created when an ONU line profile is configured and the C-
VLAN.
e i  You can also run the multi-service-port command to create traffic streams in
a w batches. In the GPON access mode, you need to specify ontid and gemindex to

H u specify a traffic stream. In addition, the number of GEM ports must be the same as
the number of C-VLANs.

Step 11 Configure queue scheduling.


Use the 3PQ+5WRR queue scheduling. Queues 0–4 adopt the WRR mode, with the weights of 10,
10, 20, 20, and 40 respectively; queues 5–7 adopt the PQ mode. Configure the priority of the
Internet access service to 1 and adopt the WRR mode.

 Queue scheduling is globally configured and needs to be configured only once on the
OLT. After the configuration is completed, the configuration takes effect globally. You
do not need to configure other services when configuring other services.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 101

For boards that support only 4 queues, the mapping between 802.1p priorities and queue IDs is as
follows: Priorities 0 and 1 are mapped into queue 1. Priorities 2 and 3 are mapped into queue 2.
Priorities 4 and 5 are mapped into queue 3. Priorities 6 and 7 are mapped into queue 4.

huawei(config)#queue-scheduler wrr 10 10 20 20 40 0 0 0

Configure the mapping between queues and 802.1p priorities. Priorities 0– 7 is mapped into queues
0–7 respectively.

huawei(config)#cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6


cos7 7

n
Step 12 Save data.
t io
ica
tif
huawei(config)#save

e r
5.2.3 Configuration Procedure (on the ONU Side) C
&
Step 1 Log in to an ONU.
n g
On the OLT, visit the management IP address of the ONU in Telnet inimode and log in to the ONU.
The user name is root, and the password is mduadmin.
T ra
huawei(config)#telnet 10.175.192.51 e i
{ <cr>|service-port<U><0,4294967295> }: w
Command: u a
telnet 10.175.192.51 H
Press CTRL_] to quit telnet mode
o n
Trying 10.175.192.51 ...
Connected to 10.175.192.51t ... i
i c a
tif
>>User name:root

r
>>User password:

Step 2 Configure a traffic Ce profile.


& traffic table ip command to query information about the traffic profiles
g
You can run the display
nsystem.
n i
existing in the If the existing traffic profile in the system does not meet the requirement,

a i
run the traffic table ip command to add a traffic profile.

T r policy
Configure traffic profile 8 and ensure that the information rate is 4 Mbit/s and the priority is 1. The

ei
priority is based on the priority of packets.

aw huawei(config)#traffic table ip index 8 cir 4096 priority 1 priority-policy


Hu
tag-In-Package

Step 3 Configure an SVLAN and add an upstream port to the VLAN.


Configure the SVLAN. The VLAN ID ranges from 101 to 124. Add upstream port 0/0/1. (If the ONU
is the MA5603T, the corresponding upstream port is 0/8/0.)

huawei(config)#vlan 101-124 smart


huawei(config)#port vlan 101-124 0/0 1

Step 4 Configure an ADSL2+ line profile.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 102

You can run the display adsl line-profile command to query a configured ADSL2+ line profile in
the system. Directly use a profile if it meets the requirement.
If no ADSL2+ line profile in the system meets the requirements, create an ADSL2+ line profile by
running the adsl line-profile quickadd command.
The data in an ADSL2+ line profile must be configured according to the actual line conditions.
Configure ADSL2+ line profile 4 and use default parameter settings.

huawei(config)#adsl line-profile quickadd 4

Step 5 Activate an ADSL2+ port and bind a line profile to the ADSL2+ port.

o n
Activate ADSL2+ port 0/1/0 and bind it to line profile 3.
i
t run
Activate other ports using the following method. To activate all ports in batches on a board,
ic a
the activate all command.
i f
huawei(config)#interface adsl 0/1 e rt
huawei(config-if-adsl-0/1)#deactivate 0 C
huawei(config-if-adsl-0/1)#activate 0 line-index 3 &
n g
Step 6 (Optional) Bind an ADSL2+ alarm profile.
ini
ra run the adsl alarm-template
Bind default ADSL2+ alarm profile 1. To meet actual requirements,
T
quickadd command to add an ADSL2+ alarm profile.
e i
huawei(config-if-adsl-0/1)#alarm-config 0w1
u a
Step 7 Configure a service port. H
Service port 101 is an example. Set thenSVLAN ID to 101, VPI to 8, VCI to 35, and C-VLAN to
io also add other traffic streams by changing the C-VLAN ID
untagged. Bind traffic profile 8. You tcan
and ADSL2+ port ID.
i c a
The VLAN must be the sametas
r if the C-VLAN configured on the OLT.
Ce
huawei(config)#service-port 101 vlan 101 adsl 0/1/0 vpi 8 vci 35 multi-
&
service user-vlan untagged rx-cttr 8 tx-cttr 8
g
in
in To enable services in batches, run the multi-service-port command.
r a
T
ei
Step 8 Save data.

aw huawei(config)#save
Hu Step 9 Verify the configuration results.
On a PC, you can use the high-speed Internet access service in PPPoE dial-up mode.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 103

5.3 Configuration Reference

5.3.1 Configurations on the OLT Side


#
vlan 2000 smart
vlan attrib 2000 q-in-q
port vlan 2000 0/19 0

n
#

io
dba-profile add profile-name PPPoE type4 max 102400
t
ica
#

tif
ont-lineprofile gpon profile-id 10
tcont 4 dba-profile-name PPPoE
gem add 0 eth tcont 4
e r
gem add 1 eth tcont 4
C
mapping-mode vlan
&
ng
gem mapping 0 0 vlan 500
gem mapping 1 1 vlan 101
ni
ai
commit
quit
T r
#
interface gpon 0/5
e i
port 1 ont-auto-find enable
a w
display ont autofind 1
H u
ont confirm 1 ontid 1 sn-auth 32303131B39FD641 snmp ont-lineprofile-id 10

n
ont confirm 1 ontid 2 sn-auth 32303131B39FD642 snmp ont-lineprofile-id 10

io
#
t
ica
ont alarm-profile 1 1 profile-id 1
ont alarm-profile 1 2 profile-id 1
display ont info 1 1
ti f
#
e r
vlan 500 smart
C
&
port vlan 500 0/19 0

ng
interface vlanif 500

i
ip address 10.175.192.36 22
n
ai
quit
#
T r
i
interface gpon 0/5
e ont ipconfig 1 1 static ip-address 10.175.192.51 mask 255.255.252.0 gateway

a w 10.175.192.1 vlan 500

H u ont ipconfig 1 2 static ip-address 10.175.192.52 mask 255.255.252.0 gateway


10.175.192.1 vlan 500
quit
#
service-port 1 vlan 500 gpon 0/5/1 ont 1 gemport 0 multi-service user-vlan
500 rx-cttr 6 tx-cttr 6
service-port 2 vlan 500 gpon 0/5/1 ont 2 gemport 0 multi-service user-vlan
500 rx-cttr 6 tx-cttr 6
service-port 101 vlan 2000 gpon 0/5/1 ont 1 gemport 0 multi-service user-vlan
101 rx-cttr 6 tx-cttr 6
service-port 102 vlan 2000 gpon 0/5/1 ont 2 gemport 0 multi-service user-vlan
101 rx-cttr 6 tx-cttr 6
#

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 104

queue-scheduler wrr 10 10 20 20 40 0 0 0
cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
save
#
telnet 10.175.192.51
root
mduadmin

5.3.2 Configurations on the ONU side

n
io
#
traffic table ip index 8 cir 4096 priority 1 priority-policy tag-In-Package
t
ica
#

tif
vlan 101-124 smart
port vlan 101-124 0/0 1
e r
C
#
adsl line-profile quickadd 4
adsl channel-profile quickadd 4 &
ng
adsl line-template quickadd 3

ni
ai
#

r
interface adsl 0/1
deactivate 0
i T
e
activate 0 template-index 3
alarm-config 0 1
a w
u
#

H
service-port 101 vlan 101 adsl 0/1/0 vpi 8 vci 35 multi-service user-vlan
untagged rx-cttr 8 tx-cttr 8
save
n
t io
f ica
r
5.4 Configuration Task: ti VDSL2 Access
e C
&
5.4.1 Experiment gIntroduction
in
in
The MA5600T/MA5603T is connected to a remote ONU through a GPON port to provide the high-
a
r
speed Internet access service. ONUs that support the VDSL2 access mode are as follows: MA5616,

e iT
MA5652G, and MA5603T. This chapter uses the MA5616 and OLT using a GPBC board as an
example.

aw
Hu Configuration Procedure (on the OLT Side)
5.4.2
Step 1 Create an SVLAN and add an upstream port to it.
Set the SVLAN ID to 2000, type to smart VLAN, and attribute to QinQ. Add upstream port 0/19/0
to VLAN 2000.

huawei(config)#vlan 2000 smart


huawei(config)#vlan attrib 2000 q-in-q
huawei(config)#port vlan 2000 0/19 0

Step 2 (Optional) Configure upstream link aggregation.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 105

In this example, a single upstream port is used. In the case of multiple upstream ports, upstream
link aggregation can be configured. For details, see step 2 in section 5.2.2.

Step 3 Configure a DBA profile.


GPON ONU profiles include the DBA profile, line profile, service profile, and alarm profile.
To query existing DBA profiles in the system, run the display dba-profile command . If existing
DBA profiles in the system do not meet the requirement, run the dba-profile add command to
create a DBA profile.
Configure a DBA profile. Set the name to PPPoE, type to type4, and maximum bandwidth to 100
Mbit/s.
n
huawei(config)#dba-profile add profile-name PPPoE type4 max 102400
t io
ica
tif
Step 4 Configure an ONU line profile.
Create GPON ONU line profile 10 and bind T-CONT 4 to the DBA profile named PPPoE.
e r
C
huawei(config)#ont-lineprofile gpon profile-id 10
&
huawei(config-gpon-lineprofile-10)#tcont 4 dba-profile-name PPPoE
n g
ini
a system. In addition, you need
The ID of the line profile to be created must not exist inrthe
T
ei
to create different line profiles according to different services. In this example, line profile

wand GEM port 1 to carry Internet access traffic


10 is used.
a
Hu QoS mode is priority-queue (default).
Add GEM port 0 to carry management traffic streams
streams. Bind GEM ports 0 and 1 to T-CONT 4. The

n
it o
huawei(config-gpon-lineprofile-10)#gem add 0 eth tcont 4
huawei(config-gpon-lineprofile-10)#gem add 1 eth tcont 4

i c a
tif QoS mode of the system, run the qos-mode command to set
To modify the rdefault
e to gem-car or flow-car, and run the gem add command to

C
the QoS mode

&the QoS mode is PQ, the default queue priority is 0. When the QoS mode is
configure an ID of a traffic profile bound to a GEM port.

n g
When

n iflow-car, the default ID of a bound traffic profile is 6 (no rate limitation). When the

a i limitation). is gem-car, the default ID of a bound traffic profile is 6 (no rate


QoS mode

i Tr  If you run the multi-service-port command to create traffic streams in batches,


e
a w ensure that the number of GEM ports is the same as the number of C-VLANs.

u
Therefore, you need to create GEM ports based on the number of C-VLANs. In this
H 
example, 24 GEM ports need to be created.
If you run the service-port command to create traffic streams one by one, note that
a maximum of 8 traffic streams can be bound to 1 GEM port. Therefore, create
sufficient GEM ports according to the number of traffic streams. In this example, 3
GEM ports need to be created. This example uses this command to create 1 GEM
port. For different traffic streams on the same GEM port, only the mapping index
mapping-index needs to be replaced, and the mapped VLAN needs to be replaced
with the corresponding C-VLAN.
Configure mapping mode between a GEM port and an ONU service as VLAN (default), map a
management traffic stream (C-VLAN 500) to GEM port 0, and map an Internet access traffic stream
(C-VLAN 101) to GEM port 1.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 106

huawei(config-gpon-lineprofile-10)#mapping-mode vlan
huawei(config-gpon-lineprofile-10)#gem mapping 0 0 vlan 500
huawei(config-gpon-lineprofile-10)#gem mapping 1 1 vlan 101

After completing the configuration, run the commit command to make the configuration take
effect.

huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit

Step 5 (Optional) Configure an alarm threshold profile.


n
The ID of the default GPON alarm threshold profile is 1. The thresholds of all the
io

t
ica
alarm parameters in the default alarm profile are 0, which indicates that no alarm is
reported.

rtif
In this example, the default alarm threshold profile is used, and therefore the
configuration of the alarm profile is not required.
C e
To configure alarm threshold parameters for monitoring the performance statistics of
&

an activated ONU line, run the gpon alarm-profile add command to configure a
GPON alarm threshold profile.
i ng
n
Step 6 Add an ONU on the OLT.
r ai
i T
ONU 1 and ONU 2 are connected to GPON port 0/5/2 through an optical splitter. The IDs of ONU
e
1 and ONU 2 are 1 and 2 respectively. The SN of ONU 1 is 32303131B39FD641, the SN of ONU 2
a w
is 32303131B39FD642, the management mode is SNMP, and the bound line profile ID is 10.
1. Add an ONT offline.
H u
If the password or SN of an ONT is obtained, run the ont add command to add the ONT offline.
n
t io
ica
huawei(config)#interface gpon 0/5
huawei(config-if-gpon-0/5)#ont add 2 ontid 1 sn-auth 32303131B39FD641 snmp
ont-lineprofile-id 10
tif
e r
huawei(config-if-gpon-0/5)#ont add 2 ontid 2 sn-auth 32303131B39FD642 snmp

C
ont-lineprofile-id 10

&
g
2. Automatically discover an ONT.

i
If the passwordnto orenable
SN of an ONT is unknown, run the port portid ont-auto-find command in
GPON mode
a into confirm theautomatic ONT discovery of a GPON port. Then, run the ont confirm

Tr
command ONT.
i
e huawei(config)#interface gpon 0/5

a w huawei(config-if-gpon-0/5)#port 2 ont-auto-find enable

H u huawei(config-if-gpon-0/5)#display ont autofind 2


// The ONU type varies according to the access mode. In this example, an ONU
in xDSL access mode is used as an example. In the case of LAN access mode,
ONU information of the corresponding version is displayed.
------------------------------------------------------------------------
Number : 1
F/S/P : 0/5/2
Ont SN : 32303131B39FD641
Password :
VenderID : HWTC

Ont SoftwareVersion : V8R308 C00

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 107

Ont EquipmentID : SmartAX MA5616


Ont autofind time : 2018-06-21 16:51:45
------------------------------------------------------------------------
Number : 2
F/S/P : 0/5/2
Ont SN : 32303131B39FD642
Password :
VenderID : HWTC

Ont SoftwareVersion : V8R308 C00


Ont EquipmentID : SmartAX MA5616
Ont autofind time : 2018-06-21 16:51:45
n
------------------------------------------------------------------------
t io
ica
huawei(config-if-gpon-0/5)#ont confirm 2 ontid 1 sn-auth 32303131B39FD641

tif
snmp ont-lineprofile-id 10

r
huawei(config-if-gpon-0/5)#ont confirm 2 ontid 2 sn-auth 32303131B39FD642
snmp ont-lineprofile-id 10
C e
Step 7 (Optional) Bind an alarm threshold profile. &
g
In this example, the default profile (profile 1) is used.
n in
huawei(config-if-gpon-0/5)#ont alarm-profile 2 1 a
i
huawei(config-if-gpon-0/5)#ont alarm-profile 2T2 profile-id 1
r profile-id 1
e i
Step 8 Confirm that the ONU goes online successfully.
a w
H u The same method is applied for querying the
In this step, query the status of ONU 1 as an example.
status of ONU 2.

o n info command to query the ONU status. Ensure that


After adding an ONU, run the display ont
i
t Config state, and Match state of the ONU are active,
the values of Control flag, Run State,
ic a
f
online, normal, and match respectively.

rt i
e
huawei(config-if-gpon-0/5)#display
C : 0/5/2
ont info 2 1
---------------------------------------------------------------------
F/S/P
& :0
ONT-ID
g
Controlnflag
i : active // The ONU is activated.

a in state
Run state : online // The ONU is online.
r state
Config
TMatch
: normal // The ONU configuration status is normal.

i with the
: match
e ...//The rest of the response information
consistent actual
// The capability profile bound to the ONU is
capability of the ONU.

aw is omitted.

Hu
When the ONU configuration status indicates a failure, the ONU cannot go online, or an ONU
match fails, you are advised to check the ONU status with reference to the preceding
description.
 If Control flag is deactive, run the ont activate command in GPON mode to
activate the ONU.
 If the ONU fails to go online, that is, Run state is offline, the physical line may be
disconnected or an optical module may be damaged. In this case, check the materials
and lines.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 108

 If the ONU configuration status indicates a failure, that is, Config state is failed, run
the display ont failed-configuration command in diagnose mode to check the
configuration failure items and causes and modify the configurations according to
the actual situation.
 If the ONU does not match, that is, Match state is mismatch, run the display ont
capability command to query the actual capability of the ONU, and choose one of
the following methods to modify the ONU configurations.
 Create an appropriate ONU profile according to the actual capability of the ONU, and
run the ont modify command to modify the ONU configuration data.
 Modify the ONU profile according to the actual capability of the ONU and save the
modification. The ONU automatically restores the configurations.
n
Step 9 Configure a management channel from the OLT to an ONU. t io
ica
tif
1. Configure the inband management VLAN and IP address of the OLT.

e r
To log in to an ONU in Telnet mode from the OLT and then configure the ONU, you must configure
the inband management VLANs and IP addresses of the OLT and the ONU on the OLT. C
&
Set the management VLAN to 500, add the upstream port to VLAN 500, and set the inband

ng
management IP address to 10.175.192.36/22.

ni
huawei(config)#vlan 500 smart
r ai
T
huawei(config)#port vlan 500 0/19 0
huawei(config)#interface vlanif 500
e i
w
huawei(config-if-vlanif500)#ip address 10.175.192.36 22
huawei(config-if-vlanif500)#quit
ua
H
2. Configure the inband management VLAN and IP address of the ONU.
n
io
Set the static IP address of ONU 1 to 10.175.192.51/22, the static IP address of ONU 2 to
t
10.175.192.52/22, the gateway to 10.175.192.1, and the management VLAN to 500 (same as the

ica
management VLAN of the OLT).

ti f
e r
huawei(config-if-gpon-0/5)#ont ipconfig 2 1 static ip-address 10.175.192.51

C
mask 255.255.252.0 gateway 10.175.192.1 vlan 500

&
huawei(config-if-gpon-0/5)#ont ipconfig 2 2 static ip-address 10.175.192.52

ng
mask 255.255.252.0 gateway 10.175.192.1 vlan 500

i
huawei(config-if-gpon-0/5)#quit

n
r ai
3. Configure an inband management traffic stream.

i T
Set the ID of the traffic stream for managing ONU 1 to 1, the ID of the traffic stream for managing
e ONU 2 to 2, the management VLAN ID to 500, the GEM port ID to 0, and the C-VLAN ID to 500.

a w The OLT does not limit the rate of an inband management traffic stream. Therefore, use the default

H u traffic profile (profile 6). If you need to limit the rate of a service port, run the traffic table ip
command to create a traffic profile and then bind the traffic profile to the service port.

huawei(config)#service-port 1 vlan 500 gpon 0/5/2 ont 1 gemport 0 multi-


service user-vlan 500 rx-cttr 6 tx-cttr 6
huawei(config)#service-port 2 vlan 500 gpon 0/5/2 ont 2 gemport 0 multi-
service user-vlan 500 rx-cttr 6 tx-cttr 6

Step 10 Check whether the management channel between the OLT and the ONU is
available.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 109

You can run the ping 10.175.192.51 and ping 10.175.192.52 commands on the OLT to verify
the connectivity between the OLT and ONU 1 and between the OLT and ONU 2 respectively. It is
expected that the OLT can receive an ICMP ECHO-REPLY response packet from each ONU.
You can run the telnet 10.175.192.51 and telnet 10.175.192.52 commands to log in to the
ONU 1 and ONU 2 respectively to configure the ONUs.

Step 11 Create a traffic stream.


Create traffic stream 101 connected to ONU 1 and traffic stream 102 connected to ONU 2. Set the
SVLAN to 100, GEM port ID to 1, and C-VLAN to 101. The upstream traffic and downstream traffic
are limited on an ONU but not on the OLT. Therefore, use traffic profile 6 (default). To limit the rate

n
of a service port, run the traffic table ip command to add a traffic profile and bind it to the service
port.
it o
i c a
ti0f multi-
huawei(config)#service-port 101 vlan 2000 gpon 0/5/2 ont 1 gemport 0 multi-
service user-vlan 101 rx-cttr 6 tx-cttr 6
r
Ce
huawei(config)#service-port 102 vlan 2000 gpon 0/5/2 ont 2 gemport
service user-vlan 101 rx-cttr 6 tx-cttr 6

&
The C-VLAN must be the same as the upstream VLAN of n
g
n i an ONU.

r ai Payone
Run the service-port command to create traffic streams by one. The following

i Tprofile is configured and the C-


uses the creation of one traffic stream as an example. attention to the mapping

e
between a GEM port created when an ONU line
VLAN.
w
a command to create traffic streams in
batches. In the GPON access mode, u
 You can also run the multi-service-port
H you need to specify ontid and gemindex to
specify a traffic stream. In addition, the number of GEM ports must be the same as
the number of C-VLANs.
o n
t i
Step 12 Configure queue scheduling.
c a
t i fi Queues 0–4 adopt the WRR mode, with the weights of 10,
r queues 5–7 adopt the PQ mode. Configure the priority of the
Use the 3PQ+5WRR queue scheduling.

Internet access serviceC


e
10, 20, 20, and 40 respectively;
to 1 and adopt the WRR mode.
Queue scheduling & is a global configuration. You need to configure queue scheduling only once on
the OLT, and theng
n queuethe configuration takes effect globally. In the subsequent phases, you do not
n i
need to configure scheduling repeatedly when configuring other services.
i
For theaservice board that supports only four queues, the mapping between 802.1p priorities and
T rIDs is as follows: priorities 0 and 1 map queue 1; priorities 2 and 3 map queue 2; priorities 4
i
queue
eand 5 map queue 3; priorities 6 and 7 map queue 4.
aw huawei(config)#queue-scheduler wrr 10 10 20 20 40 0 0 0
Hu Configure the mapping between queues and 802.1p priorities. Priorities 0– 7 is mapped into queues
0–7 respectively.

huawei(config)#cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6


cos7 7

Step 13 Save data.

huawei(config)#save

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 110

5.4.3 Configuration Procedure (on the ONU Side)


Step 1 Log in to an ONU.
On the OLT, visit the management IP address of the ONU in Telnet mode and log in to the ONU.
The user name is root, and the password is mduadmin.

huawei(config)#telnet 10.175.192.51
{ <cr>|service-port<U><0,4294967295> }:
Command:

n
telnet 10.175.192.51
Press CTRL_] to quit telnet mode
t io
ica
Trying 10.175.192.51 ...

tif
Connected to 10.175.192.51 ...
>>User name:root
>>User password:
e r
C
Step 2 Configure a traffic profile.
&
i ng
You can run the display traffic table ip command to query information about the traffic profiles
n
ai
existing in the system. If the existing traffic profile in the system does not meet the requirement,
run the traffic table ip command to add a traffic profile.
T r
Configure traffic profile 8, and set the CIR to 4 Mbit/s.
e i
a w
huawei(config)#traffic table ip index 8 cir 4096 priority 1 priority-policy
tag-In-Packag
H u
n
Step 3 Configure an SVLAN and add an upstream port to the VLAN.
o
i
t from 101 to 124. Add upstream port 0/0/1.
a
Configure the SVLAN. The VLAN ID ranges
(If the ONU is the MA5603T, theic
t i f corresponding upstream port is 0/8/0.)

huawei(config)#vlan r101-124 smart


huawei(config)#port
e
C vlan 101-124 0/0 1
&a VDSL2 line profile.
Step 4 Configure g
n in
r ai data in a VDSL2 line profile must be configured according to the actual line conditions.
The
i T  You can run the display vdsl line-profile command to query a configured VDSL2
e
a w line profile in the system. Directly use a profile if it meets the requirement.

Hu
 If no VDSL2 line profile in the system meets the requirements, create a VDSL2 line
profile. Run the vdsl line-profile quickadd command to quickly add a VDSL2 line
profile.
Quickly add VDSL2 line profile 4 and use default parameter settings.

huawei(config)#vdsl line-profile quickadd 4

Step 5 Configure a VDSL2 channel profile.

 You can run the display vdsl channel-profile command to query a configured
VDSL2 channel profile in the system. Directly use a profile if it meets the requirement.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 111

 If no VDSL2 channel profile in the system meets the requirement, create a VDSL2
channel profile by running the vdsl channel-profile quickadd command.
The data in the VDSL2 channel profile must be configured according to the actual channel
conditions. In this example, the traffic profile is used to limit the subscriber access rate; therefore,
when the VDSL2 channel profile is configured, the line rate parameters do not need to be
configured.
Quickly add VDSL2 channel profile 4 and use default parameter settings.

huawei(config)#vdsl channel-profile quickadd 4

Step 6 Configure a VDSL2 line profile.


n
it o
You can run the display vdsl line-template command to query a configured
i c aVDSL2
if

 rt
line profile in the system. Directly use a profile if it meets the requirement.
If no VDSL2 line profile in the system meets the requirements, createea VDSL2 line
profile by running the vdsl line-template quickadd command. C
Bind the VDSL2 line profile configured in step 4 and the VDSL2 channel profile & configured in step
5. Set the downstream rate adaptation ratio to 100% and the upstream g
n rate adaptation ratio to
i
in
100%.
a
r 4 channel1 4 100 100
huawei(config)#vdsl line-template quickadd 3 line
T
Step 7 Activate VDSL2 port 0/1/0 and bind it to w eiprofile 3.
line
ua
Activate other ports using the following method.
the activate all command. H To activate all ports in batches on a board, run

huawei(config)#interface vdslo0/1
n
t i
c
huawei(config-if-vdsl-0/1)#deactivate
i a 0

i f
huawei(config-if-vdsl-0/1)#activate 0 template-index 3

Step 8 (Optional) Bind e rt


C
a VDSL2 alarm profile.

& default
In this example, bind the VDSL2 alarm profile (profile 1). To meet actual requirements, run

n g
the vdsl alarm-template add command to add a VDSL2 alarm profile.

i ni
a
huawei(config-if-vdsl-0/1)#alarm-config 0 1

Stepi T9r Configure a service port.


eThe following uses service port 101 as an example. Set the SVLAN ID to 101, the mode to PTM,
a w
Hu
and the C-VLAN to untagged. You can also add other traffic streams by changing the C-VLAN ID
and VDSL2 port ID.
The SVLAN ID must be the same as the C-VLAN ID configured on the OLT.

huawei(config)#service-port 101 vlan 101 vdsl mode ptm 0/1/0 multi-service


user-vlan untagged rx-cttr 8 tx-cttr 8

In the case of batch service provisioning, run the multi-service-port command.

Step 10 Save data.

huawei(config)#save

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 112

Step 11 Verify the configuration results.


On a PC, you can use the high-speed Internet access service in PPPoE dial-up mode.

5.5 Configuration Reference

5.5.1 Configurations on the OLT Side


n
#
t io
ica
vlan 2000 smart

tif
vlan attrib 2000 q-in-q

r
port vlan 2000 0/19 0
#
dba-profile add profile-name PPPoE type4 max 102400 C e
#
&
ng
ont-lineprofile gpon profile-id 10
tcont 4 dba-profile-name PPPoE
ni
ai
gem add 0 eth tcont 4
gem add 1 eth tcont 4
T r
mapping-mode vlan
e i
w
gem mapping 0 0 vlan 500
gem mapping 1 1 vlan 101
ua
H
commit
quit
#
n
interface gpon 0/5
t io
ica
port 2 ont-auto-find enable
display ont autofind 2
ti f
r
ont confirm 2 ontid 1 sn-auth 32303131B39FD641 snmp ont-lineprofile-id 10

# Ce
ont confirm 2 ontid 2 sn-auth 32303131B39FD642 snmp ont-lineprofile-id 10

&
ont alarm-profile 2 1 profile-id 1

ng
ont alarm-profile 2 2 profile-id 1

ni
display ont info 2 1

ai
#

T r
vlan 500 smart

e i port vlan 500 0/19 0

w
interface vlanif 500

u a ip address 10.175.192.36 22
quit
H #
interface gpon 0/5
ont ipconfig 2 1 static ip-address 10.175.192.51 mask 255.255.252.0 gateway
10.175.192.1 vlan 500
ont ipconfig 2 2 static ip-address 10.175.192.52 mask 255.255.252.0 gateway
10.175.192.1 vlan 500
#
service-port 1 vlan 500 gpon 0/5/2 ont 1 gemport 0 multi-service user-vlan
500 rx-cttr 6 tx-cttr 6
service-port 2 vlan 500 gpon 0/5/2 ont 2 gemport 0 multi-service user-vlan
500 rx-cttr 6 tx-cttr 6

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 113

service-port 101 vlan 2000 gpon 0/5/2 ont 1 gemport 0 multi-service user-vlan
101 rx-cttr 6 tx-cttr 6
service-port 102 vlan 2000 gpon 0/5/2 ont 2 gemport 0 multi-service user-vlan
101 rx-cttr 6 tx-cttr 6
#
queue-scheduler wrr 10 10 20 20 40 0 0 0
cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
save
#
telnet 10.175.192.51
root
mduadmin
n
t io
5.5.2 Configurations on the ONU side ica
rtif
#
traffic table ip index 8 cir 4096 priority 0 priority-policy tag-In-Packag C e
# &
ng
vlan 101-124 smart

ni
ai
port vlan 101-124 0/0 1

r
#
vdsl line-profile quickadd 4
i T
e
vdsl channel-profile quickadd 4

w
vdsl line-template quickadd 3 line 4 channel1 4 100 100
a
u
#
interface vdsl 0/1
deactivate 0 H
activate 0 template-index 3
n
alarm-config 0 1
t io
ica
#

ti f
service-port 101 vlan 101 vdsl mode ptm 0/1/0 multi-service user-vlan

r
untagged rx-cttr 8 tx-cttr 8
e
C
save

&
i ng
n
rai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 114

6 FTTH GPON SIP Service Configuration

6.1 Experiment Introduction n


t io
6.1.1 About This Experiment ica
if
rt
Ce
In this experiment, OLT and ONU data is configured to enable 2 users on different ONTs on the
same PON to make voice calls.
&
6.1.2 Objectives g
nin
i
Understand basic GPON principles.
ra

T
ei
 Understand basic VoIP principles.
Understand GPON data profiles.
w

a
Hu voice services.
 Be able to configure voice service profiles.
 Master the overall process of configuring

n
6.1.3 Networking it o
Figure 6-1 Topologyfifor cathe FTTH GPON SIP configuration experiment
r ti
Ce
&
g
n in
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 115

6.1.4 Data Plan


In the preceding VoIP configuration scenario, the following devices are used:
Telephones 1 and 2: common phones
PC 1 and PC 2: running Windows
ONT 1 and ONT 2: HG8247
OLT: MA5600T
Switch: S3700
Softswitch: Soft3000
n
t io
ica
Table 6-1 FTTH VoIP data plan
Configuration Item ONT1 Data Configuration Item
tif Data
ONT2
r
OLT SVLAN 172 and smart OLT SVLAN
C172e and smart
Upstream OLT port 0/19/0 Upstream OLT port & 0/19/0
Downstream OLT port 0/5/0 i ng
Downstream OLT port 0/5/0

a in
ONT ID and SN 1, SN
r
ONT ID and
T
SN 1, SN

ei
48575443D8EBAC0 48575443D8FD820
5 5

a w and DBA
Hu GEM port
T-CONT and DBA 1, DBA profile 10 T-CONT 2, DBA profile 20
GEM port 1 2
n
ONT C-VLAN 172
it o ONT C-VLAN 172

i c a
r t if
Table 6-2 Data plan forethe FTTH VoIP SIP service
C
&
Configuration Item ONT1 Data Configuration Item ONT2 Data
SIP server g
i n 172.16.71.253 Voice gateway 172.16.71.254/24

a in port
SIP server 5060 Phone number 2104001/2014003
r
IPTaddresses of local SIP 172.16.71.11/24
e i terminals (ONT 1)
User name/Password 2104001/2014000,

aw
2104003/2014000
172.16.71.12/24

Hu (ONT 2)

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 116

6.2 Task Configuration

6.2.1 Configuration Process


Figure 6-2 Flowchart of configuring the FTTH GPON SIP service

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
C e
&
ng
i Procedure (on the OLT Side)
in
6.2.2 Configuration
a
r
iT
The following steps describe how to configure ONT 1.
e 1
a wStep Configure a DBA profile.

Hu
# Run the display dba-profile command to query existing DBA profiles in the system. If existing
DBA profiles do not meet the requirements, run the dba-profile add command to add a DBA
profile. Set the profile ID to 10, bandwidth type to type1, and bandwidth to 2048 kbit/s.

huawei(config)#dba-profile
{ add<K>|delete<K>|modify<K> }:add
{ profile-id<K>|profile-
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id
{ profile-id<U><10,512> }:10
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type1
{ fix<K> }:fix
{ fix-bandwidth<U><128,10000000> }:2048

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 117

{ <cr>|bandwidth_compensate<K> }:
Command:
dba-profile add profile-id 10 type1 fix 2048
Adding a DBA profile succeeded
Profile ID : 10
Profile name: dba-profile_10

# Display the status of a DBA profile.

huawei(config)#display dba-profile profile-id 10


huawei(config)#display dba-profile profile-id 10
-----------------------------------------------------------------
n
Profile-name : dba-profile_10
t io
ica
Profile-ID: 10

tif
type: 1

r
Bandwidth compensation: No
Fix(kbps):
Assure(kbps):
2048
0 C e
Max(kbps): 0
&
ng
bind-times: 0
-----------------------------------------------------------------
ni
Step 2 Configure an ONT line profile. r ai
T
ei
# Set the line profile ID to 10 and profile name to 1hg8247.

a w
huawei(config)#ont-lineprofile
{ epon<K>|gpon<K> }:gpon H u
n
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:10
i o
t }:1hg8247
a
{ <cr>|profile-name<K> }:profile-name
{ profile-name<S><Length 1-32>
fi c
Command:
t i
r gpon profile-id 10 profile-name 1hg8247
e
ont-lineprofile
C
&
# Bind T-CONT 1 to DBA profile 10.

g
in
huawei(config-gpon-lineprofile-10)#tcont
n
a i
{ tcont-list<S><Length 1-13> }:1

r
{ <cr>|dba-profile-id<K>|dba-profile-name<K>
{Tprofile-id<U><0,512>
}:dba-profile-id

ei Command:
}:10

a w tcont 1 dba-profile-id 10

H u # Add GEM port 1 to carry Ethernet traffic streams and bind GEM port 1 to T-CONT 1.

huawei(config-gpon-lineprofile-10)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:1
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont 1
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
car<K>|priority-queue<K> }:
Command:
gem add 1 eth tcont 1

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 118

# Map the traffic stream of C-VLAN 172 to GEM port 1. The mapping index is 1.

huawei(config-gpon-lineprofile-10)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:1
{ mapping-index<U><0,7> }:1
{ e1<K>|eth-bundle<K>|eth<K>|flow-
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-
vcl<K>|transparent<K>|vlan<K> }:vlan
{ untag<K>|vlan-id<U><0,4095> }:172
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
n
gem mapping 1 1 vlan 172
it o
i c a take
tif
# After completing the configuration, run the commit command to make the configuration

r
effect.

huawei(config-gpon-lineprofile-10)#commit C e
huawei(config-gpon-lineprofile-10)#quit
&
ng
ni
# Query information about a line profile.

gpon ra
i
T }:profile-id
huawei(config)#display ont-lineprofile
{ all<K>|bound-info<K>|profile-id<K>|profile-name<K>
e i
w
{ profile-id<U><0,8192> }:10
Command:
display ont-lineprofile u
gpon a profile-id 10
H
----------------------------------------------------------------------------

:1hg8247 n
Profile-ID :10
Profile-name
:GPON ti
o
Access-type

i c a
if
----------------------------------------------------------------------------

r t:Off
FEC upstream switch :Disable
OMCC encrypt switch
Qos mode C e :PQ
Mapping mode
& :VLAN
g
Tr069 management :Disable
in 0>
----------------------------------------------------------------------------
n
a i 1>
<T-CONT DBA Profile-ID:1

T r<Gem Index 1>


<T-CONT DBA Profile-ID:10

ei |Serv-Type:ETH
--------------------------------------------------------------------

a w |Encrypt:off |Cascade:off |GEM-CAR:- |

H u |Upstream-priority-queue:0 |Downstream-priority-queue:- |
--------------------------------------------------------------------
Mapping VLAN Priority Port Port Bundle Flow Transparent
index type ID ID CAR
--------------------------------------------------------------------
1 172 - - - - - -
--------------------------------------------------------------------
----------------------------------------------------------------------------
Binding times :0
----------------------------------------------------------------------------

Step 3 Configure a service profile.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 119

# Set the service profile ID to 10 and profile name to 1hg8247.

huawei(config)#ont-srvprofile
{ epon<K>|gpon<K> }:gpon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:10
{ <cr>|profile-name<K> }:profile-name
{ profile-name<S><Length 1-32> }:1hg8247
Command:
ont-srvprofile gpon profile-id 10 profile-name 1hg8247

# Configure 4 LAN ports and 2 POTS ports for ONT 1.


o n
t i
huawei(config-gpon-srvprofile-10)#ont-port
ic a
f
{ catv<K>|eth<K>|moca<K>|pots<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:eth
t i
{ <cr>|catv<K>|moca<K>|pots<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> r}:pots
{ adaptive<K>|eth-port<U><0,8> }:4

{ adaptive<K>|pots-port<U><0,32> }:2 C e
{ <cr>|catv<K>|moca<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:
&
Command:
ng
ni
ont-port eth 4 pots 2
i
# Set the VLAN ID of POTS ports to 172.
T ra
e i
w
huawei(config-gpon-srvprofile-10)#port

q<K>|vlan<K> }:vlan u a
{ car<K>|dscp<K>|e1<K>|eth<K>|igmp-forward<K>|priority-policy<K>|q-in-

{ eth<K>|iphost<K>|moca<K> }:iphostH

n
{ q-in-q<K>|translation<K>|transparent<K>|vlanid<U><0,4095> }:172
o
t i
{ <cr>|priority<K>|prival<U><0,7>|TLS<K> }:
Command:
port vlan iphostc172
i a
Set ONT port(s) VLANifconfiguration, success: 1, failed: 0
t
er
# After completing theCconfiguration, run the commit command to make the configuration take
effect.
&
g
in
huawei(config-gpon-srvprofile-10)#commit
n
ai
huawei(config-gpon-srvprofile-10)#quit
r
T the status of a service profile.
i
# Display
e huawei(config)#display ont-srvprofile gpon profile-id 10
a w
H u ----------------------------------------------------------------------------
Profile-ID : 10
Profile-name: 1hg8247
Access-type : GPON
----------------------------------------------------------------------------
Port-type Port-number
----------------------------------------------------------------------------
POTS 2
ETH 4
TDM 0
MOCA 0
CATV 0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 120

----------------------------------------------------------------------------
TDM port type : E1
TDM service type : TDMoGem
MAC learning function switch : Enable
ONT transparent function switch : Disable
Multicast forward mode : Unconcern
Multicast forward VLAN : -
Multicast mode : Unconcern
Upstream IGMP packet forward mode : Unconcern
Upstream IGMP packet forward VLAN : -
Upstream IGMP packet priority : -
Native VLAN option : Concern
n
Upstream PQ color policy : -
t io
ica
Downstream PQ color policy : -

tif
----------------------------------------------------------------------------

r
Port-type Port-ID QinQmode PriorityPolicy Inbound Outbound
----------------------------------------------------------------------------
ETH 1 unconcern unconcern unconcern unconcern C e
ETH 2 unconcern unconcern unconcern unconcern
&
ng
ETH 3 unconcern unconcern unconcern unconcern
ETH 4 unconcern unconcern unconcern unconcern
ni
ai
----------------------------------------------------------------------------
Port-type Port-ID Dscp-mapping-table-index
T r
i
----------------------------------------------------------------------------
e
w
ETH 1 0
ETH
ETH
2
3
0
0 ua
ETH 4 0 H
IPHOST 1 0
n
io
----------------------------------------------------------------------------
t
ica
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI

f
type ID POLICY

r ti
----------------------------------------------------------------------------
IPHOST 1
Ce
Translation 1 172 - 172 - - -
----------------------------------------------------------------------------

&
Notes: * indicates transparent attribute of the vlan

ng
----------------------------------------------------------------------------

n i
Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count

ai
----------------------------------------------------------------------------

T r
ETH 1 - - - Unlimited

e i ETH
ETH
2
3
-
-
-
-
-
-
Unlimited
Unlimited

a w ETH 4 - - - Unlimited

H u ----------------------------------------------------------------------------
Binding times : 0
----------------------------------------------------------------------------

Step 4 Enable the automatic discovery function of a PON port.


# Access a PON board and enable the automatic discovery function of a PON port in the network
topology.

huawei(config)#interface
{ adsl<K>|atm<K>|csp<K>|edt<K>|emu<K>|epon<K>|eponnni<K>|eth<K>|giu<K>|gpon<K
>|gponnni<K>|h248<K>|loopback<K>|meth<K>|null<K>|opf<K>|opg<K>|scu<K>|shl<K>|
top-stm1<K>|top<K>|tunnel<K>|vdsl<K>|vlanif<K>|vrgw<K> }:gpon

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 121

{ frameid/slotid<S><Length 3-15> }:0/5


Command:
interface gpon 0/5
huawei(config-if-gpon-0/5)#port
{ dba<K>|optical-alarm-profile<K>|portid<U><0,7> }:0
{ fec<K>|laser-switch<K>|ont-auto-find<K>|ont-password-
renew<K>|range<K> }:ont-auto-find
{ switch<E><enable,disable> }:enable
Command:
port 0 ont-auto-find enable

Step 5 Query the ONTs that are automatically discovered by the PON port.
o n
t i
huawei(config-if-gpon-0/5)#display ont autofind 0
ic a
i f
---------------------------------------------------------------------------
Number : 1
e rt
C
F/S/P : 0/5/0
Ont SN : 48575443D8EBAC05
Password : 0x00000000000000000000 &
Loid :
ng
ni
Checkcode :
VendorID : HWTC
a i
Ont Version : 120D4600
T r
ei
Ont SoftwareVersion : V1R006C00S210

w
Ont EquipmentID : 247
a
Ont autofind time : 2018-04-23 15:27:36+08:00

Hu
--------------------------------------------------------------------------
Number : 2
F/S/P : 0/5/0
o n
Ont SN
t i
: 48575443D8FD8205
Password
c a
: 0x31323334353637383900(123456789)
i
:if
Loid :
Checkcode
t
r: HWTC
VendorID
Ont Version C
e : 120D4600
&
Ont SoftwareVersion : V1R006C00S210

n g time : 247
Ont EquipmentID :

n i
Ont autofind 2018-04-23 15:27:36+08:00

ai
---------------------------------------------------------------------------

T r
e# iRegister an ONT. Set the authentication mode to SN, management type to OMCI, and bind line
Step 6 Register ONT 1.

a w
H u profile 10 to service profile 10.

huawei(config-if-gpon-0/5)#ont
{ activate<K>|add<K>|alarm-policy<K>|alarm-
profile<K>|cancel<K>|confirm<K>|cos-queue-map-
profile<K>|deactivate<K>|delete<K>|factory-setting-
restore<K>|gemport<K>|ipconfig<K>|modify<K>|optical-alarm-
profile<K>|port<K>|power-shedding-config<K>|re-discovery<K>|re-
register<K>|remote-ping<K>|reset<K>|snmp-profile<K>|snmp-
route<K>|statistics<K>|tdm-vcl<K>|tr069-server-config<K>|voip<K> }:add
{ portid<U><0,7> }:0

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 122

{ loid-auth<K>|ontid<U><0,127>|password-auth<K>|protect-side<K>|sn-
auth<K> }:1
{ loid-auth<K>|password-auth<K>|protect-side<K>|sn-auth<K> }:sn-auth
{ sn-value<S><Length 13-16> }:48575443D8EBAC05
{ omci<K>|password-auth<K>|snmp<K> }:omci
{ <cr>|desc<K>|ont-lineprofile-id<K>|ont-lineprofile-name<K>|ont-srvprofile-
id<K>|ont-srvprofile-name<K> }:ont-lineprofile-id
{ profile-id<U><0,8192> }:10
{ <cr>|desc<K>|ont-srvprofile-id<K>|ont-srvprofile-name<K> }:ont-srvprofile-
id 10
{ <cr>|desc<K> }:
Command:
n
ont add 0 1 sn-auth 48575443D8EBAC05 omci ont-lineprofile-id 10
t io
ica
ont-srvprofile-id 10

tif
Number of ONTs that can be added: 1, success: 1

r
PortID :0, ONTID :1

# Query the status of all ONTs. C e


&
ng
huawei(config-if-gpon-0/5)#display ont info 0 all

ni
----------------------------------------------------------------------------

ai
F/S/P ONT SN Control Run Config Match Protect
ID flag state state state
T r
side

i
----------------------------------------------------------------------------
e
w
0/ 5/0 1 48575443D8EBAC05 active online normal match no

F/S/P ONT-ID Description ua


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

H
----------------------------------------------------------------------------
0/ 5/0 1 ONT_NO_DESCRIPTION
n
io
----------------------------------------------------------------------------
t
ica
In port 0/ 5/0 , the total of ONTs are: 1, online: 1

tif
# To query the details of an ONT, run the display ont info 0 1 command.
r
e VLAN of an ONT IPhost port.
Step 7 Configure theCdefault
&
g
huawei(config-if-gpon-0/5)#ont

in
{ activate<K>|add<K>|alarm-policy<K>|alarm-
n
i
profile<K>|cancel<K>|confirm<K>|cos-queue-map-
a
r
profile<K>|deactivate<K>|delete<K>|factory-setting-
T
i
restore<K>|gemport<K>|ipconfig<K>|modify<K>|optical-alarm-
e register<K>|remote-ping<K>|reset<K>|snmp-profile<K>|snmp-
profile<K>|port<K>|power-shedding-config<K>|re-discovery<K>|re-
w
a route<K>|statistics<K>|tdm-vcl<K>|tr069-server-config<K>|voip<K> }:port
Hu { attribute<K>|car<K>|igmp-forward-mode<K>|multicast-forward<K>|native-
vlan<K>|vlan<K> }:native-vlan
{ portid<U><0,7> }:0
{ ontid<U><0,127> }:1
{ eth<K>|iphost<K>|moca<K> }:iphost
{ priority<K>|vlan<K> }:vlan
{ vlanid<U><0,4095> }:172
{ <cr>|priority<K> }:
Command:
ont port native-vlan 0 1 iphost vlan 172

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 123

Step 8 Configure a voice VLAN.


# Configure voice VLAN 172.

huawei(config)#vlan
{ attrib<K>|bind<K>|desc<K>|forwarding<K>|loop<K>|name<K>|packet-
policy<K>|priority<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1-
256>|vlanid<U><2,4093> }:172
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart
Command:
vlan 172 smart

n
# Add an upstream interface to the voice VLAN.
t io
ica
tif
huawei(config)#port
{ desc<K>|mode<K>|vlan<K> }:vlan
{ name<K>|vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:172
e r
{ frameid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }:0/19
C
{ portlist<S><Length 1-256> }:0
&
ng
Command:
port vlan 172 0/19 0
ni
# Query VLAN 172.
r ai
i T
huawei(config)#display vlan 172
e
{ <cr>|inner-vlan<K>|to<K> }:
a w
Command:
display vlan 172 H u
n
VLAN ID: 172

io
VLAN name: VLAN_172
t
ica
VLAN type: smart

f
VLAN attribute: common
VLAN description:
r ti
C e
VLAN forwarding mode in control board: VLAN-MAC
VLAN forwarding mode: VLAN-MAC

&
VLAN broadcast packet forwarding policy: forward

ng
VLAN unknown multicast packet forwarding policy: forward

i
VLAN unknown unicast packet forwarding policy: forward
n
ai
VLAN bind service profile ID: -

T r
VLAN bind RAIO profile index: -

i
VLAN priority: -
e -------------------------------

a w F /S /P Native VLAN State

H u -------------------------------
0 /19/0 1 up
-------------------------------
Standard port number: 1
Service virtual port number: 0

Step 9 Configure Layer 3 interfaces.


# Set the IP addresses of Layer 3 interfaces to 172.16.71.6 /24.

huawei(config)#interface

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 124

{ adsl<K>|atm<K>|csp<K>|edt<K>|emu<K>|epon<K>|eponnni<K>|eth<K>|giu<K>|gpon<K
>|gponnni<K>|h248<K>|loopback<K>|meth<K>|null<K>|opf<K>|opg<K>|scu<K>|shl<K>|
top-stm1<K>|top<K>|tunnel<K>|vdsl<K>|vlanif<K>|vrgw<K> }:vlanif
{ <1-4093> }:172
Command:
interface vlanif 172
huawei(config-if-vlanif172)#ip
{ address<K>|binding<K>|verify<K> }:address
{ ip_addr<I><X.X.X.X> }:172.16.71.6
{ integer<U><0,32>|ip_addr<I><X.X.X.X> }:24
{ <cr>|description<K>|sub<K> }:
Command:
n
ip address 172.16.71.6 24
t io
ica
tif
Step 10 Configure service ports for the voice VLAN.

e r
# Set the VLAN ID to 100, PON port ID to 0/5/0, ONT ID to 1, GEM port ID to 1, and C-VLAN ID
to 172 for traffic streams. C
&
ng
huawei(config)#service-port
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-
ni
ai
port<K>|vlan<K> }:vlan
{ aoe<K>|name<K>|vlanid<U><1,4093> }:172
T r
{ frameid/slotid/portid<S><Length 5-18> }:0/5/0
e i
{ adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|port<K>|shdsl<K>|vdsl<K> }:gpon

{ ont<K> }:ont
a w
{ ontid<U><0,127> }:1
{ eth<K>|gemport<K>|iphost<K> }: gemport H u
n
{ gemindex<U><0,1023> }:1

io
{ <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag-
t
ica
transform<K> }:multi-service
{ user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan

tif
{ other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:172

e r
{ <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:
Command:
C
&
service-port vlan 172 gpon 0/5/0 ont 1 gemport 1 multi-service

ng
user-vlan 172

n i
ai
# Query the status of service ports.

T r
i
huawei(config)#display service-port all
e { <cr>|sort-by<K>||<K> }:
w
ua
Command:
display service-port all
H Switch-Oriented Flow List
----------------------------------------------------------------------------
INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE
ID ATTR TYPE TYPE PARA
----------------------------------------------------------------------------
0 172 common gpon 0/5 /0 1 1 vlan 172 - - up
----------------------------------------------------------------------------
Total : 1 (Up/Down : 1/0)

# The status of service ports is up.

Step 11 Query voice VLAN 172.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 125

# Run the display vlan 172 command to query the status of upstream and downstream interfaces
in VLAN 172.

huawei(config)#display vlan 172


{ <cr>|inner-vlan<K>|to<K> }:
Command:
display vlan 172
VLAN ID: 172
VLAN name: VLAN_172
VLAN type: smart
VLAN attribute: common
VLAN description:
n
VLAN forwarding mode in control board: VLAN-MAC
t io
ica
VLAN forwarding mode: VLAN-MAC

tif
VLAN broadcast packet forwarding policy: forward

r
VLAN unknown multicast packet forwarding policy: forward
VLAN unknown unicast packet forwarding policy: forward
VLAN bind service profile ID: - C e
VLAN bind RAIO profile index: -
&
ng
VLAN priority: -
-------------------------------
ni
ai
F /S /P Native VLAN State
-------------------------------
T r
0 /19/0 1 up
e i
w
-------------------------------
Standard port number: 1
ua
-----------------------------------------------------------
H
INDEX TYPE STATE F /S /P VPI VCI FLOWTYPE FLOWPARA

n
-----------------------------------------------------------
0 gpon up 0 /5 /0 1 1
t iovlan 172

ica
-----------------------------------------------------------

f
Service virtual port number: 1

r ti
Note: F--Frame, S--Slot, P--Port,

C e
VPI indicates ONT ID for PON, VCI indicates GEM index for GPON,
v/e--vlan/encap, pritag--priority-tagged

&
ng
# Upstream port 0/19/0 and service port are in the normal state.

n i
ai
Step 12 Enable ARP proxy globally.

T r
i
huawei(config)#arp
e { aging-mode<K>|aging-time<K>|conflict<K>|gratuitous-
w
ua
arp<K>|ip_addr<I><X.X.X.X>|learning<K>|proxy<K> }:proxy
{ disable<K>|enable<K> }:enable
H Command:
arp proxy enable

Step 13 Enable ARP proxy on Layer 3 interfaces.

huawei(config)#interface vlanif 172


huawei(config-if-vlanif172)#arp
{ proxy<K> }:proxy
{ disable<K>|enable<K> }:enable
{ <cr>|subvlan<K> }:
Command:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 126

arp proxy enable

Step 14 Configure the default route from the OLT to the softswitch.

huawei(config)#ip route-static 0.0.0.0 0.0.0.0 172.16.71.254


{ <cr>|description<K>|permanent<K>|preference<K>|tag<K> }:
Command:
ip route-static 0.0.0.0 0.0.0.0 172.16.71.254

Configure ONT 2 by performing operations similar to those on ONT 1.


The following table describes common commands.
n
Table 6-3 Common commands
t io
ica
tif
Common Command Function
display dba-profile Queries information about DBA profiles in the system.
e r
display ont-lineprofile C
Queries information about a GPON ONT line profile that has taken
&
effect. The information includes the following: binding

i ng
relationship between a T-CONT and a DBA profile, QoS mode of a
n
ai
traffic stream, and mapping between a GEM port and services on

r
the ONT.
display ont-srvprofile i T
Queries information about a GPON ONT service profile.
e
display ont autofind
a w
Queries the basic information of an automatically discovered ONT
in the system.
H u
display ont info Queries ONT information, including the current ONT status, ONT

o n
settings, and ONT T-CONT information.
i
t information about a VLAN.
display vlan
c a
Queries
i
display service-port
r tifQueries information about a service port.
C e
&
ng Procedure (on the ONT Side)
6.2.3 Configuration
i
i n
Step 1 aLog in to the HG8247 as follows:
i Tar network cable to connect a PC to the HG8247 and set the IP address of the PC to
e192.168.100.100/24.
Use
w
a Enter http://192.168.100.1/ in the address bar of a browser on the PC.
Hu Use user name telecomadmin and password admintelecom to log in to the HG8247.
The login page is displayed, as shown in the following.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 127

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
Step 2 On the main menu of the HG8247, choose WAN > WAN Configuration. On the
a w
page that is displayed, configure the WAN port on the ONT.
Set the WAN mode to Route WAN, Service u
H to VOIP, VLAN ID to 172, IP address to
type
172.16.71.11/24, and Default gateway to 172.16.71.254. Then, click Apply.
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 128

Step 3 On the main menu of the HG8247, choose Route > Default Route Configuration.
On the page that is displayed, configure the route.

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
u
H Voice > VoIP Advanced Configuration.
Step 4 On the main menu of the HG8247, choose
On the page that is displayed, configure voice interfaces on the ONT.
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
Hu

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 129

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
it o
Step 5 On the main menu of the HG8247, choose Voice > VoIP Basic Configuration. On
c
the page that is displayed,
i a configure voice users.
r tif
Ce
&
g
n in
i
T ra
e i
a w
H u

Step 6 On the main menu of the HG8247, choose Status > VoIP Information. The
configuration results are displayed.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 130

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
6.2.4 Experiment Verification e
w
aports on different ONTs and make calls to each
H u
Verification method: Connect 2 telephones to POTS
other. The calls can be set up.
n
it o
i c a
6.3 Configuration Reference
r tif
Ce
Configurations on the OLT & Side
i ng
in add profile-id 10 type1 fix 2048
#

# r
a
dba-profile

i T
e tcont 1 dba-profile-id 10
ont-lineprofile gpon profile-id 10 profile-name 1hg82471

w
a gem add 1 eth tcont 1
H u gem mapping 1 1 vlan 172
commit
quit
#
ont-srvprofile gpon profile-id 10 profile-name 1hg8247
ont-port eth 4 pots 2
port vlan iphost 172
commit
quit
#
interface gpon 0/5
port 0 ont-auto-find enable

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 131

#
ont add 0 1 sn-auth 48575443D8EBAC05 omci ont-lineprofile-id 10 ont-
srvprofile-id 10
#
ont port native-vlan 0 1 iphost vlan 172
quit
#
vlan 172 smart
port vlan 172 0/19 0
interface vlanif 172
ip address 172.16.71.6 24
quit
n
service-port 1 vlan 172 gpon 0/5/0 ont 1 gemport 1 multi-service user-vlan
t io
ica
172

tif
#

r
arp proxy enable
interface vlanif 172
arp proxy enable C e
quit
&
ng
#
ip route-static 0.0.0.0 0.0.0.0 172.16.71.254
ni
r ai
i T
6.4 Quiz e
a w
If ARP proxy is disabled on 2 ONTs connected touthe same PON port, can they communicate with
each other? If not, why? H
Does ARP proxy need to be enabled for 2nONTs on different PONs?
t io
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 132

7 FTTB GPON SIP Service Configuration

7.1 Experiment Introduction n


t io
7.1.1 About This Experiment ica
if
rt
Ce
In this experiment, OLT and ONU data is configured to enable 2 users on different MDUs on the
same PON to make voice calls.
&
7.1.2 Objectives g
n in
i
Understand basic GPON principles.
ra

T
ei
 Understand basic VoIP principles.
Understand GPON data profiles.
w

 Be able to configure MDU data.


u a
 Be able to configure voice serviceH
profiles.
 Master the overall process ofnconfiguring voice services.

t io
7.1.3 Networking i c a
r tifGPON SIP configuration experiment topology
Ce
Figure 7-1 FTTB

&
n g Soft switch

n i
i
ra
Telephone1
T
ei Switch

u aw PC1
MDU1

Splitter
Telephone2
OLT

PC2 MDU2

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 133

7.1.4 Data Plan


In the preceding VoIP configuration scenario, the following devices are used:
Telephones 1 and 2: common phones
PC 1 and PC 2: running Windows
ONT 1 and ONT 2: HG8247
OLT: MA5600T
Switch: S3700
Softswitch: Soft3000
n
Table 7-1 FTTB VoIP data plan it o
c a
ONT2 iData
Configuration Item ONT1 Data Configuration Item
f
tismart
r
Ce
OLT SVLAN 172 and smart OLT SVLAN 172 and

&
Upstream OLT port 0/19/0 Upstream OLT port 0/19/0
Downstream OLT port 0/5/0
ng
Downstream OLT port 0/5/0

ini
a
ONT ID and SN 3, SN ONT ID and SN 4, SN
48575443F43FF304
T r 48575443F43FA304

T-CONT and DBA 1, DBA profile 30 ei and DBA


T-CONT 2, DBA profile 40
w
aGEM port
GEM port 3
u
H ONT C-VLAN
4

ONT C-VLAN 172 172


n
it o
Table 7-2 Data
i c a plan for an FTTB VoIP voice server
f
Configuration Item rti ONT1 Data Configuration Item ONT2 Data

SIP server
e
C 172.16.71.253 Voice gateway 172.16.71.254/24
& 5060
SIP server port
g Phone number 2104005,2014006

n inof local SIP 172.16.71.13/24 User name/Password 2104005/2104000,


ai
IP addresses

T r
terminals 172.16.71.14/24 2104006/2104000

ei
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 134

7.2 Task Configuration

7.2.1 Configuration Process


Figure 7-2 Flowchart of configuring FTTB GPON SIP

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
i ng
n
rai
i T
e
w
7.2.2aConfiguration Procedure (on the OLT Side)
Hu The following steps describe how to configure MDU 1.

Step 1 Configure a DBA profile.


# Run the display dba-profile command to query existing DBA profiles in the system. If existing
DBA profiles do not meet the requirements, run the dba-profile add command to add a DBA
profile. Set the profile ID to 30, bandwidth type to type1, and bandwidth to 1024 kbit/s.

huawei(config)#dba-profile
{ add<K>|delete<K>|modify<K> }:add
{ profile-id<K>|profile-
name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 135

{ profile-id<U><10,512> }:30
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type1
{ fix<K> }:fix
{ fix-bandwidth<U><128,10000000> }:1024
{ <cr>|bandwidth_compensate<K> }:
Command:
dba-profile add profile-id 30 type1 fix 1024
Adding a DBA profile succeeded
Profile ID : 30
Profile name: dba-profile_30

# Display the status of a DBA profile.


n
t io
ica
huawei(config)#display dba-profile profile-id 30

tif
-----------------------------------------------------------------

r
Profile-name : dba-profile_30
Profile-ID:
type: 1
30
C e
Bandwidth compensation: No
&
ng
Fix(kbps): 1024
Assure(kbps): 0
ni
ai
Max(kbps): 0
bind-times: 0
T r
i
-----------------------------------------------------------------
e
Step 2 Configure a line profile. a w
u
H 3ma5620 respectively.
# Set the ID and name of a line profile to 30 and

huawei(config)#ont-lineprofile n
t io
a
{ epon<K>|gpon<K> }:gpon

i c
{ <cr>|profile-id<K>|profile-name<K>
{ profile-id<U><0,8192>f }:30
}:profile-id

r ti }:profile-name
{ <cr>|profile-name<K>
C e 1-32> }:3ma5620
{ profile-name<S><Length
Command:
&
g
ont-lineprofile gpon profile-id 30 profile-name 3ma5620

n in 0 to DBA profile 30.


i
# Bind T-CONT
a
T r
i
huawei(config-gpon-lineprofile-30)#tcont
e { <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id 30
{ tcont-list<S><Length 1-13> }:0

a w
H u Command:
tcont 0 dba-profile-id 30

# Bind T-CONT 1 to DBA profile 30.

huawei(config-gpon-lineprofile-30)#tcont
{ tcont-list<S><Length 1-13> }:1
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id
{ profile-id<U><0,512> }:30
Command:
tcont 1 dba-profile-id 30

# Add GEM port 0 to carry Ethernet traffic streams and bind GEM port 0 to T-CONT 0.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 136

huawei(config-gpon-lineprofile-30)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:0
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:0
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
car<K>|priority-queue<K> }:
Command:
gem add 0 eth tcont 0

# Add GEM port 3 to carry Ethernet traffic streams and bind GEM port 3 to T-CONT 1.
n
t io
ica
huawei(config-gpon-lineprofile-30)#gem

tif
{ add<K>|delete<K>|mapping<K>|modify<K> }:add

r
{ gem-index<U><0,1023> }:3
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont C e
{ tcont-id<U><0,127> }:1
&
ng
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
car<K>|priority-queue<K> }:
ni
ai
Command:
gem add 3 eth tcont 1
T r
e i
# Map traffic streams of C-VLAN 500 to GEM port 0. The mapping index is 0.
w
huawei(config-gpon-lineprofile-30)#gemua
{ add<K>|delete<K>|mapping<K>|modify<K> H }:mapping
{ gem-index<U><0,1023> }:0
o n
{ mapping-index<U><0,7> }:0
t i
{ e1<K>|eth-bundle<K>|eth<K>|flow-
c a
fi
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-

r t
vcl<K>|transparent<K>|vlan<K>i }:vlan

C e
{ untag<K>|vlan-id<U><0,4095> }:500
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
&
g
gem mapping 0 0 vlan 500

n instreams of C-VLAN 172 to GEM port 3. The mapping index is 1.


ai
# Map traffic

T r
i huawei(config-gpon-lineprofile-30)#gem
e { gem-index<U><0,1023>
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping

a w }:3

H u { mapping-index<U><0,7> }:1
{ e1<K>|eth-bundle<K>|eth<K>|flow-
car<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-
vcl<K>|transparent<K>|vlan<K> }:vlan
{ untag<K>|vlan-id<U><0,4095> }:172
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 3 1 vlan 172

# After completing the configuration, run the commit command to make the configuration take
effect.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 137

huawei(config-gpon-lineprofile-30)#commit
huawei(config-gpon-lineprofile-30)#quit

# Query information about a line profile.

huawei(config)#display ont-lineprofile gpon profile-id 30


----------------------------------------------------------------------------
Profile-ID :30
Profile-name :3ma5620
Access-type :GPON
----------------------------------------------------------------------------
FEC upstream switch :Disable
n
OMCC encrypt switch :Off
t io
ica
Qos mode :PQ

tif
Mapping mode :VLAN

r
Tr069 management :Disable
----------------------------------------------------------------------------
<T-CONT 0> DBA Profile-ID:30 C e
<Gem Index 0>
&
ng
--------------------------------------------------------------------
|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |
ni
ai
|Upstream-priority-queue:0 |Downstream-priority-queue:- |

T r
--------------------------------------------------------------------
Mapping VLAN Priority Port
i
Port Bundle Flow Transparent
e
w
index type ID ID CAR

0 500 - - - - - u
-a
--------------------------------------------------------------------

H
--------------------------------------------------------------------
<T-CONT 1> DBA Profile-ID:30
n
<Gem Index 3>
t io
ica
--------------------------------------------------------------------

f
|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |

r ti
|Upstream-priority-queue:0 |Downstream-priority-queue:- |

C e
--------------------------------------------------------------------
Mapping VLAN Priority Port Port Bundle Flow Transparent
index
& type ID ID CAR

ng
--------------------------------------------------------------------
1
n i172 - - - - - -

ai
--------------------------------------------------------------------

T r
----------------------------------------------------------------------------

e i Binding times :0
----------------------------------------------------------------------------

a w
H u Step 3 Enable the automatic discovery function of a PON port.
# Access a PON board and enable the automatic discovery function of a PON port in the network
topology.

huawei(config)#interface gpon
{ frameid/slotid<S><Length 3-15> }:0/5
Command:
interface gpon 0/5
huawei(config-if-gpon-0/5)#port
{ dba<K>|optical-alarm-profile<K>|portid<U><0,7> }:0
{ fec<K>|laser-switch<K>|ont-auto-find<K>|ont-password-
renew<K>|range<K> }:ont-auto-find

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 138

{ switch<E><enable,disable> }:enable
Command:
port 0 ont-auto-find enable

Step 4 Query MDUs automatically discovered by a PON port.


huawei(config-if-gpon-0/5)#display ont autofind 0
---------------------------------------------------------------------------
Number : 1
F/S/P : 0/5/0
Ont SN : 48575443D8FD8205
Password : 0x31323334353637383900(123456789)
n
Loid :
t io
ica
Checkcode :

tif
VendorID : HWTC
Ont Version : 120D4600
Ont SoftwareVersion : V1R006C00S210 e r
Ont EquipmentID : 247 C
Ont autofind time : 2018-04-23 15:49:24+08:00 &
ng
---------------------------------------------------------------------------
Number : 2
ni
F/S/P : 0/5/0
r ai
T
Ont SN : 48575443F43FF304
Password
e
: 0x30303030303030303030(0000000000)
i
w
Loid : 000000000000000000000000
Checkcode : 000000000000
ua
H
VendorID : HWTC
Ont Version : MA5620 VER.B
Ont SoftwareVersion : V8R312 C00
n
Ont EquipmentID
t io
: SmartAX MA5620

ica
Ont autofind time : 2018-04-23 16:10:01+08:00

if
---------------------------------------------------------------------------

r t
Step 5 Register an MDU.
C e
&
# Register an MDU. Set the authentication mode to SN, management type to SNMP, and bind line
g
profile 30 to the MDU.

n in
ai
huawei(config-if-gpon-0/5)#ont

T r
{ activate<K>|add<K>|alarm-policy<K>|alarm-

i profile<K>|cancel<K>|confirm<K>|cos-queue-map-
e restore<K>|gemport<K>|ipconfig<K>|modify<K>|optical-alarm-
profile<K>|deactivate<K>|delete<K>|factory-setting-

a w
Hu
profile<K>|port<K>|power-shedding-config<K>|re-discovery<K>|re-
register<K>|remote-ping<K>|reset<K>|snmp-profile<K>|snmp-
route<K>|statistics<K>|tdm-vcl<K>|tr069-server-config<K>|voip<K> }:add
{ portid<U><0,7> }:0
{ loid-auth<K>|ontid<U><0,127>|password-auth<K>|protect-side<K>|sn-
auth<K> }:3
{ loid-auth<K>|password-auth<K>|protect-side<K>|sn-auth<K> }:sn-auth
{ sn-value<S><Length 13-16> }:48575443F43FF304
{ omci<K>|password-auth<K>|snmp<K> }:snmp
{ <cr>|desc<K>|ont-lineprofile-id<K>|ont-lineprofile-name<K> }:ont-
lineprofile-id
{ profile-id<U><0,8192> }:30

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 139

{ <cr>|desc<K> }:
Command:
ont add 0 3 sn-auth 48575443F43FF304 snmp ont-lineprofile-id 30
Number of ONTs that can be added: 1, success: 1
PortID :0, ONTID :3

# Query the status of ONTs.

huawei(config-if-gpon-0/5)#display ont info 0 all


----------------------------------------------------------------------------
F/S/P ONT SN Control Run Config Match Protect
ID flag state state state side
n
----------------------------------------------------------------------------
t io
ica
0/ 5/0 3 48575443F43FF304 active online normal match no

tif
----------------------------------------------------------------------------

r
F/S/P ONT-ID Description
----------------------------------------------------------------------------
0/ 5/0 3 ONT_NO_DESCRIPTION C e
&
----------------------------------------------------------------------------

ng
In port 0/ 5/0 , the total of ONTs are: 1, online: 1

ni
Step 6 Configure management VLAN 500.
r ai
i T
# Configure management VLAN 500, add upstream interfaces to VLAN 500, and set the IP address
of VLAN 500 to 10.1.1.1 24. e
a w
huawei(config)#vlan
H u
{ attrib<K>|bind<K>|desc<K>|forwarding<K>|loop<K>|name<K>|packet-

n
policy<K>|priority<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1-
256>|vlanid<U><2,4093> }:500
t i o
a
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart

vlan 500 smart ifi


Command:
c
huawei(config)#port rt
C e
{ desc<K>|mode<K>|vlan<K> }:vlan

&
{ name<K>|vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:500

g
{ frameid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }:0/19

in
{ portlist<S><Length 1-256> }:0
n
i port vlan 500 0/19 0
Command:
a
T r
ei{>|gponnni<K>|h248<K>|loopback<K>|meth<K>|null<K>|opf<K>|opg<K>|scu<K>|shl<K>|
huawei(config)#interface
adsl<K>|atm<K>|csp<K>|edt<K>|emu<K>|epon<K>|eponnni<K>|eth<K>|giu<K>|gpon<K

a w
H u top-stm1<K>|top<K>|tunnel<K>|vdsl<K>|vlanif<K>|vrgw<K> }:vlanif
{ <1-4093> }:500
Command:
interface vlanif 500
huawei(config-if-vlanif500)#ip address
{ ip_addr<I><X.X.X.X> }:10.1.1.1
{ integer<U><0,32>|ip_addr<I><X.X.X.X> }:24
{ <cr>|description<K>|sub<K> }:
Command:
ip address 10.1.1.1 24

Step 7 Configure service channels for management VLAN 500.

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 140

# Set the VLAN ID of service ports to 500, PON port ID to 0/5/0, ONT ID to 3, GEM port ID to 0,
and C-VLAN ID to 500.

huawei(config)#service-port
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-
port<K>|vlan<K> }:vlan
{ aoe<K>|name<K>|vlanid<U><1,4093> }:500
{ adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|port<K>|shdsl<K>|vdsl<K> }:gpon
{ frameid/slotid/portid<S><Length 5-18> }:0/5/0
{ ont<K> }:ont
{ ontid<U><0,127> }:3
{ eth<K>|gemport<K>|iphost<K> }:gemport
n
{ gemindex<U><0,1023> }:0
t io
ica
{ <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag-

tif
transform<K> }:multi-service

r
{ user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan
{ other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:500
{ <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }: C e
Command:
&
ng
service-port vlan 500 gpon 0/5/0 ont 3 gemport 0 multi-service
user-vlan 500
ni
# Display the port status of a service port. r ai
i T
e
w
huawei(config)#display service-port all
{ <cr>|sort-by<K>||<K> }:
Command: ua
display service-port all H
Switch-Oriented Flow List
n
io
----------------------------------------------------------------------------
t
ica
INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE

f
ID ATTR TYPE TYPE PARA

r ti
----------------------------------------------------------------------------

C e
1 500 common gpon 0/5 /0 3 0 vlan 500 - - up
----------------------------------------------------------------------------

&
Total : 1 (Up/Down : 1/0)

g
in an in-band management VLAN and IP address for the MDU.
Step 8 Configure
n
a i IP address 10.1.1.3 24 to the MDU on the OLT. Set the IP address of the gateway to
r
# Deliver
T and VLAN ID to 500.
i
10.1.1.1,
e huawei(config)#interface gpon 0/5
w
a huawei(config-if-gpon-0/5)#ont
Hu { activate<K>|add<K>|alarm-policy<K>|alarm-
profile<K>|cancel<K>|confirm<K>|cos-queue-map-
profile<K>|deactivate<K>|delete<K>|factory-setting-
restore<K>|gemport<K>|ipconfig<K>|modify<K>|optical-alarm-
profile<K>|port<K>|power-shedding-config<K>|re-discovery<K>|re-
register<K>|remote-ping<K>|reset<K>|snmp-profile<K>|snmp-
route<K>|statistics<K>|tdm-vcl<K>|tr069-server-config<K>|voip<K> }:ipconfig
{ portid<U><0,7> }:0
{ ontid<U><0,127> }:3
{ dhcp<K>|dscp-mapping-table<K>|ip-index<K>|pppoe<K>|static<K> }:static
{ <cr>|gateway<K>|ip-address<K>|pri-dns<K>|slave-dns<K>|vlan<K> }:ip-address
{ ip-address<I><X.X.X.X> }:10.1.1.3

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 141

{ mask<K> }:mask
{ mask<M><X.X.X.X> }:255.255.255.0
{ <cr>|gateway<K>|pri-dns<K>|slave-dns<K>|vlan<K> }:gateway
{ gateway<I><X.X.X.X> }:10.1.1.1
{ <cr>|pri-dns<K>|slave-dns<K>|vlan<K> }:vlan
{ vlanid<U><0,4095> }:500
{ <cr>|pri-dns<K>|priority<K>|slave-dns<K> }:
Command:
ont ipconfig 0 3 static ip-address 10.1.1.3 mask 255.255.255.0
gateway 10.1.1.1 vlan 500

Step 9 Test the connectivity between the OLT and the MDU.
n
t io
ica
huawei(config)#ping 10.1.1.3

tif
PING 10.1.1.3: 56 data bytes, press CTRL_C to break
Reply from 10.1.1.3: bytes=56 Sequence=1 ttl=255 time=19 ms
Reply from 10.1.1.3: bytes=56 Sequence=2 ttl=255 time=8 ms e r
Reply from 10.1.1.3: bytes=56 Sequence=3 ttl=255 time=8 ms C
Reply from 10.1.1.3: bytes=56 Sequence=4 ttl=255 time=8 ms &
ng
Reply from 10.1.1.3: bytes=56 Sequence=5 ttl=255 time=8 ms
--- 10.1.1.3 ping statistics ---
ni
5 packet(s) transmitted
r ai
T
5 packet(s) received
0.00% packet loss
e i
w
round-trip min/avg/max = 8/10/19 ms

Step 10 Configure a voice VLAN. ua


H
n
# Configure voice service VLAN 172 and add upstream ports to the VLAN.
o
t i
huawei(config)#vlan
c a
fi
{ attrib<K>|bind<K>|desc<K>|forwarding<K>|loop<K>|name<K>|packet-

r t i
policy<K>|priority<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1-

C e
256>|vlanid<U><2,4093> }:172
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart
Command:
&
g
vlan 172 smart
in
huawei(config)#port
n
a i
{ desc<K>|mode<K>|vlan<K> }:vlan
r
{ name<K>|vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:172
{Tframeid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }:0/19
i
e { Command:
portlist<S><Length 1-256> }:0

a w
H u port vlan 172 0/19 0

Step 11 Configure Layer 3 interfaces for the service VLAN.


# Set the IP addresses of Layer 3 interfaces to 172.16.71.6/24.

huawei(config)#interface
{ adsl<K>|atm<K>|csp<K>|edt<K>|emu<K>|epon<K>|eponnni<K>|eth<K>|giu<K>|gpon<K
>|gponnni<K>|h248<K>|loopback<K>|meth<K>|null<K>|opf<K>|opg<K>|scu<K>|shl<K>|
top-stm1<K>|top<K>|tunnel<K>|vdsl<K>|vlanif<K>|vrgw<K> }:vlanif
{ <1-4093> }:172
Command:
interface vlanif 172

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 142

huawei(config-if-vlanif172)#ip address 172.16.71.6 24


{ <cr>|description<K>|sub<K> }:
Command:
ip address 172.16.71.6 24

Step 12 Configure service ports for the voice VLAN.


huawei(config)#service-port
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-
port<K>|vlan<K> }:vlan
{ aoe<K>|name<K>|vlanid<U><1,4093> }:172
{ adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|port<K>|shdsl<K>|vdsl<K> }:gpon
n
{ frameid/slotid/portid<S><Length 5-18> }:0/5/0
t io
ica
{ ont<K> }:ont

tif
{ ontid<U><0,127> }:3
{ eth<K>|gemport<K>|iphost<K> }: gemport
{ gemindex<U><0,1023> }:3
e r
{ <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag- C
transform<K> }:multi-service &
ng
{ user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan

ni
{ other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:172

ai
{ <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:
r
T
Command:

e i
service-port vlan 172 gpon 0/5/0 ont 3 gemport 3 multi-

w
service user-vlan 172
huawei(config)#display service-port all
ua
H
{ <cr>|sort-by<K>||<K> }:
Command:
display service-port all
n
Switch-Oriented Flow List
t io
ica
----------------------------------------------------------------------------
INDEX VLAN VLAN
ti f
PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE

r
ID ATTR TYPE TYPE PARA

Ce
----------------------------------------------------------------------------
1 500 common gpon 0/5 /0 3 0 vlan 500 - - up
&
2 172 common gpon 0/5 /0 3 3 vlan 172 - - up

ng
----------------------------------------------------------------------------

ni
Total : 2 (Up/Down : 2/0)

ai
Tr
Step 13 Query information about service VLAN 172.
i
e huawei(config)#display
aw
vlan 172

Hu
{ <cr>|inner-vlan<K>|to<K> }:
Command:
display vlan 172
VLAN ID: 172
VLAN name: VLAN_172
VLAN type: smart
VLAN attribute: common
VLAN description:
VLAN forwarding mode in control board: VLAN-MAC
VLAN forwarding mode: VLAN-MAC
VLAN broadcast packet forwarding policy: forward
VLAN unknown multicast packet forwarding policy: forward
VLAN unknown unicast packet forwarding policy: forward

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 143

VLAN bind service profile ID: -


VLAN bind RAIO profile index: -
VLAN priority: -
-------------------------------
F /S /P Native VLAN State
-------------------------------
0 /19/0 1 up
-------------------------------
Standard port number: 1
-----------------------------------------------------------
INDEX TYPE STATE F /S /P VPI VCI FLOWTYPE FLOWPARA
-----------------------------------------------------------
n
3 gpon up 0 /5 /0 3 3 vlan 172
t io
ica
-----------------------------------------------------------

tif
Service virtual port number: 2

r
Note: F--Frame, S--Slot, P--Port,
VPI indicates ONT ID for PON, VCI indicates GEM index for GPON,
v/e--vlan/encap, pritag--priority-tagged C e
&
Step 14 Enable ARP proxy globally.
ng
ini
a
huawei(config)#arp

T
{ aging-mode<K>|aging-time<K>|conflict<K>|gratuitous- r
ei
arp<K>|ip_addr<I><X.X.X.X>|learning<K>|proxy<K> }:proxy

w
{ disable<K>|enable<K> }:enable
Command:
a
Hu
arp proxy enable

n
Step 15 Enable ARP proxy on Layer 3 interfaces.
o
t i
huawei(config)#interface vlanif
c a 172

i fi
huawei(config-if-vlanif172)#arp
t
{ proxy<K> }:proxy
e r }:enable
C}:
{ disable<K>|enable<K>
{ <cr>|subvlan<K>
Command:
arp g
&
in
proxy enable

n
r ai
Step 16 Configure the default route from the OLT to the softswitch.

i T
e { <cr>|description<K>|permanent<K>|preference<K>|tag<K> }:
huawei(config)#ip route-static 0.0.0.0 0.0.0.0 172.16.71.254

a w
Hu
Command:
ip route-static 0.0.0.0 0.0.0.0 172.16.71.254

Configure MDU 2 by performing operations similar to those of MDU 1.

7.2.3 Configuration Procedure (on the MDU Side)


The following steps describe how to configure MDU 1.

Step 1 Log in to MDU 1.


huawei(config)#telnet 10.1.1.3
{ <cr>|service-port<U><1,65535> }:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 144

Command:
telnet 10.1.1.3
Press CTRL_] to quit telnet mode
Trying 10.1.1.3 ...
Connected to 10.1.1.3 ...
>>User name:root
>>User password:mduadmin
Huawei Integrated Access Software (MA5620).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2012. All rights reserved.
MA5620>
User root has used a default password. Change the password in time.

n
Step 2 Create service VLAN 172 and add upstream ports to VLAN 172.
t io
ica
tif
MA5620(config)#vlan
{ attrib<K>|bind<K>|desc<K>|priority<K>|reserve<K>|service-profile<K>|vlan-
list<S><Length 1-256>|vlanid<U><2,4093> }:172
e r
{ <cr>|to<K>|vlantype<E><mux,standard,smart> }:smart C
Command: &
ng
vlan 172 smart
MA5620(config)#port
ni
ai
{ desc<K>|mode<K>|vlan<K> }:vlan
{ vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:172
T r
{ frame/slot<S><Length 1-15>|to<K> }:0/0
e i
w
{ portlist<S><Length 1-256> }:1
Command:
ua
H
port vlan 172 0/0 1

n
Step 3 Configure Layer 3 interfaces for the service VLAN.
o
t i
MA5620(config)#interface
c a
i fi
{ emu<K>|eponnni<K>|eth<K>|gponnni<K>|loopback<K>|meth<K>|null<K>|sip<K>|vlan
t
{ <1-4093> }:172 er
if<K> }:vlanif

C
MA5620(config-if-vlanif172)#ip
&
{ address<K>|verify<K> }:address

n g
{ ip_addr<I><X.X.X.X> }:172.16.71.13 24

ni
{ <cr>|description<K>|sub<K> }:
i
ra ip address 172.16.71.13 24
Command:

T
iMA5620(config-if-vlanif172)#
e
w
a Step 4
Hu
Test the connectivity of voice services from MDU 1 to the OLT.

MA5620(config)#ping 172.16.71.6
PING 172.16.71.6: 56 data bytes, press CTRL_C to break
Reply from 172.16.71.6: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 172.16.71.6: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 172.16.71.6: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from 172.16.71.6: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 172.16.71.6: bytes=56 Sequence=5 ttl=255 time=10 ms
--- 172.16.71.6 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 145

round-trip min/avg/max = 10/12/20 ms

Step 5 Configure the default route from the MDU to the softswitch.

MA5620(config)#ip route-static 0.0.0.0 0.0.0.0 172.16.71.254


{ <cr>|description<K>|permanent<K>|preference<K>|tag<K> }:
Command:
ip route-static 0.0.0.0 0.0.0.0 172.16.71.254

Step 6 Add an address pool in VoIP mode.

n
io
MA5620(config-voip)#ip
{ address<K> }:address
t
ica
{ media<K>|signaling<K> }:media

tif
{ media-ip-address<I><X.X.X.X> }:172.16.71.13
{ gateway<I><X.X.X.X> }:172.16.71.254
e r
C
Command:
ip address media 172.16.71.13 172.16.71.254
MA5620(config-voip)#ip &
ng
{ address<K> }:address
{ media<K>|signaling<K> }:signaling
ni
{ signaling-ip-address<I><X.X.X.X> }:172.16.71.13
r ai
Command:
i T
e
ip address signaling 172.16.71.13

Step 7 Add a SIP interface. a w


H u
MA5620(config)#interface
n
io
{ emu<K>|eponnni<K>|eth<K>|gponnni<K>|loopback<K>|meth<K>|null<K>|sip<K>|vlan
if<K> }:sip
t
ica
{ mgid<U><0,16777215> }:30
Command:
ti f
interface sip 30
e r
C
Are you sure to add SIP interface?(y/n)[n]:y

&
Step 8 Configure the attributes of SIP interfaces.
i ng
n
ai
MA5620(config-if-sip-30)#if-sip

r
{ attribute<K> }:attribute

i T
{ basic<K>|optional<K> }:basic

e { home-domain<K>|media-ip<K>|primary-proxy-domain<K>|primary-proxy-

a w ip1<K>|primary-proxy-ip2<K>|primary-proxy-port<K>|proxy-addr-

H u mode<K>|secondary-proxy-domain<K>|secondary-proxy-ip1<K>|secondary-proxy-
ip2<K>|secondary-proxy-port<K>|server-dhcp-option<K>|signal-ip<K>|signal-
port<K>|sipprofile-index<K>|srvlogic-index<K>|transfer<K> }:media-ip
{ media-addr-name<K>|media-dhcp-vlan<K>|media-ip-value<I> }:172.16.71.13
{ <cr>|home-domain<K>|primary-proxy-domain<K>|primary-proxy-ip1<K>|primary-
proxy-ip2<K>|primary-proxy-port<K>|proxy-addr-mode<K>|secondary-proxy-
domain<K>|secondary-proxy-ip1<K>|secondary-proxy-ip2<K>|secondary-proxy-
port<K>|server-dhcp-option<K>|signal-ip<K>|signal-port<K>|sipprofile-
index<K>|srvlogic-index<K>|transfer<K> }:signal-ip
{ signal-addr-name<K>|signal-dhcp-vlan<K>|signal-ip-value<I> }:172.16.71.13
{ <cr>|home-domain<K>|primary-proxy-domain<K>|primary-proxy-ip1<K>|primary-
proxy-ip2<K>|primary-proxy-port<K>|proxy-addr-mode<K>|secondary-proxy-
domain<K>|secondary-proxy-ip1<K>|secondary-proxy-ip2<K>|secondary-proxy-

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 146

port<K>|server-dhcp-option<K>|signal-port<K>|sipprofile-index<K>|srvlogic-
index<K>|transfer<K> }:signal-port
{ signal-port-value<U><5000,5999> }:5060
{ <cr>|home-domain<K>|primary-proxy-domain<K>|primary-proxy-ip1<K>|primary-
proxy-ip2<K>|primary-proxy-port<K>|proxy-addr-mode<K>|secondary-proxy-
domain<K>|secondary-proxy-ip1<K>|secondary-proxy-ip2<K>|secondary-proxy-
port<K>|server-dhcp-option<K>|sipprofile-index<K>|srvlogic-
index<K>|transfer<K> }:transfer
{ transfermode<E><tcp,udp,sctp,tls> }:udp
{ <cr>|home-domain<K>|primary-proxy-domain<K>|primary-proxy-ip1<K>|primary-
proxy-ip2<K>|primary-proxy-port<K>|proxy-addr-mode<K>|secondary-proxy-
domain<K>|secondary-proxy-ip1<K>|secondary-proxy-ip2<K>|secondary-proxy-
n
port<K>|server-dhcp-option<K>|sipprofile-index<K>|srvlogic-
t io
ica
index<K> }:primary-proxy-ip1

tif
{ primary-proxy-ip1-value<I><X.X.X.X> }:172.16.71.253

r
{ <cr>|home-domain<K>|primary-proxy-domain<K>|primary-proxy-ip2<K>|primary-
proxy-port<K>|proxy-addr-mode<K>|secondary-proxy-domain<K>|secondary-proxy-
ip1<K>|secondary-proxy-ip2<K>|secondary-proxy-port<K>|server-dhcp- C e
option<K>|sipprofile-index<K>|srvlogic-index<K> }:primary-proxy-port
&
ng
{ primary-proxy-port-value<U><1,65535> }:5060

ni
{ <cr>|home-domain<K>|primary-proxy-domain<K>|primary-proxy-ip2<K>|proxy-

ai
addr-mode<K>|secondary-proxy-domain<K>|secondary-proxy-ip1<K>|secondary-

T r
proxy-ip2<K>|secondary-proxy-port<K>|server-dhcp-option<K>|sipprofile-
index<K>|srvlogic-index<K> }:home-domain
e i
w
{ home-domain-name<S><Length 1-64> }:huawei

ua
{ <cr>|primary-proxy-domain<K>|primary-proxy-ip2<K>|proxy-addr-
mode<K>|secondary-proxy-domain<K>|secondary-proxy-ip1<K>|secondary-proxy-
H
ip2<K>|secondary-proxy-port<K>|server-dhcp-option<K>|sipprofile-
index<K>|srvlogic-index<K> }:
n
Command:
t io
ica
if-sip attribute basic media-ip 172.16.71.13 signal-ip

f
172.16.71.13 signal-port 5060 transfer udp primary-proxy-ip1

r ti
172.16.71.253 primary-proxy-port 5060 home-domain huawei

Ce
Step 9 Enable a SIP interface.
&
ng
MA5620(config-if-sip-30)#reset

n i
Are you sure to reset SIP interface? [y/n][n]:y

ai
MA5620(config-if-sip-30)#

Tr
Resetting SIP interface 30 succeeded
i
e 10 Configure PSTN user data in slot 0/2 after adding a user or users in batches.
Step
a w
Hu
MA5620(config)#esl
{ user<K> }:user
Command:
esl user
MA5620(config-esl-user)#sippstnuser
{ add<K>|attribute<K>|auth<K>|batadd<K>|batdel<K>|del<K>|modify<K>|rightflag<
K>|servicedata<K> }:add
{ frameid/slotid/portid<S><Length 1-15> }:0/2/1
{ mgid<U><0,16777215> }:30
{ <cr>|telno<K> }:telno
{ telno-value<S><Length 1-64> }:2104005
Command:

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 147

sippstnuser add 0/2/1 30 telno 2104005


Command processing is completed. User data has been added successfully
MA5620(config-esl-user)#display sippstnuser
{ attribute<K>|authinfo<K>|call-state<K>|frameid/slotid/portid<S><Length 1-
15>|frameid/slotid<S><Length 1-15>|reg-
state<K>|rightflag<K>|servicedata<K> }:0/2/1
{ <cr>|endframeid/slotid/portid<S><Length 1-15> }:
Command:
display sippstnuser 0/2/1
-----------------------------------------
F /S /P MGID TelNo
-----------------------------------------
n
0 /2 /1 30 2104005
t io
ica
-----------------------------------------

Configure MDU 2 by performing operations similar to those of MDU 1.


rtif
C e
7.2.4 Experiment Verification
&
i ng
Verification method: Connect 2 telephones to POTS ports on different MDUs and make calls to each
n
ai
other. The calls can be set up.

7.2.5 Configuration Reference T r


e i
Configurations on the OLT side
a w
# H u
n
dba-profile add profile-id 30 type1 fix 1024

io
ont-lineprofile gpon profile-id 30 profile-name 3ma5620
t
ica
tcont 0 dba-profile-id 30

f
tcont 1 dba-profile-id 30
gem add 0 eth tcont 0
r ti
gem add 3 eth tcont 1
C e
gem mapping 0 0 vlan 500

&
gem mapping 3 1 vlan 172

ng
Commit
quit
n i
ai
#

T r
interface gpon 0/5

e i port 0 ont-auto-find enable


ont add 0 3 sn-auth 48575443F43FF304 snmp ont-lineprofile-id 30

a w quit

H u #
vlan 500 smart
port vlan 500 0/19 0
#
interface vlanif 500
ip address 10.1.1.1 24
Quit
#
service-port vlan 500 gpon 0/5/0 ont 3 gemport 0 multi-service user-vlan 500
#
interface gpon 0/5
ont ipconfig 0 3 static ip-address 10.1.1.3 mask 255.255.255.0 gateway
10.1.1.1 vlan 500

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 148

#
quit
vlan 172 smart
port vlan 172 0/19 0
#
interface vlanif 172
ip address 172.16.71.6 24
quit
#
service-port vlan 172 gpon 0/5/0 ont 3 gemport 3 multi-service user-vlan 172
#
telnet 10.1.1.3
n
>>User name:root
t io
ica
>>User password: mduadmin

tif
Configurations on the MDU side

r
#
vlan 172
port vlan 172 0/0 1 C e
interface vlanif 172
&
ng
ip address 172.16.71.13 24
quit
ni
ai
#
Voip
T r
ip address media 172.16.71.13 172.16.71.254
e i
w
ip address signaling 172.16.71.13
quit
# ua
ip route-static 0.0.0.0 0.0.0.0 172.16.71.254 H
interface sip 30
n
#
t io
ica
if-sip attribute basic media-ip 172.16.71.13 signal-ip 172.16.71.13 signal-

f
port 5060 transfer udp primary-proxy-ip1 172.16.71.253 primary-proxy-port
5060 home-domain Huawei
r ti
#
reset Ce
quit
&
ng
esl user
i
sippstnuser add 0/2/1 30 telno 2104005
n
rai
i T
e
a w
H u

Huawei Prorietary and Confidential


Copyright © Huawei Technologies Co,Ltd
Huawei Access Certification Training Lab Guide Page 149

8 eSight PON Basic Operations

8.1 Experiment Introduction n


t io
8.1.1 About This Experiment ica
if
rt
Cesurveillance. The
Huawei eSight is an integrated O&M management solution for enterprise data centers,
campus/branch networks, unified communications, video conferencing, and video
eSight PON can be used to query PON resources and the status of PON devices & and manage PON
ngincluding installing an SQL
devices on the access network.
i
in and logging in to the eSight.
The following describes how to install and uninstall the eSight PON,
a
After learning this guide, you are expected to understand howr to install, commission, and uninstall
Server 2012 database, installing and uninstalling the eSight server,

i T
the eSight.
e
a w
8.1.2 Objectives
H u
n database.
Understand the eSight's network position, functions, and features.

 o
Be able to install an SQL iServer
t the eSight.
c a
fi
 Be able to install and uninstall

r t i
8.1.3 Networking
C e
Figure 8-1 & Network management topology of the eSight PON

i ng
a in
i Tr
e
a w
H u
Huawei Access Certification Training Lab Guide Page 150

8.1.4 Data Plan


Before installing, commissioning, or upgrading the eSight, make a plan. You can plan eSight
solutions, hardware and software configurations, and server parameters based on the live network
analysis results, network construction objectives, and the trend of future service development.

Table 8-1 eSight planning process


Planning Item Input Output
GE network scale Device type and quantity Total number of equivalent NEs and
planning network scale
n
eSight component Device type, network scale, eSight components t io
planning and other requirements
ica
eSight deployment eSight reliability
r
eSight deployment solutionstif
solution planning requirements, network
C e
scale, eSight version to be
deployed, and eSight &
components
ng
ini and software
a
Hardware and software eSight hardware and Hardware
configuration planning software configuration
T r
configurations of the eSight server
requirements, network
e i and client

w
scale, and eSight
deployment solutions
u a
DCN planning eSight deploymentH DCN networking diagram

components n
solutions, version, and

t io
Deviceatype and quantity,
ic version,
(Optional) License Licenses to be applied for and the
planning
i f
eSight number of licenses
rtcomponents, and
Ce deployment solutions

&
Installation parameter eSight deployment Installation parameter planning table
planning
n g solutions, DCN networking,

ni
time, and time zone
a i
Tr
ei Table 8-2 eSight server planning
a w Before installing the eSight server, plan installation, such as the user name, IP address, and password
H u of the eSight server.
Planning Item Planning Example Description

eSight server host name eSightServer Total number of equivalent NEs


and network scale
Disk partition C/D/E
eSight installation path E:\eSight
Huawei Access Certification Training Lab Guide Page 151

Planning Item Planning Example Description


Installation path of the SQL C:\Program Files\Microsoft -
Server database SQL Server
C:\Program
Files(x86)\Microsoft SQL
Server

Path for storing SQL Server E:\eSightData Data files will gradually increase
data files when the eSight is used.
Therefore, it is not recommended
that data files be stored in the
n
system partition (disk C).
it o
i c
Data files cannot be stored undera
r t if
the eSight installation path.

Ce that is, the


Windows administrator Account: Administrator The administrator is the default
Windows user account,
&of the Windows
Password: Admin@123
system administrator who has the

n g
highest right OS.

ni resources, create other


The administrator can control
i
a assign rights to them, and
Windows
rusers,
T perform all operations. The
i
e administrator can install and
a w uninstall application software of

H u the eSight server, and start and


stop eSight services.
n
eSight user ossuser in
io
"Changeme_123"
t
Account ossuser is automatically

ica
Windows created by the eSight and is used

f
to perform routine operations and

r ti maintenance on the eSight server.

C e In distributed deployment mode,


ossuser serves as a remote
& maintenance agent and helps back

ng
up and restore data of a slave

n i server on a maintenance tool.

ai
Tr
User name and password User name: admin Default user name and password:

ei
for web login Password: Huawei123 admin/Changeme123

a w
H u User name and password planning
 Remember the eSight user password. Otherwise, you may need to reinstall the eSight.
 To ensure system security, change the default password and change the password
periodically.
Huawei Access Certification Training Lab Guide Page 152

8.2 Experiment Configuration

8.2.1 Experiment Process


Figure 8-2 Flowchart of installing the eSight in Windows (new installation)

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
ng
In distributed deployment mode, you do not need to install the database on distributed servers (a

ni
network traffic collector and a WLAN location server) and load licenses. Install anti-virus software

ai
and perform security hardening as required.
r
T
In the new installation scenario, you need to install the OS, database, and eSight.
i
e
w
8.2.2aConfiguring the OS
Hu In this test environment, the eSight server is deployed in the Oracle VM VirtualBox VM environment.
To maintain the eSight server on another PC that can communicate with the network where the
eSight server is located, log in to the eSight server through remote desktop connection.

Step 1 Remotely log in to the server (in VM environment).


On a computer that can communicate with the network where the eSight server is located, choose
Start > All Programs > Accessories > Remote Desktop Connection. In the dialog box that is
displayed, enter 10.175.197.60 in the Computer text box, and click Connect. In the Windows
Security dialog box that is displayed, enter the administrator name and password, and click OK.
The remote system desktop is displayed.
Huawei Access Certification Training Lab Guide Page 153

Step 2 Disable the Windows firewall.


After the operating system is installed, the firewall is turned on by fault. To ensure the normal
operation of eSight functions, turn off the firewall.
# Choose Start > Control Panel. In the Control Panel window, select System and Security. In the
System and Security window, click Check firewall status. The Windows Firewall window is displayed.
# Click Turn Windows Firewall on or off. In the Custom Settings window that is displayed, select
Turn Windows Firewall off and click OK.

8.2.3 Installing the Database


n
Background: During the installation, if a Microsoft.NET Framework window is displayed, indicating
t io
ica
that an exception that cannot be processed occurs on the application, and the system cannot find

tif
the specified file, delete the specified file, and click Continue.

Step 1 Install the .NET Framework 3.5.


e r
C
# Before installing the SQL Server database, ensure that .NET Framework 3.5 or later has been
&
installed on the server. Run the .NET Framework installation file. Select I have read and accept
ng
the license terms. In the dialog box that is displayed, click Install. After the installation is
i
n
ai
completed, in the dialog box that is displayed, click Finish. In the dialog box that is displayed, click

r
Restart Now to complete the installation of the .NET Framework.

Step 2 Install the database. i T


e
a w
Run the setup.exe file in the database installation software to start installing SQL Server 2012.
u
H to an existing installation on the right. In the
# In the SQL Server Installation Center dialog box, click Installation on the left, then click New SQL
Server stand-alone installation or add new features
n click OK.
Setup Support Rules dialog box that is displayed,
o
ati
i f ic
e rt
C
&
g
n in
r ai
i T
e
a w
H u

# In the Product Key dialog box that is displayed, select Enter the product key and enter the
product key. Then, click Next.
Huawei Access Certification Training Lab Guide Page 154

n
t io
ica
rtif
C e
&
g
n in
i
ra the license terms and click
# In the License Terms dialog box that is displayed, select I accept
T
ei
Next.

a w
Hu
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u

# In the Install Setup Files dialog box that is displayed, click Install. In the Setup Support Rules
dialog box that is displayed, click Next.
Huawei Access Certification Training Lab Guide Page 155

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
C e
&
i ng
n
rai
i T
e
a w
H u
Step 3 Set a role.
# In the Setup Role dialog box that is displayed, select SQL Server Feature Installation and click
Next.
Huawei Access Certification Training Lab Guide Page 156

n
t io
ica
rtif
C e
&
i ng
n
r ai
Step 4 Select a function.
i T
e
a w
# In the Feature Selection dialog box that is displayed, select Database Engine Services, Client Tools
u
Connectivity, and Management Tools - Basic. Then, click Next.
H
n
t io
f ica
r ti
C e
&
i ng
n
r ai
i T
e
a w
H u

If you need to change the installation directory of the software, change it in the Shared feature
directory text box.
# In the Install Rules dialog box that is displayed, click Next. In the Instance Configuration dialog
box that is displayed, click Next. In the Disk Space Requirements dialog box that is displayed,
click Next.
Huawei Access Certification Training Lab Guide Page 157

n
t io
ica
rtif
C e
&
i ng
n
r ai
Step 5 Configure the server.
i T
e
a w
# The Server Configuration dialog box is displayed. On the Service Accounts tab page, set SQL

AUTHORITY\NETWORK SERVICE and click Next. H u


Server Agent and SQL Server Database Engine in the Account Name column to NT

n
t io
f ica
r ti
C e
&
i ng
n
rai
i T
e
a w
H u

In the Account Name drop-down list box of the corresponding service, click Browse.
In the Select User or Group dialog box, click Advanced.
Huawei Access Certification Training Lab Guide Page 158

n
t io
ica
rtif
Click Find Now. Under Search results, select NETWORK SERVICE and click OK.
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
ing
n
rai
i T
e
a w
H u

Click OK.
Huawei Access Certification Training Lab Guide Page 159

n
t io
ica
r tif
Ce page. OnIf the
# In the Server Configuration dialog box that is displayed, click Collation tab

&
Collation tab page, check whether Database Engine is set to Chinese_PRC_CI_AS. no,

ng
perform the following steps. If yes, click Next.

i
a in
T r
ei
a w
Hu
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w Click Customize....
H u Select Windows collation designator and sort order.
Select Chinese_PRC from the Collation designator drop-down list box.
Deselect Case-sensitive, and select Accent-sensitive.
Click OK.
Huawei Access Certification Training Lab Guide Page 160

n
t io
ica
rtif
C e
&
ng
ini
a
In the Server Configuration dialog box that is displayed, click Next.
r
Step 6 Configure the database engine. i T
e
In the Database Engine Configuration dialog box thatwis displayed, select Mixed Mode (SQL Server
authentication and Windows authentication) under
u a Authentication Mode. In the Enter password
H
and Confirm password text boxes, enter Admin@123. Click Add Current User and add a user in

n
Specify SQL Server administrators text box. Then, click Next.

it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
Hu

 The administrator password can only contain uppercase letters, lowercase letters,
digits, and the following special characters: ~@#^*()-_+|[{}];,/?
Huawei Access Certification Training Lab Guide Page 161

 The administrator password contains 8 to 32 characters.

Step 7 Check the installation and installation process.


# In the Error Reporting dialog box that is displayed, click Next.
# In the Installation Configuration Rules dialog box that is displayed, click Next.
# In the Ready to Install dialog box that is displayed, click Install.
# The Installation Progress dialog box is displayed, showing the installation progress.
# After the installation is completed, the Complete dialog box is displayed.
# In the displayed dialog box, click Close. The SQL Server 2012 is installed.
n
Step 8 Verify that the database is installed.
it o
i
After installing the SQL Server 2012 database, perform the following steps to check whether
c a the
tif
installation is successful.
# Choose Start > Microsoft SQL Server 2012 > SQL Server Configuration Manager.r The Sql Server
Configuration Manager window is displayed. Ce
Click SQL Server Services in the left pane. If Running is displayed
(MSSQLSERVER) in the State column, the SQL Server 2012 database g
& for SQL Server
n
is installed successfully.

ini
T ra
ei
a w
Hu
n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u After installing the SQL Server 2012 database, you must configure the SQL Server network to
ensure that eSight can access the database.
# Choose SQL Server Network Configuration > Protocols for MSSQLSERVER, right-click TCP/IP, and
choose Enable.
Huawei Access Certification Training Lab Guide Page 162

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
# Right-click TCP/IP and choose Properties from the shortcut menu. In the TCP/IP Properties

H u
dialog box that is displayed, configure the SQL network.
Set Listen All to Yes. The eSight uses the loopback address (127.0.0.1) to connect to the database.
n
io
Therefore, you need to enable listening on the loopback address.
t
f ica
r ti
C e
&
ing
n
rai
i T
e
a w
H u

# Restart the SQL Server database for the configuration to take effect.

8.2.4 Installing the eSight


In centralized deployment mode, the eSight management platform, service components, and
service component collectors are deployed on the same server, which applies to small-scale
networks.
Huawei Access Certification Training Lab Guide Page 163

Step 1 Start the installation program.


# Double-click setup.bat under the installation package directory to start the installation
program. Select Read and Accept and click Install. The system automatically checks whether
the environment meets the eSight installation requirements. If no, a message is displayed.
Resolve the problem according to prompted messages and start the installation again.

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
Step 2 Set installation parameters. a w
H u
# On the Set Installation Parameters page, set installation parameters and click Next. Set IP Address
n
Type to IPv4, Server IP Address to 10.175.197.60, Server Port to 8080, and Installation Directory to
E:\eSight.
t io
f ica
r ti
C e
&
i ng
n
r ai
i T
e
a w
H u
Huawei Access Certification Training Lab Guide Page 164

If the specified installation directory does not exist, a dialog box is displayed, asking whether to
create the directory. Click Yes. The directory is automatically created.

n
Step 3 Set the parameters of the database server.
t io
# In the Database Parameters dialog box, set database parameters and click Next.
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
C e
&
i ng
n
r ai
i T
If the E:\eSightData directory does not exist, a dialog box is displayed, asking whether to create

e
the directory. Click Yes. The directory is automatically created.

a w
H u

Step 4 Install components.


# In the Select Software Components To Be Installed dialog box that is displayed, select the
components to be installed, and select Network Device Management Component and PON
Huawei Access Certification Training Lab Guide Page 165

Management Component under Device Components. Basic Package and System Component are
mandatory components and dimmed by default. Then, click Next.

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
u
eSight components support incremental installation. If a component is not selected

H
when the eSight is installed the first time, you can install the component when the
eSight is installed the second time. Ensure that the installation package version is
n
consistent with the eSight version.
o
Step 5 Confirm the installation a t i
information.
c
fi the installation information and click Next. If the installation
t
# On the Summary page, confirm i
r Previous and set it again.
e
information is incorrect, click
C
&
g
n in
r ai
i T
e
a w
Hu
Huawei Access Certification Training Lab Guide Page 166

n
t io
ica
rtif
C e
&
i ng
n
r ai
T
eidialog
The system starts to install the eSight. The installation takes about 15 minutes. After the installation
is completed, click Finish in the Installation Completed
a w box.

H
the eSight service immediately, select Start eSight
u
#After the installation is completed, the system deselects
Server
Start eSight Server by default. To start
and click Finish.

n
it o
i c a
r tif
Ce
&
g
n in
r ai
i T
e
a w
H u
Huawei Access Certification Training Lab Guide Page 167

8.2.5 Logging in to the Sight and Verifying Login


Step 1 Start the eSight server.
# Method 1: Double-click the eSight Console shortcut icon on the desktop. In the dialog box that
is displayed, click Start.
Method 2: Choose Start > All Programs > eSight > eSight Console. In the eSight Console
dialog box that is displayed, click Start. Wait for several minutes. The console is successfully started.

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
if ica
Step 2 Log in to the eSight on a browser.
r t
Open a browser, log in toeeSight client to check whether the eSight version is correct and whether
C
the eSight functions well.
# Open a browser. &
In the followinggexample, the IP address is 10.175.197.60. The default eSight port ID is 8080.
Enter http://eSight server IP address/port ID in the address bar, and press Enter.

n in
r ai
i T
e
a w
H u
Huawei Access Certification Training Lab Guide Page 168

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
Step 3 Install the security certificate.
n
t io
If you log in to the eSight for the first time, a dialog box is displayed, indicating that the website

ica
security certificate is incorrect, and you need to install a valid security certificate.

tif
# For example, if a security certificate error occurs in the Firefox browser, you need to set the trusted
r
certificate. In the dialog box that is displayed, click Add Exception. In the Add Security Exception
e
C
dialog box that is displayed, click Get Certificate to obtain the certificate. Then, click Confirm
Security Exception.
&
i ng
n
r ai
i T
e
a w
H u
Huawei Access Certification Training Lab Guide Page 169

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
i ng
n
rai
i T
e
a w
H u

Step 4 Log in to the eSight.


# Enter your user name and password, and click Login.
After logging in to eSight for the first time, change the password according to the prompted
message. Remember the new password after changing. If the password of the admin user is lost,
reinstall the eSight to restore the default password.
Huawei Access Certification Training Lab Guide Page 170

n
t io
ica
rtif
Step 5 Familiarize yourself with the eSight GUI.
C e
The following figure shows the eSight GUI and each information area. &
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
ng
On the homepage of the eSight, click Resource. On the page that is displayed, click Automatic
i
Discovery under Add Resource in the left pane. You can set the IP address and SNMP
n
ai
parameters and select Automatically add discovered devices.

T r
e i
a w
H u
Huawei Access Certification Training Lab Guide Page 171

8.2.6 (Optional) Uninstalling the eSight


Components are deployed with the eSight management platform on the same server and cannot
be uninstalled separately. After the eSight is uninstalled, all components deployed on the same
server are uninstalled.

After the eSight is uninstalled, the eSight database and configuration files are deleted
accordingly. To save the eSight database and configuration files, back up the backup files in
the AppBase/backup, ntc/backup, and mttools/etc/sysconf/backup directories under
the eSight installation path or the backup files on the remote server.
n
Step 1 Stop the eSight service.
it o
i c a In
# Choose Start > All Programs. In the program list, expand eSight and click eSight Console.

tif
the dialog box that is displayed, click Stop.
r
Ce
&
n g
ini
T ra
ei
a w
Hu
n
it o
i c a
r tif
Ce
&
g
n in displays a dialog box showing that the status of processes is stopped and the
messagei "stopping eSight system succeeded", the eSight service is stopped.
When the system

T ra
e# iChoose Start > All Programs. In the program list, expand eSight and click uninstall eSight. In
Step 2 Uninstall the eSight.

aw
Hu
the dialog box that is displayed, click Next. In the Confirm dialog box that is displayed, click Yes.
The system starts uninstallation, which takes about 10 minutes.

Step 3 Complete uninstallation.


Huawei Access Certification Training Lab Guide Page 172

When the uninstallation is complete, click Finish. In the Confirm dialog box that is displayed,
click Yes to restart the operating system.

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
i ng
n
rai
i T
e
a w
H u
Huawei Access Certification Training Lab Guide Page 173

8.3 Quiz
How do I change the database space of the eSight server?
Does the eSight support language switching?

n
t io
ica
rtif
C e
&
i ng
n
r ai
i T
e
a w
H u
n
t io
f ica
r ti
Ce
&
i ng
n
rai
i T
e
a w
H u
Recommendations
 Huawei Learning Website
 http://learning.huawei.com/en

 Huawei e-Learning
 http://support.huawei.com/learning/NavigationAction!createNavi?navId=MW
000001_term1000025144&lang=en n
t io
Huawei Certification ica
tif

r
Ce
 http://support.huawei.com/learning/NavigationAction!createNavi?navId=_31
&lang=en &
ng
Find Training ini
ra

T

ei
http://support.huawei.com/learning/NavigationAction!createNavi?navId=_trai
ningsearch&lang=en a w
Hu
More Information n
it o
i c a
r tif
 Huawei learning APP Ce
&
g
n in
r ai
i T
e
a w
H u

版权所有© 2018 华为技术有限公司

Anda mungkin juga menyukai