Professional Documents
Culture Documents
Huawei OLT General Config
Huawei OLT General Config
Issue 01
Date 2016-12-16
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: http://www.huawei.com
Email: support@huawei.com
Purpose
This document mainly describes the networking, data planning, and configuration of the
FTTO solution (large-sized enterprise access).
Intended Audience
The intended audience of this product description are as follows:
l Network planning engineers
l Installation and commissioning engineers
l Field maintenance engineers
l Network monitoring engineers
l System maintenance engineers
l Data configuration engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol Description
Symbol Description
Change History
Updates between document versions are cumulative. Therefore, the latest issue contains all
updates made in previous issues.
Contents
Large-sized enterprises generally adopt private line access service. Compared with individual
services, this service features various access methods, large number of access users, high
security requirement, and cross-region deployment.
NOTE
In this document, the FTTO large-sized enterprise private line access service is written as enterprise access
service for short.
ONUs provide GE/FE ports to access IP private branch exchange (PBX) services of an
enterprise and transmit them to an OLT. Then, the OLT forwards the service data upstream to
the packet switched network (PSN). This achieves unified carrying of voice, data, and video
services.
1.7 Configuring Enterprise PRA PBX Private Line Access Service (GPON)
ONUs provide PRA E1 ports to access PRA private branch exchange (PBX) services of an
enterprise and transmit them to an OLT. Then, the OLT forwards the service data upstream to
the packet switched network (PSN). This achieves voice-to-IP conversion, simplifying the
network architecture.
1.8 Configuring Enterprise E1 Unified Access Service (GPON)
ONUs transmit E1 signals of enterprises to OLTs in SAToP 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.9 Configuring Enterprise E1 Unified Access Service (OLT Cascading, GPON)
ONUs access enterprise TDM service in E1 access mode, and transmits the data to the SDH
network in OLT cascading mode over the GPON network which supports long-distance
transmission and high bandwidth. In this way, uniform deployment of E1 service is achieved.
PRA PBX
ONU
OLT SDH
Switch
Switch E1/STM-1
IP PBX Splitter GE
/10
Digital Terminal DDN Node Protocol GE
Machine Converter IP network
DDN
E1 NGN/IMS
V.24/V.35 ONU
User Side
Concept Description
PRA PBX PRA PBX, that is, TDM PBX, also called a switch, is a telephone
exchange used within an enterprise. With the PRA PBX, staff in the
enterprise can use internal telephones to make free calls by dialing
short numbers. Outgoing calls are made through a unified trunk. PRA
PBX can lower costs and improve work efficiency for the enterprise.
DDN Digital data network (DDN) is a network that uses digital channels to
transmit data signals. It provides permanent and semi-permanent
connections for users. Compared with traditional analog channels,
DDN channels have a higher transmission quality, transmission rate,
and bandwidth use rate. DDN is widely used in financial departments,
governments, and enterprise groups that require high real-time data
switching
DDN node A DDN network consists of backbone node machines and access node
machine machines.
A backbone node machine (2M node) implements network service
conversion. It provides interfaces and cross-connections for 2 Mbit/s
(E1) digital channels, multiplexes and cross-connects Nx64 kbit/s
circuit signals, and supports cables reconnection for frame relay
services.
An access node machine accesses various services for DDN. It
provides interfaces for Nx64 kbit/s and 2048 kbit/s digital channels,
multiplexes Nx64 kbit/s (N=1–31) signals, and accesses voice and
fax users.
Concept Description
Access Side
Concept Description
OLT The OLT is an aggregation device located at the central office (CO),
which terminates PON protocols. OLTs in this document are
MA5600T/MA5603T/MA5608T.
ONU ONUs are located on the user side, providing various types of ports
for connecting to user terminals. The ONUs communicate with the
OLT through a passive ODN.
Network Side
Concept Description
Concept Description
IP Address Planning
Scenario IP Address Planning
Layer 2 Enterprise service flows are forwarded at Layer 2 within the FTTx
interoperation network. Therefore, no IP addresses need to be planned on the OLT
between different and ONUs for enterprise users.
enterprise branches
Enterprise IP PBX No IP addresses need to be planned because the OLT and ONUs
access provide Layer 2 transparent channels.
Enterprise PRA ONUs convert PRA voice signals to H.248 or SIP voice signals.
PBX access Therefore, the following IP addresses need to be planned:
l Media IP address
l Signaling IP address
l Default gateway IP address
ONU OLT
Layer 2 l ONUs and the OLT l The same C- The OLT allocates
interoperation must use single VLAN VLAN is a global S-VLAN
between tags. planned for to each enterprise:
different l Service flows of the different C-VLAN<->S-
enterprise same enterprise have the branches of an VLAN.
branches same VLAN on the enterprise. NOTICE
OLT. l Different C- Packets must be
forwarded based on
l Service flows of the VLANs are
VLAN+MAC at
same enterprise can planned for Layer 2 instead of
have different VLANs different S-VLAN+C-
on ONUs but the enterprises. VLAN.
VLANs must be
translated to the same
VLAN on the OLT.
ONU OLT
ONU OLT
OLT queue ID 4
(eight queues)
Parameter Value
ONU Upstream port rate Rates of upstream ports are not limited.
limit
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 DDN
private line service can be
ensured.
OLT queue ID 5
(eight queues)
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 T1 base
station access service can be
ensured.
Layer 2/Layer NTP, BGP, LDP, RSVP, No configuration is required because packets
3 protocol IGMP, PIM are transparently transmitted by hardware.
Remarks 1: The configurations take effect only after the configured VLAN service profile is
bound to a VLAN. Command: vlan bind service-profile vlan-id profile-id
NOTE
l 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:
l The security measures can be used on the live network.
l The security measures are easy to deploy.
l The security measures are effective.
l 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
User Security
Security Solution Description and Usage
Vulnerability Suggestion
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.
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.
Upstream board 1+1 The system uses two upstream This protection scheme is
protection interface boards of the same model recommended when the
and version. Each GIU board GIU board is used to
provides one upstream port and two transmit traffic upstream.
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.
Link aggregation Multiple Ethernet ports are bound This protection scheme is
group together as an aggregation group to mandatory when the GIU
increase the bandwidth and balance board is used to transmit
the inbound and outbound load of traffic upstream.
each member port. In addition, the
ports in an aggregation group back
up each other, which enhances the
reliability of links.
NOTE
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.
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
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 OLTs support TDM services,
in this protection scheme. This full- including Native TDM and
backup protection scheme provides SAToP.
the highest-level protection for links
and has the highest costs.
NOTE
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.
Service Requirement
An enterprise that has multiple branches requires intercommunication between different
branches or between its headquarter and branches. Virtual private network (VPN) can achieve
secure interconnection but requires additional devices and complex management. It requires
high costs even if a leased VPN is used. In addition, the bandwidth provided by a VPN is
limited due to restricted VPN access modes and the bandwidth control is inflexible.
To address the preceding problems, the Layer 2 interoperation technology using fiber access
is put forward and becomes the main trend.
Application Scenario
As shown in Figure 1-1, ONUs are deployed in branches of an enterprise. The ONUs access
and converge Ethernet services of the enterprise through FE/GE ports and transmit the
services to the OLT. The OLT implements Layer 2 interoperation between different branches
of the enterprise.
Figure 1-1 Network diagram for Layer 2 interoperation between enterprise branches
IP/MPLS
ONU 1 ONU 2
GE FE FE
Note: Because the bandwidth of upstream and downstream PON ports is fixed, the number of
enterprises connected to an OLT is limited when the enterprises require symmetric bandwidth.
When an enterprise requires 100 Mbit/s symmetric bandwidth:
1. The number of enterprises or branches connected to a PON port should not exceed eight.
2. The number of enterprises or branches connected to a PON board should not exceed 64.
3. The number of enterprises connected to an OLT cannot exceed 200 (20G/100M) if the
upstream bandwidth is 2x10GE. (The number of enterprises connected to an OLT is
mainly restricted by the upstream bandwidth.)
Start
Configuring Management
Service Ports on OLT
and ONUs OLT Side
Configuring Layer 2
Interoperation Service
Service Ports
Configuring Congestion
Control and Security
Policies
Configuring E2E
Reliability
Configuring Ethernet
Access Service Ports ONU Side
Verifying Layer 2
Interoperation Service
End
NOTE
An OLT can connect to multiple ONUs (for enterprise branches). Configurations for different ONUs are
similar. Therefore, this document uses two ONUs (ONU1 and ONU2) as example to describe how to
configure Layer 2 interoperation.
Context
l When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, and alarm profile. For the functions of each profile and how to
configure profiles, see Table 1-1.
Offline The password or serial number Run the ont add command to add the
addition of an ONU has been obtained. ONU.
Online The password and serial Run the port ont-auto-find command
confirmat number of an ONU are in the GPON mode to enable the
ion unknown. automatic discovery function for the
GPON port and run the ont confirm
command to add the ONU.
Data Planning
Configuration Data
Item
Networking data For example, add two ONUs (ONU 1 and ONU 2) for carrying services
of different branches.
l ONU 1 is connected to PON port 0/3/1.
l ONU 2 is connected to PON port 0/4/1.
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
NOTE
Create a line profile according to the data plan. The ID of the line profile to be created cannot
conflict with existing profile IDs in the system. In this example, the ID of the line profile is 10.
b. In the line profile configuration mode, bind T-CONT 4 to DBA profile 20.
huawei(config-gpon-lineprofile-10)#tcont 4 dba-profile-id 20
Set the mapping mode to VLAN mode (the default mode). Map the management
service flow (C-VLAN 8) to GEM port 11, and map Layer 2 interoperation service
flow (C-VLAN 300) to GEM port 12.
huawei(config-gpon-lineprofile-10)#gem mapping 11 0 vlan 8
huawei(config-gpon-lineprofile-10)#gem mapping 12 1 vlan 300
e. After the configuration is completed, run the commit command to make the
configured parameters take effect.
huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit
Connect ONU 1 and ONU 2 to GPON ports 0/3/1 and 0/4/1 respectively through an
optical splitter. The serial numbers of the two ONUs are 3230313163902641 and
32303131B39FD642 respectively, and the management mode is SNMP. Both the ONUs
are bound to line profile 10.
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#ont add 1 ontid 1 sn-auth 3230313163902641
snmp ont-lineprofile-id 10
huawei(config-if-gpon-0/3)#quit
huawei(config)#interface gpon 0/4
huawei(config-if-gpon-0/4)#ont add 1 ontid 2 sn-auth 32303131B39FD642
snmp ont-lineprofile-id 10
In this example, the default alarm profile is used. Therefore, you do not need to manually
bind an alarm profile.
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:
l If Control flag is deactive, run the ont active command in GPON mode to activate the
ONU.
l 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.
l 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.
l If the ONU does not match, that is, Match state is mismatch, the port types and number
of ports undermatch the actual port types and number of ports supported by the ONU. In
this case, run the display ont capability command to query the actual capability of the
ONU, and then select one of the following modes to modify the ONU configuration:
– Create a proper ONU profile according to the actual capability of the ONU, and
then run the ont modify command to modify the configuration data of the ONU.
– Modify the ONU profile according to the actual capability of the ONU and save the
modification. Then, the ONU automatically recovers the configuration successfully.
Data Plan
Configuration Data
Item
NOTE
To log in to and configure an ONU remotely on the OLT, the management VLAN of the OLT must be the
same as that of the ONU, and the management IP address of the OLT and that of the ONU must be in the
same network segment.
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/19 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.
Set the static IP address to 192.168.50.2/24 for ONU1, 192.168.50.3/24 for ONU2, the
gateway IP address to 192.168.50.1, and management VLAN to 8 (which is the same as that
of the OLT).
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
huawei(config)#interface gpon 0/4
huawei(config-if-gpon-0/4)#ont ipconfig 1 2 static ip-address 192.168.50.3 mask
255.255.255.0 gateway
192.168.50.1 vlan 8
huawei(config-if-gpon-0/4)#quit
Step 4 Confirm that the connections between the management service ports on the OLT and ONUs
are reachable.
l Run the ping ONU ip command on the OLT to verify the connectivity between the OLT
and ONUs. If the OLT receives ICMP ECHO-REPLY packets from the ONUs, the
connection is reachable.
l When the connection is reachable, you can remotely log in to the ONU from the OLT
and configure the ONUs.
----End
Prerequisites
1. The main control board on the device is an SCUN board.
2. The ARP proxy function is disabled using the arp proxy disable command. (The Layer
2 interoperation function and ARP proxy function are mutually exclusive.)
Data Plan
Configuratio Data
n Item
Layer 2 OLT VLAN ID (the OLT transparently transmits VLANs of ONU): 300
interoperation VLAN forwarding mode: vlan-mac (default)
S-VLAN
ONU VLAN ID: 300
Service flow ID: 301
NOTE
For detailed data planning, see 1.3.2 Principle of VLAN Data Plan.
Procedure
Step 1 Configure an S-VLAN and add an upstream port to it.
Set the S-VLAN ID of the Layer 2 interoperation service to 300, VLAN type to smart VLAN,
and add upstream port 0/19/0 to the VLAN.
huawei(config)#vlan 300 smart
huawei(config)#port vlan 300 0/19 0
Add a new traffic profile 10 and set the assured rate to 100 Mbit/s. Packets transmitted
upstream use the priority (4 by default) copied from the user side. Packets transmitted
downstream use the priority carried by themselves.
huawei(config)#traffic table ip index 10 cir 102400 priority user-cos 4 priority-
policy tag-in-package
Step 3 Configure a service port to receive and transparently transmit the Layer 2 interoperation
service that is sent from ONU 1 and ONU 2.
l For the OLT, set the S-VLAN ID to 300, C-VLAN ID to 300 which is the same as the
upstream VLAN ID of the ONU, and GEM port ID to 12 for the Layer 2 interoperation
service.
l For ONUs, set the upstream VLAN ID to 300.
huawei(config)#service-port 301 vlan 300 gpon 0/3/1 ont 1 gemport 12 multi-
service
user-vlan 300 rx-cttr 10 tx-cttr 10
huawei(config)#service-port 302 vlan 300 gpon 0/4/1 ont 2 gemport 12 multi-
service
user-vlan 300 rx-cttr 10 tx-cttr 10
----End
Data Planning
Configuration Data
Item
NOTE
Data plans for ONU1 and ONU 2 are the same. This topic uses one ONU as an example to describe how to
configure the ONU.
Procedure
Step 1 Remotely log in to an ONU to configure the ONU.
You can remote log in to the ONU from the OLT to perform the configuration. User name:
root (default); password: admin123 (default)
Step 2 Create an SVLAN and add an upstream port to the VLAN.
huawei(config)#vlan 300 smart
huawei(config)#port vlan 300 0/0 1
NOTE
Packets sent from the user side (enterprise branches) may be transmitted upstream with a VLAN tag. In this
case, change untagged to the VLAN tag when configuring a service port.
----End
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.
NOTE
Enable security features based on service types. For details, see 1.3.5 Principle of Security Data Plan.
Procedure
l Configure queue scheduling.
Based on 1.3.3 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
Context
Reliability covers equipment reliability, upstream networking protection, and downstream
networking protection. For details on reliability data planning, see 1.3.6 Principle of
Reliability Data Plan.
l Upstream networking protection includes link aggregation group and protection group.
Usually, link aggregation group is configured when the GIU 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.
l 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.
NOTE
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
l Configure a link aggregation group.
Bind upstream ports 0/19/0 and 0/19/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/19 0-1 ingress workmode lacp-static
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
NOTE
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.
l Configure the Type C single homing protection.
Figure 1-3 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.
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
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
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
Prerequisites
PCs (with different MAC addresses) connected to different ONUs have been configured.
Ensure that the IP addresses of the PCs are in the same network segment or subnet segment.
Procedure
Step 1 Check whether the VLAN configurations are correct.
huawei(config)#display vlan 300
{ <cr>|inner-vlan<K>|to<K> }:
Command:
display vlan 300
VLAN ID: 300
VLAN type: smart
VLAN attribute: common
VLAN description:
VLAN forwarding mode in control board: VLAN-MAC
VLAN forwarding mode: VLAN-MAC
VLAN broadcast packet forwarding policy: forward
VLAN unknown multicast packet forwarding policy: forward
VLAN unknown unicast packet forwarding policy: forward
VLAN bind service profile ID: 1
VLAN bind RAIO profile index: -
VLAN priority: -
Standard port number: 0
---------------------------------------------------------
INDEX TYPE STATE F/ S/ P VPI VCI FLOWTYPE FLOWPARA
---------------------------------------------------------
10 gpon up 0/3 / 1 1 12 vlan 300
11 gpon up 0/3 / 1 2 12 vlan 300
---------------------------------------------------------
Service virtual port number: 2
Note: F--Frame, S--Slot, P--Port,
VPI indicates ONT ID for PON, VCI indicates GEM index for GPON,
v/e--vlan/encap, pri-tag--priority-tagged
huawei(config)#display vlan service-profile profile-id 1
Profile ID: 1
Profile Name: srvprof-1
---------------------------------------------------------------------
Parameter Committed Not Committed
---------------------------------------------------------------------
Forwarding mode NotConfig -
Anti-macspoofing NotConfig -
Anti-ipspoofing enable -
PPPoE MAC mode NotConfig -
BPDU tunnel enable -
RIP tunnel enable -
VTP-CDP tunnel enable -
DHCP mode n/a -
DHCP proxy enable -
DHCP option82 enable -
PITP enable -
Broadcast packet policy NotConfig -
Multicast packet policy NotConfig -
Unknown unicast packet policy NotConfig -
User-bridging enable -
IPoE VMAC NotConfig -
Command:
display service-port vlan 300
Switch-Oriented Flow List
----------------------------------------------------------------------------
INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE
ID ATTR TYPE TYPE PARA
----------------------------------------------------------------------------
10 300 common gpon 0/3 /1 1 12 vlan 300 - - up
11 300 common gpon 0/3 /1 2 12 vlan 300 - - up
----------------------------------------------------------------------------
Total : 2 (Up/Down : 2/0)
huawei(config)#display statistics service-port 10
Number of upstream bytes : 1044794
Number of upstream packets : 4522
Number of upstream discard packets : 200
Number of downstream bytes : 1351261
Number of downstream packets : 4677
Number of downstream discard packets : 0
2. You can see one PC in My Network Places on the other PC and the two PCs can share
data.
----End
Service Requirement
The DDN private line service is widely used in financial departments, governments, and
enterprises that require highly real-time data switching. It provides a rate from 64 kbit/s to 2
Mbit/s. GPON access in OLT+ONU mode can access the DDN private line service along with
other data services and voice service. This access mode does not require independent
maintenance of the DDN network, simplifying network architecture.
Application Scenario
As shown in Figure 1-5, a protocol converter is deployed between an ONU and DDN node
machine to convert DDN private line services to E1 services. The ONU accesses the E1
services and encapsulates the service packets in TDM over GEM mode and then transmits the
packets to the OLT. The OLT decapsulates the service packets to E1 data and transmits the
data to the SDH network through upstream E1/STM-1 ports, achieving transparent
transmission of DDN services.
Figure 1-5 Networking diagram of the DDN private line access service
DDN Node
Digital Terminal Protocol ONU
Machine
Converter
OLT
DDN V.24/ E1
V.35
SDH
E1/STM-1
DDN Node Splitter
Digital Terminal
Machine Protocol
Converter
E1
DDN V.24/ ONU
V.35
The following figure shows the configuration process for the DDN private line access service.
Start
Configuring Management
Service Ports on OLT and
ONUs OLT Side
Configuring TDM E1
Connections
Configuring Congestion
Control and Security
Policies
Configuring Clock
Synchronization
End
Context
l When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, and alarm profile.
l An ONU can be added in two modes: offline addition and online confirmation. Select
either mode as required.
Data Plan
DBA profile DBA profile for management service: dba-profile_1 (system default)
DBA profile for private line service:
l Profile ID: 21
l Profile type: Fixed bandwidth and minimum delay
l DBA bandwidth: 28928 kbit/s (Each ONU accesses four E1 private
lines and each line has a recommended DBA bandwidth of 7232
kbit/s.)
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
----End
Follow-up Procedure
When Config state is failed, Run state is offline, or Match state is mismatch:
l If Control flag is deactive, run the ont active command in GPON mode to activate the
ONU.
l 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.
l 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.
l If the ONU does not match, that is, Match state is mismatch, the port types and number
of ports undermatch the actual port types and number of ports supported by the ONU. In
this case, run the display ont capability command to query the actual capability of the
ONU, and then select one of the following modes to modify the ONU configuration:
– Create a proper ONU profile according to the actual capability of the ONU, and
then run the ont modify command to modify the configuration data of the ONU.
– Modify the ONU profile according to the actual capability of the ONU and save the
modification. Then, the ONU automatically recovers the configuration successfully.
Data Plan
Configuration Item Data
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/19 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 4 Confirm that the connections between the management service ports on the OLT and ONU are
reachable.
l 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.
l When the connection is reachable, you can remotely log in to the ONU from the OLT
and configure the ONU.
----End
Prerequisites
Required hardware is available:
l TOPA+NH1A for upstream transmission through E1
l TOPA+O2CE for upstream transmission through STM-1
l GPON board: GPBC, GPBD
Context
The OLT can transmit data to the SDH network through E1 or STM-1 lines. Each E1 line
provides 2 Mbit/s bandwidth. After being mapped, aligned, and encapsulated, 63xE1 signals
are multiplexed into one STM-1 signal through VC12. One STM-1 line provides 155 Mbit/s.
When the OLT transmits data to SDH equipment through STM-1 lines, pay attention to the
VC12 mode and VC12 number.
l When the OLT is interconnected with Huawei SDH equipment, the VC12 mode is
huawei and the VC12 numbers on the OLT and the SDH equipment must be consistent.
l When the OLT is interconnected with Lucent SDH equipment, the VC12 mode is lucent.
The VC12 numbers has the following mapping relationships (which can be queried using
the display vc12-mode-table command):
Huawei: Mapping between the multiplexing number and VC12 number: VC12 number =
(TUG3–1) + (TUG2–1) x 3 + (TU12–1) x 21
Lucent: Mapping between the multiplexing number and VC12 number: VC12 number =
(TU12–1) + (TUG2–1) x 3 + (TUG3–1) x 21
Data Plan
Upstream Data
Transmissio
n Mode
Upstream Data
Transmissio
n Mode
Procedure
l Configure a TDM E1 connection for E1 upstream transmission.
huawei(config)#tdm-connect connectid 1 tdm 0/5/0 gpon 0/3/1 ontid 3
gemportIndex 13
----End
Prerequisites
The clock daughter board CKMC/CKMD must be on the SCU main control board.
Context
Configuration roadmap for clock synchronization:
1. The OLT traces the upstream E1/STM-1 line clock of the TOPA 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
l Configure a clock on the OLT.
a. Add a system clock source.
Run the clock source command to configure the line clock of E1/STM-1 port 0/5/0
on the TOPA board as the system clock source. Set the ID of the clock source to 0.
The clock module automatically judges the type of the specified clock source (E1/
STM-1) and selects a reference source for phase lock based on priorities.
huawei(config)#clock source 0 0/5/0
-------------------------------------------------------------------------
-----
Index Board Source Clk-type State Priority QL
Selected
-------------------------------------------------------------------------
-----
0 H801TOPA 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
Clock : system
CRC4 : -
Signaling : -
ESF : -
Impedance : 120 Ohm
---------------------------------------
----End
Prerequisites
The private line service has been configured.
Networking
ONU OLT
E1 port E1 line tester
loopback
E1
STM-1
Procedure
Step 1 Set up network environment according to the preceding diagrams for service acceptance tests.
NOTE
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 or STM-1 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:
l Remote loopback on the OLT TOPA board
l Local loopback on the OLT TOPA board
l Local loopback on the ONU
l Remote loopback on the ONU
Application Scenario
As shown in Figure 1-8, ONUs access IP PBX services through FE/GE ports. The OLT
transparently transmits the data to the IP network in QinQ mode.
IP PBX
ONU
FE/G
E OLT
IP network
GE/10GE
Splitter
E
FE/G NGN/IMS
ONU
IP PBX
Start
Configuring Management
Service Ports on OLT and
ONUs
OLT Side
Configuring Congestion
Control and Security
Policies
Configuring Ethernet
ONU Side
Access Service Ports
End
Context
l When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, and alarm profile.
l An ONU can be added in two modes: offline addition and online confirmation. Select
either mode as required.
Data Planning
Configurati Data
on Item
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
– In this example, the default alarm profile is used and no configuration is required.
In this example, the default alarm profile is used. Therefore, you do not need to manually
bind an alarm profile.
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:
l If Control flag is deactive, run the ont active command in GPON mode to activate the
ONU.
l 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.
l 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.
l If the ONU does not match, that is, Match state is mismatch, the port types and number
of ports undermatch the actual port types and number of ports supported by the ONU. In
this case, run the display ont capability command to query the actual capability of the
ONU, and then select one of the following modes to modify the ONU configuration:
– Create a proper ONU profile according to the actual capability of the ONU, and
then run the ont modify command to modify the configuration data of the ONU.
– Modify the ONU profile according to the actual capability of the ONU and save the
modification. Then, the ONU automatically recovers the configuration successfully.
Data Plan
Configuration Item Data
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/19 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 4 Confirm that the connections between the management service ports on the OLT and ONU are
reachable.
l 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.
l When the connection is reachable, you can remotely log in to the ONU from the OLT
and configure the ONU.
----End
Data Plan
For details on VLAN planning, see 1.3.2 Principle of VLAN Data Plan. VLAN translation
policies for the Enterprise IP private branch exchange (PBX) access service are shown in
Figure 1-9. Different data packets of the IP PBX carry different user VLANs (for example,
20, 21, ... in the following figure). The user VLANs are translated to C-VLAN 300 on the
ONU and then the OLT adds the outer VLAN 1300 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.
NOTE
Because packets transmitted from the OLT carry two VLAN tags, the interconnected equipment on the metro
network must be able to identify and restore packets with two VLAN tags.
Procedure
Step 1 Configure an S-VLAN and add an upstream port to it.
Set the S-VLAN ID of the IP PBX service to 1300, VLAN type to smart, VLAN attribute to
QinQ, and add upstream port 0/19/0 to the VLAN.
huawei(config)#vlan 1300 smart
huawei(config)#vlan attrib 1300 q-in-q
huawei(config)#port vlan 1300 0/19 0
Add a new traffic profile 10 and set the assured rate to 100 Mbit/s. Packets transmitted
upstream use the priority (4 by default) copied from the user side. Packets transmitted
downstream use the priority carried by themselves.
huawei(config)#traffic table ip index 10 cir 102400 priority user-cos 4 priority-
policy tag-in-package
According to 1.3.2 Principle of VLAN Data Plan, VLANs of packets sent from the IP PBX
are all translated to CLVAN 300. Then, the OLT adds an S-VLAN tag to the packets: C-
VLAN<->S-VLAN+C-VLAN. Traffic profile 10 is used.
huawei(config)#service-port vlan 1300 gpon 0/3/1 ont 1 gemport 12 multi-service
user-vlan 300 rx-cttr 10 tx-cttr 10
NOTE
If you need to transparently transmit the C-VLAN to S-VLAN, then user qinq S-VLAN, set S-VLAN=C-
VLAN, and create a service-port with "tag-transform transparent".
----End
Data Planning
Configuration Data
Item
Procedure
Step 1 Remotely log in to an ONU to configure the ONU.
You can remote log in to the ONU from the OLT to perform the configuration. User name:
root (default); password: admin123 (default)
Step 2 Create an SVLAN 300.
huawei(config)#vlan 300 smart
NOTE
Packets sent from the user side (IP PBX) may be transmitted upstream with a VLAN tag. In this case, change
untagged to the VLAN tag when configuring a service port.
----End
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.
NOTE
Enable security features based on service types. For details, see 1.3.5 Principle of Security Data Plan.
Procedure
l Configure queue scheduling.
Based on 1.3.3 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
Context
Reliability covers equipment reliability, upstream networking protection, and downstream
networking protection. For details on reliability data planning, see 1.3.6 Principle of
Reliability Data Plan.
l Upstream networking protection includes link aggregation group and protection group.
Usually, link aggregation group is configured when the GIU 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.
l 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.
NOTE
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
l Configure a link aggregation group.
Bind upstream ports 0/19/0 and 0/19/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/19 0-1 ingress workmode lacp-static
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
NOTE
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.
l Configure the Type C single homing protection.
Figure 1-11 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.
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
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
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
Prerequisites
The IP PBX access service has been deployed.
Procedure
Step 1 Test calls between users connected to the IP PBX according to table 1.
Step 2 Test calls from a user connected to the IP PBX to an IMS user according to table 1.
Step 3 Test calls from an IMS user to a user connected to the IP PBX according to table 1.
Test 1. User A calls user The same as that in the The same as that in the
proced B. "Test Calls Between Users "Test Calls Between Users
ure 2. User B answers Connected to the IP PBX" Connected to the IP PBX"
the call. Check the column column
call between user
A and user B.
3. User A releases
the call.
Expect 1. User B hears the The same as that in the The same as that in the
ed ringing tone. "Test Calls Between Users "Test Calls Between Users
result 2. The call is set up. Connected to the IP PBX" Connected to the IP PBX"
column column
3. The call is
released.
----End
the packet switched network (PSN). This achieves voice-to-IP conversion, simplifying the
network architecture.
Service Requirement
PRA PBX is a telephone exchange used in an enterprise. With the PRA PBX, staff in the
enterprise can use internal telephones to make free calls by dialing short numbers. Outgoing
calls are made through a unified trunk. After the PRA PBX service is accessed in PON mode
using "OLT+ONU", VoIP calls can be made. Compared with services provided by the PRA
PBX itself, the VoIP service has following advantages:
l Outgoing call data is carried over IP, which greatly lowers communication costs for
enterprises and retains good call quality.
l No extra investment is required because the voice service is deployed directly using the
PRA PBX.
l Free calls can be made between branches in different regions.
l More value-added services can be provided based on IP networks.
In addition, the operation method for end users connected to the PRA PBX is not changed.
Application Scenario
As shown in Figure 1-13, ONUs access PRA PBX services through E1 lines. The OLT
transmits the data to the upper NGN/IMS, achieving the VoIP-based PRA voice service.
PRA PBX
ONU
E1
OLT
IP network
GE/10GE
Splitter
E1 NGN/IMS
ONU
PRA PBX
The following figure shows the configuration process for the PRA PBX access service.
Start
Configuring Management
Service Ports on OLT and
ONUs
OLT Side
Configuring Transparently-
transmitted Voice Service
Ports
Configuring Congestion
Control and Security
Policies
End
Context
l When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, and alarm profile.
l An ONU can be added in two modes: offline addition and online confirmation. Select
either mode as required.
Data Planning
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
----End
Follow-up Procedure
When Config state is failed, Run state is offline, or Match state is mismatch:
l If Control flag is deactive, run the ont active command in GPON mode to activate the
ONU.
l 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.
l 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.
l If the ONU does not match, that is, Match state is mismatch, the port types and number
of ports undermatch the actual port types and number of ports supported by the ONU. In
this case, run the display ont capability command to query the actual capability of the
ONU, and then select one of the following modes to modify the ONU configuration:
– Create a proper ONU profile according to the actual capability of the ONU, and
then run the ont modify command to modify the configuration data of the ONU.
– Modify the ONU profile according to the actual capability of the ONU and save the
modification. Then, the ONU automatically recovers the configuration successfully.
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
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/19 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 4 Confirm that the connections between the management service ports on the OLT and ONU are
reachable.
l 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.
l When the connection is reachable, you can remotely log in to the ONU from the OLT
and configure the ONU.
----End
Data Plan
Configuration Item Data
NOTE
The VoIP service is a self-operated service. The single S-VLAN is a mainstream application and is
recommended.
Procedure
Step 1 Configure an S-VLAN and add an upstream port to it.
Set the S-VLAN ID of the PRA PBX service to 300, VLAN type to smart, and add upstream
port 0/19/0 to the VLAN.
huawei(config)#vlan 300 smart
huawei(config)#port vlan 300 0/19 0
----End
Prerequisites
The H.248 protocol is a master/slave protocol which is used by an MGC to control access
gateways (AGs) to implement call connections. The data, including media gateway (MG)
interface attributes and voice user attributes on AGs, must be consistent with those on the
MGC. Therefore, before configuring the VoIP voice service, plan data with the MGC.
Context
IUA is the ISDN Q.931-User Adaptation Layer protocol. IUA links carry signaling exchanged
between ONUs and MGCs.
Data Plan
Configuration Data
Item
MG interface MG ID: 0
Media/signaling IP address: 10.10.10.10/24
MGC IP address: 200.200.200.200
Gateway IP address: 10.10.10.1
Protocol port: 2944
Configuration Data
Item
Procedure
Step 1 Configure an upstream VLAN and VLAN interface.
Specify an upstream VLAN interface for the media stream and signaling flow, and set the IP
addresses of the Layer 3 interface. These IP addresses are the sources of the media and
signaling IP address pools.
1. Create an upstream VLAN 300 and add upstream port 0/0/1 to the VLAN.
huawei(config)#vlan 300 smart
huawei(config)#port vlan 300 0/0 1
NOTE
The media IP address can be different from the signaling IP address. You can make data plan according
to the actual network situation.
Configure MG interface attributes according to the data plan. When configuring the
attributes, note that:
– The registration mode of the MG interface must be consistent with that on the
MGC. Registration mode: by IP address (default) or by domain name
– H.248 version for negotiation: H.248v1, H.248v2, or H.248v3 (default). When H.
248v3 is used, interfaces fail to be registered if some softswitches do not support H.
248v3.
huawei(config-if-h248-0)#if-h248 attribute mgip 10.10.10.10 mgport
2944 code text transfer udp primary-mgc-ip1 200.200.200.200 primary-mgc-port
2944 mg-media-ip1 10.10.10.10 start-negotiate-version 1
NOTE
– After configuring the MG interface, you must perform a cold reset on the interface. Otherwise, the
interface cannot take effect.
– You can perform a cold reset on the MG interface only after the following parameters are correctly
configured: mgip, mgport, primary-mgc-ip1 (or mgc-domain-name1), mgcport_1, code,
transfer, and mg-media-ip.
4. Query the running status of the MG interface.
If the MG interface is interconnected with the MGC successfully, the MG interface is in
normal state which indicates that the interface is working properly.
huawei(config)#display if-h248 all
-------------------------------------------------------------------------
MGID Trans State MGPort MGIP MGCPort MGCIP/DomainName
-------------------------------------------------------------------------
0 UDP Normal 2944 10.10.10.10 2944 200.200.200.200
-------------------------------------------------------------------------
----End
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.
NOTE
Enable security features based on service types. For details, see 1.3.5 Principle of Security Data Plan.
Procedure
l Configure queue scheduling.
Based on 1.3.3 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
Context
Reliability covers equipment reliability, upstream networking protection, and downstream
networking protection. For details on reliability data planning, see 1.3.6 Principle of
Reliability Data Plan.
l Upstream networking protection includes link aggregation group and protection group.
Usually, link aggregation group is configured when the GIU 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.
l 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.
NOTE
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
l Configure a link aggregation group.
Bind upstream ports 0/19/0 and 0/19/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/19 0-1 ingress workmode lacp-static
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
NOTE
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.
l Configure the Type C single homing protection.
Figure 1-15 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.
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
Figure 1-16 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.
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.
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
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
Prerequisites
The PRA PBX access service has been deployed.
Procedure
Step 1 Test calls between users connected to the PRA PBX according to table 1.
Step 2 Test calls from a user connected to the PRA PBX to an MGC user according to table 1.
Step 3 Test calls from an MGC user to a user connected to the PRA PBX according to table 1.
Test 1. User A calls user The same as that in the The same as that in the
proced B. "Test Calls Between Users "Test Calls Between Users
ure 2. User B answers Connected to the PRA Connected to the PRA
the call. Check the PBX" column PBX" column
call between user
A and user B.
3. User A releases
the call.
Expect 1. User B hears the The same as that in the The same as that in the
ed ringing tone. "Test Calls Between Users "Test Calls Between Users
result 2. The call is set up. Connected to the PRA Connected to the PRA
PBX" column PBX" column
3. The call is
released.
----End
Service Requirement
l Existing SDH resources are utilized efficiently. In this way, carriers' existing investments
are protected and enterprise users in different regions are won.
l Services are received over optical fibers, reducing investment in copper cables between
enterprises and the SDH network.
l The standardized user-side ports facilitate deployment and maintenance.
Application Scenario
As shown in Figure 1-17, the ONU accesses enterprise E1 service through standardized
hardware ports, and transmits data to the OLT over the GPON line after performing structure-
agnostic time division multiplexing over packet (SAToP) encapsulation on the service. After
receiving the signals, the OLT restores E1 signals and transmits the signals to the SDH
network.
l For carriers, with this networking, they can win enterprise users with GPON lines which
support long-distance transmission and high bandwidth. With the trend of fiber-in and
copper-out, deployment of GPON lines can reduce deployment costs of copper cables
and support service expansion.
l For enterprise users, with GPON access, they can reduce fees spent in leasing lines.
Enterprise OLT
ONU
E1/
E1 STM-1 SDH
TDM Splitter
E1 SAToP E1/STM-1
The following figure shows the configuration process for E1 enterprise private line.
Start
Configuring Management
Service Ports on OLT
OLT Side
and ONUs
Configuring SAToP
Connections and Service
Ports
Configuring Congestion
Control and Security
Policies
Configuring Network
Protection
Configuring SAToP
Connections ONU Side
Configuring Clock
Synchronization
Verifying Services
End
Context
l When adding ONUs, you need to bind related profiles to the ONUs, including the DBA
profile, line profile, and alarm profile.
l An ONU can be added in two modes: offline addition and online confirmation. Select
either mode as required.
Data Plan
Procedure
Step 1 Configure GPON ONU profiles.
1. Configure a DBA profile, and set the DBA bandwidth allocation mode for the GPON
port to minimum bandwidth delay.
For example, configure the DBA profile for 4-channel E1 private line.
huawei(config)#dba-profile add profile-id 20 type1 fix 32768
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
to T-CONT 1
huawei(config-gpon-lineprofile-10)#gem mapping 11 0 vlan 8
huawei(config-gpon-lineprofile-10)#gem mapping 12 1 vlan 300 //Map GEM port
12 to CVLAN 300
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 ontid 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:
l If Control flag is deactive, run the ont active command in GPON mode to activate the
ONU.
l 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.
l 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.
l If the ONU does not match, that is, Match state is mismatch, the port types and number
of ports undermatch the actual port types and number of ports supported by the ONU. In
this case, run the display ont capability command to query the actual capability of the
ONU, and then select one of the following modes to modify the ONU configuration:
– Create a proper ONU profile according to the actual capability of the ONU, and
then run the ont modify command to modify the configuration data of the ONU.
– Modify the ONU profile according to the actual capability of the ONU and save the
modification. Then, the ONU automatically recovers the configuration successfully.
Data Plan
Configuration Item Data
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/19 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 4 Confirm that the connections between the management service ports on the OLT and ONU are
reachable.
l 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.
l When the connection is reachable, you can remotely log in to the ONU from the OLT
and configure the ONU.
----End
Prerequisites
Required hardware is available:
l Main control boards on the OLT: SCUN+CKMC/CKMD
l Upstream board on the OLT: EDTB (for E1 upstream transmission)
Context
Figure 1-18 shows SAToP encapsulation for enterprise E1 unified access service. As shown
in the following figure, after TDM signals are encapsulated in the IP+UDP format, an outer
VLAN tag and an Ethernet header are added to the TDM signals. Then the TDM signals
become a standard Ethernet packet that is transmitted on the PON line between the ONU and
OLT.
T1 SAToP T1
E1 SAToP E1/STM-1
Data Plan
Configurati Data
on Item
Procedure
Step 1 Configure EDTB board attributes.
Set the board working mode to SAToP.
huawei(config)#interface edt 0/5
huawei(config-if-edt-0/5)#board workmode satop
Create a SAToP connection at the E1 port 0/5/0. Set S-VLAN to 300, local UDP port number
to 50048, remote IP address (the IP address of the E1 access board on the ONU) to
10.10.50.20, and remote UDP port number to 50048. The remote MAC address is obtained
dynamically.
NOTE
To create a SAToP connection, the local UDP port number must be consistent with the remote UDP port
number, that is, [ local-udp = portid of EDTB + Cardinal number (50048) ].
huawei(config)#cesop-connect tdm 10 vlan 300 local-udp 50048 remote-ip
10.10.50.20 remote-udp 50048
You can also create a SAToP connection by configuring the MAC address statically. If the
remote MAC address (the MAC address of the E1 access board on the ONU, which can be
queried by running the display cesop-mac-address command on the ONU) is 00e0-
fc01-0450, create a SAToP connection in static mode as follows:
huawei(config)#cesop-connect tdm 10 vlan 300 local-udp 50048 remote-mac
00e0-fc01-0450 remote-ip 10.10.50.20 remote-udp 50048
----End
Data Plan
Configurati Data
on Item
Procedure
Step 1 Configure a VLAN and add an upstream port to the VLAN.
Create the upstream VLAN 300, and add upstream port 0/0/1 to VLAN 300.
huawei(config)#vlan 300 smart
huawei(config)#port vlan 300 0/0 1
Configure the board and port working mode and transmit clock.
l For E1 access, set the working mode to UDT and configure the transmit clock as the
system clock.
huawei(config-if-tdm-0/1)#tdm access-mode E1
huawei(config-if-tdm-0/1)#port 0 udt system
Create a SAToP connection at TDM port 0/1/0. Set S-VLAN to 300, local UDP port number
to 50048, remote IP address (the IP address of the EDTB board on the OLT) to 10.10.50.10,
and remote UDP port number to 50048. The remote MAC address is obtained dynamically.
NOTE
You can also create a SAToP connection by configuring the MAC address statically. If the remote MAC
address (the MAC address of the EDTB board on the OLT) is 0800-3E32-5310, create a SAToP connection in
static mode as follows:
huawei(config)#cesop-connect tdm 10 vlan 300 local-udp 50048 remote-mac
0800-3E32-5310 remote-ip 10.10.50.10 remote-udp 50048
----End
Prerequisites
The CKMC/CKMD clock daughter board has been installed on the SCU main control board.
Context
Configuration roadmap for clock synchronization:
1. The OLT traces the upstream E1 line clock of the EDTB 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
l Configure a clock on the OLT.
a. Add a system clock source.
Configure the E1 line clock input from port 0/5/0 on the EDTB board as the system
clock 0. Set the priority to 0 (highest priority).
huawei(config)#clock source 0 0/5/0
huawei(config)#clock priority system 0
Run the display clock source system command to query the configurations and the
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 H802EDTB 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
Run the display clock source command to query configurations and the 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 -- -/ -/ - --- --- ---
---------------------------------------------------------------
----End
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.
NOTE
Enable security features based on service types. For details, see 1.3.5 Principle of Security Data Plan.
Procedure
l Configure queue scheduling.
Based on 1.3.3 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
----End
Context
The protection solutions supported in this scenario are Type B protection and Type C single-
homing protection.
Procedure
l Configure the Type B protection.
Figure 1-19 shows the Type B protection networking diagram.
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
NOTE
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.
l Configure the Type C single homing protection.
Figure 1-20 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.
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
Prerequisites
The private line service has been configured.
Networking
ONU OLT
E1 port E1 line tester
loopback
E1
Procedure
Step 1 Set up network environment according to the preceding diagrams for service acceptance tests.
NOTE
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:
l Remote loopback on the OLT EDTB board
l Local loopback on the OLT EDTB board
l Local loopback on the ONU
l Remote loopback on the ONU
Service Requirement
l Existing SDH resources are utilized efficiently. In this way, carriers' existing investments
are protected and enterprise users in different regions are won.
l Services are received over optical fibers, reducing investment in copper cables between
enterprises and the SDH network.
l The standardized user-side ports facilitate deployment and maintenance.
Application Scenario
As shown in Figure 1-22, a carrier's SDH network is migrated gradually. In a city, there are
only some nodes (for example, OLT_A in the following figure) can transmit signals upstream
to the SDH network through STM-1 ports, and other nodes (for example, OLT_B in the
following figure) must access SDH resources through GE/10GE ports. In this scenario,
ONU_B accesses the E1 service in SAToP mode, and transmits the service to the OLT at the
local site (OLT_B) over the GPON line. OLT_B transparently transmits the service to another
OLT with SDH resources (OLT_A) through GE/10GE ports.
l For carriers, with this networking, they can win enterprise users who have no SDH
resources with GPON lines which support long-distance transmission and high
bandwidth. With the trend of fiber-in and copper-out, deployment of GPON lines can
reduce deployment costs of copper cables and support service expansion.
l For enterprise users, with GPON access, they can reduce fees spent in leasing lines.
E1/
E1 STM-1 SDH
TDM Splitter
OLT_B L2
Enterprise
10 E/
GE
ONU
G
E1
TDM Splitter
E1/
E1 SAToP
STM-1
Configuring Clock
Synchronization
End
Network Functions
element
Prerequisites
Required hardware for OLT_A is ready.
l Control board: SCUN+CKMC/CKMD
l GPON service board: GPBD
l Upstream board: EDTB
l Cascaded service board:
– GE port: GICK or OPGD
– 10GE port: X2CS
Data Plan
Table 1-10 provides the key data plan.
OPGD Port: 0/2/1 Assume that OLT_A is cascaded with OLT_B using the
OPGD board. Then you need to set the network role of the
OPGD board to cascade.
VLA Inband management To telnet to another OLT or ONU from the OLT and then
N ID VLAN ID: 8 configure the OLT or ONU, you must configure the
and IP Inband management inband management VLANs and IP addresses of the OLT
addres IP address: on the OLT.
s 192.168.50.30/24 If the management IP address and the IP address of
OLT_B or ONU_B are not in the same network segment,
you also need to configure routes.
Procedure
Step 1 Configure the management VLAN and IP address.
Create management VLAN 8, and set the management IP address to 192.168.50.30 and
subnet mask to 255.255.255.0.
huawei(config)#vlan 8 smart
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.30 24
----End
Data Plan
Configurati Data
on Item
Remark 2: The UDP port cannot be a port that is widely used in the industry and for specific
services. For example, port 80 is used for HTTP service. The dynamic and private ports are
recommended.
Procedure
Step 1 Configure EDTB board attributes.
Create a SAToP connection at the E1 port 0/5/0. Set S-VLAN to 300, local UDP port number
to 50048, remote IP address (the IP address of the E1 access board on the ONU) to
10.10.50.20, and remote UDP port number to 50048. The remote MAC address is obtained
dynamically.
NOTE
To create a SAToP connection, the local UDP port number must be consistent with the remote UDP port
number, that is, [ local-udp = portid of EDTB + Cardinal number (50048) ].
huawei(config)#cesop-connect tdm 10 vlan 300 local-udp 50048 remote-ip
10.10.50.20 remote-udp 50048
You can also create a SAToP connection by configuring the MAC address statically. If the
remote MAC address (the MAC address of the E1 access board on the ONU, which can be
queried by running the display cesop-mac-address command on the ONU) is 00e0-
fc01-0450, create a SAToP connection in static mode as follows:
huawei(config)#cesop-connect tdm 10 vlan 300 local-udp 50048 remote-mac
00e0-fc01-0450 remote-ip 10.10.50.20 remote-udp 50048
----End
Data Plan
Item Data
Procedure
Step 1 Configure GPON ONU profiles.
1. Configure a DBA profile, and set the DBA bandwidth allocation mode for the GPON
port to minimum bandwidth delay.
For example, configure the DBA profile for 4-channel E1 private line.
huawei(config)#dba-profile add profile-id 20 type1 fix 32768
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
In this example, the default alarm profile is used. Therefore, you do not need to manually
bind an alarm profile.
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:
l If Control flag is deactive, run the ont active command in GPON mode to activate the
ONU.
l 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.
l 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.
l If the ONU does not match, that is, Match state is mismatch, the port types and number
of ports undermatch the actual port types and number of ports supported by the ONU. In
this case, run the display ont capability command to query the actual capability of the
ONU, and then select one of the following modes to modify the ONU configuration:
– Create a proper ONU profile according to the actual capability of the ONU, and
then run the ont modify command to modify the configuration data of the ONU.
– Modify the ONU profile according to the actual capability of the ONU and save the
modification. Then, the ONU automatically recovers the configuration successfully.
Prerequisites
Required hardware for OLT_B (cascading) is ready.
l Control board: SCUN+CKMC/CKMD
l GPON service board: GPBD
l Upstream board:
– GE port: GICK
– 10GE port: X2CS
Data Plan
Item Data
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/19 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
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.
l 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.
l When the connection is reachable, you can remotely log in to the ONU from the OLT
and configure the ONU.
Step 5 Configure the upstream port.
Add upstream port 0/19/0 (on the GICK board) to VLAN 100.
huawei(config)#port vlan 100 0/19 0
----End
Data Plan
Configurati Data
on Item
Remark 2: The UDP port cannot be a port that is widely used in the industry and for specific
services. For example, port 80 is used for HTTP service. The dynamic and private ports are
recommended.
Procedure
Step 1 Configure a VLAN and add an upstream port to the VLAN.
Create the upstream VLAN 300, and add upstream port 0/0/1 to VLAN 300.
huawei(config)#vlan 300 smart
huawei(config)#port vlan 300 0/0 1
Configure the board and port working mode and transmit clock.
l For E1 access, set the working mode to UDT and configure the transmit clock as the
system clock.
huawei(config-if-tdm-0/1)#tdm access-mode E1
huawei(config-if-tdm-0/1)#port 0 udt system
Create a SAToP connection at TDM port 0/1/0. Set S-VLAN to 300, local UDP port number
to 50048, remote IP address (the IP address of the EDTB board on the OLT) to 10.10.50.10,
and remote UDP port number to 50048. The remote MAC address is obtained dynamically.
huawei(config)#cesop-connect tdm 10 vlan 300 local-udp 50048 remote-ip
10.10.50.10 remote-udp 50048
NOTE
You can also create a SAToP connection by configuring the MAC address statically. If the remote MAC
address (the MAC address of the EDTB board on the OLT) is 0800-3E32-5310, create a SAToP connection in
static mode as follows:
huawei(config)#cesop-connect tdm 10 vlan 300 local-udp 50048 remote-mac
0800-3E32-5310 remote-ip 10.10.50.10 remote-udp 50048
l Run the cesop encap command to configure SSRC, payload type, and SN of the SAToP
packet. The default value of these parameters is 0.
l Run the cesop jitter-buffer command to configure the buffer depth of the SAToP packet.
The default buffer depth is 2000 μs.
l Run the cesop loadtime command to configure the load time of the SAToP packet. The
default load time is 125 μs.
l Run the cesop priority command to configure the priority of the SAToP packet. The
default priority is 7.
----End
Context
Configuration concept for clock synchronization:
1. OLT_A traces the upstream E1 line clock of the EDTB board as the system clock.
2. OLT_B Obtains the system clock by GICK/X2CS boards in synchronous Ethernet mode.
3. The ONU uses the line clock of the GPON upstream port as the system clock.
4. The Tx clock of ONU is synchronized to the system clock of the ONU.
Data Plan
System Clock source Description
clock
OLT_A E1 line clock: 0/5/0 OLT_A Obtains E1 line clock from SDH as the
system clock, and then transmits it to the cascading
OLT_B over GE/10GE interface.
ONU GPON line clock: ONU uses the line clock of the GPON upstream
0/0/1 port as the system clock.
Procedure
Step 1 Configure a clock on OLT_A.
1. Add a system clock source.
Configure the E1 line clock input from port 0/5/0 on the EDTB board as the system
clock 0. Set the priority to 0 (highest priority).
huawei(config)#clock source 0 0/5/0
huawei(config)#clock priority system 0
Run the display clock source system command to query the configurations and the
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 H802EDTB 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
----End
Prerequisites
The private line service has been configured.
Networking
ONU OLT
E1 port E1 line tester
loopback
E1
Procedure
Step 1 Set up network environment according to the preceding diagrams for service acceptance tests.
NOTE
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:
l Remote loopback on the OLT EDTB board
l Local loopback on the OLT EDTB board
l Local loopback on the ONU
l Remote loopback on the ONU