0% found this document useful (0 votes)
278 views

FTTM Configuration Guide 02

KKKKK

Uploaded by

AbdikaniMohamoud
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
278 views

FTTM Configuration Guide 02

KKKKK

Uploaded by

AbdikaniMohamoud
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 148

FTTM Configuration Guide

Issue 02

Date 2017-10-27

HUAWEI TECHNOLOGIES CO., LTD.


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

Trademarks and Permissions

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

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

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website: http://www.huawei.com
Email: [email protected]

Issue 02 (2017-10-27) Huawei Proprietary and Confidential i


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide About This Document

About This Document

Intended Audience
This document mainly describes the networking, data planning, and configuration of the
FTTM solution.
The intended audience of this product description are as follows:
Network planning engineers
Installation and commissioning engineers
Field maintenance engineers
Network monitoring engineers
System maintenance engineers
Data configuration engineers

Symbol Conventions
The symbols that may be found in this document are defined as follows.

Symbol Description
Indicates an imminently hazardous situation which, if not
avoided, will result in death or serious injury.

Indicates a potentially hazardous situation which, if not


avoided, could result in death or serious injury.

Indicates a potentially hazardous situation which, if not


avoided, may result in minor or moderate injury.

Indicates a potentially hazardous situation which, if not


avoided, could result in equipment damage, data loss,
performance deterioration, or unanticipated results.
NOTICE is used to address practices not related to
personal injury.
Calls attention to important information, best practices and
tips.
NOTE is used to address information not related to

Issue 02 (2017-10-27) Huawei Proprietary and Confidential ii


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide About This Document

Symbol Description
personal injury, equipment damage, and environment
deterioration.

Change History
Updates between document versions are cumulative. Therefore, the latest issue contains all
updates made in previous issues.

Updates in Issue 02 (2017-10-27)


Added Configuring the Access Service of Ethernet Base Stations (Layer 3 GRE Mode,
GPON).
Added Configuring the Access Service of Ethernet Base Stations (Layer 2 Non-GRE
Mode, GPON).

Updates in Issue 01 (2016-11-25)


This is the first release.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential iii


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide Contents

Contents

About This Document .................................................................................................................... ii


1 FTTM Configuration (Base Station Access) ............................................................................. 1
1.1 FTTM Configuration Summary .................................................................................................................................... 2
1.2 Basic Concepts.............................................................................................................................................................. 3
1.3 Principle of Planning Data for Base Station Access Service......................................................................................... 5
1.3.1 Principle of Equipment Management Data Plan ........................................................................................................ 5
1.3.2 Principle of VLAN Data Plan .................................................................................................................................... 6
1.3.3 Principle of QoS Data Plan ........................................................................................................................................ 8
1.3.4 Principle of Clock Synchronization Data Plan .......................................................................................................... 9
1.3.5 Principle of Security Data Plan ................................................................................................................................ 11
1.3.6 Planning Reliability Data ......................................................................................................................................... 12
1.4 Configuring Base station access Clock Synchronization ............................................................................................ 14
1.4.1 Overview of Base station access Clock/Time Synchronization ............................................................................... 14
1.4.2 Configuring BITS Clock Synchronization ............................................................................................................... 18
1.4.3 Configuring E1 Line Clock Synchronization ........................................................................................................... 21
1.4.4 Configuring Ethernet Clock Synchronization .......................................................................................................... 23
1.4.5 Configuring "1PPS+ToD" Clock Synchronization .................................................................................................. 26
1.4.6 Configuring 1588v2 Clock Synchronization ........................................................................................................... 30
1.5 Configuring Ethernet Base Station Access Service (in QinQ VLAN Mode, GPON) ................................................. 35
1.5.1 Service Requirements and Application Scenarios.................................................................................................... 36
1.5.2 Configuration Process .............................................................................................................................................. 36
1.5.3 Adding ONUs to OLT .............................................................................................................................................. 37
1.5.4 Configuring E1 Base Station Access Service (in Native TDM Mode, GPON) ....................................................... 40
1.5.4.1 Service Requirement and Application Scenario .................................................................................................... 40
1.5.4.2 Configuration Process ........................................................................................................................................... 41
1.5.4.3 Adding ONUs to OLT ........................................................................................................................................... 42
1.5.4.4 Configuring Management Service Ports on OLT and ONUs ................................................................................ 45
1.5.4.5 Configuring TDM E1 Connections ....................................................................................................................... 46
1.5.4.6 Configuring Clock Synchronization ..................................................................................................................... 46
1.5.4.7 Configuring Congestion Control and Security Policies ........................................................................................ 49
1.5.4.8 Configuring Network Protection........................................................................................................................... 50
1.5.4.9 Verifying Services ................................................................................................................................................. 51

Issue 02 (2017-10-27) Huawei Proprietary and Confidential iv


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide Contents

1.5.5 Configuring Management Service Ports on OLT and ONUs ................................................................................... 53


1.5.6 Configuring OLT QinQ VLANs and Service Ports ................................................................................................. 55
1.5.7 Configuring Ethernet Access Service Ports on ONUs ............................................................................................. 57
1.5.8 Configuring Clock Synchronization ........................................................................................................................ 59
1.5.9 Configuring Congestion Control and Security Policies ........................................................................................... 60
1.5.10 Configuring Network Protection............................................................................................................................ 62
1.5.11 Verifying Services .................................................................................................................................................. 66
1.6 Configuring the Access Service of Ethernet Base Stations (Layer 3 GRE Mode, GPON) ......................................... 66
1.6.1 Service Requirements and Application Scenarios.................................................................................................... 66
1.6.2 Configuration Procedure .......................................................................................................................................... 67
1.6.3 Adding an ONU to an OLT ...................................................................................................................................... 68
1.6.4 Configuring the VLAN and Service Flow ............................................................................................................... 70
1.6.5 Configuring OSPF ................................................................................................................................................... 72
1.6.6 Configuring GRE Tunnels ....................................................................................................................................... 74
1.6.7 Configuring Network Protection.............................................................................................................................. 75
1.6.8 Verifying Services .................................................................................................................................................... 77
1.7 Configuring the Access Service of Ethernet Base Stations (Layer 2 Non-GRE Mode, GPON) ................................. 77
1.7.1 Service Requirements and Application Scenarios.................................................................................................... 77
1.7.2 Configuration Procedure .......................................................................................................................................... 78
1.7.3 Adding an ONU to an OLT ...................................................................................................................................... 78
1.7.4 Configuring the VLAN and Service Flow ............................................................................................................... 80
1.7.5 Configuring Network Protection.............................................................................................................................. 82
1.7.6 Verifying Services .................................................................................................................................................... 83
1.8 Configuring Symmetrical TDM PWE3 Access for OLTs on Both Sides (GPON) ..................................................... 84
1.8.1 Service Requirements and Application Scenario ..................................................................................................... 84
1.8.2 Configuration Procedure .......................................................................................................................................... 84
1.8.3 Adding ONUs to the OLT and Configuring the Management Service Port ............................................................. 85
1.8.4 Configuring the TDM Connection and TDM PW ................................................................................................... 88
1.8.5 Configuring Clock Synchronization ........................................................................................................................ 91
1.8.6 Configuring Congestion Control and Security Policies ........................................................................................... 92
1.8.7 Configuring Network Protection.............................................................................................................................. 94
1.8.8 Verifying Services .................................................................................................................................................... 98
1.9 Configuring E1 Access for the ONU and Creating TDM PWE3 Between the ONU and Peer PE (GPON) ............... 99
1.9.1 Service Requirements and Application Scenario ..................................................................................................... 99
1.9.2 Service Requirement and Application Scenario ..................................................................................................... 100
1.9.3 Adding ONUs to the OLT and Configuring the Management Service Port ........................................................... 100
1.9.4 Configuring the TDM VCL and CESoP Connection on the ONU ......................................................................... 104
1.9.5 Configuring the Static LSP and PW on the CX600 ............................................................................................... 105
1.9.6 Configuring Clock Synchronization ...................................................................................................................... 107
1.9.7 Verifying Services .................................................................................................................................................. 108
1.10 Configuring Small-Cell Base Station Access Service (through CLI Configuration, GPON) ................................. 110
1.10.1 Service Requirement and Application Scenario ................................................................................................... 110

Issue 02 (2017-10-27) Huawei Proprietary and Confidential v


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide Contents

1.10.2 Configuration Procedure ...................................................................................................................................... 111


1.10.3 Cascading the DSLAM to the OLT ...................................................................................................................... 111
1.10.4 Configuring the QinQ VLAN and Service Flow on the OLT .............................................................................. 113
1.10.5 Configuring the VDSL2 Bonding Group and Service Flow on the DSLAM ...................................................... 115
1.10.6 Configuring Ethernet Access Service Ports on ONUs ......................................................................................... 116
1.10.7 Configuring Congestion Control and Security Policies ....................................................................................... 117
1.10.8 Configuring Clock Synchronization .................................................................................................................... 118
1.10.9 Configuring Network Protection.......................................................................................................................... 120
1.10.10 Verifying Services .............................................................................................................................................. 121
1.11 Configuring Small-Cell Base Station Access Service (through GUI Pre-Deployment, GPON) ............................. 122
1.11.1 Service Requirements and Application Scenarios ................................................................................................ 122
1.11.2 Configuration Procedure ...................................................................................................................................... 123
1.11.3 Configuring the IP Address of the NMS Server and the IP Address Pool of the ONU (GPON Dock Scenario) . 123
1.11.4 Creating the Authentication-Free Policy and Associating It with the OLT (GPON Dock Scenario) ................... 125
1.11.5 Configuring the Remote Software Commissioning Policy (GPON Dock Scenario) ........................................... 129
1.11.6 Configuring the IP Address of the NMS Server (VDSL2 Dock Scenario) .......................................................... 130
1.11.7 Creating the Authentication-Free Policy (VDSL2 Dock Scenario) ..................................................................... 131
1.11.8 Configuring the Remote Software Commissioning Policy (VDSL2 Dock Scenario) .......................................... 135
1.11.9 Configuring the VDSL2 Bonding Group on the DSLAM (VDSL2 Dock Scenario) ........................................... 136
1.11.10 Adding the P2P Pre-Deployment Policy (VDSL2 Dock Scenario) .................................................................... 137
1.11.11 Configuring Clock Synchronization ................................................................................................................... 139
1.11.12 Verifying Services .............................................................................................................................................. 141

Issue 02 (2017-10-27) Huawei Proprietary and Confidential vi


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1 FTTM Configuration (Base Station


Access)

About This Chapter


On an FTTM (base station access) network, 2G or 3G/4G base stations are connected to
ONUs that serve as cell backhaul units (CBUs) in multiple modes. Then the ONUs transmit
2G or 3G services to OLTs and then to the upper-layer network. After being transmitted over
the upper-layer network, the services access the basic station controller (BSC) or radio
network controller (RNC). In this manner, 2G or 3G/4G services are carried on the base
station access network.
1.1 FTTM Configuration Summary
The fiber to the mobile base station (FTTM) Configuration Guide is written based on solution
scenarios, covering the entire E2E service configuration process for the OLT and ONU. This
guide provides guidance for service configuration in FTTM involving the OLT and ONUs of
different models. The OLT is used in all service scenarios for FTTM. Therefore, OLT users
can select the concerned scenarios. Different ONUs may be used in service scenarios for
FTTM. Therefore, ONU users can see the following table to select the concerned scenarios.
1.2 Basic Concepts
Many concepts are involved in the base station access solution. The following only provides
major concepts involved in the network diagram of base station access service.
1.3 Principle of Planning Data for Base Station Access Service
This topic plans base station access service in a unified manner from different dimensions.
The data plans are used to guide configuration and optimization of base station access service
in different scenarios.
1.4 Configuring Base station access Clock Synchronization
This topic describes the concept and principle of clock synchronization in base station access
network, clock synchronization solutions supported by devices, and configuration differences.
1.5 Configuring Ethernet Base Station Access Service (in QinQ VLAN Mode, GPON)
ONUs are connected to IP base stations through FE/GE Ethernet ports and OLTs are
interconnected with MAN equipment in QinQ VLAN mode to achieve access of base station
services. Alternatively, OLTs are interconnected with MAN equipment in common VLAN or

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 1


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

stacking VLAN mode to achieve access of base station services. You can plan the access
mode according to your requirements. The QinQ VLAN mode is described as an example.
1.6 Configuring the Access Service of Ethernet Base Stations (Layer 3 GRE Mode, GPON)
ONUs are connected to IP base stations through GE/XGE Ethernet ports and OLTs are
interconnected with metropolitan area network (MAN) equipment in generic routing
encapsulation (GRE) mode to achieve access of base station services.
1.7 Configuring the Access Service of Ethernet Base Stations (Layer 2 Non-GRE Mode,
GPON)
ONUs are connected to IP base stations through GE/XGE Ethernet ports and OLTs are
interconnected with metropolitan area network (MAN) equipment in Common VLAN mode
to achieve access of base station services.
1.8 Configuring Symmetrical TDM PWE3 Access for OLTs on Both Sides (GPON)
Two OLTs are symmetrically connected to the packet switched network (PSN). Signals of
enterprise or base transceiver station (BTS) private line services are transmitted to an ONU
through an E1 port, and then the ONU sends the signals to the OLT through GPON lines. The
OLT, functioning as a superstratum provider edge (SPE), is connected to its peer OLT through
TDM PWE3. This enables the PSN network to carry traditional circuit switched (CS)
services.
1.9 Configuring E1 Access for the ONU and Creating TDM PWE3 Between the ONU and
Peer PE (GPON)
An ONU is connected to the OLT through GPON lines. Signals of enterprise or base
transceiver station (BTS) private line services are transmitted to the OLT through the E1 port
on the ONU. TDM PWE3 is created between the ONU and the peer provider edge (PE)
CX600 to enable the packet switched network (PSN) to carry traditional circuit switched (CS)
services.
1.10 Configuring Small-Cell Base Station Access Service (through CLI Configuration,
GPON)
Dock ONUs are connected to small-cell base stations through Ethernet ports, and OLTs
interconnect with the devices on the metro network through QinQ VLANs to provide the
access service for small-cell base stations. This topic describes how to implement the access
service of a small-cell base station through the CLI in the scenario without the U2000.
1.11 Configuring Small-Cell Base Station Access Service (through GUI Pre-Deployment,
GPON)
Dock ONUs are connected to small-cell base stations through Ethernet ports, and OLTs
interconnect with the devices on the metro network through QinQ VLANs to provide the
access service for small-cell base stations. This topic describes how to implement the access
service of a small-cell base station through GUI pre-deployment in the scenario with the
U2000 available.

1.1 FTTM Configuration Summary


The fiber to the mobile base station (FTTM) Configuration Guide is written based on solution
scenarios, covering the entire E2E service configuration process for the OLT and ONU. This
guide provides guidance for service configuration in FTTM involving the OLT and ONUs of
different models. The OLT is used in all service scenarios for FTTM. Therefore, OLT users

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 2


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

can select the concerned scenarios. Different ONUs may be used in service scenarios for
FTTM. Therefore, ONU users can see the following table to select the concerned scenarios.
All OLT and ONU commands described in this document use V800R016C00 as examples.
Commands may be slightly different in versions. For detailed commands, see the OLT and
ONU Command Reference of the corresponding version.

Service Scenario ONU Service Interface of


Supported ONU
1.5.4 Configuring E1 Base Station Access MA5698, E1
Service (in Native TDM Mode, GPON) MA5898
1.5 Configuring Ethernet Base Station Access MA5694, LAN
Service (in QinQ VLAN Mode, GPON) MA5698,
MA5898
1.8 Configuring Symmetrical TDM PWE3 MA5698, E1
Access for OLTs on Both Sides (GPON) MA5898
1.9 Configuring E1 Access for the ONU and MA5698, E1
Creating TDM PWE3 Between the ONU and MA5898
Peer PE (GPON)
1.10 Configuring Small-Cell Base Station MA5694S LAN
Access Service (through CLI Configuration,
GPON)
1.11 Configuring Small-Cell Base Station MA5694S LAN
Access Service (through GUI Pre-Deployment,
GPON)

1.2 Basic Concepts


Many concepts are involved in the base station access solution. The following only provides
major concepts involved in the network diagram of base station access service.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 3


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Network Diagram of Base Station Access Service

BTS
ONU
E1 OLT BSC
E1
NodeB SDH
E1/STM-1 GE
FE/GE
STM-1
Splitter RNC
GE
/10
GE IP/MPLS
GE
E1
ONU

Base station Side Access Side Network Side

User Side
Concept Description
BTS Base transceiver station, a 2G base station. BTSs are controlled by
base station controllers (BSCs) and constitute a a base station
subsystem (BSS) with BSCs as radio devices. BTSs serve for a
district and communicate with mobile stations (MSs) through air
interfaces.
NodeB A 3G base station, providing physical radio links between mobile
devices (mobile phones) and the universal mobile telecommunications
system (UMTS) network. NodeBs transmit and receive data through
radio interfaces.

Network Side
Concept Description
SDH Synchronous digital hierarchy. SDH is a transmission scheme that
follows ITU-T G.707, G.708, and G.709. It defines the transmission
features of digital signals such as frame structure, multiplexing mode,
transmission rate level, and interface code. SDH is an important part
of ISDN and B-ISDN. It interleaves the bytes of low-speed signals to
multiplex the signals to high-speed counterparts, and the line coding
of scrambling is used only for signals. SDH is suitable for the fiber
communications system with high speed and a large capacity since it
uses synchronous multiplexing and flexible mapping structure.
PTN Packet transport network. PTN provides bidirectional point-to-point
connections for packet switching services and supports point-to-point
networking using various service granularity. It can use lower-layer
transmission channels such as SDH, Ethernet, and OTN to transmit
services.
BSC/RNC BSC: Base station controller. A BSC controls a group of base stations

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 4


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Concept Description
and manages the radio network. Specifically, BSCs manage radio
districts and channels, operate and maintain radio devices, manage
connections of MSs, and provide interfaces between base stations and
the mobile switching center (MSC). Radio control functions can be
integrated in BSCs whenever possible to simplify functions of base
stations.
RNC: radio network controller. RNCs are key NEs on 3G networks.
RNCs manage mobility, process calls, manage links, and switch users
on the access network.

1.3 Principle of Planning Data for Base Station Access


Service
This topic plans base station access service in a unified manner from different dimensions.
The data plans are used to guide configuration and optimization of base station access service
in different scenarios.

1.3.1 Principle of Equipment Management Data Plan


Equipment management planning involves planning for management VLANs and IP
addresses.

Management VLAN Planning


The OLT and ONUs use the same management VLAN.
The OLT and ONUs use a single SVLAN as the equipment management VLAN.

IP Address Planning
Scenario IP Address Planning
Equipment A management IP address is allocated to each OLT/ONU.
management Management IP addresses of ONUs connected to the same OLT are
usually in the same network segment. Private IP addresses planned
by the carrier are used for the purpose of security.
1.5.4 Configuring E1 No IP addresses need to be planned because ONUs access the
Base Station Access private line service through E1.
Service (in Native
TDM Mode, GPON)
1.5 Configuring No IP addresses need to be planned because the OLT and ONUs
Ethernet Base provide Layer 2 transparent channels.
Station Access
Service (in QinQ
VLAN Mode,
GPON)
1.8 Configuring Plan IP address of VLAN interface, and MPLS loopback interface

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 5


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Scenario IP Address Planning


Symmetrical TDM symmetrically
PWE3 Access for Both IP addresses of VLAN interfaces should be in the same
OLTs on Both Sides network segment
(GPON)
1.9 Configuring E1 Plan IP address of the ONU E1 board
Access for the ONU Plan IP address of the sub interface of CX600
and Creating TDM
PWE3 Between the Both IP addresses should be in the same network segment
ONU and Peer PE
(GPON)
1.10 Configuring No IP addresses need to be planned because the OLT and ONUs
Small-Cell Base provide Layer 2 transparent channels.
Station Access
Service (through
CLI Configuration,
GPON)
1.11 Configuring
Small-Cell Base
Station Access
Service (through
GUI
Pre-Deployment,
GPON)

1.3.2 Principle of VLAN Data Plan


VLAN planning for the base station access service covers planning of VLANs and VLAN
translation policies in different networking scenarios.

VLAN and VLAN Translation Policy


Scenario VLAN Planning VLAN Translation

ONU OLT
1.5.4 Use a reserved CVLAN N/A N/A
Configuring E1 (starts from 4000).
Base Station NOTICE
Access Service A reserved CVLAN cannot be
(in Native TDM used for Ethernet services on
Mode, GPON) ONUs.

1.5 Configuring Single VLAN tag: ONUs 1. Different user The OLT
Ethernet Base and the OLT use single VLANs are transparently
Station Access VLAN tags. Service planned for transmits packets
Service (in QinQ packets are forwarded different with CVLANs
VLAN Mode, based on single VLAN tags services from ONUs.
GPON) after being transmitted from (service
the OLT upstream to the packets with
1.10 Configuring
metro network. In this way, different

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 6


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Scenario VLAN Planning VLAN Translation

ONU OLT
Small-Cell Base a large number of VLANs destination
Station Access for the metro network will addresses or
Service (through be occupied if there are paths) of base
CLI many OLTs. stations.
Configuration, Generally, four VLANs are 2. User VLANs
GPON) planned for Ethernet base of packets sent
1.11 Configuring station access service, from the base
Small-Cell Base which are used for: stations are
Station Access
translated to a
Clock synchronization
Service (through specified
Voice and data services
GUI CVLAN based
Pre-Deployment, of base stations on service
GPON) Base station types.
management
ONU management
(Recommended) Double 1. Different user The OLT adds an
VLAN tags: Each OLT uses VLANs are SVLAN tag:
double VLAN tags, an planned for CVLAN<->SVLA
outer VLAN tag (SVLAN) different N+CVLAN.
and inner VLAN tag services
(CVLAN). SLVANs are the (service
same but CLVANs are packets with
different. In this way, the different
number of VLANs required destination
for the metro network is addresses or
significantly reduced. paths) of base
stations.
2. User VLANs
of packets sent
from the base
stations are
translated to a
specified
CVLAN based
on service
types.
1.8 Configuring Plan a global VLAN on the - -
Symmetrical OLT and ONUs, which
TDM PWE3 cannot conflict with other
Access for OLTs service VLANs.
on Both Sides
(GPON)
1.9 Configuring Plan a global VLAN on the - -
E1 Access for OLT and ONUs, which
the ONU and cannot conflict with other
Creating TDM service VLANs.
PWE3 Between
the ONU and

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 7


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Scenario VLAN Planning VLAN Translation

ONU OLT
Peer PE (GPON)

1.3.3 Principle of QoS Data Plan


QoS planning for the base station access service is end-to-end. QoS policies include traffic
classification, marking and scheduling, traffic monitoring, and DBA policies. QoS policies for
different scenarios are different. This topic provides QoS policies in the following scenarios.

E1 Base Station Access Service (in Native TDM Mode)

Symmetrical TDM PWE3 Access for OLTs on Both Sides

E1 Access for the ONU and TDM PWE3 Between the ONU and Peer PE
In this scenario, ONUs access services through E1 lines. Therefore, the QoS policies are
mainly planned for traffic on PON lines.

Parameter Value Remarks


T-CONT It is recommended that the It is recommended that all E1
number of T-CONTs do not lines of the same ONU use the
exceed 3. The T-CONT ID ranges same T-CONT.
from 1 to 3.
DBA type Fixed bandwidth and minimum The DBA must be configured
delay properly to achieve low delay,
low jitter, and zero packet loss so
that the quality of the E1 base
station access service can be
ensured.
DBA bandwidth Nx7232 kbit/s is recommended. It is recommended that the
(N is the number of E1 lines.) T-CONT ID be 1, 2, or 3 and all
E1 lines of the same ONU use the
same T-CONT. This setting can
leverage bandwidth resources.
Each E1 line requires only 5440
kbit/s.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 8


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Ethernet Base Station Access Service (in QinQ VLAN Mode)

Small-Cell Base Station Access Service (in QinQ VLAN through CLI
Configuration)

Small-Cell Base Station Access Service (in QinQ VLAN Mode Through GUI
Pre-Deployment)
Parameter Value
Traffic 802.1p priority OAM service of base stations: 7
classification, Synchronization service of base stations: 7
marking, and
scheduling policies Voice and data services of base stations: 7
Queue scheduling PQ
mode
OLT queue ID 7
(eight queues)
Traffic OLT T-CONT (only for QinQ private line services use a separate
monitorin GPON) T-CONT to distinguish the QinQ private line
g and services from other services.
DBA
policies DBA type Type 3 ("Assured bandwidth+maximum
bandwidth" DBA profile. This type of DBA
not only ensures a fixed bandwidth for users
but also enables users to preempt a certain
amount of bandwidth, but the total bandwidth
cannot exceed the maximum bandwidth.)
DBA bandwidth Configure DBA bandwidth based on
bandwidth requirements of base stations.
Downstream traffic Configure a traffic profile based on bandwidth
profile requirements of base stations.
ONU Upstream port rate Rates of upstream ports are not limited.
limit
Downstream port Rates of downstream ports are not limited.
rate limit

1.3.4 Principle of Clock Synchronization Data Plan


Wireless base stations have high requirements on clock precision. Clock synchronization
solutions must be planned based on types and standards of base stations.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 9


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Clock Synchronization Solution


Classific Clock Description
ation Synchronizat
ion Solution
Frequenc BITS clock For GSM and WCDMA base stations that only require
y frequency synchronization, BITS clocks are transmitted to
synchroni base stations to achieve network-wide clock
zation synchronization when OLTs have BITS input clocks.
E1 line clock For GSM and WCDMA base stations that only require
frequency synchronization, E1 line clocks are used to
achieve clock synchronization when OLTs transmit services
upstream to SDH networks through E1 ports.
Synchronous For GSM and WCDMA base stations that only require
Ethernet Clock frequency synchronization, clocks restored from code
streams on Ethernet links are used to achieve network-wide
clock synchronization when OLTs transmit services
upstream to PSN networks through GE/10GE ports.
Time 1PPS+ToD OLTs receive time information through 1PPS+TOD ports.
synchroni time The time information is transmitted from external time
zation servers (such as Huawei SYNLOCK T6020) that obtain
standard time synchronization information using GPS. This
solution is recommended for 3G and LTE stations.
1588V2 time The OLT obtains the 1588v2 time by using the upstream
network interface (the time is transmitted by the upstream
network hop by hop). Then, the OLT transmits the time to
the ONU through the GPON line. After recovering the time,
the ONU transmits the time to the base station by means of
the 1588v2 or time interface.

The priority of recommended frequency synchronization solutions is as follows: BITS clock > line
clock > synchronous Ethernet clock. Select a clock source based on the actual conditions of COs.

Recommended Clock Synchronization Solutions for Different Base Station


Access Scenarios
Scenario Recommended Clock Synchronization Solution
E1 base station access BITS clock
service (in Native TDM E1 line clock
mode)
Ethernet base station access Synchronous Ethernet clock
service (in QinQ VLAN 1PPS+ToD time (remark 1)
mode)
1588v2 time
Small-Cell Base Station
Access Service (in QinQ
VLAN)

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 10


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Remark 1: Ethernet base stations may require time synchronization.

1.3.5 Principle of Security Data Plan


Security planning involves planning for system security, user security, and service security.
Security policy ensures normal services.

The device provides complete security measures, but not all security measures need to be deployed.
Only the security measures that meet the following requirements need to be deployed:
The security measures can be used on the live network.
The security measures are easy to deploy.
The security measures are effective.
Different ONUs support different security features. Select the security feature recommended in this
topic according to actual ONU capabilities.

System Security
Security Solution Description and Usage
Vulnerability Suggestion
DoS attack Enable the anti-DoS-attack After the anti-DoS-attack function is
function for OLT and enabled, control packets are
MDU. monitored and those exceeding the
number threshold are discarded.
Use this solution for new site
deployment.
IP attack Enable the anti-IP-attack After the anti-IP-attack function is
function for OLT and enabled, a device discards the IP
MDU. packets received from the user side
whose destination IP address is the
IP address of the device, and
therefore the system is protected.
Use this solution for new site
deployment.

User Security
Security Solution Description and Usage
Vulnerability Suggestion

MAC spoofing Enable the After anti-MAC-duplicate is


anti-MAC-duplicate enabled, the system records the first
function for OLT and MAC address learned from the port
MDU. and binds the MAC address to the
port and VLAN. If receiving packets
sent from the host that has the same
MAC address with the port, the
system discards the packets directly.
In this case, it can prevent users from

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 11


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Security Solution Description and Usage


Vulnerability Suggestion
forging MAC addresses to perform
malicious attacks.
Use this solution for new site
deployment.
MAC attack Enable the anti-MAC After anti-MAC spoofing is enabled,
spoofing function for OLT the system can prevent users from
and MDU. forging IP addresses to perform
malicious attacks.
Use this solution for new site
deployment.
IP spoofing Enable the anti-IP spoofing After anti-IP spoofing is enabled, the
function for MDU. system can prevent users from
forging IP addresses to perform
malicious attacks.
Use this solution for new site
deployment.

1.3.6 Planning Reliability Data


Reliability planning covers planning of equipment reliability and upstream/downstream
networking protection. Reliability planning helps to achieve high reliability of private line
services.

Equipment Reliability
Protection Scheme Description Suggestion
Main control board The system uses two main control Mandatory
1+1 protection boards of the same model and
version. The two main control
boards work in the active/standby
mode by default. When the active
main control board fails, the system
switches to the standby main control
board to prevent service
interruption.
Power board 1+1 A subrack is configured with two Mandatory
protection power boards of the same model
and version, which back up each
other. When one of the power
boards fails, the other power board
can still provide power supply to the
device and so the system can still
work properly.
Upstream board 1+1 The system uses two upstream This protection scheme is
protection interface boards of the same model recommended when the

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 12


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Protection Scheme Description Suggestion


and version. Each board provides NXED board is used to
one upstream port and two upstream transmit traffic upstream.
ports are bound together using Link
Aggregation Control Protocol
(LACP). When the active upstream
port fails, traffic will be transmitted
upstream through the standby
upstream port.

Upstream Networking Protection


Protection Scheme Description Suggestion
Link aggregation Multiple Ethernet ports are bound This protection scheme is
group together as an aggregation group to mandatory when the
increase the bandwidth and balance NXED board is used to
the inbound and outbound load of transmit traffic upstream.
each member port. In addition, the
ports in an aggregation group back
up each other, which enhances the
reliability of links.
Protection group A protection group of upstream When the main control
(Ethernet) ports contains a working port and a board is used to transmit
protection port. In normal state, the traffic upstream, this
working port carries services and protection scheme is
the protection port does not. When mandatory.
the link at the working port is faulty,
the system automatically switches
services from the working port to
the protection port to ensure normal
service transmission and protect the
uplink.

Link aggregation group and Ethernet protection group usually are not configured at the same time. You
are advised to configure only one of the two protection schemes.

Downstream Networking Protection


Protection Scheme Description Suggestion
xPON Type B single Two PON ports on the same OLT It provides port-level
homing back up each other. When one of the protection and has a low
PON ports fails, the system cost. The inter-board
automatically switches to the other protection mode is
PON port. This protection scheme recommended.
provides port-level protection with
low costs. It protects services
against fiber failure at the working

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 13


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Protection Scheme Description Suggestion


port.
GPON Type C single Two PON ports on the same OLT, It provides link-level
homing two PON ports on an ONU, two protection.
backbone optical fibers, two optical
splitters, and two tributary optical
fibers are configured to provide
link-level protection.
GPON Type C dual Two PON ports on different OLTs, It provides full backup
homing two PON ports on an ONU, two protection, which is the
backbone optical fibers, two optical highest level of protection,
splitters, and two tributary optical at the same time, it has the
fibers are configured to implement highest cost.
this protection. The difference This protection scheme
between this protection scheme and can be configured for only
the GPON Type C single homing the Ethernet QinQ private
protection scheme is that the ONU line service. It does not
needs to be dual homed to two support TDM services,
OLTs in this protection scheme. including Native TDM and
This full-backup protection scheme SAToP.
provides the highest-level protection
for links and has the highest costs.

The Type B single homing protection scheme, Type C single homing scheme, and Type C dual homing
protection scheme are mutually exclusive. Therefore, only one of these protection schemes can be
configured for an ONU.

1.4 Configuring Base station access Clock Synchronization


This topic describes the concept and principle of clock synchronization in base station access
network, clock synchronization solutions supported by devices, and configuration differences.

1.4.1 Overview of Base station access Clock/Time Synchronization


This topic describes the clock/time synchronization concept, clock/time synchronization
solutions supported by the system, and solution comparison. Proper clock synchronization
solutions are selected for Base station access networks based on base station type and
equipment layout.

Synchronization Concept
Synchronization includes frequency synchronization and time synchronization.
Frequency synchronization is also called clock synchronization, which indicates that certain
strict relations are kept between signals in terms of frequency and phase. The valid transience
occurs at the same rate for a signal. In this way, the equipment in the entire network runs at
the same rate.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 14


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Time synchronization is also called frequency and phase synchronization, which has two
meanings: instant and interval. Instant refers to an instant of continuous time, and interval
refers to an interval between two instants.
The purpose of clock/time synchronization is to control the occurrence of controlled slip and
to decrease the slip, burst bit error, sudden phase change, jitter, or drift of various device
signals in the telecommunications service network to the minimum, ensuring the high-quality
and high-efficiency running of the telecommunications service network.

Clock/Time Synchronization Solution


Figure 1-1 shows a clock/time synchronization solution in base station access network. The
clock/time synchronization principle is as follows: The clock obtained by the OLT serves as
the clock source and transmits signals to the base station through xPON lines.

Figure 1-1 Clock/Time synchronization solution in base station access network


Clock output
BITSB port BITS_IN1
CIUA BITS_IN0
2MHz,2Mb/s
1PPS+TOD

Selector

E1
BITS Clock
EDSH card
output by

Selector
Sync-ETH ONU
PON
board OGHK/NXED/
PLL OXHD
Base 1PPS+TOD
station System PLL
MPL card
(active) Line clock
OLT source

The figure shows that the OLT can obtain the following clock sources:
BITS clock source
E1 line clock source
Synchronous Ethernet line clock
"1PPS+ToD" time injection
End-to-end 1588v2 clock source
Internal clock sources are not recommended because they are in free oscillation state and
do not have advantages in precision.

Comparison of Clock/Time Synchronization Solution


Table 1-1 shows a clock synchronization solution in base station access network.

Table 1-1 Comparison of clock/time synchronization solution

Synchronization Usage Scenario Advantage Limitation or


Solution Hardware
Requirements

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 15


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Synchronization Usage Scenario Advantage Limitation or


Solution Hardware
Requirements

BITS clock Applies to the base 1. Clock precision 1. The OLT must
station that requires meets the have BITS clock
only frequency following resources.
synchronization, requirements: 2. BITS clocks
such as G.8262 cannot provide
GSM/WCDMA. In features when independent
addition, the OLT CKUA service clocks for
must have BITS stratum-3 each E1 channel.
clock input clock units 3. BITS clocks
resources. are support only
configured frequency
EEC synchronization.
specifications
defined in
G.8261 when
no stratum-3
clock units
are
configured
2. No requirements
on delay, jitter,
or pack loss of a
PSN network
E1 line clock Applies to the BTS 1. Clock precision 1. In E1 upstream
that requires only meets the transmission, the
frequency following OLT must be in
synchronization, requirements: the same office
such as G.8262 as SDH
GSM/WCDMA. In features when equipment.
addition, the OLT CKUA 2. E1 line clocks
can directly connect stratum-3 support only
to an SDH network. clock units frequency
are synchronization.
configured
EEC
specifications
defined in
G.8261 when
no stratum-3
clock units
are
configured
2. E1 line clocks
are all obtained
from physical
line clocks and
they have the
best performance
in terms of

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 16


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Synchronization Usage Scenario Advantage Limitation or


Solution Hardware
Requirements
stability and
reliability.
Ethernet clock Applies to the BTS 1. Clock precision 1. Ethernet clocks
that requires only meets the require that
frequency following MAN PSN
synchronization, requirements: networks have
such as G.8262 the capability of
GSM/WCDMA. In features when synchronizing
addition, the OLT CKUA Ethernet clocks.
upstream network stratum-3 2. Ethernet clocks
has the capability of clock units support only
synchronizing are frequency
Ethernet clocks. configured synchronization.
EEC
specifications
defined in
G.8261 when
no stratum-3
clock units
are
configured
2. No requirements
on delay, jitter,
or pack loss of a
PSN network
"1PPS+ToD" time Applies to the BTS 1. This solution A BITS server must
injection that requires time supports time be at the same place
synchronization, synchronization as the OLT.
such as and frequency
CDMA2000/TD-SC synchronization
DMA/LTE. When and provides
the OLT upstream high-precision
network does not time. The clock
support 1588V2, this quality meets
solution is G.813 and
recommended. G.8262
specifications.
2. This solution
does not have
requirements on
PSN networks.
End-to-end 1588v2 Applies to the BTS 1. This solution The upstream
clock that requires time supports time network of the OLT
synchronization, synchronization should support
such as and frequency 1588V2 hop by hop.
CDMA2000/TD-SC synchronization
DMA/LTE. When and provides
the OLT upstream high-precision
network supports time. The clock

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 17


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Synchronization Usage Scenario Advantage Limitation or


Solution Hardware
Requirements
1588V2 hop by hop, quality meets
this solution is G.813 and
recommended. G.8262
specifications.
2. This solution
does not require
a 1588V2 server
on the OLT.

1.4.2 Configuring BITS Clock Synchronization


The OLT receives the clock through the BITS and transmits the clock to the ONU through the
PON line and then downstream to the base station, implementing clock synchronization of the
entire network.

Application Context
As shown in Figure 1-2, the OLT receives the clock from the BITS and the clock share the
same clock source with the BSC/RNC. Then the OLT transmits the clock to the ONU through
the PON line clock. After recovering the clock, the ONU transmits the clock to the base
station through the E1 or FE/GE port.

Figure 1-2 BITS clock synchronization


BITS
BTS

N*E1 ONU OLT BSC

N*E1
PSN
FE/GE GE
CX600
GE/10GE

NodeB ONU RNC


BITS clock
PON line clock

Prerequisite
The clock daughter board CKUA of the control board is in position.
The OLT must have the BITS clock input resource.
The CIUA board (its BITS clock daughter board must be in position) must work in the
normal state.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 18


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Data Plan
Item Data
CIUA board Ports: 0/0/0 and 0/0/1
Clock type: BITS 2 MHz, 120 ohms
Clock priority: p0 > p1
Upstream port Port: 0/9/0
E1 port of the ONU 0/1/0
ETH port of the 0/4/0
ONU

Configuration Concept
1. The OLT uses the BITS line clock as the system clock.
2. The system clock is issued to the ONU through the optical path of the PON service
board.
3. The ONU uses the line clock of the PON upstream port as the system clock.
4. The E1 Tx clock of the ONU is synchronized to the system clock of the ONU.

Procedure
Step 1 Configure the OLT-side clock.
1. Configure a system clock source.
Run the clock source command to configure BITS_IN ports 0/0/0 and 0/0/1 on the
CIUA board as the system clock sources. Set their IDs to 0 and 1 respectively.
huawei(config)#clock source 0 0/0/0 2mhz 120ohm
huawei(config)#clock source 1 0/0/1 2mhz 120ohm
2. Set the priority of the system clock source.
Run the clock priority command to configure the priorities of clock sources 0 and 1 to
p0 > P1.
huawei(config)#clock priority system 0/1
3. Query the configurations and status of the system clock source.
Run the display clock source command to query the configurations and status of the
clock source. Ensure that the configuration information about the system clock is
matching and the status is normal.
Step 2 Configure the ONU-side clock.
1. Configure the PON line clock source as the system clock.
The system clock of the OLT is issued to the ONU through the optical path of the PON
port, implementing the clock synchronization between the OLT and the ONU.
a. Run the clock source command to configure the clock recovered from the PON
upstream port as the system clock source of the ONU.
b. Run the clock priority command to configure the priority of the clock source.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 19


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#clock source 0 0/0/1


Clock source set succeeded

huawei(config)#clock priority system 0

2. (Optional) Configure the system clock as the Tx clock of the E1 port.

This step is required only when the base station is connected to the ONU through the E1 port. When the
base station is connected to the ONU through the ETH port, this step is not required. By default, it is the
system clock and cannot be modified.
a. Run the interface tdm command to enter the E1 port configuration mode.
b. Run the tx clock or port portid udt system command to configure the Tx clock of
the port as the system clock.
c. Run the display port state command to query the Tx clock of the E1 port.
huawei(config)#interface tdm 0/1
huawei(config-if-tdm-0/1)#port 0 udt system
huawei(config-if-tdm-0/1)#display port state 0
---------------------------------------
Port : 0
State : normal
Mode : UDT
Code : HDB3
Looptype : -
Timeslot : -
Clock : system
CRC4 : -
Signaling : -
ESF : -
Impedance : 120 Ohm
---------------------------------------

3. Query the configurations and status of the system clock source.


Run the display clock source command to query the configurations and status of the
system clock source.
huawei(config-if-tdm-0/1)#quit
huawei(config)#display clock source
--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/1 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

----End

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 20


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Result
After the configuration of base station access service is complete, use the test meter to
perform tests on the E1/ETH access port of the ONU and the upstream GE/10GE port. The
long-term bit error ratio (BER) and delay should be able to meet the requirements for actual
applications.

1.4.3 Configuring E1 Line Clock Synchronization


When optical line terminals (OLTs) access a base station that requires only frequency
synchronization, such as GSM/WCDMA, and when OLTs are connected upstream to the
synchronous digital hierarchy (SDH) network by using the E1 port, the E1 line clock can be
used for clock synchronization.

Application Context
As shown in Figure 1-3, the OLT recovers the clock from the E1 line. This clock is
transmitted by the BSC/RNC through the SDH network and then transmitted to the ONU
through the PON line clock. After recovering the clock, the ONU transmits the clock to the
base station through the E1 line.

Figure 1-3 E1 line clock synchronization

BTS

ONU OLT BSC

N*E1
SDH
N*E1
E1/STM-1

NodeB ONU CX600 RNC

E1/STM-1 line clock

PON line clock

Data Plan
Item Data
EDSH board Port ID: 0/5/0
E1 port of the ONU 0/1/0

Configuration Concept
1. The OLT traces the upstream E1 line clock of the E1 board as the system clock.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 21


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

2. The system clock is issued to the ONU through the optical path of the PON service
board.
3. The ONU uses the line clock of the PON upstream port as the system clock.
4. The E1 Tx clock of the ONU is synchronized to the system clock of the ONU.

Procedure
Step 1 Configure the OLT-side clock.
1. Configure a system clock source.
Run the clock source command to configure the line clock of E1 port 0/5/0 on the EDSH
board as the system clock source. Set the clock source ID to 0.
The clock module automatically judges the types of the specified clock sources and
selects them according to their priorities, serving as clock sources for phase lock.
huawei(config)#clock source 0 0/5/0
2. Set the priority of the system clock source.
Run the clock priority command to configure clock source 0 to have the highest priority.
huawei(config)#clock priority system 0
3. Query the configurations and status of the system clock source.
Run the display clock source command to query the configurations and status of the
clock source. Ensure that the configuration information about the system clock is
matching and the status is normal.
Step 2 Configure the ONU-side clock.
1. Configure the PON line clock source as the system clock.
The system clock of the OLT is issued to the ONU through the optical path of the PON
port, implementing the clock synchronization between the OLT and the ONU.
a. Run the clock source command to configure the clock recovered from the PON
upstream port as the system clock source of the ONU.
b. Run the clock priority command to configure the priority of the clock source.
huawei(config)#clock source 0 0/0/1
Clock source set succeeded

huawei(config)#clock priority system 0

2. Configure the system clock as the Tx clock of the E1 port.


a. Run the interface tdm command to enter the E1 port configuration mode.
b. Run the tx clock or port portid udt system command to configure the Tx clock of
the port as the system clock.
c. Run the display port state command to query the Tx clock of the E1 port.
huawei(config)#interface tdm 0/1
huawei(config-if-tdm-0/1)#port 0 udt system
huawei(config-if-tdm-0/1)#display port state 0
---------------------------------------
Port : 0
State : normal
Mode : UDT
Code : HDB3
Looptype : -

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 22


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Timeslot : -
Clock : system
CRC4 : -
Signaling : -
ESF : -
Impedance : 120 Ohm
---------------------------------------

3. Query the configurations and status of the system clock source.


Run the display clock source command to query the configurations and status of the
system clock source.
huawei(config-if-tdm-0/1)#quit
huawei(config)#display clock source
--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/1 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

----End

Result
After the configuration of base station access service is complete, use the test meter to
perform tests on the E1 port of the ONU and the upstream E1 port of the OLT's E1 board. The
long-term bit error ratio (BER) and delay should be able to meet the application requirements.

1.4.4 Configuring Ethernet Clock Synchronization


When OLTs access a base transceiver station (BTS) that requires only frequency
synchronization, such as GSM/WCDMA/FDD LTE and when the OLTs are connected
upstream to the packet switched network (PSN) by using the GE/10GE port, the clock can be
recovered from the bit streams on the Ethernet link, implementing synchronization between
over the entire network.

Application Context
As shown in Figure 1-4, the OLT receives the clock from the upstream synchronous Ethernet
port. (This clock is transmitted through the PSN network and must be supported by all
intermediate nodes.) Then the clock is transmitted to the ONU through the PON line clock.
After recovering the clock, the ONU transmits the clock to the base station through the
synchronous Ethernet or independent clock port.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 23


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-4 Ethernet clock synchronization

BTS N*E1 ONU OLT BSC

N*E1
PSN
FE/GE GE
GE/10GE CX600
NodeB/ E1/STM-1 line clock RNC
ONU
eNodeB
Synchronization Ethernet line clock
GPON line clock

Prerequisite
The upstream MAN PSN of the OLT must feature the capability of Ethernet synchronization.

Data Plan
Item Data

Upstream port Port: 0/9/0


E1 port of the ONU 0/1/0
ETH port of the 0/3/1
ONU

Configuration Concept
1. The OLT uses the synchronous Ethernet clock of the upstream slot as the system clock.
2. The system clock is issued to the ONU through the optical path of the PON service
board.
3. The ONU uses the line clock of the PON upstream port as the system clock.
4. The Tx clock of the E1 or ETH port on the ONU is synchronized to the system clock of
the ONU.

Procedure
Step 1 Configure the OLT-side clock.
1. Configure a system clock source.
Run the clock source command to configure the line clock of the GE/10GE port as the
system clock source. Set the clock source ID to 0.
The clock module automatically judges the types of the specified clock sources (ETH),
and selects them according to their priorities, serving as clock sources for phase lock.
huawei(config)#clock source 0 0/9/0
2. Set the priority of the system clock source.
Run the clock priority command to configure clock source 0 to have the highest priority.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 24


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#clock priority system 0


3. Query the configurations and status of the system clock source.
Run the display clock source command to query the configurations and status of the
clock source. Ensure that the configuration information about the system clock is
matching and the status is normal.
Step 2 Configure the ONU-side clock.
1. Configure the PON line clock source as the system clock.
The system clock of the OLT is issued to the ONU through the optical path of the PON
port, implementing the clock synchronization between the OLT and the ONU.
a. Run the clock source command to configure the clock recovered from the PON
upstream port as the system clock source of the ONU.
b. Run the clock priority command to configure the priority of the clock source.
huawei(config)#clock source 0 0/0/1
Clock source set succeeded

huawei(config)#clock priority system 0

2. (Optional) Configure the system clock as the Tx clock of the E1 port.

This step is required only when the base station is connected to the ONU through the E1 port. When the
base station is connected to the ONU through the ETH port, this step is not required. By default, it is the
system clock and cannot be modified.
a. Run the interface tdm command to enter the E1 port configuration mode.
b. Run the tx clock or port portid udt system command to configure the Tx clock of
the port as the system clock.
c. Run the display port state command to query the Tx clock of the E1 port.
huawei(config)#interface tdm 0/1
huawei(config-if-tdm-0/1)#port 0 udt system
huawei(config-if-tdm-0/1)#display port state 0
---------------------------------------
Port : 0
State : normal
Mode : UDT
Code : HDB3
Looptype : -
Timeslot : -
Clock : system
CRC4 : -
Signaling : -
ESF : -
Impedance : 120 Ohm
---------------------------------------

3. Query the configurations and status of the system clock source.


Run the display clock source command to query the configurations and status of the
system clock source.
huawei(config-if-tdm-0/1)#quit
huawei(config)#display clock source
--------------------------------------------------------------------

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 25


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Index Type Source State Priority QL Selected


--------------------------------------------------------------------
0 line 0/0/1 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

----End

Result
After the configuration of base station access service is complete, use the test meter to
perform tests on the E1/ETH access port of the ONU and the upstream GE/10GE port. The
long-term bit error ratio (BER) and delay should be able to meet the requirements for actual
applications.

1.4.5 Configuring "1PPS+ToD" Clock Synchronization


In the base stations that require time synchronization, such as CDMA2000/TD-SCDMA/LTE,
the OLT obtains time by "1PPS+ToD" time injection way. The OLT transmits the clocks to the
ONU through GPON lines and then downstream to the base station, implementing clock
synchronization of the entire network.

Context
"1PPS+ToD" is a time synchronization technology. The quality of clock transmitted by
"1PPS+ToD" meets the stratum 3 clock requirement and the time quality reaches a
submicrosecond precision, which solves the time and clock synchronization problems of the
user. In addition, using "1PPS+ToD" can better reduce user's investment. Therefore, it is
applicable to the base station access services.

Application Context
As shown in Figure 1-5, the OLT is injected with time through the 1PPS+ToD interface (the
time source is obtained from the GPS). Then, the OLT transmits the time signals to the ONU
by means of the GPON time synchronization technology. After recovering the time signals,
the ONU transmits them to the base station by means of the time interface.
This scheme has no additional requirement for the PSN network, but the OLT must be
deployed with a BITS server (such as SYNLOCK from Huawei). Therefore, this scheme is
recommended when the upstream network of the OLT does not support 1588V2.
This scheme requires that ONU supports external clock interface.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 26


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-5 "1PPS+ToD" time injection

Data Plan
Item Data

Clock source The time is injected from the BITS IN port of the CIUA board to the
1PPS+ToD interface:
BITS IN ports of the CIUA board: 0/0/0 and 0/0/1
Clock priority: p0 > p1
ETH port of the 0/3/1
ONU

Configuration Concept
1. On the OLT side, select the 1PPS+ToD clock signal as the system clock source.
2. The system clock is issued to the ONU through the optical path of the PON service
board.
3. The ONU uses the 1588V2 clock of the PON upstream port as the system clock.
4. The ONU transmits time signals to the base station by using the FE/GE port or the clock
output interface on panel.

Procedure
Configure the OLT-side clock.
a. Add a "1PPS+ToD" clock source.
Add two line "1PPS+ToD" clock source, and specify their index and priority.
huawei(config)#ptp source 0 0/0/0
huawei(config)#ptp source 1 0/0/1
huawei(config)#ptp priority 0/1
b. Configure the "1PPS+ToD" clock source as the system clock source.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 27


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#clock source 0 0/0/0 2mhz 120ohm


huawei(config)#clock source 1 0/0/0 2mhz 120ohm
huawei(config)#clock priority system 0/1
c. Query the configuration and status of the "1PPS+ToD" clock source and system
clock source.
huawei(config)#display ptp source
----------------------------------------------------------------
Index Board Source State Priority Selected LockState
----------------------------------------------------------------
0 H901CIUA 0/0/ 0 Normal 0 YES successful
1 H901CIUA 0/0/ 1 Normal 1 successful
2 --- -/ -/ - --- --- --- ---
3 --- -/ -/ - --- --- --- ---
4 --- -/ -/ - --- --- --- ---
5 --- -/ -/ - --- --- --- ---
6 --- -/ -/ - --- --- --- ---
7 --- -/ -/ - --- --- --- ---
8 --- -/ -/ - --- --- --- ---
9 --- -/ -/ - --- --- --- ---
----------------------------------------------------------------
huawei(config)#display clock source system
-----------------------------------------------------------------------
Index Board Source Clk-type State Priority QL Selected
-----------------------------------------------------------------------
0 H901CIUA 0/0/ 0 2MHz Normal 0 --- YES
1 H901CIUA 0/0/ 1 2MHz Normal 1 --- ---
-----------------------------------------------------------------------

Configure the ONU-side clock (the clock is connected to the base station by using
GE port to implement time synchronization).
This configuration is applicable to time synchronization in the base station where
synchronous base station technologies (TDS-CDMA/CDMA2000/LTE is a
representative) are adopted. The base station must provide ETH ports and support
1588v2 packets.
a. Add a system clock source (frequency synchronization).
The 1588v2 clock is issued to the ONU through the optical path of the PON port,
implementing the clock synchronization between the OLT and the ONU.
i. Run the clock source command to add the 1588v2 clock source as the system
clock source.
huawei(config)#clock source 0 0/0/1
ii. Run the clock priority command to configure the priority of the 1588v2 clock
source.
huawei(config)#clock priority system 0
b. Configure the 1588v2 time source (time synchronization).
i. Run the ptp enable command to enable the 1588v2 function.
huawei(config)#ptp enable
ii. Run the ptp source command to add the 1588v2 clock source as the system
clock source.
huawei(config)#ptp source 0 0/0/1

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 28


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

iii. Run the ptp priority command to configure the priority of the 1588v2 clock
source.
huawei(config)#ptp priority 0
c. Run the ptp port enable command to enable the 1588v2 function on the Ethernet
port to transmit 1588v2 packets on the specified port.
huawei(config)#ptp port 0/3/1 enable
d. Query the configuration and status of the 1588v2 clock source and system clock
source.
Run the display ptp source command to query the status of the 1588v2 clock
source.
Run the display clock source command to query the configurations and status
of the system clock source.
huawei(config)#display ptp source
---------------------------------------------------------------------
Index Type Source State Priority Selected Lock state
---------------------------------------------------------------------
0 1588 0/0/1 Normal 0 --- successful
1 -- -/ -/ - --- --- --- ---
2 -- -/ -/ - --- --- --- ---
3 -- -/ -/ - --- --- --- ---
4 -- -/ -/ - --- --- --- ---
5 -- -/ -/ - --- --- --- ---
6 -- -/ -/ - --- --- --- ---
7 -- -/ -/ - --- --- --- ---
8 -- -/ -/ - --- --- --- ---
9 -- -/ -/ - --- --- --- ---
---------------------------------------------------------------------
huawei(config)#display clock source
--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/1 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

Configure the ONU-side clock (the ONU provides the base station with a clock by
using the clock interface on the panel to implement time synchronization).
This configuration is applicable to time synchronization in the base station where
synchronous base station technologies (TDS-CDMA/CDMA2000/LTE is a
representative) are adopted. If a base station provides the ETH port but does not support
1588v2 packets, the ONU outputs 1PPS+ToD time for the base station synchronization.
a. Add a system clock source (frequency synchronization).
The 1588v2 clock is issued to the ONU through the optical path of the PON port,
implementing the clock synchronization between the OLT and the ONU.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 29


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

i. Run the clock source command to add the 1588v2 clock source as the system
clock source.
huawei(config)#clock source 0 0/0/1
ii. Run the clock priority command to configure the priority of the 1588v2 clock
source.
huawei(config)#clock priority system 0
b. Configure the 1588v2 time source (time synchronization).
i. Run the ptp enable command to enable the 1588v2 function.
huawei(config)#ptp enable
ii. Run the ptp source command to add the 1588v2 clock source as the system
clock source.
huawei(config)#ptp source 0 0/0/1
iii. Run the ptp priority command to configure the priority of the 1588v2 clock
source.
huawei(config)#ptp priority 0
c. Configure the time output mode of the clock output interface.
The ONU provides an independent output clock through time output port 0 on the
panel. Configure the clock output signal to 2 MHz and time signal to 1pps+ubx.

Configure the clock/time output mode according to actual conditions.


huawei(config)#clock bits-type 0 clock 2mhz
BITS clock parameter set successfully
huawei(config)#clock bits-type 0 time 1pps protocol ubx
BITS clock parameter set successfully

----End

1.4.6 Configuring 1588v2 Clock Synchronization


In the base stations that require time synchronization, such as CDMA2000/TD-SCDMA/LTE,
the OLT brings 1588v2 clocks in end-to-end (E2E) 1588v2 mode. The OLT transmits the
clocks to the ONU through GPON lines and then downstream to the base station,
implementing clock synchronization of the entire network.

Context
1588v2 is a time synchronization technology. The quality of clock transmitted by 1588v2
meets the stratum 3 clock requirement and the time quality reaches a submicrosecond
precision, which solves the time and clock synchronization problems of the user. In addition,
using 1588v2 can better reduce user's investment. Therefore, 1588v2 is applicable to the base
station access services.

Application Context
As shown in Figure 1-6, the OLT obtains the 1588v2 time by using the upstream network
interface (the time is transmitted by the upstream network hop by hop). Then, the OLT
transmits the time to the ONU through the GPON line. After recovering the time, the ONU
transmits the time to the base station by means of the 1588v2 or time interface.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 30


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

This scheme does not require a 1588v2 server on the OLT. Therefore, this scheme is
recommended when the upstream network of the OLT supports 1588v2 hop by hop.

Figure 1-6 E2E 1588v2


eNodeB

GE ONU OLT BSC

N*E1
PSN
GE GE
GE/10GE CX600

NodeB ONU 1588V2 RNC


GPON line clock

Data Plan
Item Data
1588v2 clock GE or 10 GE uplink port of the OLT: 0/9/0
source Clock source selection mode: priority
GPON service port 0/3/1
of the OLT
Ports of the ONU GPON uplink port: 0/0/1
ETH service port: 0/3/1

Configuration Concept
1. On the OLT side, select the clock signal recovered from 1588v2 packets as the system
clock source.
2. The system clock is issued to the ONU through the optical path of the PON service
board.
3. The ONU uses the 1588v2 clock of the PON upstream port as the system clock.
4. The Tx clock of the GE port on the ONU is synchronized to the system clock of the
ONU.
5. The ONU synchronizes the clock and time with the base station in the following three
modes:
The ONU transmits 1588v2 packets to the base station by using the GE port.
The ONU provides independent time signals to the base station by using the clock
output interface.

Procedure
Configure the OLT-side clock.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 31


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

a. Configure the global 1588v2 function.


Run the ptp enable command to enable 1588v2 on a device.
huawei(config)#ptp enable
(Optional) Run the ptp domain command to configure a 1588v2 time domain.
Each time domain supports only one clock source. All the devices in the 1588v2
time domain are synchronized with the clock source. Ensure that the time domain of
an MDU is the same as that of the optical line terminal (OLT).
huawei(config)#ptp domain 1
b. Configure the system clock source and time synchronization (frequency
synchronization).
i. Run the command to configure the index of the system clock source.
The clock source can be the synchronous clock recovered from a GE or 10 GE
line on the network side, 1588v2 clock, or BITS clock.
When the network supports synchronous Ethernet clock, the clock is
recommended.
huawei(config)#clock source 0 1588
ii. Run the clock priority system command to set the priority of the clock source.
A device may trace multiple clock sources for synchronizing the clock. It
selects the clock source with the highest priority as the clock source.
huawei(config)#clock priority system 0
iii. Optional: Configure the mode for dynamically selecting the system clock
source.
The system supports static and dynamic selection. When dynamic selection is
required based on Synchronization Status Message (SSM), run the clock
ql-mode enable command to enable the SSM selection mode.
c. Configure the 1588v2 time source (time synchronization).
i. Run the ptp source command to configure a 1588v2 time source.
ii. Configure the mode of selecting the 1588v2 time source.
A time source can be statically or dynamically selected.
To statically select a time source based on the local priority, run the ptp
priority command to set the priority of the time source.
To dynamically select a time source based on the best master clock
(BMC), run the ptp bmc enable command to configure the status of the
automatic BMC source selection function.
iii. Run the ptp port enable command to enable 1588v2 on an Ethernet port to
transmit 1588v2 packets.
Enable 1588v2 on the ports that are required to transmit 1588v2 packets, for
example, the uplink port on an OLT and user-side port on an MDU. You are
not required to enable the function on the GPON port connecting the OLT and
MDU.
huawei(config)#ptp source 0 0/9/0
huawei(config)#ptp port 0/9/0 enable

d. (Optional) Configure the attributes of the 1588 V2 clock source.


Configure 1588v2 parameters, such as timestamp mode of the 1588v2 packets,
MAC encapsulation mode, and UDP encapsulation mode. By default, the MAC

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 32


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

mode is used as the packet encapsulation mode, and the Layer 2 multicast mode is
used as the packet forwarding mode.
When the default attributes of the 1588v2 clock source do not meet the actual
requirement, run the command to modify the attributes.

Before modification, ensure that the attributes of the 1588v2 clock source are the same as the actual ones.
In this example, assume that the default attributes of the system clock source meet the application
requirements.
e. Query the configuration and status of the 1588v2 clock source and system clock
source.
Run the command to query the status of the 1588v2 clock source.
Run the command to query the configurations and status of the system clock
source.
huawei(config)#display ptp source
-----------------------------------------------------------------
Index Board Source State Priority Selected LockState
-----------------------------------------------------------------
0 H901MPLB 0/9/ 0 Normal 0 YES successful
1 --- -/ -/ - --- --- --- ---
2 --- -/ -/ - --- --- --- ---
3 --- -/ -/ - --- --- --- ---
4 --- -/ -/ - --- --- --- ---
5 --- -/ -/ - --- --- --- ---
6 --- -/ -/ - --- --- --- ---
7 --- -/ -/ - --- --- --- ---
8 --- -/ -/ - --- --- --- ---
9 --- -/ -/ - --- --- --- ---
-----------------------------------------------------------------
huawei(config)#display clock source system
-----------------------------------------------------------------------
Index Board Source Clk-type State Priority QL Selected
-----------------------------------------------------------------------
0 H901MPLB 0/9/ 0 --- Normal 0 --- YES

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

Configure the ONU-side clock (the clock is connected to the base station by using
GE port to implement time synchronization).
This configuration is applicable to time synchronization in the base station where
synchronous base station technologies (TDS-CDMA/CDMA2000/LTE is a
representative) are adopted. The base station must provide ETH ports and support
1588v2 packets.
a. Add a system clock source (frequency synchronization).
The 1588v2 clock is issued to the ONU through the optical path of the PON port,
implementing the clock synchronization between the OLT and the ONU.
i. Run the clock source command to add the 1588v2 clock source as the system
clock source.
huawei(config)#clock source 0 0/0/1
ii. Run the clock priority command to configure the priority of the 1588v2 clock
source.
huawei(config)#clock priority system 0

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 33


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

b. Configure the 1588v2 time source (time synchronization).


i. Run the ptp enable command to enable the 1588v2 function.
huawei(config)#ptp enable
ii. Run the ptp source command to add the 1588v2 clock source as the system
clock source.
huawei(config)#ptp source 0 0/0/1
iii. Run the ptp priority command to configure the priority of the 1588v2 clock
source.
huawei(config)#ptp priority 0
c. Run the ptp port enable command to enable the 1588v2 function on the Ethernet
port to transmit 1588v2 packets on the specified port.
huawei(config)#ptp port 0/3/1 enable
d. Query the configuration and status of the 1588v2 clock source and system clock
source.
Run the display ptp source command to query the status of the 1588v2 clock
source.
Run the display clock source command to query the configurations and status
of the system clock source.
huawei(config)#display ptp source
---------------------------------------------------------------------
Index Type Source State Priority Selected Lock state
---------------------------------------------------------------------
0 1588 0/0/1 Normal 0 --- successful
1 -- -/ -/ - --- --- --- ---
2 -- -/ -/ - --- --- --- ---
3 -- -/ -/ - --- --- --- ---
4 -- -/ -/ - --- --- --- ---
5 -- -/ -/ - --- --- --- ---
6 -- -/ -/ - --- --- --- ---
7 -- -/ -/ - --- --- --- ---
8 -- -/ -/ - --- --- --- ---
9 -- -/ -/ - --- --- --- ---
---------------------------------------------------------------------
huawei(config)#display clock source
--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/1 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

Configure the ONU-side clock (the ONU provides the base station with a clock by
using the clock interface on the panel to implement time synchronization).

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 34


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

This configuration is applicable to time synchronization in the base station where


synchronous base station technologies (TDS-CDMA/CDMA2000/LTE is a
representative) are adopted. If a base station provides the ETH port but does not support
1588v2 packets, the ONU outputs 1PPS+ToD time for the base station synchronization.
a. Add a system clock source (frequency synchronization).
The 1588v2 clock is issued to the ONU through the optical path of the PON port,
implementing the clock synchronization between the OLT and the ONU.
i. Run the clock source command to add the 1588v2 clock source as the system
clock source.
huawei(config)#clock source 0 0/0/1
ii. Run the clock priority command to configure the priority of the 1588v2 clock
source.
huawei(config)#clock priority system 0
b. Configure the 1588v2 time source (time synchronization).
i. Run the ptp enable command to enable the 1588v2 function.
huawei(config)#ptp enable
ii. Run the ptp source command to add the 1588v2 clock source as the system
clock source.
huawei(config)#ptp source 0 0/0/1
iii. Run the ptp priority command to configure the priority of the 1588v2 clock
source.
huawei(config)#ptp priority 0
c. Configure the time output mode of the clock output interface.
The ONU provides an independent output clock through time output port 0 on the
panel. Configure the clock output signal to 2 MHz and time signal to 1pps+ubx.

Configure the clock/time output mode according to actual conditions.


huawei(config)#clock bits-type 0 clock 2mhz
BITS clock parameter set successfully
huawei(config)#clock bits-type 0 time 1pps protocol ubx
BITS clock parameter set successfully

----End

Result
After the FTTM service configuration is complete, use the test meter to perform tests on the
ETH access port of the ONU and the upstream GE/10GE port of the OLT. The long-term bit
error ratio (BER) and delay should be able to meet the requirements for actual applications.

1.5 Configuring Ethernet Base Station Access Service (in


QinQ VLAN Mode, GPON)
ONUs are connected to IP base stations through FE/GE Ethernet ports and OLTs are
interconnected with MAN equipment in QinQ VLAN mode to achieve access of base station
services. Alternatively, OLTs are interconnected with MAN equipment in common VLAN or

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 35


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

stacking VLAN mode to achieve access of base station services. You can plan the access
mode according to your requirements. The QinQ VLAN mode is described as an example.

1.5.1 Service Requirements and Application Scenarios


Service Requirements
ONUs are connected to 3G/LTE base stations and GPON is used for carrying the mobile
access network in a unified manner to meet mobile carriers' requirements for a high
bandwidth and high-density coverage of base stations.
A simple, mature solution is used for service configuration to ensure high service quality
as well as high transmission efficiency.

Application Scenarios
As shown in Figure 1-7, ONUs receive the ETH service data from 3G base stations through
FE/GE ports, encapsulate the ETH packets into GEM frames, and then send them to the OLT
through the GPON upstream ports. The OLT restores the ETH signals and configures QinQ
VLANs for the signals to enable the data of base stations to be transparently transmitted to the
remote PTN over the public network. Then the remote PTN device restores the ETH signals.

Figure 1-7 Networking diagram of Ethernet base station access service

eNodeB
RNC
FE/GE ONU OLT
FE/GE
GE/10GE
GE CX600
NodeB PSN RNC
ONU
FE/GE
FE/GE

ETH GPON QinQ L2/L3 VPN ETH

1.5.2 Configuration Process


The following figure shows the configuration process for Ethernet base station access service
(in QinQ VLAN mode).

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 36


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Start

Adding ONUs to OLT

Configuring Management
Service Ports on OLT and OLT Side
ONUs

Configuring OLT QinQ


VLANs and Service Ports

Configuring Congestion
Control and Security
Policies

Configuring Network
Protection

Configuring Ethernet
Access Service Ports
ONU Side

Configuring Clock
Synchronization

Verifying Services

End

1.5.3 Adding ONUs to OLT


This topic describes how to add ONUs to the OLT. ONUs can be configured only after they
are added to the OLT successfully.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 37


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Context
When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, service profile, and alarm profile.
An ONU can be added in two modes: offline addition and online confirmation. Select
either mode as required.

Data Planning

Table 1-2 Key data plan

Configurati Data
on Item

DBA profile Profile ID: 20


Profile type: Type 3
Assured bandwidth: 100 Mbit/s
Maximum bandwidth: 120 Mbit/s
Line profile Profile ID: 10
T-CONT ID: 4
GEM port ID for management service of ONUs: 11
GEM Port ID for synchronization service of base stations: 12
GEM Port ID for OAM service of base stations: 13
GEM Port ID for voice and data services of base stations: 14
VLAN VLAN for management service of ONUs: 8
(remark 1) VLAN for base station access service:
VLAN for synchronization service: 1000
VLAN for OAM service: 1001
VLAN for voice and data services: 1002
Networking PON port: 0/3/1
data ONU parameters:
ONU ID: 1
SN: 3230313163902641

Remark 1: Ethernet base stations have multiple services and different services require
different VLANs. The preceding table uses the synchronization service, OAM service, and
voice and data services as an example.

Procedure
Step 1 Configure GPON ONU profiles.
1. Configure a DBA profile.
huawei(config)#dba-profile add profile-id 20 type3 assure 102400 max 122880
2. Configure an ONU line profile.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 38


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

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


huawei(config-gpon-lineprofile-10)#tcont 4 dba-profile-id 20 //Bind T-CONT 4 to
DBA profile 20.
huawei(config-gpon-lineprofile-10)#gem add 11 eth tcont 0
huawei(config-gpon-lineprofile-10)#gem add 12 eth tcont 4 //Add GEM port 12 to T-CONT
4.
huawei(config-gpon-lineprofile-10)#gem add 13 eth tcont 4 //Add GEM port 13 to T-CONT
4.
huawei(config-gpon-lineprofile-10)#gem add 14 eth tcont 4 //Add GEM port 14 to T-CONT
4.
huawei(config-gpon-lineprofile-10)#gem mapping 11 0 vlan 8
huawei(config-gpon-lineprofile-10)#gem mapping 12 1 vlan 1000 //Map GEM port 12 to
CVLAN 1000.
huawei(config-gpon-lineprofile-10)#gem mapping 13 2 vlan 1001 //Map GEM port 13 to
CVLAN 1001.
huawei(config-gpon-lineprofile-10)#gem mapping 14 3 vlan 1002 //Map GEM port 14 to
CVLAN 1002.
huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit
3. (Optional) Configure an alarm profile.
The default GPON alarm profile ID is 1. The value of each alarm threshold is 0
which indicates that alarms are not reported.
In this example, the default alarm profile is used and no configuration is required.
Step 2 Add ONUs to the OLT.
1. Add ONU 1 in offline mode.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641
snmp ont-lineprofile-id 10

2. (Optional) Bind an alarm profile.


By default, an ONU will be automatically bound to alarm profile 1 (default profile). You
need to manually bind an alarm profile to an ONU only when the default alarm profile
does not meet requirements.
In this example, the default alarm profile is used. Therefore, you do not need to manually
bind an alarm profile.
Step 3 Confirm the ONU status.
After adding an ONU, run the display ont info command to query the current status of the
ONU. Ensure that Control flag is active, Run State is online, and Config state is normal.
The following uses ONU 1 as an example to describe how to confirm ONU status.
huawei(config-if-gpon-0/3)#display ont info 1 1
---------------------------------------------------------------------
F/S/P : 0/3/1
ONT-ID : 1
Control flag : active //Indicates that the ONU is activated.
Run state : online //Indicates that the ONU is online.
Config state : normal //Indicates that the ONU is in normal state.
...//Other command output is omitted.
huawei(config-if-gpon-0/3)#quit

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 39


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

----End

Follow-up Procedure
When Config state is failed, Run state is offline, or Match state is mismatch:
If Control flag is deactivated, run the ont activate command in GPON mode to activate
the ONU.
If Run state is offline, a physical line may be broken or the optical module may be
damaged. Check the line and the optical module.
If Config state is failed, the configured ONU capability exceeds the actual ONU
capability. In this case, run the display ont failed-configuration command in the
diagnose mode to check the failed configuration item and the failure cause. Then, rectify
the fault accordingly.

1.5.4 Configuring E1 Base Station Access Service (in Native TDM


Mode, GPON)
ONUs transmit E1 signals of base stations to OLTs in Native TDM mode and OLTs are
interconnected with transmission equipment through E1 ports. In this manner, traditional
circuit switching services can be carried over GPON networks.

1.5.4.1 Service Requirement and Application Scenario

Service Requirement
As a mainstream full-service access technology in the future, the passive optical network
(PON) supports fast deployment and service provisioning. It also helps simplify the access
network and reduce the costs on construction and subsequent maintenance of the access
network. Currently, carriers in China and outside China are using the PON to carry 2G/3G
base station services over their existing FTTx networks that are established for accessing
individual/enterprise users. In this manner, carriers can implement the access of all the
services at the access layer in a unified mode.
ONUs are connected to 2G or 3G base stations through E1 ports.
GPON is used for carrying the mobile access network in a unified manner to meet
mobile carriers' requirements for a high bandwidth and high-density coverage of base
stations.
Existing SDH resources are utilized efficiently to implement high-quality transmission of
TDM services.

Application Scenario
As shown in Figure 1-8, the ONU accesses TDM services of the 2G or 3G base station
through the E1 port, and then transmits the service data to the GPON service board on the
OLT in the Native TDM mode. The OLT restores TDM signals, and then transmits the signals
to the SDH network through the E1 port. In this manner, service access of the 2G or 3G base
station is implemented between the ONU and the OLT in the Native TDM mode.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 40


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-8 Networking diagram of E1 base station access service

BTS
BSC
N*E1 ONU OLT
N*E1

NodeB SDH CX600


ONU
N*E1
N*E1

E1 Native TDM E1/STM-1


RNC

1.5.4.2 Configuration Process


The following figure shows the configuration process for E1 base station access service.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 41


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Start

Adding ONUs to OLT

Configuring Management
Service Ports on OLT and
ONUs OLT Side

Configuring TDM E1
Connections

Configuring Congestion
Control and Security
Policies

Configuring Network
Protection

Configuring Clock
Synchronization

Verifying Services

End

1.5.4.3 Adding ONUs to OLT


This topic describes how to add ONUs to the OLT. ONUs can be configured only after they
are added to the OLT successfully.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 42


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Context
When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, and alarm profile.
An ONU can be added in two modes: offline addition and online confirmation. Select
either mode as required.

Data Plan

Table 1-3 Key data plan

Configurati Data
on Item

DBA profile DBA profile for management service: dba-profile_1 (system default)
DBA profile for private line service:
Profile ID: 21
Profile type: Fixed bandwidth and minimum delay
DBA bandwidth: 28928 kbit/s (Each ONU accesses four E1 private
lines and each line has a recommended DBA bandwidth of 7232
kbit/s.)
Line profile Profile ID: 11
T-CONT ID: 1 (for private line service) and 2 (for management service)
GEM port ID for management service: 11
GEM port ID for DDN private line service: 13
Networking PON port: 0/3/1
data ONU parameters:
ONU ID: 1
SN: 3230313163902641

Procedure
Step 1 Configure GPON ONU profiles.
1. Configure a DBA profile. Enable the bandwidth compensation function and set the DBA
bandwidth allocation mode for the GPON port to minimum bandwidth delay.
huawei(config)#dba-profile add profile-id 21 type1 fix 28928 bandwidth_compensate
yes
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#port dba bandwidth-assignment-mode 1 min-loop-delay
huawei(config-if-gpon-0/3)#quit
2. Configure an ONU line profile.
huawei(config)#ont-lineprofile gpon profile-id 11
huawei(config-gpon-lineprofile-11)#tcont 1 dba-profile-id 21 //Bind T-CONT 1 to
DBA profile 21
huawei(config-gpon-lineprofile-11)#tcont 2 dba-profile-id 1 //Bind T-CONT 2 to DBA
profile 1

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 43


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config-gpon-lineprofile-11)#gem add 11 eth tcont 2


huawei(config-gpon-lineprofile-11)#gem add 13 tdm tcont 1 //Add GEM port 13 to T-CONT
1.
huawei(config-gpon-lineprofile-11)#gem mapping 11 0 vlan 8
huawei(config-gpon-lineprofile-11)#gem mapping 13 1 e1 1 //Map GEM port 13 to E1
port 1 on the ONU.
huawei(config-gpon-lineprofile-11)#commit
huawei(config-gpon-lineprofile-11)#quit
3. (Optional) Configure an alarm profile.
The default GPON alarm profile ID is 1. The value of each alarm threshold is 0
which indicates that alarms are not reported.
In this example, the default alarm profile is used and no configuration is required.
Step 2 Add ONUs to the OLT.
1. Add ONU 3 in offline mode.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 ontid 1 sn-auth 3230313163902641
snmp ont-lineprofile-id 11

2. (Optional) Bind an alarm profile.


By default, an ONU will be automatically bound to alarm profile 1 (default profile). You
need to manually bind an alarm profile to an ONU only when the default alarm profile
does not meet requirements.
In this example, the default alarm profile is used. Therefore, you do not need to manually
bind an alarm profile.
Step 3 Confirm the ONU status.
After adding an ONU, run the display ont info command to query the current status of the
ONU. Ensure that Control flag is active, Run State is online, and Config state is normal.
The following uses ONU 1 as an example to describe how to confirm ONU status.
huawei(config-if-gpon-0/3)#display ont info 1 1
---------------------------------------------------------------------
F/S/P : 0/3/1
ONT-ID : 1
Control flag : active //Indicates that the ONU is activated.
Run state : online //Indicates that the ONU is online.
Config state : normal //Indicates that the ONU is in normal state.
...//Other command output is omitted.
huawei(config-if-gpon-0/3)#quit

----End

Follow-up Procedure
When Config state is failed, Run state is offline, or Match state is mismatch:
If Control flag is deactivated, run the ont activate command in GPON mode to activate
the ONU.
If Run state is offline, a physical line may be broken or the optical module may be
damaged. Check the line and the optical module.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 44


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

If Config state is failed, the configured ONU capability exceeds the actual ONU
capability. In this case, run the display ont failed-configuration command in the
diagnose mode to check the failed configuration item and the failure cause. Then, rectify
the fault accordingly.

1.5.4.4 Configuring Management Service Ports on OLT and ONUs


This topic describes how to configure management service ports (also called service flows) on
the OLT and ONUs. After the connections between the inband management service ports on
the OLT and ONUs are reachable, you can log in to the ONUs on the OLT and configure the
ONUs.

Data Plan
Configuration Item Data
Management VLAN and management IP Management VLAN ID: 8
address for OLT Management VLAN type: smart
Inband management IP address:
192.168.50.1/24
Management VLAN and management IP Management VLAN ID: 8
address for ONU Management VLAN type: smart
Inband management IP address for ONU 3:
192.168.50.2/24

Procedure
Step 1 Configure the inband management VLAN and IP address of the OLT.
Set the inband management VLAN to 8, VLAN priority to 6, and IP address to
192.168.50.1/24.
huawei(config)#vlan 8 smart
huawei(config)#port vlan 8 0/9 0
huawei(config)#vlan priority 8 6
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.1 24
huawei(config-if-vlanif8)#quit

Step 2 Configure the inband management VLAN and IP address of the ONU.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont ipconfig 1 1 static ip-address 192.168.50.2 mask
255.255.255.0 gateway
192.168.50.1 vlan 8
huawei(config-if-gpon-0/3)#quit

Step 3 Configure an inband management service port.


Set the management VLAN to 8, GEM port ID to 11, and user VLAN to 8. The OLT does not
rate limit the inband management service port. Therefore, directly use the default traffic
profile 6.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 45


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#service-port vlan 8 gpon 0/3/1 ont 1 gemport 11 multi-service


user-vlan 8 rx-cttr 6 tx-cttr 6

Step 4 Confirm that the connections between the management service ports on the OLT and ONU
are reachable.
Run the ping ONU ip command on the OLT to verify the connectivity between the OLT
and ONU. If the OLT receives ICMP ECHO-REPLY packets from the ONU, the
connection is reachable.
When the connection is reachable, you can remotely log in to the ONU from the OLT
and configure the ONU.
----End

1.5.4.5 Configuring TDM E1 Connections


This topic describes how to configure Native TDM connections between GPON ports and E1
upstream ports to transmit E1 private line service data.

Prerequisites
Required hardware is available.

Context
The OLT can transmit data to the SDH network through E1 lines. Each E1 line provides 2
Mbit/s bandwidth.

Data Plan
Upstream Data
Transmissio
n Mode
Upstream Port on the EDSH board: 0/5/0
transmission
through E1

Procedure
Configure a TDM E1 connection.
huawei(config)#tdm-connect connectid 1 tdm 0/5/0 gpon 0/3/1 ontid 3 gemportIndex 13

----End

1.5.4.6 Configuring Clock Synchronization


In this scenario, the E1 line clock can be used to achieve network-wide clock synchronization.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 46


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Prerequisites
The clock daughter board CKUA must be on the control board.

Context
Configuration roadmap for clock synchronization:
1. The OLT traces the upstream E1 line clock of the EDSH board as the system clock.
2. The system clock is delivered to an ONU through optical paths of the GPON board.
3. The ONU uses the line clock of the GPON upstream port as the system clock.
4. The ONU E1 transmit clock is synchronized with the system clock of the ONU.

Procedure
Configure a clock on the OLT.
a. Add a system clock source.
Run the clock source command to configure the line clock of E1 port 0/5/0 on the
EDSH board as the system clock source. Set the ID of the clock source to 0.
The clock module selects a reference source for phase lock based on priorities.
huawei(config)#clock source 0 0/5/0
b. Configure a priority for the system clock source.
Run the clock priority command to set the priority of clock source 0 to the highest
priority.
huawei(config)#clock priority system 0
c. Query configurations and the status of the system clock source.
Run the display clock source system command to query configurations and status
of the clock source. Ensure that configurations of the system clock source are
correct and the status is Normal.
huawei(config)#display clock source system

--------------------------------------------------------------------------
----
Index Board Source Clk-type State Priority QL Selected

--------------------------------------------------------------------------
----
0 H901EDSH 0/5/0 E1 Normal 0 --- YES

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

Run the display clock mode command to query the clock working mode. Ensure
that the clock daughter board works in tracing mode.
huawei(config)#display clock mode
Clock manage-mode:Third-mode
Clock subboard work-mode:Tracing
Configure a clock on the ONU.
a. Configure the GPON line clock as the system clock.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 47


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

The system clock of the OLT is delivered to the ONU through the GPON port on
the OLT, achieving clock synchronization between the OLT and the ONU.
i. Run the clock source command to configure the clock recovered from the
GPON upstream port as the system clock source of the ONU.
ii. Run the clock priority command to configure the priority of the clock source.
huawei(config)#clock source 0 0/0/1
Clock source set succeeded

huawei(config)#clock priority system 0

b. Configure the system clock as the transmit clock for an E1 port.


i. Run the interface tdm command to enter the E1 port configuration mode.
ii. Run the tx clock or port portid udt system command to configure the system
clock as the transmit clock of the port.
iii. Run the display port state command to query the transmit clock of the E1
port.
huawei(config)#interface tdm 0/1
huawei(config-if-tdm-0/1)#port 0 udt system
huawei(config-if-tdm-0/1)#display port state 0
---------------------------------------
Port : 0
State : normal
Mode : UDT
Code : HDB3
Looptype : -
Timeslot : -
Clock : system
CRC4 : -
Signaling : -
ESF : -
Impedance : 120 Ohm
---------------------------------------

c. Query configurations and the status of the system clock source.


Run the display clock source command to query the configurations and status of
the system clock source.
huawei(config-if-tdm-0/1)#quit
huawei(config)#display clock source
---------------------------------------------------------------
Index Config Type Source State Priority Output
---------------------------------------------------------------
0 YES line 0/0/1 Normal 0 YES
1 NO -- -/ -/ - --- --- ---
2 NO -- -/ -/ - --- --- ---
3 NO -- -/ -/ - --- --- ---
4 NO -- -/ -/ - --- --- ---
5 NO -- -/ -/ - --- --- ---
6 NO -- -/ -/ - --- --- ---
7 NO -- -/ -/ - --- --- ---
8 NO -- -/ -/ - --- --- ---
9 NO -- -/ -/ - --- --- ---

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 48


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

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

----End

1.5.4.7 Configuring Congestion Control and Security Policies


This topic describes how to configure global priority-based scheduling policies for queues to
ensure service reliability and configure global security policies to ensure service security.

Context
Congestion control uses queue scheduling technology to map packets sent from the same port
into multiple queues and process packets in each queue based on priority. Congestion control
is recommended.
Security policies cover system security, user security, and service security, which ensure
normal running of services.

Enable security features based on service types. For details, see Principle of Security Data Plan.

Procedure
Configure queue scheduling.
Based on Principle of QoS Data Plan, all packets use strict priorities for queue
scheduling and are mapped to queues based on priorities.
huawei(config)#queue-scheduler strict-priority
huawei(config)#cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
//System default
Configure system security.
Enable deny of service (DoS) anti-attack on both the OLT and ONUs.
i. Run the security anti-dos enable command to globally enable DoS
anti-attack.
ii. Run the security anti-dos control-packet policy command to configure a
protocol packet processing policy that will be used when a DoS attack occurs.
iii. Run the security anti-dos control-packet rate command to configure the
threshold for the rate of sending protocol packets to the CPU.
Enable IP address anti-attack on both the OLT and ONUs.
Run the security anti-ipattack enable command to enable IP address anti-attack.
Configure user security.
Enable MAC address anti-flapping on both the OLT and ONUs.
Run the security anti-macduplicate enable command to enable MAC address
anti-flapping.
Enable MAC address anti-spoofing on both the OLT and ONUs.
i. In global config mode, run the security anti-macspoofing enable command to
globally enable MAC address anti-spoofing.
ii. Enable MAC address anti-spoofing at VLAN level in global config mode or
service profile mode:

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 49


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1) In global config mode, run the security anti-macspoofing vlan


command to enable MAC address anti-spoofing.
2) Perform the following operations to enable MAC address anti-spoofing in
service profile mode:
1) In global config mode, run the vlan service-profile command to create a
VLAN service profile.
2) Run the security anti-macspoofing enable command to enable MAC
address anti-spoofing at VLAN level.
3) Run the commit command to make the profile configuration take effect.
4) Run the quit command to quit the VLAN service profile mode.
5) Run the vlan bind service-profile command to bind the created VLAN
service profile to a VLAN.
iii. (Optional) Run the security anti-macspoofing max-mac-count command to
set the maximum number of MAC addresses that can be bound to a service
flow.
iv. (Optional) Run the security anti-macspoofing exclude command to configure
the types of packets for which MAC address anti-spoofing does not take effect,
such as Internet Group Management Protocol (IGMP) packets.
Enable IP address anti-spoofing on ONUs.
IP address anti-spoofing can be enabled or disabled at three levels: global, VLAN,
and service port levels. This function takes effect only after it is enabled at the three
levels. Among the three levels, IP address anti-spoofing is disabled only at the
global level by default.
i. In global config mode, run the security anti-ipspoofing enable command to
enable IP address anti-spoofing at the global level.
ii. In VLAN service profile mode, run the security anti-ipspoofing enable
command to enable IP address anti-spoofing at the VLAN level.
iii. Run the security anti-ipspoofing service-port serviceport-id enable
command to enable IP address anti-spoofing at the service port level.
----End

1.5.4.8 Configuring Network Protection


The base station access service has high requirements on reliability. Therefore, network
protection solutions must be configured in the downstream directions.

Context
The protection solutions are Type B protection and Type C single-homing protection. For
details on configurations, see Configuring Network Protection. The following uses Type C
single-homing protection as an example.

Procedure
Configure the Type C single homing protection.
Figure 1-9 shows networking diagram for the Type C single homing protection.
Configure two 1:N optical splitters, one for connecting the working PON ports on the
OLT and ONUs, and one for connecting the protection PON ports on the OLT and ONUs.
This protection scheme protects both the backbone fibers and tributary fibers.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 50


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

The configurations of services accessed by the ONUs remain the same after the Type C
single homing protection is configured. That is, the service configurations are applied
only to the working PON port on the OLT and working upstream PON ports on the
ONUs.

Figure 1-9 Type C single homing protection

ONU Splitter A
OLT

Splitter B
Tributary Fibers
Protection
Backbone Fibers
Protection
Active
Standby

As shown in the preceding figure, Type C single homing protecting is configured for
optical fiber links between the OLT and ONU.
The ports on the GPON service board are 0/3/1 and 0/3/2.
The link at port 0/3/1 is the working link.
The link at port 0/3/2 is the protection link.
The ONU ID is 1.
The ONU is authenticated by serial number (SN). The SN of the ONU is
3230313163902641 and the management mode is SNMP.
The ID of the line profile bound to the ONU is 10.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
huawei(config-if-gpon-0/3)#ont add 2 1 protect-side
huawei(config-if-gpon-0/3)#quit
huawei(config)#protect-group protect-target gpon-uni-ont workmode portstate
huawei(protect-group-1)#protect-group member port 0/3/1 ont 1 role work
huawei(protect-group-1)#protect-group member port 0/3/2 ont 1 role protect
huawei(protect-group-1)#protect-group enable
huawei(protect-group-1)#quit

----End

1.5.4.9 Verifying Services


This topic describes how to use the PDH/SDH tester to verify the private line access service.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 51


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Prerequisites
The private line service has been configured.

Networking

Figure 1-10 Test setup for E1 upstream service

ONU OLT
E1 port E1 line tester
loopback
E1

ONU trace OLT trace Internal


the clock of the clock of free-run
the OLT the tester clock

Procedure
Step 1 Set up network environment according to the preceding diagrams for service acceptance tests.

Ensure clock synchronization for the test. It is recommended that the tester use the internal free-run
clock, the OLT trace the clock of the tester, and the ONU trace the clock of the OLT.

Step 2 Use the E1 line tester to send packets for the test.
The test duration must be 12 hours or longer. There should be no alarms on the tester and the
bit error rate must be less than 1E-9.
----End

Follow-up Procedure
When the test on service connectivity fails, you can check for the failure causes by
performing loopbacks. The following loopbacks are supported:
Remote loopback on the OLT
Local loopback on the OLT
Local loopback on the ONU
Remote loopback on the ONU

Loopb Function Networking Configuration


ack
Mode

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 52


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Loopb Function Networking Configuration


ack
Mode
Remote Loops back ONU OLT E1 line
tester
Enable/Disable the remote
loopba signals to the E1 loopback for the E1 port.
ck on network side on huawei(config)#interface
the the OLT. This Remote loopback
top 0/5
OLT loopback checks huawei(config-if-top-0/5)
whether the #loopback 0 remote
service from the huawei(config-if-top-0/5)
OLT to the #undo loopback 0
network-side
channel is
normal.
Local Loops back E1 line
tester
ONU OLT Enable/Disable the local
E1
loopba signals to the loopback for the E1 port.
ck on user side on the huawei(config)#interface
the OLT. This Local loopback
top 0/5
OLT loopback checks huawei(config-if-top-0/5)
whether the link #loopback 0 local
between the huawei(config-if-top-0/5)
OLT and the E1 #undo loopback 0
port on the ONU
is normal.
Local Loops back ONU OLT E1 line
tester huawei(config)#interface
loopba signals to the E1 tdm 0/1
ck on network side on huawei(config-if-tdm-0/1)
the the ONU. This Local loopback
#loopback 0 local
ONU loopback checks huawei(config-if-tdm-0/1)
whether the link #undo loopback 0
between the E1
port on the ONU
and the OLT is
normal.
Remote Loops back E1 line
tester
ONU OLT
huawei(config)#interface
E1
loopba signals to the tdm 0/1
ck on user side on the huawei(config-if-tdm-0/1)
Remote loopback
the ONU. This #loopback 0 remote
ONU loopback checks huawei(config-if-tdm-0/1)
whether the link #undo loopback 0
between the
ONU and user
terminal is
normal.

1.5.5 Configuring Management Service Ports on OLT and ONUs


This topic describes how to configure management service ports (also called service flows) on
the OLT and ONUs. After the connections between the inband management service ports on

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 53


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

the OLT and ONUs are reachable, you can log in to the ONUs on the OLT and configure the
ONUs.

Data Plan
Configuration Item Data
Management VLAN and management IP Management VLAN ID: 8
address for OLT Management VLAN type: smart
Inband management IP address:
192.168.50.1/24
Management VLAN and management IP Management VLAN ID: 8
address for ONU Management VLAN type: smart
Inband management IP address for ONU 3:
192.168.50.2/24

Procedure
Step 1 Configure the inband management VLAN and IP address of the OLT.
Set the inband management VLAN to 8, VLAN priority to 6, and IP address to
192.168.50.1/24.
huawei(config)#vlan 8 smart
huawei(config)#port vlan 8 0/9 0
huawei(config)#vlan priority 8 6
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.1 24
huawei(config-if-vlanif8)#quit

Step 2 Configure the inband management VLAN and IP address of the ONU.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont ipconfig 1 1 static ip-address 192.168.50.2 mask
255.255.255.0 gateway
192.168.50.1 vlan 8
huawei(config-if-gpon-0/3)#quit

Step 3 Configure an inband management service port.


Set the management VLAN to 8, GEM port ID to 11, and user VLAN to 8. The OLT does not
rate limit the inband management service port. Therefore, directly use the default traffic
profile 6.
huawei(config)#service-port vlan 8 gpon 0/3/1 ont 1 gemport 11 multi-service
user-vlan 8 rx-cttr 6 tx-cttr 6

Step 4 Confirm that the connections between the management service ports on the OLT and ONU
are reachable.
Run the ping ONU ip command on the OLT to verify the connectivity between the OLT
and ONU. If the OLT receives ICMP ECHO-REPLY packets from the ONU, the
connection is reachable.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 54


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

When the connection is reachable, you can remotely log in to the ONU from the OLT
and configure the ONU.
----End

1.5.6 Configuring OLT QinQ VLANs and Service Ports


This topic describes how to configure QinQ VLANs and service ports to enable various
packets received from base stations to be forwarded based on specified policies.

Prerequisites
The MAN equipment (for example, CX600) interconnected with the OLT must support the
QinQ VLAN encapsulation mode and be able to terminate QinQ VLANs.

Context
For details on VLAN planning, see 1.3.2 Principle of VLAN Data Plan. VLAN translation
policies for the Ethernet base station access service are shown in Figure 1-11.
Synchronization packets (remark 1) of the base station are untagged. A VLAN tag is
added to the packets on the ONU and the OLT transparently transmits the VLAN tag.
Different management packets of the base station carry different user VLANs (for
example, 20, 21, ... in the following figure). The user VLANs are translated to C-VLAN
1001 on the ONU and then the OLT adds the outer VLAN 300 to the packets before
transmitting them upstream.
Different voice and data packets of the base station carry different user VLANs (for
example, 30, 31, ... in the following figure). The user VLANs are translated to C-VLAN
1002 on the ONU and then the OLT adds the outer VLAN 300 to the packets before
transmitting them upstream.
In this manner, only two VLANs are required on the MAN for the base station access service,
which significantly reduces the number of VLANs.
Remark 1: In this example, the base station supports the clock over IP mode and is
synchronized with the IP clock server using the NTP protocol.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 55


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-11 VLAN translation for Ethernet base station access service

OLT

ONU
FE/GE
PSN

NodeB/
eNodeB
ETH GPON QinQ

NodeB SYNC NodeB SYNC 1000 NodeB SYNC 1000

NodeB OAM 20,21,... NodeB OAM 1001 NodeB OAM 1001 300

NodeB Traffic 30,31,... NodeB Traffic 1002 NodeB Traffic 1002 300

Data Plan
Configuration Item Data
SVLAN VLAN for synchronization service of base stations: 1000
VLAN for voice and data services of base stations: 300
CVLAN (upstream VLAN for base station access service:
VALN of the ONU) VLAN for synchronization service: 1000
VLAN for OAM service: 1001
VLAN for voice and data services: 1002
Traffic profile OAM service and synchronization service of base stations:
ID: 10
CIR: OFF
Priority source: user-cos, default priority: 7
Priority policy: tag-in-package
Voice and data services of base stations:
ID: 11
CIR: 20 Mbit/s
Priority source: user-inner-cos, default priority: 7
Priority policy: tag-in-package
ONT ID 1
PON port PON port: 0/3/1

Procedure
Step 1 Configure QinQ VLANs.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 56


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Add two VLANs 1000 and 300 on the OLT, set attributes of the two VLANs to QinQ, and add
the upstream port to the two VLANs.
huawei(config)#vlan 1000 smart
huawei(config)#vlan attrib 1000 q-in-q
huawei(config)#port vlan 1000 0/9 0
huawei(config)#vlan 300 smart
huawei(config)#vlan attrib 300 q-in-q
huawei(config)#port vlan 300 0/9 0

Step 2 Configure traffic profiles.


Add a traffic profile 10 and do not limit rates. Packets transmitted upstream use the
priority (7 by default) copied from the user VLAN. Packets transmitted downstream use
the priority carried by themselves.
Add a traffic profile 11 and set the assured rate to 20 Mbit/s. Packets transmitted
upstream use the priority (7 by default) copied from the inner VLAN. Packets
transmitted downstream use the priority carried by themselves.
huawei(config)#traffic table ip index 10 cir off priority user-cos 7 priority-policy
tag-in-package
huawei(config)#traffic table ip index 11 cir 20480 priority user-inner-cos 7
priority-policy tag-in-package

Step 3 Configure service ports.


Configure service ports for the synchronization service, OAM service, and voice and data
services of base stations.
huawei(config)#service-port vlan 1000 gpon 0/3/1 ont 1 gemport 12 multi-service
user-vlan
1000 tag-transform transparent rx-cttr 10 tx-cttr 10 //Synchronization service port
huawei(config)#service-port vlan 300 gpon 0/3/1 ont 1 gemport 13 multi-service user-vlan
1001 tag-transform default rx-cttr 10 tx-cttr 10 //OAM service port
huawei(config)#service-port vlan 300 gpon 0/3/1 ont 1 gemport 14 multi-service user-vlan
1002 tag-transform default rx-cttr 11 tx-cttr 11 //Voice and data service port

----End

1.5.7 Configuring Ethernet Access Service Ports on ONUs


Add a service port on an ONU and configure an upstream VLAN to make the ONU-to-user
service flows available and create an ONU-to-OLT upstream data channel.

Data Planning
Configuration Data
Item

Port Upstream port: 0/0/1


Service port: 0/3/1
SVLAN VLAN for base station access service:
(upstream VLAN for synchronization service: 1000
VLAN of the
VLAN for OAM service: 1001
ONU)

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 57


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configuration Data
Item
VLAN for voice and data services: 1002
User VLAN Synchronization service of base stations: untagged
(original VLAN VLAN for OAM service of base stations: 20
of packets from
VLAN for voice and data services of base stations: 30
base stations)
Traffic profile ID: 10
CIR: OFF
Priority source: user-cos, default priority: 7
Priority policy: tag-in-package

Procedure
Step 1 Create S-VLANs and add an upstream port to the VLANs.
Create VLANs 1000, 1001, and 1002.
huawei(config)#vlan 1000-1002 smart
huawei(config)#port vlan 1000 0/0 1
huawei(config)#port vlan 1001 0/0 1
huawei(config)#port vlan 1002 0/0 1

Step 2 Configure a traffic profile.


Add a traffic profile 10 and do not limit rates. Packets transmitted upstream use the priority (7
by default) copied from the user VLAN. Packets transmitted downstream use the priority
carried by themselves.
huawei(config)#traffic table ip index 10 cir off priority user-cos 7 priority-policy
tag-in-package

Step 3 Configure Ethernet access service ports.


Configure service ports for the synchronization service, OAM service, and voice and data
services of base stations. According to 1.3.2 Principle of VLAN Data Plan, ONUs translate
user VLANs to a specified C-VLAN.
huawei(config)#service-port vlan 1000 eth 0/3/1 multi-service user-vlan
untagged rx-cttr 10 tx-cttr 10 //Syncronization service port
huawei(config)#service-port vlan 1001 eth 0/3/1 multi-service user-vlan
20 rx-cttr 10 tx-cttr 10 //OAM service port
huawei(config)#service-port vlan 1002 eth 0/3/1 multi-service user-vlan
30 rx-cttr 10 tx-cttr 10 //Voice and data service port

Packets from different base stations may carry different user VLANs. Ensure that user VLANs are
consistent with the actual ones during configuration.

----End

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 58


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1.5.8 Configuring Clock Synchronization


In this scenario, the synchronous Ethernet clock can be used to achieve network-wide clock
synchronization.

Prerequisites
The upstream MAN PSN of the OLT must feature the capability of Ethernet synchronization.

Context
According to actual requirements, Ethernet base stations support synchronous Ethernet
(frequency synchronization) and 1588v2 (time synchronization). This document uses
synchronous Ethernet as an example. For details about how to configure 1588v2 time
synchronization, see "1.4.6 Configuring 1588v2 Clock Synchronization".

Data Plan
Configuration Data
Item

Upstream port Port: 0/9/0


ETH port of the 0/3/1
ONU

Procedure
Configure a clock on the OLT.
a. Add a system clock source.
Configure the Ethernet line clock input from port 0/9/0 as the system clock 0. Set
the priority to 0 (highest priority).
huawei(config)#clock source 0 0/9/0
huawei(config)#clock priority system 0
b. Query configurations and the status of the system clock source.
Run the display clock source system command to query configurations and status
of the clock source. Ensure that configurations of the system clock source are
correct and the status is Normal.
huawei(config)#display clock source system

--------------------------------------------------------------------------
----
Index Board Source Clk-type State Priority QL Selected

--------------------------------------------------------------------------
----
0 H901MPLB 0/9/0 ETH Normal 0 --- YES

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

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 59


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Run the display clock mode command to query the clock working mode. Ensure
that the clock daughter board works in tracing mode.
huawei(config)#display clock mode
Clock manage-mode:Third-mode
Clock subboard work-mode:Tracing
Configure a clock on the ONU.
The transmit clock of the port is the system clock by default when base stations are
connected to the ONU through ETH ports. The transmit clock cannot be modified.
Therefore, you only need to configure the system clock for the ONU.
a. Configure the PON line clock as the system clock.
huawei(config)#clock source 0 0/0/1
huawei(config)#clock priority system 0

b. Query the configurations and status of the system clock source.


Run the display clock source command to query the configurations and status of
the system clock source.
huawei(config-if-tdm-0/1)#quit
huawei(config)#display clock source
--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/1 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

----End

1.5.9 Configuring Congestion Control and Security Policies


This topic describes how to configure global priority-based scheduling policies for queues to
ensure service reliability and configure global security policies to ensure service security.

Context
Congestion control uses queue scheduling technology to map packets sent from the same port
into multiple queues and process packets in each queue based on priority. Congestion control
is recommended.
Security policies cover system security, user security, and service security, which ensure
normal running of services.

Enable security features based on service types. For details, see Principle of Security Data Plan.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 60


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Procedure
Configure queue scheduling.
Based on Principle of QoS Data Plan, all packets use strict priorities for queue
scheduling and are mapped to queues based on priorities.
huawei(config)#queue-scheduler strict-priority
huawei(config)#cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
//System default
Configure system security.
Enable deny of service (DoS) anti-attack on both the OLT and ONUs.
i. Run the security anti-dos enable command to globally enable DoS
anti-attack.
ii. Run the security anti-dos control-packet policy command to configure a
protocol packet processing policy that will be used when a DoS attack occurs.
iii. Run the security anti-dos control-packet rate command to configure the
threshold for the rate of sending protocol packets to the CPU.
Enable IP address anti-attack on both the OLT and ONUs.
Run the security anti-ipattack enable command to enable IP address anti-attack.
Configure user security.
Enable MAC address anti-flapping on both the OLT and ONUs.
Run the security anti-macduplicate enable command to enable MAC address
anti-flapping.
Enable MAC address anti-spoofing on both the OLT and ONUs.
i. In global config mode, run the security anti-macspoofing enable command to
globally enable MAC address anti-spoofing.
ii. Enable MAC address anti-spoofing at VLAN level in global config mode or
service profile mode:
1) In global config mode, run the security anti-macspoofing vlan
command to enable MAC address anti-spoofing.
2) Perform the following operations to enable MAC address anti-spoofing in
service profile mode:
1) In global config mode, run the vlan service-profile command to create a
VLAN service profile.
2) Run the security anti-macspoofing enable command to enable MAC
address anti-spoofing at VLAN level.
3) Run the commit command to make the profile configuration take effect.
4) Run the quit command to quit the VLAN service profile mode.
5) Run the vlan bind service-profile command to bind the created VLAN
service profile to a VLAN.
iii. (Optional) Run the security anti-macspoofing max-mac-count command to
set the maximum number of MAC addresses that can be bound to a service
flow.
iv. (Optional) Run the security anti-macspoofing exclude command to configure
the types of packets for which MAC address anti-spoofing does not take effect,
such as Internet Group Management Protocol (IGMP) packets.
Enable IP address anti-spoofing on ONUs.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 61


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

IP address anti-spoofing can be enabled or disabled at three levels: global, VLAN,


and service port levels. This function takes effect only after it is enabled at the three
levels. Among the three levels, IP address anti-spoofing is disabled only at the
global level by default.
i. In global config mode, run the security anti-ipspoofing enable command to
enable IP address anti-spoofing at the global level.
ii. In VLAN service profile mode, run the security anti-ipspoofing enable
command to enable IP address anti-spoofing at the VLAN level.
iii. Run the security anti-ipspoofing service-port serviceport-id enable
command to enable IP address anti-spoofing at the service port level.
----End

1.5.10 Configuring Network Protection


This topic describes how to configure end-to-end (E2E) protection schemes for the base
station access service which has a high requirement on service reliability.

Context
Reliability covers equipment reliability, upstream networking protection, and downstream
networking protection. For details on reliability data planning, see 1.3.6 Planning Reliability
Data.
Upstream networking protection includes link aggregation group and protection group.
Usually, link aggregation group is configured when the NXED board is used to transmit
traffic upstream; protection group is configured when the main control board is used to
transmit traffic upstream. The two protection schemes are not configured at the same
time.
Downstream networking protection includes Type B, Type C single homing, and Type C
dual homing, which are used to protect service ports. Ports on the same ONU can be
configured only with the same protection scheme.

This topic describes how to configure five mainstream protection schemes. Select required protection
schemes based on the carrier's requirement and actual networking scenario.

Procedure
Configure a link aggregation group.
Bind upstream ports 0/8/0 and 0/8/1 together as an aggregation link group. Each member
port in the group transmits packets based on source MAC addresses. The working mode
is LACP static aggregation.
huawei(config)#link-aggregation 0/8 0-1 ingress workmode lacp-static
Configure a protection group.
Configure upstream ports 0/9/0 and 0/9/1 on the control board as a port protection group.
Set port 0/9/0 as the working port and port 0/9/1 as the protection port, set the working
mode to time delay detection, and enable the protection group.
huawei(config-protect)#protect-group first 0/9/0 second 0/9/1 eth workmode timedelay
enable
Configure the Type B protection.
Figure 1-12 shows the Type B protection networking diagram.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 62


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-12 Type B protection

ONU
OLT
Backbone Fibers
Protection

Splitter

Active
Standby

Configure redundancy backup for ports 0/3/1 and 0/3/2 on the same GPON board on
OLT. When port 0/3/1 fails, the system can automatically switch to port 0/3/2.
huawei(config)#protect-group 0 protect-target gpon-uni-port workmode timedelay
huawei(protect-group-0)#protect-group member port 0/3/1 role work
huawei(protect-group-0)#protect-group member port 0/3/2 role protect
huawei(protect-group-0)#protect-group enable

The configurations of services accessed by the ONUs remain the same after the Type B protection is
configured. That is, the service configurations are applied only to the working GPON port.
Configure the Type C single homing protection.
Figure 1-13 shows networking diagram for the Type C single homing protection.
Configure two 1:N optical splitters, one for connecting the working PON ports on the
OLT and ONUs, and one for connecting the protection PON ports on the OLT and ONUs.
This protection scheme protects both the backbone fibers and tributary fibers.
The configurations of services accessed by the ONUs remain the same after the Type C
single homing protection is configured. That is, the service configurations are applied
only to the working PON port on the OLT and working upstream PON ports on the
ONUs.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 63


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-13 Type C single homing protection

ONU Splitter A
OLT

Splitter B
Tributary Fibers
Protection
Backbone Fibers
Protection
Active
Standby

As shown in the preceding figure, Type C single homing protecting is configured for
optical fiber links between the OLT and ONU.
The ports on the GPON service board are 0/3/1 and 0/3/2.
The link at port 0/3/1 is the working link.
The link at port 0/3/2 is the protection link.
The ONU ID is 1.
The ONU is authenticated by serial number (SN). The SN of the ONU is
3230313163902641 and the management mode is SNMP.
The ID of the line profile bound to the ONU is 10.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
huawei(config-if-gpon-0/3)#ont add 2 1 protect-side
huawei(config-if-gpon-0/3)#quit
huawei(config)#protect-group protect-target gpon-uni-ont workmode portstate
huawei(protect-group-1)#protect-group member port 0/3/1 ont 1 role work
huawei(protect-group-1)#protect-group member port 0/3/2 ont 1 role protect
huawei(protect-group-1)#protect-group enable
huawei(protect-group-1)#quit

Configure the Type C dual homing protection.


Figure 1-14 shows the networking diagram for the Type C dual homing protection. Two
PON ports on different OLTs, two PON ports on an ONU, two backbone optical fibers,
two optical splitters, and two tributary optical fibers are configured to implement this
protection. The difference between this protection scheme and the Type C single homing
protection scheme is that the ONU needs to be dual homed to two OLTs in this protection
scheme.
The models and versions of main control boards on the active and standby OLTs must be
the same. The models and versions of GPON boards on the active and standby OLTs also
must be the same. Data on the active OLT cannot be automatically synchronized with
that on the standby OLT. Therefore, data synchronization between the active and standby
OLTs must be manually ensured.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 64


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

This protection scheme can be configured for only the Ethernet QinQ private line service.
It does not support TDM services, including Native TDM and SAToP.

Figure 1-14 Type C dual homing protection

Active OLT

Splitter A
ONU

Splitter B
Standby OLT

Active
Standby

As shown in the preceding figure, Type C dual homing protection is configured for two
OLTs (huawei_A and huawei_B).
huawei_A is the active OLT while huawei_B is the standby OLT.
The ports on the service boards on both OTLs are 0/3/1.
The dual homing protection group ID is 1.
The ONU ID is 1.
The ONU is authenticated by serial number (SN). The SN of the ONU is
3230313163902641 and the management mode is SNMP.
The ID of the line profile bound to the ONU is 10.
Configurations on the active OLT huawei_A:
huawei_A(config)#interface gpon 0/3
huawei_A(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
huawei_A(config-if-gpon-0/3)#quit
huawei_A(config)#protect-group 1 protect-target gpon-uni-ont workmode dual-parenting
huawei_A(protect-group-1)#protect-group member port 0/3/1 ont 1 role work

Configurations on the standby OLT huawei_B:


huawei_B(config)#interface gpon 0/3
huawei_B(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
huawei_B(config-if-gpon-0/3)#quit
huawei_B(config)#protect-group 1 protect-target gpon-uni-ont workmode dual-parenting

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 65


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei_B(protect-group-1)#protect-group member port 0/3/1 ont 1 role protect


huawei_B(protect-group-1)#protect-group enable

----End

1.5.11 Verifying Services


The Ethernet base station access service can be verified by checking the connectivity and
alarms of the service.

Prerequisites
The base station access service has been deployed.

Procedure
Step 1 Check connectivity.
1. Check the connectivity between base stations and the IP clock server.
On base stations, configure management IP addresses and static routes to the IP clock
server, and then perform ping operations. In normal cases, the ICMP ECHO-REPLY
message can be received from the IP clock server.
2. Check the connectivity between base stations and the OAM server.
On base stations, configure IP addresses of management channels and static routes to the
OAM server, and then perform ping operations. In normal cases, the ICMP
ECHO-REPLY message can be received from the OAM server.
3. Check the connectivity between base stations and the RNC.
On base stations, configure service port IP addresses and static routes to the RNC, and
then perform ping operations. In normal cases, the ICMP ECHO-REPLY message can be
received from the RNC.
Step 2 Check alarms.
Check logs on base stations. Verify that no alarms are generated within 24 hours.
----End

1.6 Configuring the Access Service of Ethernet Base


Stations (Layer 3 GRE Mode, GPON)
ONUs are connected to IP base stations through GE/XGE Ethernet ports and OLTs are
interconnected with metropolitan area network (MAN) equipment in generic routing
encapsulation (GRE) mode to achieve access of base station services.

1.6.1 Service Requirements and Application Scenarios


Service Requirements
ONUs are connected to 3G base stations and GPON is used for bearing the mobile
access network in a unified manner, meeting mobile carriers' requirements for high
bandwidth and high-density coverage of base stations.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 66


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

A simple and mature service configuration scheme is used, which ensures service quality
and high transmission efficiency.

Application Scenarios
As shown in Figure 1-15, an ONU receives Ethernet service packets from a base station
through a GE/XGE port, encapsulates these packets into GPON encapsulation mode (GEM)
frames, and then sends these frames to the OLT through a GPON upstream port. The OLT
restores the Ethernet signals and implements generic routing encapsulation (GRE) for these
signals. Then, the encapsulated packets are transmitted to a remote router through GRE
tunnels and the router restores Ethernet signals again.

Figure 1-15 Network diagram for implementing access service of an Ethernet base station

1.6.2 Configuration Procedure


The following figure shows the configuration procedure about service access of an Ethernet
base station in the generic routing encapsulation (GRE) tunnel mode.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 67


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1.6.3 Adding an ONU to an OLT


An ONU can be configured only after it is successfully added to an OLT.

Context
When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, service profile, and alarm profile.
An ONU can be added in two modes: offline addition and online confirmation. Select
either mode as required.

Data Planning

Table 1-4 Key data planning table

Configurati Data
on Item
DBA profile Profile ID: 20

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 68


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configurati Data
on Item
Profile type: type 5
Fixed bandwidth: 1024 kbit/s
Assured bandwidth: 100 Mbit/s
Maximum bandwidth: 2 Gbit/s
ONU line Profile ID: 10
profile T-CONT ID: 4
GEM port ID: 11. One GEM port bears all services.
ONU service Profile ID: 20
profile Profile name: base-profile
Ethernet port capability set of the service profile: adaptive
Native VLAN: Ignored
Networking PON port: 0/3/1
data ONU parameter:
ONU ID: 1
SN: 3230313163902641

Procedure
Step 1 Configure GPON ONU profiles.
1. Configure a DBA profile.
huawei(config)#dba-profile add profile-id 20 type5 fix 1024 assure 102400 max
2048000
2. Configure an ONU line profile.
huawei(config)#ont-lineprofile gpon profile-id 10
huawei(config-gpon-lineprofile-10)#tcont 4 dba-profile-id 20 //Bind T-CONT 4 to
DBA profile 20.
huawei(config-gpon-lineprofile-10)#gem add 11 eth tcont 0
huawei(config-gpon-lineprofile-10)#mapping-mode priority
huawei(config-gpon-lineprofile-10)#gem mapping 11 0 priority 0
huawei(config-gpon-lineprofile-10)#gem mapping 11 1 priority 1
huawei(config-gpon-lineprofile-10)#gem mapping 11 2 priority 2
huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit
3. Configure an ONU service profile.
huawei(config)#ont-srvprofile gpon profile-id 20 profile-name base-profile
huawei(config-gpon-srvprofile-20)#ont-port eth adaptive
huawei(config-gpon-srvprofile-20)#native-vlan unconcern
huawei(config-gpon-srvprofile-20)#commit
huawei(config-gpon-srvprofile-20)#quit

Step 2 Add an ONU to an OLT.


1. Add ONU 1 to an OLT in the offline mode.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 69


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#interface gpon 0/3


huawei(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
2. (Optional) Bind an alarm profile.
By default, an ONU will be automatically bound to alarm profile 1 (default profile). You
need to manually bind an alarm profile to an ONU only when the default alarm profile
does not meet requirements.
In this example, the default alarm profile is used. Therefore, you do not need to manually
bind an alarm profile.
Step 3 Confirm the ONU status.
After adding an ONU, run the display ont info command to query the current status of the
ONU. Ensure that Control flag is active, Run State is online, and Config state is normal.
The following uses ONU 1 as an example to describe how to confirm ONU status.
huawei(config-if-gpon-0/3)#display ont info 1 1
---------------------------------------------------------------------
F/S/P : 0/3/1
ONT-ID : 1
Control flag : active //Indicates that the ONU is activated.
Run state : online //Indicates that the ONU is online.
Config state : normal //Indicates that the ONU is in normal state.
...//Other command output is omitted.
huawei(config-if-gpon-0/3)#quit

----End

Follow-up Procedure
When Config state is failed, Run state is offline, or Match state is mismatch:
If Control flag is deactivated, run the ont activate command in GPON mode to activate
the ONU.
If Run state is offline, a physical line may be broken or the optical module may be
damaged. Check the line and the optical module.
If Config state is failed, the configured ONU capability exceeds the actual ONU
capability. In this case, run the display ont failed-configuration command in the
diagnose mode to check the failed configuration item and the failure cause. Then, rectify
the fault accordingly.

1.6.4 Configuring the VLAN and Service Flow


This topic describes how to configure the VLAN and service flow on the OLT so that the
various packets from base stations can be forwarded according to the specified forwarding
policies.

Data Plan
Configuration Item Data
Upstream VLAN VLAN 10 and VLAN 20
CVLAN (upstream VLANs of the access services in base stations:

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 70


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configuration Item Data


VLAN on the ONU) VLAN of the data service in the 3G base station: 301
VLAN of the voice service in the 3G base station: 1201
SVLAN Be the same as the CVLAN.
Traffic profile In the upstream direction:
ID: 10
Name: GreInboundTable
CIR: off
Source of the priority: user-cos; default priority: 0
Enqueuing priority scheduling policy: tag-in-package
In the downstream direction:
ID: 11
Name: GreOutBoundTable
CIR: off
Source of the priority: user-tos; default priority: 0
Enqueuing priority scheduling policy: tag-in-package
VLAN interface Bound VPN instance:
VLAN interface 301: vpn1
VLAN interface 1201: vpn7
Configured IP address:
For VLAN interface 301, IP address: 10.3.1.4; subnet mask:
255.255.255.248
For VLAN interface 1201, IP address: 10.12.1.4; subnet
mask: 255.255.255.248

Procedure
Step 1 Configure the smart VLAN.
Add VLANs 10 and 20 on the OLT and then respectively add upstream ports to the VLANs.
huawei(config)#vlan 10 smart
huawei(config)#port vlan 10 0/9 0
huawei(config)#vlan 20 smart
huawei(config)#port vlan 20 0/10 0

Step 2 Configure the traffic profile. In the upstream direction, use the policy of copying the CoS
priority. In the downstream direction, use the policy of copying the ToS priority.
huawei(config)#traffic table ip index 10 name GreInboundTable cir off priority user-cos
0 priority-policy tag-in-package
huawei(config)#traffic table ip index 11 name GreOutBoundTable cir off priority user-tos
0 priority-policy tag-in-package

Step 3 Configure the service flow.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 71


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Respectively configure service flows for the data and voice services in 3G basic stations.
huawei(config)#ont-srvprofile gpon profile-id 20
huawei(config-gpon-srvprofile-20)#port vlan eth 1 translation 301 user-vlan 301
huawei(config-gpon-srvprofile-20)#port vlan eth 1 translation 1201 user-vlan 1201
huawei(config-gpon-srvprofile-20)#commit
huawei(config-gpon-srvprofile-20)#quit
huawei(config)#service-port 301 vlan 301 gpon 0/3/1 ont ontid gemport gemid
multi-service user-vlan 301 tag-transform translate inbound traffic-table index 10
outbound traffic-table index 11
huawei(config)#service-port 1201 vlan 1201 gpon 0/3/1 ont ontid gemport gemid
multi-service user-vlan 1201 tag-transform translate inbound traffic-table index 10
outbound traffic-table index 11

Step 4 Create a VLAN interface, bind this interface to a VPN instance, and set an IP address for the
VLAN interface.
huawei(config)#interface Vlanif 301
huawei(config-if-vlanif301)#ip binding vpn-instance vpn1
huawei(config-if-vlanif301)#ip address 10.3.1.4 255.255.255.248
huawei(config-if-vlanif301)#quit
huawei(config)#interface Vlanif 1201
huawei(config-if-vlanif1201)#ip binding vpn-instance vpn7
huawei(config-if-vlanif1201)#ip address 10.12.1.4 255.255.255.248
huawei(config-if-vlanif1201)#quit

----End

1.6.5 Configuring OSPF


The OLT uses different upstream VLANs and VLAN interfaces to create Open Shortest Path
First (OSPF) processes with remote SA1 and SA2.

Prerequisites
Both the OLT and adjacent router use the OSPF protocol.

Data Planning
Configuration Data
Item
Loopback Loopback 31 interface: used to transmit management packets and
interface generic routing encapsulation (GRE) packets
IP address: 10.128.31.1 255.255.255.255
VLANIF 10 MTU: 2000
IP address: 192.168.1.1/24
Description: ospf_to_SA1
Authentication mode: MD5; ciphertext password: authentication10
Overhead needed for OSPF running: 2000
Fill in the MTU value during the transmission of DD packets.
Interval for retransmitting LSAs between adjacent devices: 2s

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 72


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configuration Data
Item
Bidirectional forwarding detection (BFD): enabled; minimum Rx
and Tx interval: 100 ms; local detection multiplier: 4
VLANIF 20 MTU: 2000
IP address: 192.168.2.1/24
Description: ospf_to_SA2
Authentication mode: MD5; ciphertext password: authentication20
Overhead needed for OSPF running: 2001
Fill in the MTU value during the transmission of DD packets.
Interval for retransmitting LSAs between adjacent devices: 2s
BFD: enabled; minimum Rx and Tx interval: 100 ms; local detection
multiplier: 4

Procedure
Step 1 Configure an IP address for the loopback 31 interface.
huawei(config)#interface loopback 31
huawei(config-if-loopback31)#ip address 10.128.31.1 255.255.255.255
huawei(config-if-loopback31)#quit

Step 2 Configure VLAN interface 10.


huawei(config)#interface vlanif 10
huawei(config-if-vlanif10)#mtu 2000
huawei(config-if-vlanif10)#ip address 192.168.1.1 24
huawei(config-if-vlanif10)#description ospf_to_SA1
huawei(config-if-vlanif10)#ospf authentication-mode md5 1 cipher authentication10
huawei(config-if-vlanif10)#ospf cost 2000
huawei(config-if-vlanif10)#ospf mtu-enable
huawei(config-if-vlanif10)#ospf timer retransmit 2
huawei(config-if-vlanif10)#ospf bfd enable
huawei(config-if-vlanif10)#ospf bfd min-tx-interval 100 min-rx-interval 100
detect-multiplier 4
huawei(config-if-vlanif10)#quit

Step 3 Configure VLAN interface 20.


huawei(config)#interface vlanif 20
huawei(config-if-vlanif20)#mtu 2000
huawei(config-if-vlanif20)#description ospf_to_SA2
huawei(config-if-vlanif20)#ip address 192.168.2.1 24
huawei(config-if-vlanif20)#ospf authentication-mode md5 1 cipher string
huawei(config-if-vlanif20)#ospf cost 2001
huawei(config-if-vlanif20)#ospf mtu-enable
huawei(config-if-vlanif20)#ospf timer retransmit 2
huawei(config-if-vlanif20)#ospf bfd enable
huawei(config-if-vlanif20)#ospf bfd min-tx-interval 100 min-rx-interval 100
detect-multiplier 4
huawei(config-if-vlanif20)#quit

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 73


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

----End

1.6.6 Configuring GRE Tunnels


Packets between OLTs and routers are transmitted through generic routing encapsulation
(GRE) tunnels.

Prerequisites
The MAN equipment that interconnects with an OLT must support and terminate GRE
encapsulation.

Data Plan
Configuration Item Data
GRE tunnel Index of the priority profile: 10
Name of the priority profile: GreProfile
Ingress of the GRE tunnel: mapping from dscp-outer to
cos-inner
Egress of the GRE tunnel: The priority policy for packets to
join a queue is dscp-inner.
Index of the referenced mapping profile: 0
Tunnel interface Tunnel 1 interface
Network address: 192.158.1.1/24
Source address: 10.128.31.1/32
Destination address: 10.0.0.10/32
Bound VPN: VPN 1
Tunnel encapsulation mode: GRE
Keepalive function of the GRE tunnel: enable
Period of sending Keepalive packets from the local end of the
GRE tunnel: 12s
Retry times: 4
Tunnel 7 interface
Network address: 192.158.7.1/24
Source address: 10.128.31.1/32
Destination address: 10.0.0.10/32
Bound VPN: VPN 7
Tunnel encapsulation mode: GRE
Keepalive function of the GRE tunnel: enable
Period of sending Keepalive packets from the local end of the
GRE tunnel: 12s
Retry times: 4

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 74


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Procedure
Step 1 Create VPN instances.
huawei(config)#ip vpn-instance vpn1
huawei(config-vpn-instance-vpn1)#ipv4-family
huawei(config-vpn-instance-vpn1-af-ipv4)#quit
huawei(config-vpn-instance-vpn1)#quit
huawei(config)#ip vpn-instance vpn7
huawei(config-vpn-instance-vpn7)#ipv4-family
huawei(config-vpn-instance-vpn7-af-ipv4)#quit
huawei(config-vpn-instance-vpn7)#quit

Step 2 Configure GRE tunnels. Bind VPN instances.


huawei(config)#ip tunnel priority-profile gre index 10 name GreProfile inbound
dscp-outer cos-inner mapping-profile 0 outbound priority-policy qcos dscp-inner
mapping-profile 0
huawei(config)#interface Tunnel 1
huawei(config-if-tunnel1)#ip binding vpn-instance vpn1
huawei(config-if-tunnel1)#ip address IP-Address 255.255.255.0//Tunnel 1 network
address
huawei(config-if-tunnel1)#tunnel-protocol gre
huawei(config-if-tunnel1)#keepalive period 12 retry-times 4
huawei(config-if-tunnel1)#source 10.128.31.1 255.255.255.255//Tunnel 1 source address
huawei(config-if-tunnel1)#destination 10.0.0.10 255.255.255.255//Tunnel 1 destination
address
huawei(config-if-tunnel1)#tunnel pathmtu enable
huawei(config-if-tunnel1)#priority-profile binding index 10
huawei(config-if-tunnel1)#gre statistics
huawei(config)#quit
huawei(config)#interface Tunnel 7
huawei(config-if-tunnel7)#ip binding vpn-instance vpn7
huawei(config-if-tunnel7)#ip address 192.158.7.1 255.255.255.0//Tunnel 7 network
address
huawei(config-if-tunnel7)#tunnel-protocol gre
huawei(config-if-tunnel7)#keepalive period 12 retry-times 4
huawei(config-if-tunnel7)#source 10.128.31.1 255.255.255.255//Tunnel 7 source address
huawei(config-if-tunnel7)#destination 10.0.0.10 255.255.255.255//Tunnel 7 destination
address
huawei(config-if-tunnel7)#tunnel pathmtu enable
huawei(config-if-tunnel7)#priority-profile binding index 10
huawei(config-if-tunnel7)#gre statistics
huawei(config-if-tunnel7)#quit

Step 3 Configure static routes on the OLT. Set GRE tunnel 1 to be the default next-hop of VPN 1,
and GRE tunnel 7 to be the default next-hop of VPN 7.
huawei(config)#ip route-static vpn-instance vpn1 0.0.0.0 0.0.0.0 Tunnel 1
huawei(config)#ip route-static vpn-instance vpn7 0.0.0.0 0.0.0.0 Tunnel 7

----End

1.6.7 Configuring Network Protection


The access service of base stations has high requirements on reliability. Therefore, end-to-end
(E2E) protection is required.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 75


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Context
Upstream networks use the bidirectional forwarding detection (BFD) for Open Shortest
Path First (OSPF) protection. Configuring BFD for OSPF helps the system to rapidly
detect link status and speed up OSPF convergence when the link status changes.
Downstream networks use type B single-homing protection, which is intended for
service ports.

Procedure
Configure BFD for OSPF.
huawei(config)#ospf 1 router-id 1.1.1.1
huawei(config-ospf-1)#bfd all-interfaces enable
huawei(config-ospf-1)#bfd all-interfaces min-tx-interval 100 min-rx-interval 100
detect-multiplier 4
huawei(config-ospf-1)#maximum load-balancing 8
huawei(config-ospf-1)#area 0
huawei(config-ospf-1-area-0.0.0.0)#network 1.1.1.1 0.0.0.0
huawei(config-ospf-1-area-0.0.0.0)#network 192.168.1.1 0.0.0.255
huawei(config-ospf-1-area-0.0.0.0)#network 192.168.2.1 0.0.0.255

Configure type B single-homing protection.


Figure 1-16 shows the network that supports type B single-homing protection.

Figure 1-16 Network that supports type B single-homing protection

ONU
OLT
Backbone Fibers
Protection

Splitter

Active
Standby

Add ports 0/2/1 and 0/3/1 on different GPON service boards on the OLT to a GPON type
B single-homing protection group. If port 0/2/1 is faulty, the system switches to port
0/3/1 to access services.
huawei(config)#protect-group 0 protect-target gpon-uni-port workmode timedelay
huawei(protect-group-0)#protect-group member port 0/2/1 role work
huawei(protect-group-0)#protect-group member port 0/3/1 role protect
huawei(protect-group-0)#protect-group enable

Service configurations on the ONU remain unchanged before and after type B single-homing protection
is configured. That is, service configurations are applied to the active GPON port only.

----End

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 76


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1.6.8 Verifying Services


Verifying the access service of Ethernet base stations can be performed by continuity check
(CC) and alarm check.

Prerequisites
The access service of Ethernet base stations is deployed.

Procedure
Step 1 Check CC from the base station to RNC. Configure the IP address of the service channel and
the static route to the RNC on the base station, and then perform the ping operation. Normally,
ICMP ECHO-REPLY response from the RNC can be received.
Step 2 Check alarms. Check logs of the base station. Normal running requires no alarms during at
least 24 hours.
----End

1.7 Configuring the Access Service of Ethernet Base


Stations (Layer 2 Non-GRE Mode, GPON)
ONUs are connected to IP base stations through GE/XGE Ethernet ports and OLTs are
interconnected with metropolitan area network (MAN) equipment in Common VLAN mode
to achieve access of base station services.

1.7.1 Service Requirements and Application Scenarios


Service Requirements
ONUs are connected to 3G base stations and GPON is used for bearing the mobile
access network in a unified manner, meeting mobile carriers' requirements for high
bandwidth and high-density coverage of base stations.
A simple and mature service configuration scheme is used, which ensures service quality
and high transmission efficiency.

Application Scenarios
As shown in Figure 1-17, an ONU receives Ethernet service packets from a base station
through a GE/XGE port, encapsulates these packets into GPON encapsulation mode (GEM)
frames, and then sends these frames to the OLT through a GPON upstream port. The OLT
restores the Ethernet signals and configures common VLAN for these signals. Then, the
encapsulated packets are transmitted to a remote router and the router restores Ethernet
signals again.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 77


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-17 Network diagram for implementing access service of an Ethernet base station

1.7.2 Configuration Procedure


The following figure shows the configuration procedure about service access of an Ethernet
base station in the non-generic routing encapsulation (GRE) tunnel mode.

1.7.3 Adding an ONU to an OLT


An ONU can be configured only after it is successfully added to an OLT.

Context
When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, service profile, and alarm profile.
An ONU can be added in two modes: offline addition and online confirmation. Select
either mode as required.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 78


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Data Planning

Table 1-5 Key data planning table

Configurati Data
on Item

DBA profile Profile ID: 20


Profile type: type 5
Fixed bandwidth: 1024 kbit/s
Assured bandwidth: 100 Mbit/s
Maximum bandwidth: 2 Gbit/s
ONU line Profile ID: 10
profile T-CONT ID: 4
GEM port ID: 11. One GEM port bears all services.
ONU service Profile ID: 20
profile Profile name: base-profile
Ethernet port capability set of the service profile: adaptive
Native VLAN: Ignored
Networking PON port: 0/3/1
data ONU parameter:
ONU ID: 1
SN: 3230313163902641

Procedure
Step 1 Configure GPON ONU profiles.
1. Configure a DBA profile.
huawei(config)#dba-profile add profile-id 20 type5 fix 1024 assure 102400 max
2048000
2. Configure an ONU line profile.
huawei(config)#ont-lineprofile gpon profile-id 10
huawei(config-gpon-lineprofile-10)#tcont 4 dba-profile-id 20 //Bind T-CONT 4 to
DBA profile 20.
huawei(config-gpon-lineprofile-10)#gem add 11 eth tcont 0
huawei(config-gpon-lineprofile-10)#mapping-mode priority
huawei(config-gpon-lineprofile-10)#gem mapping 11 0 priority 0
huawei(config-gpon-lineprofile-10)#gem mapping 11 1 priority 1
huawei(config-gpon-lineprofile-10)#gem mapping 11 2 priority 2
huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit
3. Configure an ONU service profile.
huawei(config)#ont-srvprofile gpon profile-id 20 profile-name base-profile
huawei(config-gpon-srvprofile-20)#ont-port eth adaptive

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 79


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config-gpon-srvprofile-20)#native-vlan unconcern
huawei(config-gpon-srvprofile-20)#commit
huawei(config-gpon-srvprofile-20)#quit

Step 2 Add an ONU to an OLT.


1. Add ONU 1 to an OLT in the offline mode.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
2. (Optional) Bind an alarm profile.
By default, an ONU will be automatically bound to alarm profile 1 (default profile). You
need to manually bind an alarm profile to an ONU only when the default alarm profile
does not meet requirements.
In this example, the default alarm profile is used. Therefore, you do not need to manually
bind an alarm profile.
Step 3 Confirm the ONU status.
After adding an ONU, run the display ont info command to query the current status of the
ONU. Ensure that Control flag is active, Run State is online, and Config state is normal.
The following uses ONU 1 as an example to describe how to confirm ONU status.
huawei(config-if-gpon-0/3)#display ont info 1 1
---------------------------------------------------------------------
F/S/P : 0/3/1
ONT-ID : 1
Control flag : active //Indicates that the ONU is activated.
Run state : online //Indicates that the ONU is online.
Config state : normal //Indicates that the ONU is in normal state.
...//Other command output is omitted.
huawei(config-if-gpon-0/3)#quit

----End

Follow-up Procedure
When Config state is failed, Run state is offline, or Match state is mismatch:
If Control flag is deactivated, run the ont activate command in GPON mode to activate
the ONU.
If Run state is offline, a physical line may be broken or the optical module may be
damaged. Check the line and the optical module.
If Config state is failed, the configured ONU capability exceeds the actual ONU
capability. In this case, run the display ont failed-configuration command in the
diagnose mode to check the failed configuration item and the failure cause. Then, rectify
the fault accordingly.

1.7.4 Configuring the VLAN and Service Flow


This topic describes how to configure the VLAN and service flow on the OLT so that the
various packets from base stations can be forwarded according to the specified forwarding
policies.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 80


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Data Plan
Configuration Item Data
Upstream VLAN VLAN 10 and VLAN 20
CVLAN (upstream VLANs of the access services in base stations:
VLAN on the ONU) VLAN of the data service in the 3G base station: 301
VLAN of the voice service in the 3G base station: 1201
SVLAN Be the same as the CVLAN.
Traffic profile In the upstream direction:
ID: 10
Name: InboundTable
CIR: off
Source of the priority: user-cos; default priority: 0
Enqueuing priority scheduling policy: tag-in-package
In the downstream direction:
ID: 11
Name: OutBoundTable
CIR: off
Source of the priority: user-tos; default priority: 0
Enqueuing priority scheduling policy: tag-in-package
VLAN interface Configured IP address:
For VLAN interface 301, IP address: 10.3.1.4; subnet mask:
255.255.255.248
For VLAN interface 1201, IP address: 10.12.1.4; subnet
mask: 255.255.255.248

Procedure
Step 1 Configure the smart VLAN.
Add VLANs 10 and 20 on the OLT and then respectively add upstream ports to the VLANs.
huawei(config)#vlan 10 smart
huawei(config)#port vlan 10 0/9 0
huawei(config)#vlan 20 smart
huawei(config)#port vlan 20 0/10 0

Step 2 Configure the traffic profile. In the upstream direction, use the policy of copying the CoS
priority. In the downstream direction, use the policy of copying the ToS priority.
huawei(config)#traffic table ip index 10 name InboundTable cir off priority user-cos
0 priority-policy tag-in-package
huawei(config)#traffic table ip index 11 name OutBoundTable cir off priority user-tos
0 priority-policy tag-in-package

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 81


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Step 3 Configure the service flow.


Respectively configure service flows for the data and voice services in 3G basic stations.
huawei(config)#ont-srvprofile gpon profile-id 20
huawei(config-gpon-srvprofile-20)#port vlan eth 1 translation 301 user-vlan 301
huawei(config-gpon-srvprofile-20)#port vlan eth 1 translation 1201 user-vlan 1201
huawei(config-gpon-srvprofile-20)#commit
huawei(config-gpon-srvprofile-20)#quit
huawei(config)#service-port 301 vlan 301 gpon 0/3/1 ont ontid gemport gemid
multi-service user-vlan 301 tag-transform translate inbound traffic-table index 10
outbound traffic-table index 11
huawei(config)#service-port 1201 vlan 1201 gpon 0/3/1 ont ontid gemport gemid
multi-service user-vlan 1201 tag-transform translate inbound traffic-table index 10
outbound traffic-table index 11

Step 4 Create a VLAN interface and set an IP address for the VLAN interface.
huawei(config)#interface Vlanif 301
huawei(config-if-vlanif301)#ip address 10.3.1.4 255.255.255.248
huawei(config-if-vlanif301)#quit
huawei(config)#interface Vlanif 1201
huawei(config-if-vlanif1201)#ip address 10.12.1.4 255.255.255.248
huawei(config-if-vlanif1201)#quit

----End

1.7.5 Configuring Network Protection


The access service of base stations has high requirements on reliability. Therefore, end-to-end
(E2E) protection is required.

Context
Upstream networks use link aggregation group (LAG). Member links in a LAG
dynamically back up each other. When one link disconnects, another link immediately
takes over.
Downstream networks use type B single-homing protection, which is intended for
service ports.

Procedure
Configure a link aggregation group.
Bind upstream ports 0/9/0 and 0/9/1 together as an aggregation link group. Each member
port in the group transmits packets based on source MAC addresses. The working mode
is LACP static aggregation.
huawei(config)#link-aggregation 0/9 0-1 ingress workmode lacp-static

Configure type B single-homing protection.


Figure 1-18 shows the network that supports type B single-homing protection.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 82


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-18 Network that supports type B single-homing protection

ONU
OLT
Backbone Fibers
Protection

Splitter

Active
Standby

Add ports 0/2/1 and 0/3/1 on different GPON service boards on the OLT to a GPON type
B single-homing protection group. If port 0/2/1 is faulty, the system switches to port
0/3/1 to access services.
huawei(config)#protect-group 0 protect-target gpon-uni-port workmode timedelay
huawei(protect-group-0)#protect-group member port 0/2/1 role work
huawei(protect-group-0)#protect-group member port 0/3/1 role protect
huawei(protect-group-0)#protect-group enable

Service configurations on the ONU remain unchanged before and after type B single-homing protection
is configured. That is, service configurations are applied to the active GPON port only.

----End

1.7.6 Verifying Services


Verifying the access service of Ethernet base stations can be performed by continuity check
(CC) and alarm check.

Prerequisites
The access service of Ethernet base stations is deployed.

Procedure
Step 1 Check CC from the base station to RNC. Configure the IP address of the service channel and
the static route to the RNC on the base station, and then perform the ping operation. Normally,
ICMP ECHO-REPLY response from the RNC can be received.
Step 2 Check alarms. Check logs of the base station. Normal running requires no alarms during at
least 24 hours.
----End

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 83


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1.8 Configuring Symmetrical TDM PWE3 Access for OLTs


on Both Sides (GPON)
Two OLTs are symmetrically connected to the packet switched network (PSN). Signals of
enterprise or base transceiver station (BTS) private line services are transmitted to an ONU
through an E1 port, and then the ONU sends the signals to the OLT through GPON lines. The
OLT, functioning as a superstratum provider edge (SPE), is connected to its peer OLT through
TDM PWE3. This enables the PSN network to carry traditional circuit switched (CS)
services.

1.8.1 Service Requirements and Application Scenario


Service Requirements
Enhancing O&M capability: The MxU configurations can be performed on the OLT, which
simplifies the configuration process. Minimizing network construction costs. Allowing TDM
services to traverse the packet switched network (PSN): TDM services are deployed
independently.

Application Scenario
As shown in Figure 1-19, OLT-A and OLT-B are symmetrically deployed on both sides of the
PSN network. Both OLT-A and OLT-B are connected to ONUs through GPON lines.
Enterprise or base transceiver station (BTS) private line services are transmitted to the ONUs
through E1 ports. Proprietary TOE channels between the ONUs and OLTs are used to
encapsulate the packets of TDM services. Symmetrical TDM PWs are created between the 2
OLTs to provide cross-PSN-network access and backhaul for enterprise or BTS private line
services.

Figure 1-19 Example network of symmetrical GPON TDM PWE3 access


OLT-A OLT-B
ONU ONU

IP/MPLS
BTS/ RNC/
E1 E1
NodeB BSC

PW1
TDM ToE ToE TDM
PW2

1.8.2 Configuration Procedure


The following figure shows the procedure of symmetrically configuring TDM PWE3 access
for OLTs on both sides of the packet switched network (PSN). Because the 2 OLTs are
symmetrically deployed, the configuration steps on the 2 OLT are the same.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 84


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Start

Add ONUs to the OLT and


configure the management OLT-A/B
service port

Configure the TDM


connection and TDM PW OLT-A/B

Configure the congestion


control policy and security OLT-A/B
policy

Configure network
protection OLT-A/B

Configure clock OLT-A/B


synchronization /ONU

Verify services

End

1.8.3 Adding ONUs to the OLT and Configuring the Management


Service Port
Related configurations can be performed for ONUs only after the ONUs are successfully
added to the OLT. After the inband management service port is created and available, you can
log in to the ONUs from the OLT to configure the ONUs.

Context
When an ONU is added, related profiles need to be bound to the ONU, including the
dynamic bandwidth allocation (DBA) profile, line profile, and alarm profile.
An ONU can be added in two modes: adding an ONU offline and confirming an ONU
online. Select either mode as required.

Data Plan

Table 1-6 Key data plan

Item Data

DBA profile DBA profile for management services: system default profile 1
DBA profile for private line services:
Profile ID: 21
Profile type: fixed bandwidth and minimum delay mode
DBA bandwidth: 28928 kbit/s (assume that 4 E1 private lines are

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 85


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Item Data
connected to 1 ONU and each E1 private line is configured with a
bandwidth of 7232 kbit/s)
Line profile Profile ID: 11
T-CONT 1 is used for private line services and T-CONT 2 for
management services.
GEM port ID for management services: 11
GEM port ID for private line services: 13
Networking PON port: 0/3/1
data ONU parameters:
ONU ID: 1
SN: 3230313163902641
Management On the OLT:
VLAN and Management VLAN ID: 8
management
IP address Management VLAN type: smart VLAN
Inband management IP address: 192.168.50.1/24
On the ONU:
Management VLAN ID: 8
Management VLAN type: smart VLAN
Inband management IP address: 192.168.50.2/24

Procedure
Step 1 Configure GPON ONU profiles.
1. Configure the DBA profile for private line services, enable bandwidth compensation,
and set the DBA bandwidth allocation mode of the GPON port to min-loop-delay.
huawei(config)#dba-profile add profile-id 21 type1 fix 28928 bandwidth_compensate
yes
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#port dba bandwidth-assignment-mode 1 min-loop-delay
huawei(config-if-gpon-0/3)#quit
2. Configure an ONU line profile.
huawei(config)#ont-lineprofile gpon profile-id 11
huawei(config-gpon-lineprofile-11)#tcont 1 dba-profile-id 21 //Bind DBA profile
21 to T-CONT 1.
huawei(config-gpon-lineprofile-11)#tcont 2 dba-profile-id 1 //Bind DBA profile 1
to T-CONT 2.
huawei(config-gpon-lineprofile-11)#gem add 11 eth tcont 2
huawei(config-gpon-lineprofile-11)#gem add 13 tdm tcont 1 //Add GEM port 13 to T-CONT
1.
huawei(config-gpon-lineprofile-11)#gem mapping 11 0 vlan 8
huawei(config-gpon-lineprofile-11)#gem mapping 13 1 tdm-vcl //Map GEM port 13 to
the TDM connection.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 86


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config-gpon-lineprofile-11)#commit
huawei(config-gpon-lineprofile-11)#quit
3. (Optional) Configure the alarm profile.
The ID of the default GPON alarm profile is 1. The thresholds for all the alarm
parameters in the default alarm profile are 0, which indicates that no alarm is
generated.
In this example, the default alarm profile is used, and therefore the configuration of
the alarm profile is not required.
Step 2 Add an ONU to the OLT.
1. Add ONU 1 offline.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 ontid 1 sn-auth 3230313163902641
snmp ont-lineprofile-id 11

2. (Optional) Bind the alarm profile to ONU 1.


By default, alarm profile 1 is automatically bound to the ONU. You need to manually
bind a non-default alarm profile to the ONU only when the default one does not meet the
requirement.
In this example, the default alarm profile 1 is used, and therefore the configuration of the
alarm profile is not required.
Step 3 Check the ONU status.
After the ONU is added, run the display ont info command to query the status of the ONU.
Ensure that Config flag of the ONU is active, Run State is online, and Config state is
normal.
To query the status of ONU 1, do as follows:
huawei(config-if-gpon-0/3)#display ont info 1 1
---------------------------------------------------------------------
F/S/P : 0/3/1
ONT-ID : 1
Control flag : active //Indicates that the ONU is activated.
Run state : online //Indicates that the ONU goes online normally.
Config state : normal //Indicates that the configuration recovery state of
the ONU is normal.
...//The following command output is omitted.
huawei(config-if-gpon-0/3)#quit

Step 4 Configure the inband management VLAN and IP address of the OLT.
Create a VLAN whose ID is 8 as the inband management VLAN of the OLT, set the VLAN
priority to 6, and set the IP address of the VLAN interface to 192.168.50.1/24.
huawei(config)#vlan 8 smart
huawei(config)#vlan priority 8 6
huawei(config)#port vlan 8 0/9 0
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.1 24
huawei(config-if-vlanif8)#quit

Step 5 Configure the inband management VLAN and IP address of the ONU.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 87


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#interface gpon 0/3


huawei(config-if-gpon-0/3)#ont ipconfig 1 1 static ip-address 192.168.50.2 mask
255.255.255.0 gateway
192.168.50.1 vlan 8
huawei(config-if-gpon-0/3)#quit

Step 6 Configure an inband management service port.


The management VLAN is VLAN 8, the GEM port ID is 11, and user VLAN is VLAN 8. The
OLT does not limit the rate of inband management services. Therefore, you can directly bind
default traffic profile 6 to the inband management service port.
huawei(config)#service-port vlan 8 gpon 0/3/1 ont 1 gemport 11 multi-service
user-vlan 8 rx-cttr 6 tx-cttr 6

Step 7 Check whether the management service port between the OLT and the ONU is available.
Run the ping ONU ip command on the OLT to check the connectivity between the OLT
and the ONU. If the ICMP ECHO-REPLY packets from the ONU are received, the
connectivity between the OLT and the ONU is in good condition.
If you can remotely log in to the ONU from the OLT to perform configurations for the
ONU, the management service port between the OLT and the ONU is available.
----End

Follow-up Procedure
When Config state is failed, Run state is offline, or Match state is mismatch:
If Control flag is deactivated, run the ont activate command in GPON mode to activate
the ONU.
If Run state is offline, a physical line may be broken or the optical module may be
damaged. Check the line and the optical module.
If Config state is failed, the configured ONU capability exceeds the actual ONU
capability. In this case, run the display ont failed-configuration command in the
diagnose mode to check the failed configuration item and the failure cause. Then, rectify
the fault accordingly.

1.8.4 Configuring the TDM Connection and TDM PW


A TDM connection between the OLT and ONU is created and bound to the PW, so that TDM
PWE3 services can be transmitted between two OLTs.

Data Plan
When OLTs are symmetrically connected to the packet switched network (PSN), the
configuration steps for OLT-A and OLT-B are the same, and only the configuration data varies
with the OLTs. The varied configuration data of OLT-A and OLT-B will be separately
described in this topic.

Table 1-7 Key data plan

Item Data

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 88


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Item Data
VLAN 1000
ONU E1 port Port ID: 0/1/0
Port signaling mode: unstructured data transfer (UDT)
Transmit clock of the port: system clock
IP address OLT-A:
IP address of the VLAN interface: 10.0.0.10/24
IP address of the loopback interface: 1.1.1.1/32
OLT-B:
IP address of the VLAN interface: 10.0.0.20/24
IP address of the loopback interface: 2.2.2.2/32
PW parameters The following parameters must be the same on the 2 OLTs.
PW ID: 1
PW type: TDM SAToP E1
Control word: enabled
PW load time: 125 s
Size of jitter buffer: 500 s
RTP header: enabled

Procedure
Step 1 Configure the TDM connection.
1. Configure the TDM virtual channel link (VCL) on the ONU.
On GPON port 0/3/1, create the TDM VCL for E1 port 0/1/0 of ONU 0.

Each E81A board has 8 E1 ports. Port IDs 0 to 7 on board 0/1 correspond to ONT port IDs 1 to 8, port
IDs 0 to 7 on board 0/2 correspond to ONT port IDs 9 to 16, and so forth.
huawei(config-if-gpon-0/3)ont tdm-vcl 1 0 tdm-vcl-id 0 satop 1
huawei(config-if-gpon-0/3)quit
2. Configure the TDM connection on the OLT.
huawei(config)tdm-connect connectid 0 tdm pwe3-uplink gpon 0/3/11 ontid 1
gemportIndex 13 tdm-vcl 0

Step 2 Configure the basic functions of multiprotocol label switching (MPLS).


1. Create VLAN 1000, add the upstream port into VLAN 1000, and configure the IP
address of VLAN interface 1000.
huawei(config)#vlan 1000 smart
huawei(config)#port vlan 1000 0/9 0
huawei(config)#interface vlanif 1000
huawei(config-if-vlanif1000)#ip address 10.0.0.10 24

2. Configure the IP address of the loopback interface and MPLS LSR ID.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 89


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#interface loopback 0
huawei(config-if-loopback0)#ip address 1.1.1.1 32
huawei(config)#mpls lsr-id 1.1.1.1

3. Enable MPLS, MPLS L2VPN, and MPLS LDP globally, and then enable MPLS and
MPLS LDP for the VLAN interface.
huawei(config)#mpls
Info: Mpls starting, please wait... OK!
huawei(config-mpls)#quit
huawei(config)#mpls l2vpn
huawei(config)#mpls ldp
huawei(config)#interface vlanif 1000
huawei(config-if-vlanif1000)#mpls
huawei(config-if-vlanif1000)#mpls ldp

4. Configure a static route to the peer OLT.


Configure a static route from OLT-A to OLT-B.
huawei(config)#ip route-static 2.2.2.2 32 10.0.0.20
Configure a static route from OLT-B to OLT-A.
huawei(config)#ip route-static 1.1.1.1 32 10.0.0.10
After the static routes are configured successfully, ping the VLAN interface or LSR ID
of the peer OLT from one OLT. Normally, the ICMP ECHO-REPLY packets from the
peer OLT can be received.
Step 3 Configure the MPLS PW.
PW parameter peer-address (configured on the 2 OLTs) is set to the LSR ID of the peer OLT,
and other PW parameters must be set identically on the 2 OLTs.
huawei(config)#pw-para 1
huawei(config-pw-para-1)#peer-address 1.1.1.1 //Set the peer address to the LSR ID of
the peer OLT.
huawei(config-pw-para-1)#pw-type tdm satop e1 //The PW type must be the same as the
attribute of the E1 port on the ONU.
//Configure the SAToP encapsulation, and
set the E1 port signaling mode to UDT.
huawei(config-pw-para-1)#control-word
huawei(config-pw-para-1)#tdm-load-time satop e1 loadtime 125
huawei(config-pw-para-1)#jitter-buffer buffer-size 500
huawei(config-pw-para-1)#rtp-header encap payload-type 0 sn 0 ssrc rcv 0 tx 0
huawei(config-pw-para-1)#quit

Step 4 Dynamically bind PW 1 to the TDM connection.


huawei(config)#pw-ac-binding tdm 0 pw 1

Step 5 Configure the attributes of the E1 port on the ONU.


Log in to the ONU from the OLT, and then configure the port signaling mode of E1 port 0/1/0
to UDT and the transmit clock to system.
huawei(config)#interface tdm 0/1
huawei(config-if-tdm-0/1)#port 0 udt system
huawei(config-if-tdm-0/1)#quit

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 90


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

----End

Follow-up Procedure
After all the configurations are performed successfully, the related information about the
CESoP connection can be queried by running the display cesop-connect command on the
ONU.
huawei(config)#display cesop-connect all
------------------------------------------------------------------------------
ID PORT VCL ENCAP REMOTEMAC REMOTEIP LOCALUDP REMOTEUDP VLAN
ID TYPE /RXPWLABEL /TXPWLABEL
------------------------------------------------------------------------------
0 0/1 /0 0 MPLS e024-7f98-a21b - 9343 8192 TOE
------------------------------------------------------------------------------
Total: 1

1.8.5 Configuring Clock Synchronization


In this scenario, network-wide clock synchronization is implemented through synchronous
Ethernet clocks.

Prerequisites
The clock daughter board CKUA of the control board is in position.
The upstream MAN PSN of the OLT supports Synchronous Ethernet.

Data Plan
Item Data
Ethernet upstream 0/9/0
port NOTE
This topic uses the control board upstreaming as an example.

Procedure
Configure the OLT-side clock.
a. Configure a system clock source.
Use the Ethernet line clock input from Ethernet port 0/9/0 as the system clock. Set
the index of the system clock to 0 and priority to 0 (highest priority).
huawei(config)#clock source 0 0/9/0
huawei(config)#clock priority system 0
b. Query the configurations and status of the system clock source.
Run the display clock source system command to query configurations and status
of the clock source. Ensure that the configurations of the system clock source are
correct and the status of the system clock source is Normal.
huawei(config)#display clock source system

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 91


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

--------------------------------------------------------------------------
----
Index Board Source Clk-type State Priority QL Selected

--------------------------------------------------------------------------
----
0 H901MPLB 0/9/0 ETH Normal 0 --- YES

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

Run the display clock mode command to query the working mode of the clock.
Ensure that the working mode of the clock daughter board is Tracing.
huawei(config)#display clock mode
Clock manage-mode:Third-mode
Clock subboard work-mode:Tracing
Configure the ONU-side clock.
a. Configure the PON line clock as the system clock.
huawei(config)#clock source 0 0/0/1
huawei(config)#clock priority system 0

b. Query the configurations and status of the system clock source.


Run the display clock source command to query the configurations and status of
the system clock source.
huawei(config-if-tdm-0/1)#quit
huawei(config)#display clock source
--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/1 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

----End

1.8.6 Configuring Congestion Control and Security Policies


This topic describes how to configure global priority-based scheduling policies for queues to
ensure service reliability and configure global security policies to ensure service security.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 92


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Context
Congestion control uses queue scheduling technology to map packets sent from the same port
into multiple queues and process packets in each queue based on priority. Congestion control
is recommended.
Security policies cover system security, user security, and service security, which ensure
normal running of services.

Enable security features based on service types. For details, see Principle of Security Data Plan.

Procedure
Configure queue scheduling.
Based on Principle of QoS Data Plan, all packets use strict priorities for queue
scheduling and are mapped to queues based on priorities.
huawei(config)#queue-scheduler strict-priority
huawei(config)#cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
//System default
Configure system security.
Enable deny of service (DoS) anti-attack on both the OLT and ONUs.
i. Run the security anti-dos enable command to globally enable DoS
anti-attack.
ii. Run the security anti-dos control-packet policy command to configure a
protocol packet processing policy that will be used when a DoS attack occurs.
iii. Run the security anti-dos control-packet rate command to configure the
threshold for the rate of sending protocol packets to the CPU.
Enable IP address anti-attack on both the OLT and ONUs.
Run the security anti-ipattack enable command to enable IP address anti-attack.
Configure user security.
Enable MAC address anti-flapping on both the OLT and ONUs.
Run the security anti-macduplicate enable command to enable MAC address
anti-flapping.
Enable MAC address anti-spoofing on both the OLT and ONUs.
i. In global config mode, run the security anti-macspoofing enable command to
globally enable MAC address anti-spoofing.
ii. Enable MAC address anti-spoofing at VLAN level in global config mode or
service profile mode:
1) In global config mode, run the security anti-macspoofing vlan
command to enable MAC address anti-spoofing.
2) Perform the following operations to enable MAC address anti-spoofing in
service profile mode:
1) In global config mode, run the vlan service-profile command to create a
VLAN service profile.
2) Run the security anti-macspoofing enable command to enable MAC
address anti-spoofing at VLAN level.
3) Run the commit command to make the profile configuration take effect.
4) Run the quit command to quit the VLAN service profile mode.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 93


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

5) Run the vlan bind service-profile command to bind the created VLAN
service profile to a VLAN.
iii. (Optional) Run the security anti-macspoofing max-mac-count command to
set the maximum number of MAC addresses that can be bound to a service
flow.
iv. (Optional) Run the security anti-macspoofing exclude command to configure
the types of packets for which MAC address anti-spoofing does not take effect,
such as Internet Group Management Protocol (IGMP) packets.
Enable IP address anti-spoofing on ONUs.
IP address anti-spoofing can be enabled or disabled at three levels: global, VLAN,
and service port levels. This function takes effect only after it is enabled at the three
levels. Among the three levels, IP address anti-spoofing is disabled only at the
global level by default.
i. In global config mode, run the security anti-ipspoofing enable command to
enable IP address anti-spoofing at the global level.
ii. In VLAN service profile mode, run the security anti-ipspoofing enable
command to enable IP address anti-spoofing at the VLAN level.
iii. Run the security anti-ipspoofing service-port serviceport-id enable
command to enable IP address anti-spoofing at the service port level.
----End

1.8.7 Configuring Network Protection


This topic describes how to configure end-to-end (E2E) protection schemes for the base
station access service which has a high requirement on service reliability.

Context
Reliability covers equipment reliability, upstream networking protection, and downstream
networking protection. For details on reliability data planning, see 1.3.6 Planning Reliability
Data.
Upstream networking protection includes link aggregation group and protection group.
Usually, link aggregation group is configured when the NXED board is used to transmit
traffic upstream; protection group is configured when the main control board is used to
transmit traffic upstream. The two protection schemes are not configured at the same
time.
Downstream networking protection includes Type B, Type C single homing, and Type C
dual homing, which are used to protect service ports. Ports on the same ONU can be
configured only with the same protection scheme.

This topic describes how to configure five mainstream protection schemes. Select required protection
schemes based on the carrier's requirement and actual networking scenario.

Procedure
Configure a link aggregation group.
Bind upstream ports 0/8/0 and 0/8/1 together as an aggregation link group. Each member
port in the group transmits packets based on source MAC addresses. The working mode
is LACP static aggregation.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 94


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#link-aggregation 0/8 0-1 ingress workmode lacp-static


Configure a protection group.
Configure upstream ports 0/9/0 and 0/9/1 on the control board as a port protection group.
Set port 0/9/0 as the working port and port 0/9/1 as the protection port, set the working
mode to time delay detection, and enable the protection group.
huawei(config-protect)#protect-group first 0/9/0 second 0/9/1 eth workmode timedelay
enable
Configure the Type B protection.
Figure 1-20 shows the Type B protection networking diagram.

Figure 1-20 Type B protection

ONU
OLT
Backbone Fibers
Protection

Splitter

Active
Standby

Configure redundancy backup for ports 0/3/1 and 0/3/2 on the same GPON board on
OLT. When port 0/3/1 fails, the system can automatically switch to port 0/3/2.
huawei(config)#protect-group 0 protect-target gpon-uni-port workmode timedelay
huawei(protect-group-0)#protect-group member port 0/3/1 role work
huawei(protect-group-0)#protect-group member port 0/3/2 role protect
huawei(protect-group-0)#protect-group enable

The configurations of services accessed by the ONUs remain the same after the Type B protection is
configured. That is, the service configurations are applied only to the working GPON port.
Configure the Type C single homing protection.
Figure 1-21 shows networking diagram for the Type C single homing protection.
Configure two 1:N optical splitters, one for connecting the working PON ports on the
OLT and ONUs, and one for connecting the protection PON ports on the OLT and ONUs.
This protection scheme protects both the backbone fibers and tributary fibers.
The configurations of services accessed by the ONUs remain the same after the Type C
single homing protection is configured. That is, the service configurations are applied
only to the working PON port on the OLT and working upstream PON ports on the
ONUs.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 95


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-21 Type C single homing protection

ONU Splitter A
OLT

Splitter B
Tributary Fibers
Protection
Backbone Fibers
Protection
Active
Standby

As shown in the preceding figure, Type C single homing protecting is configured for
optical fiber links between the OLT and ONU.
The ports on the GPON service board are 0/3/1 and 0/3/2.
The link at port 0/3/1 is the working link.
The link at port 0/3/2 is the protection link.
The ONU ID is 1.
The ONU is authenticated by serial number (SN). The SN of the ONU is
3230313163902641 and the management mode is SNMP.
The ID of the line profile bound to the ONU is 10.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
huawei(config-if-gpon-0/3)#ont add 2 1 protect-side
huawei(config-if-gpon-0/3)#quit
huawei(config)#protect-group protect-target gpon-uni-ont workmode portstate
huawei(protect-group-1)#protect-group member port 0/3/1 ont 1 role work
huawei(protect-group-1)#protect-group member port 0/3/2 ont 1 role protect
huawei(protect-group-1)#protect-group enable
huawei(protect-group-1)#quit

Configure the Type C dual homing protection.


Figure 1-22 shows the networking diagram for the Type C dual homing protection. Two
PON ports on different OLTs, two PON ports on an ONU, two backbone optical fibers,
two optical splitters, and two tributary optical fibers are configured to implement this
protection. The difference between this protection scheme and the Type C single homing
protection scheme is that the ONU needs to be dual homed to two OLTs in this protection
scheme.
The models and versions of main control boards on the active and standby OLTs must be
the same. The models and versions of GPON boards on the active and standby OLTs also
must be the same. Data on the active OLT cannot be automatically synchronized with
that on the standby OLT. Therefore, data synchronization between the active and standby
OLTs must be manually ensured.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 96


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

This protection scheme can be configured for only the Ethernet QinQ private line service.
It does not support TDM services, including Native TDM and SAToP.

Figure 1-22 Type C dual homing protection

Active OLT

Splitter A
ONU

Splitter B
Standby OLT

Active
Standby

As shown in the preceding figure, Type C dual homing protection is configured for two
OLTs (huawei_A and huawei_B).
huawei_A is the active OLT while huawei_B is the standby OLT.
The ports on the service boards on both OTLs are 0/3/1.
The dual homing protection group ID is 1.
The ONU ID is 1.
The ONU is authenticated by serial number (SN). The SN of the ONU is
3230313163902641 and the management mode is SNMP.
The ID of the line profile bound to the ONU is 10.
Configurations on the active OLT huawei_A:
huawei_A(config)#interface gpon 0/3
huawei_A(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
huawei_A(config-if-gpon-0/3)#quit
huawei_A(config)#protect-group 1 protect-target gpon-uni-ont workmode dual-parenting
huawei_A(protect-group-1)#protect-group member port 0/3/1 ont 1 role work

Configurations on the standby OLT huawei_B:


huawei_B(config)#interface gpon 0/3
huawei_B(config-if-gpon-0/3)#ont add 1 1 sn-auth 3230313163902641 snmp
ont-lineprofile-id 10
huawei_B(config-if-gpon-0/3)#quit
huawei_B(config)#protect-group 1 protect-target gpon-uni-ont workmode dual-parenting

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 97


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei_B(protect-group-1)#protect-group member port 0/3/1 ont 1 role protect


huawei_B(protect-group-1)#protect-group enable

----End

1.8.8 Verifying Services


Verifying private line services requires a dedicated E1 line test instrument.

Prerequisites
The configuration of private line services has been completed.

Context
Because E1 access is applied to both sides of the packet switched network (PSN), an E1 line
test instrument can be used to verify services. The E1 line test instrument is connected to the
E1 port of the device on one side of the network after the port loopback or hardware loopback
is configured on the E1 port of the device on the other side of the network.

Procedure
Step 1 Configure a local loopback on the E1 port.
If the E1 port of the ONU is used to provide access for the private line services, the
configurations are as follows:
huawei(config)#interface tdm 0/1
huawei(config-if-tdm-0/1)#loopback 0 local
This operation will interrupt the service, continue? (y/n)[n]:y

If the E1 port of the OLT is used to provide access for the private line services, the
configurations are as follows:
huawei(config)#interface top 0/2
huawei(config-if-top-0/2)#loopback 0 local

Step 2 Use the E1 line test instrument to send packets.

Ensure the synchronization between clocks. It is recommended that the E1 line test instrument should
use the self-generated clock, the OLT should trace the clock of the E1 line test instrument, and the ONU
should trace the clock of the OLT.

The test duration must be equal to or longer than 12 hours. No alarm information is displayed
on the test instrument, and the bit error rate (BER) must be lower than 1E-9.
----End

Follow-up Procedure
You can collect the packet statistics to check whether the CESoP and TDM connections are
normal.
Collect the statistics of packets sent and received by the CESoP connection on the ONU.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 98


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#display cesop-connect statistics 0


------------------------------------------------------
CONNECTID : 0
------------------------------------------------------
Lost Packet Count: 0
Received Packet Count: 58733
Transmitted Packet Count: 58732
Overflow Jitter Buffer Times: 0
Underflow Jitter Buffer Times: 0
Received Abnormal Packet Count: 0
Received Sn-error Packet Count: 0
Received Ssrc-error Packet Count: 0
------------------------------------------------------

In the command output, the number of received packets must be the same as that of sent
packets.
Collect the statistics of packets sent and received by the TDM connection on the OLT.
huawei(config)#display tdm-connect statistics 0
---------------------------------------------------------------
Statistics on ONU side:
Discarded Packets : 0
Received Packets : 132252
Transmitted Packets : 132253
Received Error CESoP Packets : 0
Received SN Error CESoP Packets : 0
Received SSRC Error CESoP Packets : 0
-------------------------------------------------------------

In the command output, the number of received packets must be the same as that of sent
packets.

1.9 Configuring E1 Access for the ONU and Creating TDM


PWE3 Between the ONU and Peer PE (GPON)
An ONU is connected to the OLT through GPON lines. Signals of enterprise or base
transceiver station (BTS) private line services are transmitted to the OLT through the E1 port
on the ONU. TDM PWE3 is created between the ONU and the peer provider edge (PE)
CX600 to enable the packet switched network (PSN) to carry traditional circuit switched (CS)
services.

1.9.1 Service Requirements and Application Scenario


Service Requirements
Minimizing network construction costs. Allowing TDM services to traverse the packet
switched network (PSN): TDM services are deployed independently.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 99


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Application Scenario
As shown in Figure 1-23, an ONU is connected to the OLT through GPON lines. Enterprise or
base transceiver station (BTS) private line services are transmitted to the ONU through an E1
port. Static TDM PWs are created between the ONU and the peer provider edge (PE) to
provide cross-PSN-network access and backhaul for enterprise or BTS private line services.

Figure 1-23 Example network of E1 access for the ONU and TDM PWE3 between the ONU and
peer PE

OLT-A CX600
ONU

IP/MPLS
BTS/ RNC/
E1 E1/STM-1
NodeB BSC

TDM Static PW TDM

1.9.2 Service Requirement and Application Scenario


The following figure shows the procedure of configuring E1 access for the ONU and creating
TDM PWE3 between the ONU and peer PE.

Start

Add ONUs to OLT-A and


configure the service port
for transparently OLT-A
transmitting services

Configure the TDM VCL


and CESoP connection ONU
on the ONU

Configure the static LSP


and PW on the CX600 CX600

Configure clock OLT-A/


synchronization ONU/CX600

Verify services

End

1.9.3 Adding ONUs to the OLT and Configuring the Management


Service Port
Services can be configured for an ONU only after the ONU is successfully added to the OLT.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 100


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Context
When an ONU is added, related profiles need to be bound to the ONU, including the
dynamic bandwidth allocation (DBA) profile, line profile, and alarm profile.
An ONU can be added in two modes: adding an ONU offline and confirming an ONU
online. Select either mode as required.

Data Plan

Table 1-8 Key data plan

Item Data
DBA profile Profile ID: 21
Profile type: fixed bandwidth and minimum delay mode
DBA bandwidth: 28928 kbit/s (assume that 4 E1 private lines are
connected to 1 ONU and each E1 private line is configured with a
bandwidth of 7232 kbit/s)
Line profile Profile ID: 11
T-CONT ID: 1
GEM port ID for management service: 11
GEM port ID for private line service: 13
Networking PON port: 0/3/1
data ONU parameters:
ONU ID: 1
SN: 32303131B39FD641
Management On the OLT:
VLAN and Management VLAN ID: 8
management
IP address Management VLAN type: smart VLAN
Inband management IP address: 192.168.50.1/24
On the ONU:
Management VLAN ID: 8
Management VLAN type: smart VLAN
Inband management IP address: 192.168.50.2/24
Service 300
VLAN
Traffic Index: 10
profile (for CIR: off
transparent
transmission) Policy: user-cos; default priority: 7
Priority policy: tag-in-package

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 101


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Procedure
Step 1 Configure GPON ONU profiles.
1. Configure the DBA profile, and set the DBA bandwidth allocation mode of the GPON
port to min-loop-delay.
huawei(config)#dba-profile add profile-id 21 type1 fix 28928
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#port dba bandwidth-assignment-mode 1 min-loop-delay
huawei(config-if-gpon-0/3)#quit
2. Configure an ONU line profile.
huawei(config)#ont-lineprofile gpon profile-id 11
huawei(config-gpon-lineprofile-11)#tcont 1 dba-profile-id 21 //Bind DBA profile
21 to T-CONT 1.
huawei(config-gpon-lineprofile-11)#gem add 11 eth tcont 0
huawei(config-gpon-lineprofile-11)#gem add 13 eth tcont 1 //Add GEM port 13 to T-CONT
1.
huawei(config-gpon-lineprofile-11)#gem mapping 11 0 vlan 8
huawei(config-gpon-lineprofile-11)#gem mapping 13 1 vlan 300 //Map GEM port 13 to
VLAN 300.
huawei(config-gpon-lineprofile-11)#commit
huawei(config-gpon-lineprofile-11)#quit
3. (Optional) Configure the alarm profile.
The ID of the default GPON alarm profile is 1. The thresholds for all the alarm
parameters in the default alarm profile are 0, which indicates that no alarm is
generated.
In this example, the default alarm profile is used, and therefore the configuration of
the alarm profile is not required.
Step 2 Add an ONU to the OLT.
1. Add ONU 1 offline.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 ontid 1 sn-auth 3230313163902641
snmp ont-lineprofile-id 11

2. (Optional) Bind the alarm profile to ONU 1.


By default, alarm profile 1 is automatically bound to the ONU. You need to manually
bind a non-default alarm profile to the ONU only when the default one does not meet the
requirement.
In this example, the default alarm profile 1 is used, and therefore the configuration of the
alarm profile is not required.
Step 3 Check the ONU status.
After the ONU is added, run the display ont info command to query the status of the ONU.
Ensure that Config flag of the ONU is active, Run State is online, and Config state is
normal.
To query the status of ONU 1, do as follows:
huawei(config-if-gpon-0/3)#display ont info 1 1
---------------------------------------------------------------------
F/S/P : 0/3/1

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 102


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

ONT-ID : 1
Control flag : active //Indicates that the ONU is activated.
Run state : online //Indicates that the ONU goes online normally.
Config state : normal //Indicates that the configuration recovery state of
the ONU is normal.
...//The following command output is omitted.
huawei(config-if-gpon-0/3)#quit

Step 4 Configure the inband management VLAN and IP address of the OLT.
Create a VLAN whose ID is 8 as the inband management VLAN of the OLT, set the VLAN
priority to 6, and set the IP address of the VLAN interface to 192.168.50.1/24.
huawei(config)#vlan 8 smart
huawei(config)#vlan priority 8 6
huawei(config)#port vlan 8 0/9 0
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.1 24
huawei(config-if-vlanif8)#quit

Step 5 Configure the inband management VLAN and IP address of the ONU.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont ipconfig 1 1 static ip-address 192.168.50.2 mask
255.255.255.0 gateway
192.168.50.1 vlan 8
huawei(config-if-gpon-0/3)#quit

Step 6 Configure an inband management service port.


The management VLAN is VLAN 8, the GEM port ID is 11, and user VLAN is VLAN 8. The
OLT does not limit the rate of inband management services. Therefore, you can directly bind
default traffic profile 6 to the inband management service port.
huawei(config)#service-port vlan 8 gpon 0/3/1 ont 1 gemport 11 multi-service
user-vlan 8 rx-cttr 6 tx-cttr 6

Step 7 Check whether the management service port between the OLT and the ONU is available.
Run the ping ONU ip command on the OLT to check the connectivity between the OLT
and the ONU. If the ICMP ECHO-REPLY packets from the ONU are received, the
connectivity between the OLT and the ONU is in good condition.
If you can remotely log in to the ONU from the OLT to perform configurations for the
ONU, the management service port between the OLT and the ONU is available.
Step 8 Configure the traffic profile and create the service port for transparently transmitting services.
Set the service VLAN (SVLAN) ID to 300, GEM port ID to 13, and customer VLAN
(CVLAN) ID to 300. The OLT does not limit the rate of services that are transparently
transmitted. Traffic profile 10 is bound to the service port for transparently transmitting
services.
huawei(config)#traffic table ip index 10 cir off priority user-cos 7 priority-policy
tag-In-package
huawei(config)#service-port vlan 300 gpon 0/3/1 ont 1 gemport 13 multi-service
user-vlan 300 rx-cttr 10 tx-cttr 10

----End

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 103


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Follow-up Procedure
When Config state is failed, Run state is offline, or Match state is mismatch:
If Control flag is deactivated, run the ont activate command in GPON mode to activate
the ONU.
If Run state is offline, a physical line may be broken or the optical module may be
damaged. Check the line and the optical module.
If Config state is failed, the configured ONU capability exceeds the actual ONU
capability. In this case, run the display ont failed-configuration command in the
diagnose mode to check the failed configuration item and the failure cause. Then, rectify
the fault accordingly.

1.9.4 Configuring the TDM VCL and CESoP Connection on the


ONU
Data Plan
Item Data
E1 port parameters Port ID: 0/1/0
Port signaling mode: structured data transfer (SDT)
Transmit clock of the port: system clock
Port signaling: common channel signaling (CCS)
CRC-4 frame check: enabled
IP address: 10.0.0.10
Port timeslot: 1-15 (timeslot bitmap: 0xfffe)
Service VLAN 300
Static LSP parameters Tx LSP label: 2000
Rx LSP label: 8200
Static PW parameters Tx PW label: 8000
NOTE Rx PW label: 8500
The PW parameters on RTP header: enabled
the ONU must be the
same as those on the PW load time: 1000 s
CX600.
Maximum jitter delay: 2 ms

Procedure
Step 1 Create the service VLAN and add an upstream port to the VLAN.
huawei(config)#vlan 300 smart
huawei(config)#port vlan 300 0/0 0

Step 2 Configure the attributes of the E1 Port.


huawei(config)#interface tdm 0/1
huawei(config-if-tdm-0/1)#port 0 sdt system ccs crc enable

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 104


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config-if-tdm-0/1)#set ip-address 10.0.0.10


huawei(config-if-tdm-0/1)#quit

Step 3 Configure the TDM virtual channel link (VCL).


Set the TDM VCL ID to 0 and the type to CESoP, and use timeslot 1-16.
huawei(config)#tdm-vcl tdm-vcl-id 0 cesop 0/1/0 timeslot 0xfffe

Step 4 Configure the CESoP connection.


Use VLAN 300 to carry CESoP services. Set the Rx PW label to 8500, Tx PW label to 8000,
Rx LSP label to 8200, Tx LSP label to 2000, and gateway IP address (the next hop is the
CX600) to 10.0.0.20. Then configure the specific attributes of the CESoP connection.
huawei(config)#cesop-connect 1 tdm 0 vlan 300 rcv-pw-label 8500 trans-pw-label 8000
rcv-lsp-label 8200 trans-lsp-label 2000 gateway 10.0.0.20
huawei(config)#cesop rtp 1 enable //Enable RTP header.
huawei(config)#cesop loadtime 1 1000 //The load time is 1000 s (namely 8 frames).
huawei(config)#cesop jitter-buffer 1 2000 //The maximum jitter delay is 2 ms.
huawei(config)#cesop encap 0 ssrc rcv 0 tx 0 //Both the Tx and Rx SSRIDs are 0.

----End

1.9.5 Configuring the Static LSP and PW on the CX600


Data Plan
Item Data
Parameters of the GE Sub interface ID: 1/0/0.1
sub interface VLAN to which the sub interface belongs: 300
IP address of the sub interface: 10.0.0.20/24
E1 port parameters Port ID: 2/1/0
Working mode: channelized mode (CEL)
Timeslot: 1-15
Static LSP parameters Parameters configured on the ingress node:
Destination ID address: 10.0.0.10/32
Next-hop IP address: 10.0.0.10
Egress interface: GE sub interface 1/0/0.1
Egress label: 8200 (the same as the Rx LSP label on the
ONU)
Parameters configured on the egress node:
Ingress interface: GE sub interface 1/0/0.1
Ingress label: 2000 (the same as the Tx LSP label on the
ONU)
Static PW parameters Tx PW label: 8500 (the same as the Rx PW label on the ONU)
NOTE Rx PW label: 8000 (the same as the Tx PW label on the ONU)
The PW parameters on RTP header: enabled
the CX600 must be the

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 105


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Item Data
same as those on the Number of TDM frames encapsulated in each PW packet: 8
ONU.
Maximum jitter delay: 2 ms

Procedure
Step 1 Configure the GE sub interface.
Set the ID of the sub interface to 1/0/0.1, add the sub interface to VLAN 300, and set the IP
address of the sub interface to 10.0.0.20/24.
[CX600]interface GigabitEthernet 1/0/0.1
[CX600-GigabitEthernet1/0/0.1]vlan-type dot1q 300
[CX600-GigabitEthernet1/0/0.1]ip address 10.0.0.20 24
[CX600-GigabitEthernet1/0/0.1]quit

Enable MPLS globally and then enable MPLS for the GE sub interface.
[CX600]mpls
[CX600]interface GigabitEthernet 1/0/0.1
[CX600-GigabitEthernet1/0/0.1]mpls

Step 2 Configure the E1 port.


Configure E1 port 2/1/0. Set the working mode to CEL and timeslot 1-15 as a channel.

The timeslot on the CX600 must be the same as that on the ONU.
[CX600]controller E1 2/1/0
[CX600-E1 2/1/0]using ce1
[CX600-E1 2/1/0]channel-set 0 timeslot-list 1-15
[CX600-E1 2/1/0]quit

Step 3 Configure the static route to the ONU.


Configure the static route whose destination IP address is the IP address of the E1 board on
the ONU and egress interface is GE sub interface 1/0/0.1.
[CX600]ip route-static 10.0.0.10 32 GigabitEthernet 1/0/0.1 10.0.0.10

Step 4 Configure the CX600 as the ingress node of the static LSP.
[CX600]static-lsp ingress lsp1 destination 10.0.0.10 32 nexthop 10.0.0.10
outgoing-interface GigabitEthernet 1/0/0.1 out-label 8200

Step 5 Configure the CX600 as the egress node of the static LSP.
[CX600]static-lsp egress lsp2 incoming-interface GigabitEthernet 1/0/0.1
in-label 2000

Step 6 Configure the static PW.


[CX600]interface Serial2/1/0:0
[CX600-Serial2/1/0:0]link-protocol tdm
[CX600-Serial2/1/0:0]mpls static-l2vc destination 10.0.0.10 transmit-vpn
-label 8500 receive-vpn-label 8000 rtp-header tdm-encapsulation 8 jitter-buffer 2

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 106


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

----End

1.9.6 Configuring Clock Synchronization


In this scenario, network-wide clock synchronization is implemented through synchronous
Ethernet clocks.

Prerequisites
The clock daughter board CKUA of the control board is in position.
The upstream MAN PSN of the OLT supports Synchronous Ethernet.

Data Plan
Item Data
Ethernet upstream 0/9/0
port NOTE
This topic uses the control board upstreaming as an example.

Procedure
Configure the OLT-side clock.
a. Configure a system clock source.
Use the Ethernet line clock input from Ethernet port 0/9/0 as the system clock. Set
the index of the system clock to 0 and priority to 0 (highest priority).
huawei(config)#clock source 0 0/9/0
huawei(config)#clock priority system 0
b. Query the configurations and status of the system clock source.
Run the display clock source system command to query configurations and status
of the clock source. Ensure that the configurations of the system clock source are
correct and the status of the system clock source is Normal.
huawei(config)#display clock source system

--------------------------------------------------------------------------
----
Index Board Source Clk-type State Priority QL Selected

--------------------------------------------------------------------------
----
0 H901MPLB 0/9/0 ETH Normal 0 --- YES

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

Run the display clock mode command to query the working mode of the clock.
Ensure that the working mode of the clock daughter board is Tracing.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 107


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#display clock mode


Clock manage-mode:Third-mode
Clock subboard work-mode:Tracing
Configure the ONU-side clock.
a. Configure the PON line clock as the system clock.
huawei(config)#clock source 0 0/0/1
huawei(config)#clock priority system 0

b. Query the configurations and status of the system clock source.


Run the display clock source command to query the configurations and status of
the system clock source.
huawei(config-if-tdm-0/1)#quit
huawei(config)#display clock source
--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/1 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

----End

1.9.7 Verifying Services


Verifying private line services requires a dedicated E1 line test instrument.

Prerequisites
The configuration of private line services has been completed.

Context
Because E1 access is applied to both sides of the packet switched network (PSN), an E1 line
test instrument can be used to verify services. The E1 line test instrument is connected to the
E1 port of the device on one side of the network after the port loopback or hardware loopback
is configured on the E1 port of the device on the other side of the network.

Procedure
Step 1 Configure a local loopback on the E1 port.
If the E1 port of the ONU is used to provide access for the private line services, the
configurations are as follows:

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 108


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#interface tdm 0/1


huawei(config-if-tdm-0/1)#loopback 0 local
This operation will interrupt the service, continue? (y/n)[n]:y

If the E1 port of the OLT is used to provide access for the private line services, the
configurations are as follows:
huawei(config)#interface top 0/2
huawei(config-if-top-0/2)#loopback 0 local

Step 2 Use the E1 line test instrument to send packets.

Ensure the synchronization between clocks. It is recommended that the E1 line test instrument should
use the self-generated clock, the OLT should trace the clock of the E1 line test instrument, and the ONU
should trace the clock of the OLT.

The test duration must be equal to or longer than 12 hours. No alarm information is displayed
on the test instrument, and the bit error rate (BER) must be lower than 1E-9.
----End

Follow-up Procedure
You can collect the packet statistics to check whether the CESoP and TDM connections are
normal.
Collect the statistics of packets sent and received by the CESoP connection on the ONU.
huawei(config)#display cesop-connect statistics 0
------------------------------------------------------
CONNECTID : 0
------------------------------------------------------
Lost Packet Count: 0
Received Packet Count: 58733
Transmitted Packet Count: 58732
Overflow Jitter Buffer Times: 0
Underflow Jitter Buffer Times: 0
Received Abnormal Packet Count: 0
Received Sn-error Packet Count: 0
Received Ssrc-error Packet Count: 0
------------------------------------------------------

In the command output, the number of received packets must be the same as that of sent
packets.
Collect the statistics of packets sent and received by the TDM connection on the OLT.
huawei(config)#display tdm-connect statistics 0
---------------------------------------------------------------
Statistics on ONU side:
Discarded Packets : 0
Received Packets : 132252
Transmitted Packets : 132253
Received Error CESoP Packets : 0
Received SN Error CESoP Packets : 0
Received SSRC Error CESoP Packets : 0

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 109


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

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

In the command output, the number of received packets must be the same as that of sent
packets.

1.10 Configuring Small-Cell Base Station Access Service


(through CLI Configuration, GPON)
Dock ONUs are connected to small-cell base stations through Ethernet ports, and OLTs
interconnect with the devices on the metro network through QinQ VLANs to provide the
access service for small-cell base stations. This topic describes how to implement the access
service of a small-cell base station through the CLI in the scenario without the U2000.

1.10.1 Service Requirement and Application Scenario


Service Requirements
As the last mile that connects users to the Internet, small-cell backhaul is an important part of
an FTTx network. For small-cell backhaul, customers expect to:
Make full use of the existing access resources to provide backhaul services for
distributed small-cell base stations.
Use a simple and mature service configuration scheme, featuring a high transmission
efficiency in addition to ensuring the QoS.
Simplify sites to lower the site installation and maintenance costs.

Application Scenarios
As shown in Figure 1-24, ONUs, functioning as Dock devices, receive Ethernet service data
from small-cell base stations through Ethernet ports and then send the service data to the OLT.
The OLT restores the Ethernet signals and adds 2 VLAN tags (QinQ VLAN encapsulation) to
the data, so that the data from the small-cell base stations can be transparently transmitted to
the peer PTN devices through the public network and then the PTN devices restore them to
the original data.

Figure 1-24 Implementing access service of small-cell base stations

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 110


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1.10.2 Configuration Procedure


The following figure shows the configuration procedure for implementing the access service
of a small-cell base station (QinQ VLAN and CLI configuration).

1.10.3 Cascading the DSLAM to the OLT


Prerequisites
In this scenario, only the MA5616 can be used as the DSLAM.

Context
Here the traditional configuration method is used to cascade the DSLAM to the OLT. Actually,
you can also cascade the DSLAM to the DSLAM using the remote software commissioning
method (through the GE upstream channel). For details, see Configuring the Management
Channel Between an OLT and an ONU.

Data Plan
Configuration Data Remarks
Item
Ethernet cascading The OGHK board is used -
port on the OLT as the cascading board:
0/2/0
Management VLAN ID of the management If you want to log in to the DSLAM
and IP address of VLAN: 8 from the OLT for configuring the
the OLT Type of the management DSLAM, ensure that the management
VLAN: smart VLAN of the OLT is the same as that
of the DSLAM, and the management
Management IP address: IP address of the OLT and that of the
192.168.50.1/24 DSLAM are in the same network
Management VLAN Management VLAN ID: 8 segment.
and IP address of Type of the management
the DSLAM VLAN: smart
Management IP address:

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 111


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configuration Data Remarks


Item
192.168.50.2/24

Procedure
Step 1 Configure the working mode of the cascading board.
huawei(config)#interface eth 0/2
huawei(config-if-eth-0/2)#network-role cascade
huawei(config-if-eth-0/2)#quit

Step 2 Configure the management channel between the OLT and the DSLAM.
1. Configure the management VLAN and IP address of the OLT.
Set the ID of the management VLAN to 8, the VLAN priority to 6, and the management
IP address to 192.168.50.1/24.
huawei(config)#vlan 8 smart
huawei(config)#port vlan 8 0/9 0
huawei(config)#vlan priority 8 6
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.1 24
huawei(config-if-vlanif8)#quit
2. Configure the management VLAN and IP address of the DSLAM.
Log in to the DSLAM through a local serial port, and then set the ID of the management
VLAN to 8 and the management IP address to 192.168.50.2/24.
huawei(config)#vlan 8 smart
huawei(config)#port vlan 8 0/0 0
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.2 24
huawei(config-if-vlanif8)#quit
3. Configure the management service flow.
The index of the service flow is 1, the ID of the management VLAN is 8, the Ethernet
cascading port is 0/2/0, and the ID of the user-side VLAN is 8. The OLT does not limit
the rate of the management service flow. Therefore, you can directly bind traffic profile 6
(default traffic profile) to the management service flow.
huawei(config)#service-port 1 vlan 8 eth 0/2/0 multi-service user-vlan 8 rx-cttr
6 tx-cttr 6

4. Check whether the management channel (namely, the management service flow)
between the OLT and the DSLAM is available.
You can run the ping 192.168.50.2 command on the OLT to check the connectivity
between the OLT and the DSLAM. If the OLT can receive ICMP ECHO-REPLY
packets sent from the DSLAM, the management channel between the OLT and the
DSLAM is available.
If you can remotely log in to the DSLAM from the OLT to perform configurations
for the DSLAM, the management channel between the OLT and the DSLAM is
available.
----End

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 112


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1.10.4 Configuring the QinQ VLAN and Service Flow on the OLT
This topic describes how to configure the QinQ VLAN and service flow on the OLT so that
the various packets from small-cell base stations can be forwarded according to the specified
forwarding policies.

Prerequisites
The metro network device (for example, CX600) that interconnects with the OLT supports
and terminates the QinQ VLAN encapsulation.

Context
Generally, a small-cell base station carries multiple types of packets, and the VLAN
translation policies for these packets are different, as listed in the following.
Synchronization service packets: The synchronization service packet (see Note 1) is an
untagged packet. The ONU adds a VLAN tag to the synchronization service packet, and
the DSLAM and OLT transparently transmit this packet with the VLAN tag.
Management packets: Management packets from different base stations carry different
user VLAN tags. The ONU translates the user VLAN tags of the management packets to
a uniform customer VLAN (C-VLAN) tag, and then the OLT adds an outer VLAN tag
(namely, S-VLAN tag) to these packets before sending them upstream.
Voice and data packets: Voice and data packets from different base stations carry
different user VLAN tags. The ONU translates the user VLAN tags of the voice and data
packets to a uniform C-VLAN tag (the C-VLAN tag of the voice and data packet cannot
be the same as that of the management packet), and then the OLT adds an outer VLAN
tag to these packets before sending them upstream.
In this way, only 2 VLANs are required for implementing the access service of a small-cell
base station on the metro network side. This greatly saves the VLAN resources.
Note 1: In this topic, the small-cell base station supports the clock over IP mode and
synchronizes with the IP clock server through the Network Time Protocol (NTP).

Data Plan
Configuration Item Data
Service VLAN ID of the VLAN for the base station synchronization services:
(S-VLAN) 1000
ID of the VLAN for base station voice and data services: 300
C-VLAN (upstream VLAN for base station access service:
VLAN of the ONU) VLAN for synchronization service: 1000
VLAN for OAM service: 1001
VLAN for voice and data services: 1002
NOTE
The upstream C-VLAN on the DSLAM must be the same as the upstream
VLAN on the ONU.

Traffic profile For base station OAM services and synchronization services:
ID: 10

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 113


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configuration Item Data


CIR: off
Source of the priority: user-cos; default priority: 7.
Priority policy for scheduling packets that enter a queue:
Tag-In-Package
For base station voice and data services:
ID: 11
CIR: 20 Mbit/s
Source of the priority: user-inner-cos; default priority: 7.
Priority policy for scheduling packets that enter a queue:
Tag-In-Package
Ethernet cascading The OGHK board is used as the cascading board: 0/2/0
port on the OLT

Procedure
Step 1 Configure QinQ VLANs.
Add two VLANs 1000 and 300 on the OLT, set attributes of the two VLANs to QinQ, and add
the upstream port to the two VLANs.
huawei(config)#vlan 1000 smart
huawei(config)#vlan attrib 1000 q-in-q
huawei(config)#port vlan 1000 0/9 0
huawei(config)#vlan 300 smart
huawei(config)#vlan attrib 300 q-in-q
huawei(config)#port vlan 300 0/9 0

Step 2 Configure traffic profiles.


Add a traffic profile 10 and do not limit rates. Packets transmitted upstream use the
priority (7 by default) copied from the user VLAN. Packets transmitted downstream use
the priority carried by themselves.
Add a traffic profile 11 and set the assured rate to 20 Mbit/s. Packets transmitted
upstream use the priority (7 by default) copied from the inner VLAN. Packets
transmitted downstream use the priority carried by themselves.
huawei(config)#traffic table ip index 10 cir off priority user-cos 7 priority-policy
tag-in-package
huawei(config)#traffic table ip index 11 cir 20480 priority user-inner-cos 7
priority-policy tag-in-package

Step 3 Configure a service channel.


Configure a service flow for each of the base station services (synchronization service, OAM
service, and voice and data service) on the OLT.
huawei(config)#service-port vlan 1000 eth 0/2/0 multi-service user-vlan
1000 tag-transform default rx-cttr 10 tx-cttr 10 //Base station synchronization
service flow
huawei(config)#service-port vlan 300 eth 0/2.0 multi-service user-vlan
1001 tag-transform default rx-cttr 10 tx-cttr 10 //Base station OAM service flow

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 114


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#service-port vlan 300 eth 0/2/0 multi-service user-vlan


1002 tag-transform default rx-cttr 11 tx-cttr 11 //Voice and data service flow

----End

1.10.5 Configuring the VDSL2 Bonding Group and Service Flow


on the DSLAM
Data Plan
Configuration Data
Item

Upstream VLANs 10001002


VDSL2 bonding Index of the bonding group: 1
group Primary port: 0/3/0
Member ports: 0/3/1 to 0/3/3
Bonding scheme: EFM
ID of the profile of the bonding group: 1 (system default profile)
Service flow Multiple services distinguished by different user VLANs
The user VLAN and the service VLAN (S-VLAN) of the same
service flow must be the same.

Procedure
Step 1 Create an S-VLAN and add the upstream port to the S-VLAN.
Create VLANs 1000, 1001, and 1002. Add the upstream port to these 3 VLANs.
huawei(config)#vlan 1000-1002 smart
huawei(config)#port vlan 1000 0/0 1
huawei(config)#port vlan 1001 0/0 1
huawei(config)#port vlan 1002 0/0 1

Step 2 Configure the VDSL2 bonding group.


The index of the bonding group is 1, the primary port of the bonding group is 0/3/0, the
member ports are 0/3/1, 0/3/2, and 0/3/3, the bonding scheme is EFM, and system default
profile 1 is used to activate this bonding group.
huawei(config)#bonding-group add 1 primary-port 0/3/0 scheme efm peer-scheme efm
huawei(config)#bonding-group link add 1 0/3/1
huawei(config)#bonding-group link add 1 0/3/2
huawei(config)#bonding-group link add 1 0/3/3
huawei(config)#active bonding-group 1 profile-index 1

Step 3 Configure VDSL2 service flows.


In the VDSL2 bonding group, create a service flow for VLANs 1000, 1001, and 1002
respectively. When creating service flows, ensure that the user VLAN and the S-VLAN of the

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 115


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

same service flow are the same, and system default traffic profile 6 is bound to the service
flows both in upstream and downstream directions (this indicates that rate of the service flows
is not limited).
huawei(config)#service-port vlan 1000 vdsl mode ptm 0/3/0 multi-service user-vlan 1000
inbound traffic-table index 6 outbound traffic-table index 6
huawei(config)#service-port vlan 1001 vdsl mode ptm 0/3/0 multi-service user-vlan 1001
inbound traffic-table index 6 outbound traffic-table index 6
huawei(config)#service-port vlan 1002 vdsl mode ptm 0/3/0 multi-service user-vlan 1002
inbound traffic-table index 6 outbound traffic-table index 6

----End

1.10.6 Configuring Ethernet Access Service Ports on ONUs


Add a service port on an ONU and configure an upstream VLAN to make the ONU-to-user
service flows available and create an ONU-to-OLT upstream data channel.

Data Planning
Configuration Data
Item
Port Upstream port: 0/0/1
Service port: 0/3/1
SVLAN VLAN for base station access service:
(upstream VLAN for synchronization service: 1000
VLAN of the
VLAN for OAM service: 1001
ONU)
VLAN for voice and data services: 1002
User VLAN Synchronization service of base stations: untagged
(original VLAN VLAN for OAM service of base stations: 20
of packets from
VLAN for voice and data services of base stations: 30
base stations)
Traffic profile ID: 10
CIR: OFF
Priority source: user-cos, default priority: 7
Priority policy: tag-in-package

Procedure
Step 1 Create S-VLANs and add an upstream port to the VLANs.
Create VLANs 1000, 1001, and 1002.
huawei(config)#vlan 1000-1002 smart
huawei(config)#port vlan 1000 0/0 1
huawei(config)#port vlan 1001 0/0 1
huawei(config)#port vlan 1002 0/0 1

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 116


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Step 2 Configure a traffic profile.


Add a traffic profile 10 and do not limit rates. Packets transmitted upstream use the priority (7
by default) copied from the user VLAN. Packets transmitted downstream use the priority
carried by themselves.
huawei(config)#traffic table ip index 10 cir off priority user-cos 7 priority-policy
tag-in-package

Step 3 Configure Ethernet access service ports.


Configure service ports for the synchronization service, OAM service, and voice and data
services of base stations. According to 1.3.2 Principle of VLAN Data Plan, ONUs translate
user VLANs to a specified C-VLAN.
huawei(config)#service-port vlan 1000 eth 0/3/1 multi-service user-vlan
untagged rx-cttr 10 tx-cttr 10 //Syncronization service port
huawei(config)#service-port vlan 1001 eth 0/3/1 multi-service user-vlan
20 rx-cttr 10 tx-cttr 10 //OAM service port
huawei(config)#service-port vlan 1002 eth 0/3/1 multi-service user-vlan
30 rx-cttr 10 tx-cttr 10 //Voice and data service port

Packets from different base stations may carry different user VLANs. Ensure that user VLANs are
consistent with the actual ones during configuration.

----End

1.10.7 Configuring Congestion Control and Security Policies


This topic describes how to configure global priority-based scheduling policies for queues to
ensure service reliability and configure global security policies to ensure service security.

Context
Congestion control uses queue scheduling technology to map packets sent from the same port
into multiple queues and process packets in each queue based on priority. Congestion control
is recommended.
Security policies cover system security, user security, and service security, which ensure
normal running of services.

Enable security features based on service types. For details, see Principle of Security Data Plan.

Procedure
Configure queue scheduling.
Based on Principle of QoS Data Plan, all packets use strict priorities for queue
scheduling and are mapped to queues based on priorities.
huawei(config)#queue-scheduler strict-priority
huawei(config)#cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
//System default
Configure system security.
Enable deny of service (DoS) anti-attack on both the OLT and optical network units
(ONUs).

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 117


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

i. Run the security anti-dos enable command to globally enable DoS


anti-attack.
ii. Run the security anti-dos control-packet policy command to configure a
protocol packet processing policy that will be used when a DoS attack occurs.
iii. Run the security anti-dos control-packet rate command to configure the
threshold for the rate of sending protocol packets to the CPU.
Enable IP address anti-attack on both the OLT and ONUs.
Run the security anti-ipattack enable command to enable IP address anti-attack.
Configure user security.
Enable MAC address anti-flapping on both the OLT and ONUs.
Run the security anti-macduplicate enable command to enable MAC address
anti-flapping.
----End

1.10.8 Configuring Clock Synchronization


In this scenario, network-wide clock synchronization is implemented through synchronous
Ethernet clocks.

Prerequisites
The upstream MAN PSN of the OLT must feature the capability of Ethernet synchronization.

Context
The clock synchronization scheme of a small-cell base station can be synchronous Ethernet
(frequency synchronization) or IEEE 1588v2 (time synchronization). This topic uses the
synchronous Ethernet as an example to describe how to configure clock synchronization. For
IEEE 1588v2 time synchronization configurations, see 1.4.6 Configuring 1588v2 Clock
Synchronization.

Data Plan
Configuration Data
Item

Upstream port 0/9/0


DSLAM (MA5616) Upstream port: 0/0/1
port UNI interface: 0/3/0
ONU Port Upstream port: 0/0/0
UNI interface: 0/1/0

Procedure
Configure the OLT-side clock.
a. Configure a system clock source.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 118


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Use the Ethernet line clock input from port 0/9/0 as the system clock. Set the index
of the system clock to 0 and priority to 0 (highest priority).
huawei(config)#clock source 0 0/9/0
huawei(config)#clock priority system 0
b. Query the configurations and status of the system clock source.
Run the display clock source system command to query the configurations and
status of the clock source. Ensure that the configurations of the system clock source
are correct and the status of the system clock source is Normal.
huawei(config)#display clock source system

--------------------------------------------------------------------------
----
Index Board Source Clk-type State Priority QL Selected

--------------------------------------------------------------------------
----
0 H901MPLB 0/9/0 ETH Normal 0 --- YES

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

Run the display clock mode command to query the working mode of the clock.
Ensure that the working mode of the clock daughter board is Tracing.
huawei(config)#display clock mode
Clock manage-mode:Third-mode
Clock subboard work-mode:Tracing
(ONU functioning as the VDSL2 Dock device) Configure the DSLAM-side clock.
When the ONU functions as the VDSL2 Dock device, the MA5694S (ONU) is
connected upstream to the DSLAM (MA5616) through VDSL2 bonding. In this way,
you need to configure clock synchronization on the OLT, DSLAM, and ONU.
Use the line clock obtained from the upstream port as the system clock.
huawei(config)#clock source 0/0/1
huawei(config)#clock priority system 0
Configure the ONU-side clock.
When a small-cell base station is connected to an ONU through the Ethernet port, the
port transmit clock is defaulted to the system clock and cannot be modified. Therefore,
you need to configure only the system clock of the ONU.
When the ONU functions as the GPON Dock device, the MA5694S is connected
upstream to the OLT through the GPON port. In this way, you need to configure clock
synchronization on the OLT and ONU.
Use the line clock obtained from the upstream port as the system clock.
a. Use the line clock obtained from the upstream port as the system clock.
huawei(config)#clock source 0 0/0/0
huawei(config)#clock priority system 0

b. Query the configurations and status of the system clock source.


Run the display clock source command to query configurations and status of the
system clock source.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 119


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config)#display clock source


--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/0 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

----End

1.10.9 Configuring Network Protection


The access service of a small-cell base station has high requirements on reliability.
Configuring end-to-end (E2E) protection well addresses the requirements.

Context
Configuring upstream and downstream network protection can improve the network reliability.
For details, see Principle of Reliability Data Plan. Among these reliability configurations:
The upstream network protection schemes include link aggregation and protection
groups. Generally, the link aggregation is configured if the NXED board is used for
upstream transmission; the protection group is configured if the control board is used for
upstream transmission. Link aggregation and protection group are not configured at the
same time.
The downstream network protection (specifically, type B protection) is intended for
service ports.

This topic lists several protection schemes supported by the MA5694S. You are advised to choose the
proper scheme based on the carriers' requirements and actual network conditions.

Procedure
Configure link aggregation.
Create a link aggregation group and add upstream ports 0/8/0 and 0/8/1 to the
aggregation group. Each member port in the aggregation group forwards packets based
on the source MAC address. The working mode of the aggregation group is LACP static
aggregation.
huawei(config)#link-aggregation 0/8 0-1 ingress workmode lacp-static
Configure a protection group.
Create a protection group and add upstream ports 0/9/0 and 0/9/1 on board upstream
board to the protection group (among which, port 0/9/0 is the working port of the
protection group, while port 0/9/1 is the protection port). Set the working mode of the
protection group to the delay detection mode, and then enable the protection group.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 120


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

huawei(config-protect)#protect-group first 0/9/0 second 0/9/1 eth workmode timedelay


enable
Configure type B protection.
Figure 1-25 shows the example network with type B protection.

Figure 1-25 Type B network protection

ONU
OLT
Backbone Fibers
Protection

Splitter

Active
Standby

Create a type B protection group and add ports 0/3/1 and 0/3/2 on the same GPON board
of the OLT to the group. Specifically, port 0/3/1 is the working port and port 0/3/2 is the
protection port. When port 0/3/1 is faulty, the system can automatically switch services
to port 0/3/2 to ensure continued service access.
huawei(config)#protect-group 0 protect-target gpon-uni-port workmode timedelay
huawei(protect-group-0)#protect-group member port 0/3/1 role work
huawei(protect-group-0)#protect-group member port 0/3/2 role protect
huawei(protect-group-0)#protect-group enable

Service configurations on the ONU remain unchanged before and after type B protection is configured.
That is, service configurations are applied only to the active GPON port.

----End

1.10.10 Verifying Services


The Ethernet base station access service can be verified by checking the connectivity and
alarms of the service.

Prerequisites
The base station access service has been deployed.

Procedure
Step 1 Check connectivity.
1. Check the connectivity between base stations and the IP clock server.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 121


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

On base stations, configure management IP addresses and static routes to the IP clock
server, and then perform ping operations. In normal cases, the ICMP ECHO-REPLY
message can be received from the IP clock server.
2. Check the connectivity between base stations and the OAM server.
On base stations, configure IP addresses of management channels and static routes to the
OAM server, and then perform ping operations. In normal cases, the ICMP
ECHO-REPLY message can be received from the OAM server.
3. Check the connectivity between base stations and the RNC.
On base stations, configure service port IP addresses and static routes to the RNC, and
then perform ping operations. In normal cases, the ICMP ECHO-REPLY message can be
received from the RNC.
Step 2 Check alarms.
Check logs on base stations. Verify that no alarms are generated within 24 hours.
----End

1.11 Configuring Small-Cell Base Station Access Service


(through GUI Pre-Deployment, GPON)
Dock ONUs are connected to small-cell base stations through Ethernet ports, and OLTs
interconnect with the devices on the metro network through QinQ VLANs to provide the
access service for small-cell base stations. This topic describes how to implement the access
service of a small-cell base station through GUI pre-deployment in the scenario with the
U2000 available.

1.11.1 Service Requirements and Application Scenarios


Service Requirements
As the last mile that connects users to the Internet, small-cell backhaul is an important part of
an FTTx network. For small-cell backhaul, customers expect to:
Use the existing access resources to provide backhaul services for distributed
small-cell base stations.
Use a simple and mature service configuration scheme, featuring a high transmission
efficiency in addition to ensuring the QoS.
Simplify sites to lower the site installation and maintenance costs.

Application Scenarios
As shown in Figure 1-26, ONUs, functioning as Dock devices, receive Ethernet service data
from small-cell base stations through Ethernet ports and then send the service data to the OLT.
The OLT restores the Ethernet signals and adds 2 VLAN tags (QinQ VLAN encapsulation) to
the data, so that the data from the small cell bases can be transparently transmitted to the peer
PTN devices through the public network and then the PTN devices restore them to the
original data.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 122


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-26 Implementing access service of a small-cell base station

1.11.2 Configuration Procedure


The following figure shows the configuration procedure for implementing the access service
of a small-cell base station (in QinQ VLAN mode through GUI pre-deployment).

1.11.3 Configuring the IP Address of the NMS Server and the IP


Address Pool of the ONU (GPON Dock Scenario)
Prerequisites
The OLT is added to the NMS.
Related xFTP configurations are completed.

Data Plan
Configurati Data Remarks
on Item
IP address of 10.10.10.10 The NMS server needs to use ports 23,
the NMS 8080, 9801, and 9803. Therefore, ensure
server that the firewall does not block these
ports so that the NMS server can
normally communicate with devices.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 123


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configurati Data Remarks


on Item
IP address of 10.10.10.20 This IP address is designated for Layer 3
the OLT VLAN interface 8 and is used for inband
management.
IP address IP address pool: 10.10.11.2 to The ONU gateway IP address is used as
pool of the 10.10.11.125 the IP address of the Layer 3 interface on
ONU Subnet mask: 255.255.254.0 the OLT.
ONU gateway: 10.10.10.20
Management VLAN ID: 8
VLAN priority: 7

Procedure
Configure the IP address of the NMS server used for receiving traps.
The OLT reports FTTM ONU information to the NMS through traps. Here the trap
destination host (namely, the destination host to which traps are sent) is the NMS server.
For any OLT, only 1 trap destination host is required. If multiple trap destination hosts
are configured for the OLT, delete the unnecessary ones.
a. Choose Administration > NE Communicate Parameter > Set NE SNMP
Expanded Parameters (traditional style) from the main menu or select
Fix-Network NE Configuration in Application Center and choose
Administration > NE Communicate Parameter > Set NE SNMP Expanded
Parameters (application style) from the main menu.
b. Click Filter. In the Select Device dialog box, select the desired OLT from the
Device Type drop-down list and click OK.
c. In the device list, select a record and click the Target Host tab.
d. On the Target Host tab, right-click in a blank area and choose Add from the
shortcut menu.
e. In the dialog box that is displayed, set the parameters, as shown in Figure 1-27.

Figure 1-27 Configuring the trap destination host

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 124


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

f. Click OK.
Configure the IP address pool of the ONU.
On an FTTM network, IP addresses are automatically allocated because no
authentication is required. In this way, an ONU IP address pool needs to be configured so
that ONUs, when going online, can automatically obtain an IP address.
a. Choose Configuration > FTTx Service Pre-Deployment > ONU IP Pool
Management (traditional style) from the main menu or select Fix-Network NE
Configuration in Application Center and choose Access Service > FTTx Service
Pre-Deployment > ONU IP Pool Management (application style) from the main
menu.
b. In the information list, right-click and choose Add from the shortcut menu.
c. In the dialog box that is displayed, set the parameters, as shown in Figure 1-28.

Figure 1-28 Configuring the IP address pool of the ONU

MA5600T

d. Click OK.
----End

1.11.4 Creating the Authentication-Free Policy and Associating It


with the OLT (GPON Dock Scenario)
Prerequisites
You have completed the configurations of the following profiles:
SNMP profile
DBA profile

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 125


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Line profile
MEF IP traffic profile

Context
If you configure an ONU authentication-free policy and associate it with the OLT through the
NMS, the FTTM ONU, when going online, will be automatically added to the NMS
according to the ONU type and the authentication-free policy.

Data Plan
Configuration Item Data
SNMP profile Name: snmpv1
DBA profile Name: MA5694S_dba
Line profile Name: MA5694S_lineprofile
Management service flow Name: pvc_manage. The attributes of the management
service flow are as follows:
Smart VLAN ID: 8
multi-service user-vlan (multiple services distinguished
by different user VLANs)
User VLAN ID: 8
VLAN translation policy: translate
Upstream and downstream traffic profile:
ip-traffic-table_6
Voice and data service flow Name: pvc_traffic. The attributes of the voice and data
service flow are as follows:
Smart VLAN ID: 300
multi-service user-vlan (multiple services distinguished
by different user VLANs)
User VLAN ID: 1002
VLAN translation policy: translate-and-add
Upstream and downstream traffic profile:
ip-traffic-table_11
Base station synchronization Name: pvc_sync. The attributes of the base station
service flow synchronization service flow are as follows:
Smart VLAN ID: 1000
multi-service user-vlan (multiple services distinguished
by different user VLANs)
User VLAN ID: 1000
VLAN translation policy: transparent
Upstream and downstream traffic profile:
ip-traffic-table_10
Base station OAM service Name: pvc_oam. The attributes of the base station OAM
flow service flow are as follows:

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 126


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configuration Item Data


Smart VLAN ID: 300
multi-service user-vlan (multiple services distinguished
by different user VLANs)
User VLAN ID: 1001
VLAN translation policy: translate-and-add
Upstream and downstream traffic profile:
ip-traffic-table_10

Procedure
Step 1 Configure the FTTM GPON ONU authentication-free policy.
1. Choose Configuration > FTTx Service Pre-Deployment > ONU PnP Management
(compatibility style) from the main menu or select Fix-Network NE Configuration in
Application Center and choose Access Service > FTTx Service Pre-Deployment >
ONU PnP Management (application style) from the main menu.
2. Click the ONU Authentication-Free Configuration tab.
3. Right-click in a blank area and choose Add from the shortcut menu. Configure related
parameters in the displayed Add ONU Authentication-Free Configuration dialog box,
as shown in Figure 1-29.

Figure 1-29 Configuring the ONU authentication-free policy

snmpv1

MA5694S_lineprofile

4. Right-click Service Port in the navigation tree and choose Add Service Port from the
shortcut menu to add service ports according to services supported by the small cell.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 127


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-30 shows how to add a management service flow; Figure 1-31 shows how to
add a voice and data service flow.

Figure 1-30 Adding a management service flow

ip-traffic-table_6 ip-traffic-table_

Figure 1-31 Adding a voice and data service flow

ip-traffic-table_11 ip-traffic-table_1

Step 2 Associate the ONU authentication-free policy with the OLT.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 128


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1. In the authentication-free policy list, select the MDU authentication-free policy and click
the NE Reference tab in the lower pane.
2. On the NE Reference tab, right-click the OLT and choose Associate from the shortcut
menu.
----End

1.11.5 Configuring the Remote Software Commissioning Policy


(GPON Dock Scenario)
Prerequisites
The configuration script is available.

Context
If you configure a remote software commissioning policy through the NMS, the NMS,
according to the ONU type and the configured policy, will automatically issue the
configuration script to the FTTM ONUs once the ONUs go online, and the service channels
will be automatically established.

Procedure
Step 1 Choose Configuration > FTTx Service Pre-Deployment > ONU PnP Management
(compatibility style) from the main menu or select Fix-Network NE Configuration in
Application Center and choose Access Service > FTTx Service Pre-Deployment > ONU
PnP Management (application style) from the main menu.
Step 2 Click the ONU Onsite Commissioning-Free Configuration tab.
Step 3 Right-click in a blank area and choose Add from the shortcut menu. In the dialog box that is
displayed, configure a GPON-upstream MDU commissioning-free policy.
The following figure shows the configuration dialog box.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 129


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

----End

1.11.6 Configuring the IP Address of the NMS Server (VDSL2


Dock Scenario)
Prerequisites
The OLT is added to the NMS.
Related xFTP configurations are completed.

Context
The OLT reports FTTM ONU information to the NMS through traps. Here the trap destination
host (namely, the destination host to which traps are sent) is the NMS server.
For any OLT, only 1 trap destination host is required. If multiple trap destination hosts are
configured for the OLT, delete the unnecessary ones.

Data Plan
Configurati Data Remarks
on Item
IP address of 10.10.10.10/24 The NMS server needs to use ports 23,
the NMS 8080, 9801, and 9803. Therefore, ensure
server that the firewall does not block these
ports so that the NMS server can
normally communicate with devices.
IP address of 10.10.10.20/24 This IP address is designated for Layer 3
the OLT VLAN interface 8 and is used for inband
management.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 130


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Procedure
Step 1 Choose Configuration > Router/Switch/Security Configuration > Switch EPON
Template (traditional style) from the main menu or select Fix-Network NE Configuration
in Application Center and choose Configuration > Router/Switch/Security
Configuration > Switch EPON Template (application style) from the main menu.
Step 2 Click Filter. In the Select Device dialog box, select the desired OLT NE from the Device
Type drop-down list and click OK.
Step 3 In the device list, select a record and click the Target Host tab.
Step 4 On the Target Host tab, right-click in a blank area and choose Add from the shortcut menu.
Step 5 In the dialog box that is displayed, set the parameters, as shown in Figure 1-32.

Figure 1-32 Configuring the trap destination host

Step 6 Click OK.


----End

1.11.7 Creating the Authentication-Free Policy (VDSL2 Dock


Scenario)
Prerequisites
You have completed the configurations of the following profiles:
SNMP profile
DBA profile
Line profile
MEF IP traffic profile

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 131


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Context
If you configure an ONU authentication-free policy and associate it with the OLT through the
NMS, the FTTM ONU, when going online, will be automatically added to the NMS
according to the ONU type and the authentication-free policy.

Data Plan
Configuration Item Data
SNMP profile Name: snmpv1
DBA profile Name: MA5694S_dba
Line profile Name: MA5694S_lineprofile
Management service flow Name: pvc_manage. The attributes of the management
service flow are as follows:
Smart VLAN ID: 8
multi-service user-vlan (multiple services distinguished
by different user VLANs)
User VLAN ID: 8
VLAN translation policy: translate
Upstream and downstream traffic profile:
ip-traffic-table_6
Voice and data service flow Name: pvc_traffic. The attributes of the voice and data
service flow are as follows:
Smart VLAN ID: 300
multi-service user-vlan (multiple services distinguished
by different user VLANs)
User VLAN ID: 1002
VLAN translation policy: translate-and-add
Upstream and downstream traffic profile:
ip-traffic-table_11
Base station synchronization Name: pvc_sync. The attributes of the base station
service flow synchronization service flow are as follows:
Smart VLAN ID: 1000
multi-service user-vlan (multiple services distinguished
by different user VLANs)
User VLAN ID: 1000
VLAN translation policy: transparent
Upstream and downstream traffic profile:
ip-traffic-table_10
Base station OAM service Name: pvc_oam. The attributes of the base station OAM
flow service flow are as follows:
Smart VLAN ID: 300
multi-service user-vlan (multiple services distinguished
by different user VLANs)

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 132


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configuration Item Data


User VLAN ID: 1001
VLAN translation policy: translate-and-add
Upstream and downstream traffic profile:
ip-traffic-table_10

Procedure
Step 1 Configure the FTTM ONU authentication-free policy in the VDSL2 upstream transmission
scenario.
1. Choose Configuration > FTTx Service Pre-Deployment > ONU PnP Management
(compatibility style) from the main menu or select Fix-Network NE Configuration in
Application Center and choose Access Service > FTTx Service Pre-Deployment >
ONU PnP Management (application style) from the main menu.
2. Click the ONU Authentication-Free Configuration tab.
3. Right-click in a blank area and choose Add from the shortcut menu. Configure related
parameters in the displayed Add ONU Authentication-Free Configuration dialog box,
as shown in Figure 1-33.

Figure 1-33 Configuring the ONU authentication-free policy

4. Right-click Service Port in the navigation tree and choose Add Service Port from the
shortcut menu to add service ports according to services supported by the small cell.
Figure 1-34 shows how to add a management service flow; Figure 1-35 shows how to
add a voice and data service flow.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 133


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-34 Adding a management service flow

ip-traffic-table_6 ip-traffic-table_

Figure 1-35 Adding a voice and data service flow

ip-traffic-table_11 ip-traffic-table_1

----End

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 134


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1.11.8 Configuring the Remote Software Commissioning Policy


(VDSL2 Dock Scenario)
Prerequisites
The configuration script is available.
Ensure that the database of MA5694S is empty. Otherwise, the remote software
commissioning cannot be used.

Context
If you configure a remote software commissioning policy through the NMS, the NMS,
according to the ONU type and the configured policy, will automatically issue the
configuration script to the FTTM ONUs once the ONUs go online, and the service channels
will be automatically established.

Procedure
Step 1 Choose Configuration > FTTx Service Pre-Deployment > ONU PnP Management
(compatibility style) from the main menu or select Fix-Network NE Configuration in
Application Center and choose Access Service > FTTx Service Pre-Deployment > ONU
PnP Management (application style) from the main menu.
Step 2 Click the ONU Onsite Commissioning-Free Configuration tab.
Step 3 Right-click in a blank area and choose Add from the shortcut menu. In the dialog box that is
displayed, configure a VDSL2-upstream MDU commissioning-free policy.
The following figure shows the configuration dialog box.

----End

Example
The following provides the contents of preceding configuration file MA5694S-COMM.cfg.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 135


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

vlan 1000-1002 smart


port vlan 1000 0/0 0
port vlan 1001 0/0 0
port vlan 1002 0/0 0
traffic table ip index 10 cir off priority user-cos 7 priority-policy tag-in-package
service-port vlan 1000 eth 0/1/0 multi-service user-vlan
untagged rx-cttr 10 tx-cttr 10
service-port vlan 1001 eth 0/1/0 multi-service user-vlan
20 rx-cttr 10 tx-cttr 10
service-port vlan 1002 eth 0/1/0 multi-service user-vlan
30 rx-cttr 10 tx-cttr 10

1.11.9 Configuring the VDSL2 Bonding Group on the DSLAM


(VDSL2 Dock Scenario)
Prerequisites
The DSLAM (MA5616) is successfully added to the NMS.
The service channel between the OLT and the DSLAM is established and available.

Data Plan
Configurati Data Remarks
on Item
VDSL2 Master port: 0/3/0 The MA5616 supports only 4-pair
bonding Slave ports: 0/3/1 to 0/3/3 bonding VDSL2 Dock devices.
group
Bonding DEFVAL (system default -
group profile profile which does not limit the
rate in upstream and
downstream directions)

Procedure
Step 1 In the Main Topology, double-click the required NE and choose NE Explorer from the
shortcut menu.
Step 2 Choose DSL > VDSL Port from the navigation tree.
Step 3 On the VDSL2 Bonding Group tab page, right-click in a blank area and choose Add from
the shortcut menu.
Step 4 In the Adding Bonding Group dialog box, select the desired ports, as shown in the following
figure.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 136


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Figure 1-36 Adding the VDSL2 bonding group

Step 5 In the list of bonding groups, select the newly-added bonding group, right-click, and choose
Activate from the shortcut menu.
----End

Follow-up Procedure
Wait for a moment, and then check whether the ports in the bonding group are activated.

1.11.10 Adding the P2P Pre-Deployment Policy (VDSL2 Dock


Scenario)
Data Plan
Configurati Data Remarks
on Item

ONU Upstream transmission -


information mode: VDSL2 bonding
Master port in the bonding
group: 0/3/0
IP address and subnet mask:
10.10.11.2/255.255.254.0
Management VLAN ID: 8
Default gateway:
10.10.10.20
SNMP snmpv1 -
profile

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 137


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Configurati Data Remarks


on Item
Authenticati Enabled; name of the -
on-free authentication-free policy:
configuratio MA5694S_noauth_vdsl
n

Procedure
Step 1 In the Main Topology, double-click a desired DSLAM (MA5616) in the Physical Root
navigation tree, or right-click a desired DSLAM and choose NE Explorer from the shortcut
menu.
Step 2 Choose P2P Device Predeployment from the navigation tree.
Step 3 In the P2P Device Predeployment tab, right-click and choose Add... from the shortcut menu.
Step 4 In the dialog box that is displayed, set the parameters, as shown in Figure 1-37.

Figure 1-37 Adding the P2P device pre-deployment policy

MA5694S_noaut

Step 5 Click OK.


----End

Result
After the P2P pre-deployment is completed, connect a VDSL2 Dock device to the port of the
VDSL2 bonding group on the DSLAM, and then wait for several minutes until the VDSL2
Dock device is automatically found and obtains IP address. In this moment, the deployment
status in the P2P Device Predeployment tab becomes green (as shown in the following
figure), and the NMS topology shows that the VDSL2 Dock device functions normally after
the VDSL2 Dock device is synchronized to the NMS.

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 138


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

1.11.11 Configuring Clock Synchronization


In this scenario, network-wide clock synchronization is implemented through synchronous
Ethernet clocks.

Prerequisites
The upstream MAN PSN of the OLT must feature the capability of Ethernet synchronization.

Context
The clock synchronization scheme of a small-cell base station can be synchronous Ethernet
(frequency synchronization) or IEEE 1588v2 (time synchronization). This topic uses the
synchronous Ethernet as an example to describe how to configure clock synchronization. For
IEEE 1588v2 time synchronization configurations, see 1.4.6 Configuring 1588v2 Clock
Synchronization.

Data Plan
Configuration Data
Item

Upstream port 0/9/0


DSLAM (MA5616) Upstream port: 0/0/1
port UNI interface: 0/3/0
ONU Port Upstream port: 0/0/0
UNI interface: 0/1/0

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 139


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

Procedure
Configure the OLT-side clock.
a. Configure a system clock source.
Use the Ethernet line clock input from port 0/9/0 as the system clock. Set the index
of the system clock to 0 and priority to 0 (highest priority).
huawei(config)#clock source 0 0/9/0
huawei(config)#clock priority system 0
b. Query the configurations and status of the system clock source.
Run the display clock source system command to query the configurations and
status of the clock source. Ensure that the configurations of the system clock source
are correct and the status of the system clock source is Normal.
huawei(config)#display clock source system

--------------------------------------------------------------------------
----
Index Board Source Clk-type State Priority QL Selected

--------------------------------------------------------------------------
----
0 H901MPLB 0/9/0 ETH Normal 0 --- YES

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

Run the display clock mode command to query the working mode of the clock.
Ensure that the working mode of the clock daughter board is Tracing.
huawei(config)#display clock mode
Clock manage-mode:Third-mode
Clock subboard work-mode:Tracing
(ONU functioning as the VDSL2 Dock device) Configure the DSLAM-side clock.
When the ONU functions as the VDSL2 Dock device, the MA5694S (ONU) is
connected upstream to the DSLAM (MA5616) through VDSL2 bonding. In this way,
you need to configure clock synchronization on the OLT, DSLAM, and ONU.
Use the line clock obtained from the upstream port as the system clock.
huawei(config)#clock source 0/0/1
huawei(config)#clock priority system 0
Configure the ONU-side clock.
When a small-cell base station is connected to an ONU through the Ethernet port, the
port transmit clock is defaulted to the system clock and cannot be modified. Therefore,
you need to configure only the system clock of the ONU.
When the ONU functions as the GPON Dock device, the MA5694S is connected
upstream to the OLT through the GPON port. In this way, you need to configure clock
synchronization on the OLT and ONU.
Use the line clock obtained from the upstream port as the system clock.
a. Use the line clock obtained from the upstream port as the system clock.
huawei(config)#clock source 0 0/0/0
huawei(config)#clock priority system 0

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 140


Copyright Huawei Technologies Co., Ltd.
FTTM Configuration Guide 1 FTTM Configuration (Base Station Access)

b. Query the configurations and status of the system clock source.


Run the display clock source command to query configurations and status of the
system clock source.
huawei(config)#display clock source
--------------------------------------------------------------------
Index Type Source State Priority QL Selected
--------------------------------------------------------------------
0 line 0/0/0 Normal 0 --- YES
1 -- -/ -/ - --- --- NO ---
2 -- -/ -/ - --- --- NO ---
3 -- -/ -/ - --- --- NO ---
4 -- -/ -/ - --- --- NO ---
5 -- -/ -/ - --- --- NO ---
6 -- -/ -/ - --- --- NO ---
7 -- -/ -/ - --- --- NO ---
8 -- -/ -/ - --- --- NO ---
9 -- -/ -/ - --- --- NO ---
--------------------------------------------------------------------

----End

1.11.12 Verifying Services


The Ethernet base station access service can be verified by checking the connectivity and
alarms of the service.

Prerequisites
The base station access service has been deployed.

Procedure
Step 1 Check connectivity.
1. Check the connectivity between base stations and the IP clock server.
On base stations, configure management IP addresses and static routes to the IP clock
server, and then perform ping operations. In normal cases, the ICMP ECHO-REPLY
message can be received from the IP clock server.
2. Check the connectivity between base stations and the OAM server.
On base stations, configure IP addresses of management channels and static routes to the
OAM server, and then perform ping operations. In normal cases, the ICMP
ECHO-REPLY message can be received from the OAM server.
3. Check the connectivity between base stations and the RNC.
On base stations, configure service port IP addresses and static routes to the RNC, and
then perform ping operations. In normal cases, the ICMP ECHO-REPLY message can be
received from the RNC.
Step 2 Check alarms.
Check logs on base stations. Verify that no alarms are generated within 24 hours.
----End

Issue 02 (2017-10-27) Huawei Proprietary and Confidential 141


Copyright Huawei Technologies Co., Ltd.

You might also like