HCIA-Access V2.5 Lab Guide
HCIA-Access V2.5 Lab Guide
HCIA-Access V2.5 Lab Guide
HCIA-Access
Lab Guide for Access Engineers
ISSUE:2.5
1
hhhhhhHuawei Acces s Certification Train ing Lab Gu ide Huawei Acces s Certification Trai ning Lab Gu ideAcces s Certification Trai ning Lab G uideHuawei Acces s Certification Trai ning Lab G uideHuawei Acces s Certification Trai ning Lab G uide
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their
respective holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei
and the 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.
The information in this document is subject to change without notice. Every effort has been made
in the preparation of this document to ensure accuracy of the contents, but all statements,
information, and recommendations in this document do not constitute a warranty of any kind,
express or implied.
Website: http://e.huawei.com
Overview
This document is a training course for HCIA-Access certification. It is intended for trainees who are
about to take the HCIA-Access exam or who want to learn about the basic knowledge of access
networks, xPON/xDSL technologies, protocols such as DHCP/PPPoE, access networking, features of
Huawei access network products, basic device configurations, and data service configurations, this
course is intended for readers of access network technologies, such as ODN basics and NMS basics.
Description
This document consists of four modules, including six experiments. It describes the basic configurations
of the OLT, ONU, GPON data service, and xDSL data service in the access networking.
Module 1 is the basic operation of the xPON device (including experiment 1), which is
mainly about the OLT initialization configuration. Through the basic operation and
configuration, the readers can get familiar with the OLT and understand and master the
related basic operation functions.
Module 2 is the basic configuration of the xPON terminal (including experiment 2). This
module describes how to create a profile on the OLT and add different types of
terminals, helping readers to be familiar with and understand the process of adding
terminals on the OLT and the common query methods.
Module 3 is the GPON data service configuration (including experiment 3 and
experiment 4), which describes the data service provisioning mode in the GPON access.
Module 4 is the xDSL&Vectoring&G.fast data service configuration (including
experiment 5 and experiment 6 and experiment 7), which describes the method of
provisioning the data service in the xDSL device. Module 3 and module 4 describe how
to provision data services in different scenarios. This chapter helps you to create and
reference profiles and how to provision broadband data services in different scenarios.
Common Icons
Version Description
This document is also compatible with the MA5680T, MA5800, and EA5800. The CLI and NMS
operations in this document are based on the MA5680T. If the MA5800 or EA5800 is used, perform
the operations according to the instructions of the trainer.
Device Introduction
To meet the HCIA-Access lab requirements, you are advised to configure each lab environment as
follows:
Device
Device Model Software Version
Name
S3700-28TP-PWR-EI
Version 5.70 (S3700 V100R005C01SPC100) or later
Core switch or
Version 5.130 (S5700 V200R003C00SPC300) or later
S5700-28C-PWR-EI
MA5680T or MA5800 MA5680T: V800R013C00 and later/EA5800:
OLT device
or EA5800 V100R019C20
HG8247H9
ONT device AP4030DN V200R007C10SPC100
(EG8145V5)
MA5822S、MA5616
ONU device V800R018C00
(P612E/ P805E)
Twisted pair&Modem One for each group Used for data service tests
Each group must check whether the following devices are ready:
Prepare one desktop ONT and one ONU.
Prepare one laptop or desktop computer.
One twisted pair cable.
One console cable (or a remote Telnet device)
Experiment Topology
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 user
name and password are root and admin respectively.
>>User name:root
>>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 : 2019-04-17 10:30:32+08:00
Logout Time : 2019-04-17 11:00:51+08:00
----------------------------------------------------------------------------
----------------------------------------------------------------------------
All user fail login information:
----------------------------------------------------------------------------
huawei>enable
huawei#
huawei#erase
{ flash<K> }:flash
{ data<K> }:data
{ Options<E><active,standby> }:active
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
huawei#reboot
{ Options<E><system,active,standby> }:active
Command:
reboot active
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!
Update fpga...OK.
Copyright (c) 1998 - 2013 by Huawei Technologies Co.,Ltd.
All Rights Reserved.
The last update date of base BIOS B is : Jan 15 2013 16:39:10
===============================================================
BOARD INFORMATION :
CPU: MPC8548E - Security Engine. Processor #1.(Rev 2.02) running at 1333Mhz
512M bytes DDR(ECC), 128M bytes flash installed on board
Baudrate of serial channel is 9600bps
Board's LAN IP address is 10.11.104.6
Board's LAN Subnet mask is 255.255.255.0
Board's LAN MAC address is 08:19:A6:C1:6A:52
===============================================================
Contents
1.1.2 Objectives
Understand environment setup.
Be familiar with the command line mode and features.
Master system user management methods.
Be familiar with device management.
1.1.3 Networking
Figure 1-1 GPON maintenance environment topology
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 xPON basic
operations
RS232 serial
cable
Step 2 huawei(config-if-vlanif500)#quit
Step 3 Set up physical connections.
Use a network cable to connect the PC to the upstream service port of the upstream board on the OLT.
>>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>
Learn about the command line modes and understand how to switch the configuration modes.
# Enter privileged mode from user mode:
MA5600T>enable
MA5600T#
MA5600T#config
MA5600T(config)#
MA5600T(config)#interface meth 0
MA5600T(config-if-meth0)#
MA5600T(config-if-meth0)#quit
MA5600T(config)#quit
MA5600T#
MA5600T#disable
MA5600T>
# Log out.
MA5600T#quit
Check whether system data has been changed. Please save data before logout.
Are you sure to log out? (y/n)[n]:y
MA5600T#sysname huawei
huawei#
huawei#display language
Local:
Description: CHINESE SIMPLIFIED (DEFAULT LANGUAGE)
Version: MA5600V800R013C00 // Query the NE software version information.
Encoding: GBK
General:
Description: ENGLISH (DEFAULT LANGUAGE)
Version: MA5600V800R013C00
Encoding: ANSI
huawei#display time
{ <cr>|date-format<K>|dst<K>|time-stamp<K> }:
Command:
display time
2018-04-10 16:48:15+08:00
// If 0 is not entered, the IDs, types, and status of all subracks in the system can be queried.
# Query the information about all boards in a subrack.
huawei(config)#display board 0
-------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline
-------------------------------------------------------------------------
0
1
2
3
4
5 H802GPBD Auto_find // The board is in auto-find state and can be used only after being
confirmed.
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
18
19 H801GICG Auto_find
20
21
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
huawei(config)#display board 0
-------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline
-------------------------------------------------------------------------
0
1
2
3
4
5 H802GPBD Normal // The board is in the Normal state.
6
7
8
9 H801SCUN Active_normal
10
11
12
13
14 H802EPBD Normal
15
16
17
18
19 H801GICG Normal
20
21
22
-------------------------------------------------------------------------
-------------------------------------------------------------
0 GPON 0 20 Online
1 GPON 0 20 Online
2 GPON 0 20 Offline
3 GPON 0 20 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
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
{ <cr>|backplane<K>|frameid/slotid<S><Length 1-15> }:
Command:
display version
VERSION : MA5600V800R013C00
PRODUCT : MA5600T
Active Mainboard Running Area Information:
--------------------------------------------------
Current Program Area : Area A
Current Data Area : Area A
Program Area A Version : MA5600V800R013C00
Program Area B Version : MA5600V800R013C00
Data Area A Version : MA5600V800R013C00
Data Area B Version : MA5600V800R013C00
--------------------------------------------------
Uptime is 0 day(s), 0 hour(s), 26 minute(s), 34 second(s)
huawei(config)#display version 0/5 // Query the software versions of the service boards in slots 0/5.
Send message for inquiring board version successfully, board executing...
Main Board: H802GPBD
---------------------------------------
Pcb Version: H802GPBD VER B
Mab Version: 0000
Logic Version: (U50)001(U25)008(U26)008(U49)023
Main CPU :
CPU Version: (U48)MPC8349
The following lists the information about the second maintenance user account:
User name: huawei1
Password: huawei123
Bound user profile: weihuzu
Permission: operator
Number of concurrent login times: 2
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(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
2 huawei1 -- 10.175.197.116 2018-04-10 09:40:49+08:00
---------------------------------------------------------------------------
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.
# 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
---------------------------------------------------------------------------
# Query all the users in the system again. User huawei1 is deleted.
huawei(config)#vlan 500
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart
Command:
vlan 500 smart
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
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> }:
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
huawei(config)#save
{ <cr>|configuration<K>|data<K> }:
Command:
save
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...
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
----------------------------------------------------------------------------
----------------------------------------------------------------------------
User fail login information:
----------------------------------------------------------------------------
undo ip address Deletes the IP address and subnet mask of a VLAN interface. 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.
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?
2.1.2 Objectives
Understand the principles of configuring an ONU on the MA5600T.
Understand the similarities and differences between ONUs and their management
methods.
Master the configuration procedures for adding and managing various types of ONUs.
2.1.3 Networking
Figure 2-1 Topology for xPON basic configuration experiment
>>User name:root
>>User password: // Enter the password admin, which is not displayed.
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 : --
huawei(config)#display board 0
-------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline
-------------------------------------------------------------------------
0
1
2
3
4
5 H802GPBD Auto_find // The board is in auto-find state and can be used only after being
confirmed.
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
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
-------------------------------------------------------------------------
0
1
2
3
4
5 H802GPBD Normal
6
7
8
9 H801SCUN Active_normal
10
11
12
13
14 H802EPBD Normal
15
16
17
18
19 H801GICG Normal
20
21
22
-------------------------------------------------------------------------
# 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
{ 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> }:
Command:
dba-profile add profile-id 21 profile-name ftth_voip type1 fix 1024
# 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-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id
{ profile-id<U><10,512> }:22
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name
{ profile-name<S><Length 1-33> }:ftth_hsi
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type2
{ assure<K> }:assure
{ assure-bandwidth<U><128,10000000> }:2048
Command:
dba-profile add profile-id 22 profile-name ftth_hsi type2 assure 2048
Adding a DBA profile succeeded
Profile ID : 22
Profile name: ftth_hsi
# Add the third DBA profile. Set the profile ID to 23, profile name to ftth_iptv, broadband type to
Type3, assured bandwidth to 4 Mbit/s, and maximum bandwidth to 8 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 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:
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
huawei(config)#display ont-lineprofile
{ epon<K>|gpon<K> }:gpon
{ all<K>|bound-info<K>|profile-id<K>|profile-name<K> }:all
Command:
display ont-lineprofile gpon all
----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
----------------------------------------------------------------------------
0 line-profile_default_0 0
----------------------------------------------------------------------------
Total: 1
# Create an ONT line profile named HG824x and enter profile configuration mode. The profile ID is
31.
huawei(config)#ont-lineprofile
{ epon<K>|gpon<K> }:gpon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:31
{ <cr>|profile-name<K> }:profile-name
{ profile-name<S><Length 1-32> }:HG824x
Command:
ont-lineprofile gpon profile-id 31 profile-name HG824x
When you create a line profile or DBA profile, the system automatically allocates a
profile ID if you do not specify an ID.
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-31)#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
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
huawei(config-gpon-lineprofile-31)#tcont
{ 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.
huawei(config-gpon-lineprofile-31)#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
{ tcont-id<U><0,127> }:1
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 1 eth tcont 1
huawei(config-gpon-lineprofile-31)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:2
{ 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 2 eth tcont 2
huawei(config-gpon-lineprofile-31)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:3
{ 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 3 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-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
{ 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.
huawei(config-gpon-lineprofile-31)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:2
{ mapping-index<U><0,7> }:2
{ 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> }:11
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 2 2 vlan 11
# Configure the mapping between the GEM port 3 and the user flow with the VLAN 200 tag. The
mapping index is 3.
huawei(config-gpon-lineprofile-31)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:3
{ mapping-index<U><0,7> }:3
{ 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
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 3 3 vlan 200
# After completing the configuration, run the commit command to make the configuration take effect.
huawei(config-gpon-lineprofile-31)#commit
huawei(config-gpon-lineprofile-31)#quit
huawei(config)#
All parameter settings can take effect only after the commit command is executed.
Step 5 Configure 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.
Total: 1
# Create an ONT service profile named HG824x and enter profile configuration mode. The profile ID
is 31.
huawei(config)#ont-srvprofile
{ epon<K>|gpon<K> }:gpon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:31
{ <cr>|profile-name<K> }:profile-name
{ profile-name<S><Length 1-32> }:HG824x
Command:
ont-srvprofile gpon profile-id 31 profile-name HG824x
huawei(config-gpon-srvprofile-31)#ont-port
{ 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,32> }:2
{ <cr>|catv<K>|moca<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:catv
{ adaptive<K>|catv-port<U><0,8> }:1
{ <cr>|moca<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K> }:
Command:
ont-port eth 4 pots 2 catv 1
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> }:iphost
{ q-in-q<K>|translation<K>|transparent<K>|vlanid<U><0,4095> }:172
{ <cr>|priority<K>|prival<U><0,7>|TLS<K> }:
Command:
port vlan iphost 172
Set ONT port(s) VLAN configuration, success: 1, failed: 0
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:
port vlan eth 1 11
Set ONT port(s) VLAN configuration, success: 1, failed: 0
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
{ <cr>|priority<K>|prival<U><0,7>|TLS<K> }:
Command:
port vlan eth 2 200
Set ONT port(s) VLAN configuration, success: 1, failed: 0
huawei(config-gpon-srvprofile-31)#commit
huawei(config-gpon-srvprofile-31)#quit
huawei(config)#
Step 6 Check whether the ONT is automatically added to the GPON system.
Switch from global config mode to GPON mode, and then enable the ONT auto-find function of an
optical port. Wait for the system to detect the newly added ONT in the PON network, report the new
ONT SN address, and copy the SN address. Set the ONT ID based on the data plan and bind the
configured ont-lineprofile and ont-srvprofile. Ensure that the ONT is in the normal state.
Enable the ONT auto-find function of a PON port.
# Enter GPON mode. The port is the PON port connected to the ONT that is used, that is, port 0 in slot
5 of subrack 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>|vrgw<K> }: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
{ switch<E><enable,disable> }:enable
Command:
port 0 ont-auto-find enable
VendorID : HWTC
Ont Version : MA5822S VER.C
Ont SoftwareVersion : V8R308 C00
Ont EquipmentID : SmartAX MA5822S
Ont autofind time : 2018-04-10 14:35:59+08:00
---------------------------------------------------------------------------
Number :2
F/S/P : 0/5/0
Ont SN : 48575443D8EAC605
Password : 0x00000000000000000000
Loid :
Checkcode :
VendorID : HWTC
Ont Version : 120D4600
Ont SoftwareVersion : V1R006C00S210
Ont EquipmentID : 247
Ont autofind time : 2018-04-10 14:35:44+08:00
---------------------------------------------------------------------------
Number :3
F/S/P : 0/5/0
Ont SN : 48575443D8F92405
Password : 0x00000000000000000000
Loid :
Checkcode :
VendorID : HWTC
Ont Version : 120D4600
Ont SoftwareVersion : V1R006C00S210
Ont EquipmentID : 247
Ont autofind time : 2018-04-10 14:35:44+08:00
---------------------------------------------------------------------------
huawei(config-if-gpon-0/5)#ont confirm
{ portid<U><0,7> }:0
{ all<K>|loid-auth<K>|ontid<K>|password-auth<K>|sn-auth<K> }:ontid
{ ontid<U><0,127> }:1
{ loid-auth<K>|password-auth<K>|sn-auth<K> }:sn-auth
{ 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
Number of ONTs that can be added: 1, success: 1
PortID :0, ONTID :1
If an ONT has been added and the DBA profile to be bound to the ONT service
profile is the same as that bound to the ONU service profile, skip steps 1 to 3.
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 to log in to the OLT.
>>User name:root
>>User password:
huawei#config
Configure board information and ensure that the GPON service boards and upstream boards are
properly running.
# In global config mode, check for boards. The boards are to be confirmed.
huawei(config)#display board 0
# Check all boards in subrack 0 and check the running status of the boards.
huawei(config)#board confirm 0
huawei(config)#display board 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
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name
# 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-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-id
{ profile-id<U><10,512> }:22
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:profile-name
{ profile-name<S><Length 1-33> }:ftth_hsi
{ type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type2
{ assure<K> }:assure
{ assure-bandwidth<U><128,10000000> }:2048
Command:
dba-profile add profile-id 22 profile-name ftth_hsi type2 assure 2048
Adding a DBA profile succeeded
Profile ID : 22
Profile name: ftth_hsi
# Add the third DBA profile. Set the profile ID to 23, profile name to ftth_iptv, broadband type to
Type3, assured bandwidth to 4 Mbit/s, and maximum bandwidth to 8 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 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:
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
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
{ profile-name<S><Length 1-32> }:MA5822S
Command:
ont-lineprofile gpon profile-id 32 profile-name MA5822S
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
huawei(config-gpon-lineprofile-32)#tcont 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
huawei(config-gpon-lineprofile-32)#tcont
{ 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.
huawei(config-gpon-lineprofile-32)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:4
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:1
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 4 eth tcont 1
huawei(config-gpon-lineprofile-32)#gem
{ 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
huawei(config-gpon-lineprofile-32)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ 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
huawei(config-gpon-lineprofile-32)#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
huawei(config-gpon-lineprofile-32)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:4
{ mapping-index<U><0,7> }:4
{ 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 4 4 vlan 172
# Configure the mapping between GEM port 5 and the user flow with the VLAN 11 tag. The mapping
index is 5.
huawei(config-gpon-lineprofile-32)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:5
{ mapping-index<U><0,7> }:5
{ 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> }:11
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
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
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 6 6 vlan 200
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 the
ONT version information, and copy the SN address.
huawei(config-if-gpon-0/5)#ont confirm
{ portid<U><0,7> }:0
{ all<K>|loid-auth<K>|ontid<K>|password-auth<K>|sn-auth<K> }:ontid
{ ontid<U><0,127> }:2
{ loid-auth<K>|password-auth<K>|sn-auth<K> }:sn-auth
{ sn<S><Length 13-16> }:4857544329518907
{ 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> }: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.
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:
vlan 500 smart
huawei(config)#port vlan 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
# Enter the VLAN interface 500 and set the inband management IP address to 10.175.192.36/22.
Step 7 Configure the inband management VLAN and IP address of the ONT.
In GPON mode, run the ont ipconfig command to configure the inband NMS address of ONT 2. The
system automatically sends the address to ONT 2 over the OMCI channel.
# Enter GPON 0/5/0 interface mode. Set the static IP address of ONT 2 to 10.175.192.41/22, gateway
to 10.172.192.1/22, and management VLAN to 500 (same as the management VLAN of the OLT).
{ 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
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
ETH service, and bind it to T-CONT 0.
huawei(config-gpon-lineprofile-32)#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
Configure the mapping between the GEM port and the traffic stream of the management VLAN.
# Map the traffic stream of management VLAN 500 to GEM port 0. The mapping index is 0.
huawei(config-gpon-lineprofile-32)#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> }:
Command:
gem mapping 0 0 vlan 500
huawei(config-gpon-lineprofile-32)#commit
huawei(config-gpon-lineprofile-32)#quit
Step 9 Configure the downstream port for the inband management VLAN of the OLT.
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
{ 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
huawei(config)#ping 10.175.192.41
PING 10.175.192.41: 56 data bytes, press CTRL_C to break
Reply from 10.175.192.41: bytes=56 Sequence=1 ttl=255 time=22 ms
Reply from 10.175.192.41: bytes=56 Sequence=2 ttl=255 time=8 ms
Reply from 10.175.192.41: bytes=56 Sequence=3 ttl=255 time=8 ms
Reply from 10.175.192.41: bytes=56 Sequence=4 ttl=255 time=8 ms
Reply from 10.175.192.41: bytes=56 Sequence=5 ttl=255 time=8 ms
--- 10.175.192.41 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 8/10/22 ms
huawei(config)#save
{ <cr>|configuration<K>|data<K> }:
Command:
save
It will take several minutes to save configuration file, please wait...
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.
When Config state is failed, Run state is offline, or Match state is mismatch, refer to the following
suggestions to rectify the fault:
If Control flag is deactive, run the ont activate command in GPON mode to activate the ONT.
If Run state is offline, a physical line may be broken, the ONT is not powered on, or the optical module
may be damaged. Check the line and the optical module.
If Config state is failed, run the display ont failed-configuration command in diagnosis mode to
check the failed configuration item and the failure cause. Rectify the fault accordingly.
If Match state is mismatch, run the display ont capability command to query the actual capability of
the ONU, and use one of the following methods to modify the ONU configuration:
a. Create a proper ONU profile based on the actual capability of the ONU, and run the ont modify
command to modify the ONU configuration.
b. Modify the ONU profile based on the actual capability of the ONU and save the modification. The
ONU will automatically recover the configuration.
huawei(config)#ping 10.175.192.41
PING 10.175.192.41: 56 data bytes, press CTRL_C to break
Reply from 10.175.192.41: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 10.175.192.41: bytes=56 Sequence=2 ttl=255 time=10 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> }:
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 (MA5822S).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2010. All rights reserved.
----------------------------------------------------------------------------
User last login information:
----------------------------------------------------------------------------
Access Type: Telnet
IP-Address : 10.175.192.41
Time : 2018-04-11 15:54:01+08:00
----------------------------------------------------------------------------
MA5822S>
MA5822S>enable
MA5822S#display current-configuration
{ <cr>|section<K>|simple<K>||<K> }:
Command:
display current-configuration
[MA562XV800R308: 3600]
#
[global-config]
<global-config>
trap convert event-to-alarm 0x3721000a
alarm alarmlevel 0x0a11a106 warning
alarm alarmlevel 0x0a11a109 warning
alarm alarmlevel 0x0a310112 warning
alarm alarmlevel 0x0a310142 warning
#
[device-config]
<device-config>
port port-index 0/0/2 port-type GPON-PORT
#
[public-config]
<public-config>
snmp-agent local-engineid 800007DB035C4CA929518A
snmp-agent community read public
snmp-agent community write private
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
#
[abs-config]
<abs-config>
config
#
[prevlanif]
<prevlanif>
interface vlanif500
#
[vlanif]
<vlanif500>
interface vlanif500
ip address 10.175.192.41 255.255.252.0
#
[meth]
<meth0>
interface meth0
ip address 10.11.104.2 255.255.255.0
#
[null]
<null0>
interface null0
#
[post-system]
<post-system>
ip route-static 0.0.0.0 0.0.0.0 10.175.192.1
#
return
# Exit the ONT.
MA5822S#quit
Check whether system data has been changed. Please save data before logout.
tcont 3 dba-profile-id 23
gem add 4 eth tcont 1
gem add 5 eth tcont 2
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
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
#
service-port 0 vlan 500 gpon 0/5/0 ont 2 gemport 0 multi-service user-vlan 500
#
ping 10.175.192.41
#
telnet 10.175.192.41
root
mduadmin
2.5 Quiz
If the ONT auto-find function is enabled but no ONT is automatically found, what
should I do?
When an ONU is added and the management channel between the OLT and the ONT is
set up, no response packet is received after I run a ping command on the OLT to ping the
connectivity. What should I do?
3.1.2 Objectives
Understand the HSI service process.
Understand the functions of VLANs.
Be able to perform data configuration based on a network solution and data plan as
guided.
Be able to query and modify service data.
3.1.3 Networking
Figure 3-1 Topology for configuring the GPON ONY BIAS service
Table 3-1 Data plan for the GPON ONT BIAS service
Parameter Value Parameter Value
OLT PON port 0/5/0 CAR profile ID 10
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.
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:
MA5600T(config)#sysname huawei
huawei(config)#
huawei(config)#display board 0 // Query the board running status. If the board status is not normal, further
check the board status.
huawei(config)#board confirm
{ frameid[/slotid]<S><Length 1-15> }:0
Command:
display board 0
-------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline
-------------------------------------------------------------------------
0
1 H802EPBD Normal
2
3
4
5 H802GPBD Normal
6 H802EPBD Normal
7 H805GPBD Normal
8
9 H801SCUN Active_normal
10
11
12
13
14
15 H802GPBD Normal
16
17
18
19 H801GICG Normal
20
21
22
-------------------------------------------------------------------------
# Create a traffic profile. Set the index to 10, CIR to 4096 kbit/s, PIR to 8064 kbit/s, and priority to 5.
The priority policy schedules traffic according to the priority configured in the traffic profile.
huawei(config)#traffic
{ table<K> }:table
{ ip<K> }:ip
{ cir<K>|index<K>|modify<K>|name<K> }:index
{ row-index<U><0,1023> }:10
{ cir<K>|name<K> }:cir
{ 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
------------------------------------------------
TD Index : 10
TD Name : ip-traffic-table_10
Priority :5
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> }:15
{ profile-name<K>|type1<K>|type2<K>|type3<K>|type4<K>|type5<K> }:type4
{ max<K> }:max
{ max-bandwidth<U><128,1235456> }:4096
Command:
dba-profile add profile-id 15 type4 max 4096
Adding a DBA profile succeeded
Profile ID : 15
Profile name: dba-profile_15
huawei(config)#ont-lineprofile
{ 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> }:ftth_hsi
Command:
ont-lineprofile gpon profile-id 10 profile-name ftth_hsi
huawei(config-gpon-lineprofile-10)#
huawei(config-gpon-lineprofile-10)#tcont
{ tcont-list<S><Length 1-13> }:10
{ <cr>|dba-profile-id<K>|dba-profile-name<K> }:dba-profile-id
{ profile-id<U><0,512> }:15
Command:
tcont 10 dba-profile-id 15
# Create GEM port 10 for carrying ETH traffic streams and bind GEM port 10 to T-CONT 10.
huawei(config-gpon-lineprofile-10)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:10
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:10
{ <cr>|cascade<K>|encrypt<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 10 eth tcont 10
Configure the service mapping mode from the GEM port to ONT services to VLAN (default),
and map traffic streams with VLAN 35 to GEM port 10.
# Set the mapping mode of the GEM port to VLAN.
huawei(config-gpon-lineprofile-10)#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
# 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
# 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
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
----------------------------------------------------------------------------
Profile-ID :10
Profile-name :ftt_hsi
Access-type :GPON
----------------------------------------------------------------------------
FEC upstream switch :Disable
OMCC encrypt switch :Off
Qos mode :PQ
Mapping mode :VLAN
Tr069 management :Disable
----------------------------------------------------------------------------
<T-CONT 0> DBA Profile-ID:1
<T-CONT 10> DBA Profile-ID:15
<Gem Index 10>
--------------------------------------------------------------------
|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |
|Upstream-priority-queue:0 |Downstream-priority-queue:- |
--------------------------------------------------------------------
Mapping VLAN Priority Port Port Bundle Flow Transparent
index type ID ID CAR
--------------------------------------------------------------------
1 35 - - - - - -
--------------------------------------------------------------------
----------------------------------------------------------------------------
Binding times :0
----------------------------------------------------------------------------
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
{ 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.
huawei(config-gpon-srvprofile-10)#port
{ car<K>|dscp<K>|e1<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
{ q-in-q<K>|translation<K>|transparent<K>|vlanid<U><0,4095> }:35
{ <cr>|priority<K>|prival<U><0,7>|TLS<K> }:
Command:
port vlan eth 1 35
Set ONT port(s) VLAN configuration, success: 1, failed: 0
# After the configuration is completed, run the commit command to make the configured parameters
take effect.
huawei(config-gpon-srvprofile-10)#commit
huawei(config-gpon-srvprofile-10)#quit
huawei(config)#display ont-srvprofile
{ epon<K>|gpon<K> }:gpon
{ all<K>|profile-id<K>|profile-name<K> }: profile-id
{ profile-id<U><0,8192> }:10
Command:
display ont-srvprofile gpon profile-id 10
-----------------------------------------------------------------------------
Profile-ID : 10
Profile-name: HG824x
Access-type : GPON
-----------------------------------------------------------------------------
Port-type Port-number
----------------------------------------------------------------------------
POTS 2
ETH 4
TDM 0
MOCA 0
CATV 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 : -
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
-----------------------------------------------------------------------------
Port-type Port-ID Dscp-mapping-table-index
-----------------------------------------------------------------------------
ETH 1 0
ETH 2 0
ETH 3 0
ETH 4 0
IPHOST 1 0
-----------------------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
-----------------------------------------------------------------------------
ETH 1 Translation 1 35 - 35 - - -
-----------------------------------------------------------------------------
Notes: * indicates transparent attribute of the vlan
-----------------------------------------------------------------------------
Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count
-----------------------------------------------------------------------------
ETH 1 - - - Unlimited
ETH 2 - - - Unlimited
ETH 3 - - - Unlimited
ETH 4 - - - Unlimited
-----------------------------------------------------------------------------
Binding times : 0
-----------------------------------------------------------------------------
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)# 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> }:confirm
{ portid<U><0,7> }:0
{ all<K>|loid-auth<K>|ontid<K>|password-auth<K>|sn-auth<K> }:ontid
{ ontid<U><0,127> }:3
{ loid-auth<K>|password-auth<K>|sn-auth<K> }:sn-auth
{ sn<S><Length 13-16> }:48575443E1F0A409
{ 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
{ profile-id<U><0,8192> }:10
{ <cr>|desc<K> }:
Command:
ont confirm 0 ontid 3 sn-auth 48575443E1F0A409 omci ont-lineprofile-id 10 ont-srvprofile-id 10
Number of ONTs that can be added: 1, success: 1
PortID :0, ONTID :1
# To query detailed information about an ONT, run the following command: display ont info 0 3
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> }:port
{ 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> }:3
{ eth<K>|iphost<K>|moca<K> }:eth
{ ont-portid<U><1,8> }:1
{ priority<K>|vlan<K> }:vlan
{ vlanid<U><0,4095> }:35
{ <cr>|priority<K> }:
Command:
ont port native-vlan 0 3 eth 1 vlan 35
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> }:2000
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart
Command:
vlan 2000 smart
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
# 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
huawei(config)#display vlan
{ all<K>|aoe<K>|desc<K>|loop<K>|number<K>|reserve<K>|service-profile<K>|vlan-list<S><Length 1-
256>|vlanid<U><1,4093> }:2000
{ <cr>|to<K> }:
Command:
display vlan 2000
VLAN ID: 2000
VLAN name: VLAN_2000
VLAN type: smart
VLAN attribute: QinQ
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
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
Service virtual port number: 0
huawei(config)#service-port 10
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|vlan<K> }:vlan
{ aoe<K>|vlanid<U><1,4093> }:2000
{ 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
{ 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
3.5 Quiz
In this experiment, the 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?
4.1.2 Objectives
Understand the FTTB HSI service process.
Understand the functions of an MDU VLAN and an OLT VLAN.
Understand the function of a service port.
Be able to perform data configuration based on a network solution and data plan as
guided.
4.1.3 Networking
Figure 4-1 Topology for configuring the GPON ONU BIAS service
Table 4-1 Data plan for the GPON ONU BIAS service
ONT Data Plan ONU
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> }: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
20480 max 40960
huawei(config)#ont-lineprofile
{ epon<K>|gpon<K> }:gpon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><0,8192> }:20
{ <cr>|profile-name<K> }:profile-name
{ profile-name<S><Length 1-32> }:MA5822S
Command:
ont-lineprofile gpon profile-id 20 profile-name MA5822S
huawei(config-gpon-lineprofile-20)#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>|encrypt<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 0 eth tcont 0
# Configure the mapping mode from the GEM port to traffic streams to VLAN, and map management
services with VLAN 500 to GEM port 0.
huawei(config-gpon-lineprofile-20)#mapping-mode
{ iptos<K>|port-priority<K>|port-vlan-priority<K>|port-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> }:
Command:
gem mapping 0 0 vlan 500
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
huawei(config-gpon-lineprofile-20)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:add
{ gem-index<U><0,1023> }:20
{ service-type<E><eth,tdm> }:eth
{ tcont<K> }:tcont
{ tcont-id<U><0,127> }:20
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 20 eth tcont 20
# Configure mapping from broadband service VLAN 36 to GEM port 20, and set the mapping
relationship index to 20.
huawei(config-gpon-lineprofile-20)#gem
{ add<K>|delete<K>|mapping<K>|modify<K> }:mapping
{ gem-index<U><0,1023> }:20
{ mapping-index<U><0,7> }:20
{ 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> }:36
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 20 20 vlan 36
# After completing the configuration, run the commit command to make the configuration take effect.
huawei(config-gpon-lineprofile-20)#commit
huawei(config-gpon-lineprofile-20)#quit
Step 3 Configure the function of automatic MDU discovery for a PON port.
# (Optional, and ignorable if the configurations have been completed) Enter the PON board view, 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
{ 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)#ont confirm
{ portid<U><0,7> }:0
{ all<K>|loid-auth<K>|ontid<K>|password-auth<K>|sn-auth<K> }:ontid
{ ontid<U><0,127> }:4
{ loid-auth<K>|password-auth<K>|sn-auth<K> }:sn-auth
{ sn<S><Length 13-16> }:48575443F444CB04
{ 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> }:20
{ <cr>|desc<K> }:
Command:
ont confirm 0 ontid 4 sn-auth 48575443F444CB04 snmp ont-lineprofile-id 20
Number of ONTs that can be added: 1, success: 1
PortID :0, ONTID :4
# Check the MDU status. Check whether the running status and configuration status are normal, and
check whether the parameter settings match actual device functions.
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:
vlan 500 smart
huawei(config)#port
{ desc<K>|mode<K>|vlan<K> }: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
# Enter the view of the VLANIF 500 interface, and set the management IP address of the OLT to 10.175.192.36/22.
huawei(config)#interface vlanif 500
huawei(config-if-vlanif500)#ip address 10.175.192.36/22
{ integer<U><0,32>|ip_addr<I><X.X.X.X> }:22
{ <cr>|description<K>|sub<K> }:
Command:
ip address 10.175.192.36 22
huawei(config-if-vlanif500)#quit
huawei(config)#service-port
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-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
{ <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.
Step 7 Configure an inband management VLAN and IP address for the MDU.
In GPON mode, run the ont ipconfig command to configure the inband NMS address of ONT 4. The
system automatically sends the address to ONT 4 through the OMCI channel.
# 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 VLAN of the OLT).
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
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
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> }:2001
{ <cr>|to<K>|vlantype<E><mux,standard,smart,super> }:smart
Command:
vlan 2001 smart
huawei(config)#port
{ desc<K>|mode<K>|vlan<K> }:vlan
{ 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
Command:
port vlan 2001 0/19 0
huawei(config)#service-port
{ desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-port<K>|vlan<K> }:20
{ 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> }:2001
{ 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> }: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
{ <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.
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
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
-----------------------------------------------------------
20 gpon up 0 /5 /0 4 20 vlan 36
-----------------------------------------------------------
Service virtual port number: 1
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
huawei(config)#save
{ <cr>|configuration<K>|data<K> }:
Command:
save
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...
huawei(config)#telnet 10.175.192.42
{ <cr>|service-port<U><1,65535> }:
Command:
telnet 10.175.192.42
MA5822S (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> }:36
{ <cr>|to<K>|vlantype<E><mux,standard,smart> }:smart
Command:
vlan 36 smart
MA5822S(config)#port
{ desc<K>|mode<K>|vlan<K> }:vlan
{ vlan-list<S><Length 1-256>|vlanid<U><1,4093> }:36
{ frame/slot<S><Length 1-15>|to<K> }:0/0
{ portlist<S><Length 1-256> }:1
Command:
port vlan 36 0/0 1
The SVLAN ID must be the same as the C-VLAN ID configured on the OLT.
Step 3 Query a traffic profile of the system.
# Check whether an appropriate traffic profile exists in the system.
MA5822S(config)#service-port
{ desc<K>|index<U><0,511>|remote-desc<K>|vlan<K> }:20
{ adminstatus<K>|inbound<K>|outbound<K>|vlan<K> }:vlan
{ transparent<K>|vlanid<U><1,4093> }:36
{ eth<K> }:eth
{ frameid/slotid/portid<S><Length 1-15> }:0/1/1
{ multi-service<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> }:untagged
{ bundle<K>|inbound<K>|rx-cttr<K>|user-encap<K> }:rx-cttr
{ rx-index<U><0,63> }:6
{ tx-cttr<K> }:tx-cttr
{ tx-index<U><0,63> }:6
Command:
service-port 20 vlan 36 eth 0/1/1 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
MA5822S(config)#save
{ <cr>|configuration<K>|data<K> }:
Command:
save
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...
MA5822S(config)#quit
MA5822S#quit
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
vlan 36 smart
port vlan 36 0/0 1
#
display traffic table ip from-index 0
service-port 20 vlan 36 eth 0/1/1 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
save
quit
quit
y
4.5 Quiz
In this experiment, the FTTB BIAS service is configured. According to the data plan, packets in a traffic
stream carry single VLAN tags. If packets in a traffic stream are required to carry double VLAN tags,
what are the required configurations?
5.1.2 Objectives
Understand basic GPON principles.
Understand the technical principles of ADSL and VDSL.
5.1.3 Networking
Figure 5-1 Topology for configuring the xDSL BIAS service
In 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.
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.
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).
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. Therefore, you
need to create GEM ports based on the number of C-VLANs. In this 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(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
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 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.
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.
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
Step 9 Check whether the management channel between the OLT and the ONU is available.
#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 that 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.
huawei(config)#service-port 101 vlan 2000 gpon 0/5/1 ont 1 gemport 0 multi-service user-vlan 101 rx-cttr 6 tx-cttr
6
huawei(config)#service-port 102 vlan 2000 gpon 0/5/1 ont 2 gemport 0 multi-service user-vlan 101 rx-cttr 6 tx-cttr
6
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.
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)#save
huawei(config)#telnet 10.175.192.51
{ <cr>|service-port<U><0,4294967295> }:
Command:
telnet 10.175.192.51
Press CTRL_] to quit telnet mode
Trying 10.175.192.51 ...
Connected to 10.175.192.51 ...
>>User name:root
>>User password:
Step 5 Activate an ADSL2+ port and bind a line profile to the ADSL2+ port.
Activate ADSL2+ port 0/1/0 and bind it to line profile 3.
Activate other ports using the following method. To activate all ports in batches on a board, run the
activate all command.
huawei(config-if-adsl-0/1)#alarm-config 0 1
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
huawei(config)#save
quit
#
interface gpon 0/5
port 1 ont-auto-find enable
display ont autofind 1
ont confirm 1 ontid 1 sn-auth 32303131B39FD641 snmp ont-lineprofile-id 10
ont confirm 1 ontid 2 sn-auth 32303131B39FD642 snmp ont-lineprofile-id 10
#
ont alarm-profile 1 1 profile-id 1
ont alarm-profile 1 2 profile-id 1
display ont info 1 1
#
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 1 1 static ip-address 10.175.192.51 mask 255.255.252.0 gateway 10.175.192.1 vlan 500
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
#
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
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).
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. Therefore, you
need to create GEM ports based on the number of C-VLANs. In this 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(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
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.
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.
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/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.
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.
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
huawei(config)#service-port 102 vlan 2000 gpon 0/5/2 ont 2 gemport 0 multi-service user-vlan 101 rx-cttr 6 tx-cttr
6
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)#save
huawei(config)#telnet 10.175.192.51
{ <cr>|service-port<U><0,4294967295> }:
Command:
telnet 10.175.192.51
Press CTRL_] to quit telnet mode
Trying 10.175.192.51 ...
Connected to 10.175.192.51 ...
>>User name:root
>>User password:
The data in a VDSL2 line profile must be configured according to the actual line
conditions.
You can run the display vdsl line-profile command to query a configured VDSL2 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, 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.
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.
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.
You can run the display vdsl line-template command to query a configured VDSL2 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, create a VDSL2 line
profile by running the vdsl line-template quickadd command.
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 rate adaptation ratio to 100%.
huawei(config-if-vdsl-0/1)#alarm-config 0 1
huawei(config)#service-port 101 vlan 101 vdsl mode ptm 0/1/0 multi-service user-vlan untagged rx-cttr 8 tx-cttr 8
huawei(config)#save
6 Vectoring Configuration
6.1.2 Objectives
Understand the vectoring principles.
Understand the functions of vectoring.
Master vectoring feature configuration.
6.1.3 Networking
Figure 6-1 Networking diagram of the Vectoring
Parameter Data
VDSL2 mode
VLAN
Parameter Data
Vectoring group
2. Configure the OLT service VLAN, upstream port, and downstream port.
Step 1 Create a service VLAN (SVLAN) and add an upstream port to the SVLAN..
Huawei(config)#vlan 50 smart
Huawei(config)#port vlan 50 0/0 0
Step 7 Configure a global bandplan. This example sets it to the default values.
Step 8 Use the default vectoring group (group 1) to cancel the crosstalk on all frequency bands.
Step 9 Run the display xdsl vectoring-profile command to query the default vectoring profile (profile
1).
Step 10 Configure the vectoring legacy CPE activation policy to no-limit in consideration that the
vectoring function is currently in the beginning phase of applications.
6.4 Quiz
How to check the xdsl vectoring profile?
7.1.2 Objectives
Understand the G.fast principles.
Understand the functions of G.fast.
Master G.fast feature configuration.
7.1.3 Networking
Figure 7-1 Networking diagram of the G.fast
Huawei Access Certification Training Lab Guide Page 4
Parameter Value
G.fast mode
Traffic profile
Figure 7-3 Flowchart for configuring a G.fast line parameter profile in TR129 mode
Huawei(config)#service-port 101 vlan 1001 g.fast 0/1/0 multi-service user-vlan untagged rx-cttr 16 tx-cttr 16
This example uses the default G.fast alarm template (ID: 1).
Step 6 Bind the line profile and alarm template and activate the G.fast port.
7.4 Quiz
How to query existing traffic profiles?