Gateway ONT Network Scenario (GPON/XG-PON/XGS-PON Networking)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 75

SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-

FTTH Configuration Guide PON Networking)

5 Gateway ONT Network Scenario


(GPON/XG-PON/XGS-PON Networking)

This topic describes how to configure Internet access service, voice service, BTV service and
VoD service when gateway ONT are used to build an FTTH network.
The FTTH GPON and 10G GPON access have the same configuration procedure. ONT web
pages for configuring them have differences; however, they have the same configuration
parameters. The following uses GPON ONT configuration as an example. For differences on
web pages, see the related ONT manuals.
5.1 Service Requirements and Application Scenario
5.2 Configuration Process
5.3 Adding an ONT to an OLT
Services can be configured for an ONT only after the ONT is successfully added to an OLT.
5.4 Configuring the Internet Access Service (on a Web Page or the U2000)
The OLT is connected to the remote ONT through a GPON port to provide users with high-
speed Internet access services.
5.5 Configuring the Wi-Fi Access Service (on a Web Page)
The OLT is connected to the remote ONT through a GPON port to provide users with high-
speed Internet Wi-Fi services.
5.6 Configuring the H.248-based Voice Service (on a Web Page or the U2000)
The OLT is connected to the remote ONT through a GPON port to provide users with the IP-
based high-quality and low-cost VoIP service.
5.7 Configuring the H.248-based Voice Service (Through the CLI)
The OLT manages ONTs and applies VoIP configurations to the ONT using the OMCI
protocol. This topic describes how to configure the H.248-based voice service.
5.8 Configuring the SIP-based Voice Service (on a Web Page or the U2000)
The OLT is connected to the remote ONT through a GPON port to provide users with the IP-
based high-quality and low-cost VoIP service.
5.9 Configuring the SIP-based Voice Service (Through the CLI)
The OLT manages ONTs and applies VoIP configurations to the ONT using the OMCI
protocol. This topic describes how to configure the SIP-based voice service.
5.10 Configuring the BTV Service (on the Web Page)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 102


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

The OLT is connected to the remote gateway ONT through a GPON port to provide users
with the bridge WAN multicast service.
5.11 Configuring the VoD Service (on the Web Page)
The OLT is connected to the remote gateway ONT through a GPON port to provide users
with the VoD service.
5.12 Configuring the CATV Service
The OLT is connected to the remote ONT through a GPON port to provide users with the
CATV service.
5.13 Configuring Any Port Any Service (on the Web Page)
The OLT can connect a remote ONT through the GPON interface. This topic describes how to
configure the function of any port any service.
5.14 Configuring Link Aggregation, Congestion Control, and Security Policies
The global configuration of link aggregation and queue scheduling based on priorities ensures
service reliability. The global configuration of security policies ensures service security.
5.15 Verifying Services
In the FTTH scenario, ONTs are installed in users' houses which are far away from the central
equipment room. ONTs provide remote service verification methods including PPPoE dialup
emulation, call emulation, and multicast emulation to facilitate configuration and
commissioning engineers to verify services remotely after service configuration.

5.1 Service Requirements and Application Scenario


Service Requirements
Optical fibers are connected to users' home and triple play services are required. The
following provides detailed service requirements:
l Internet access of multiple PCs in a home is supported.
l Access of multiple telephones in a home is supported.
l IPTV programs can be previewed and watched using STBs.
l Service expansibility is supported and different services do not affect each other.
l Service security is ensured.
– Internet and Wi-Fi access services are protected against unauthorized access, user
account theft or borrowing, MAC/IP spoofing, and malicious attack.
– Voice and IPTV services are protected against MAC/IP spoofing, malicious attack,
and traffic flooding attack.
l Service faults are easy to locate and services are easy to maintain.

Application Scenario
As shown in Figure 5-1, the ONT integrating an IAD provides Internet, Wi-Fi, VoIP, and
IPTV services to users.
The HGW ONT facilitates interconnection of home devices by providing Layer 3 services,
such as Point-to-Point Protocol over Ethernet (PPPoE)/DHCP dialup, network address
translation (NAT), and Internet Group Management Protocol (IGMP) snooping. This scenario
provides fine-grained management channels and service control, and mainly applies to Layer
3 networking.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 103


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Figure 5-1 HGW ONT

5.2 Configuration Process


Figure 5-2 shows the configuration roadmap in fiber to the home (FTTH) networking using a
gateway optical network terminal (ONT).

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 104


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Figure 5-2 Configuration roadmap in FTTH networking using a gateway ONT

The following table describes the configuration steps.

Item Step Description

Optical Adding an ONT to an OLT Services can be configured for an ONT


line only after the ONT is successfully added
termina to an OLT.
l (OLT)

OLT Configuring the Internet Access None


ONT Service (on a Web Page or the
U2000)
U2000
Configuring the Wi-Fi Access None
Service (on a Web Page)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 105


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Item Step Description

Configure the Configuring the NOTE


VoIP service. H.248-based l The H.248 and Session Initiation Protocol
Voice Service (SIP) protocols are mutually exclusive for
(on a Web Page the VoIP service. Either of them is
or the U2000) configured at a time.
l The voice service can be configured
Configuring the through command line interface (CLI) on
H.248-based an OLT, web page, or U2000. Select a
Voice Service configuration mode based on site
(Through the requirements.
CLI) l OLT CLI: This mode can be used for
site deployment or the U2000 has not
Configuring the been deployed.
SIP-based Voice l Web page: This mode can be used to
Service (on a configure voice parameters after the
Web Page or the service channel has been configured
U2000) through the OLT CLI. It can be used for
site deployment.
Configuring the l U2000: This mode can be used to
SIP-based Voice configure voice parameters after the
Service service channel has been configured
(Through the through the OLT CLI. It can be used for
CLI) service provisioning in batches.

Configure the Configuring the IPTV services include the BTV and VoD
IPTV service. BTV Service services that are different in configuration
(on the Web procedures and need to be configured
Page) separately.

Configuring the
VoD Service
(on the Web
Page)

OLT Configuring Link Aggregation, The global configuration of link


Congestion Control, and Security aggregation and queue scheduling based
Policies on priorities ensures service reliability. The
global configuration of security policies
ensures service security.

OLT Verifying Services The OLT provides remote verification


methods including ONT PPPoE/DHCP
dialup emulation and call emulation for
configuration and commissioning
engineers to verify services remotely after
service configuration, avoiding a second
on-site operation.

5.3 Adding an ONT to an OLT


Services can be configured for an ONT only after the ONT is successfully added to an OLT.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 106


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Data Plan
Item Data

DBA profile Profile name: ftth_dba_mngt


l Profile type: Type1
l Fixed bandwidth: 1 Mbit/s
Profile name: ftth_dba_hsi
l Profile type: Type4
l Maximum bandwidth: 32 Mbit/s
Profile name: ftth_dba_voip
l Profile type: Type2
l Assured bandwidth: 1 Mbit/s
Profile name: ftth_dba_iptv
l Profile type: Type2
l Assured bandwidth: 1 Mbit/s

ONT line profile Profile name: ftth


T-CONT ID for management services: 4
T-CONT ID for voice services: 5
T-CONT ID for video services: 6
T-CONT ID for Internet access services: 7
GEM port ID for management services: 11
GEM port ID for voice services: 12
GEM port ID for video services: 13
GEM port ID for Internet access services: 14

ONT service Profile name: ftth


profile ONT port capability set: adaptive

Network PON port: 0/1/0


topology data ONT IDs: 1 and 2

Procedure
Step 1 Configure GPON ONT profiles.
GPON ONT profiles include the DBA profile, line profile, service profile, and alarm profile.
l DBA profile: A DBA profile describes the GPON traffic parameters. A T-CONT is
bound to a DBA profile for dynamic bandwidth allocation, improving upstream
bandwidth utilization.
l Line profile: A line profile describes the binding between the T-CONT and the DBA
profile, the QoS mode of the traffic stream, and the mapping between the GEM port and
the ONT-side service.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 107


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

l Service profile: A service profile provides the service configuration channel for the ONT
that is managed by using optical network terminal management and control interface
(OMCI).
l Alarm profile: An alarm profile contains a series of alarm thresholds to measure and
monitor the performance of activated ONT lines. When a statistical value reaches the
threshold, the host is notified and an alarm is reported to the log host and the NMS.

1. Configure a DBA profile.

Run the display dba-profile command to query the existing DBA profiles in the system.
If the existing DBA profiles in the system cannot meet the requirements, run the dba-
profile add command to add a DBA profile.
huawei(config)#dba-profile add profile-name ftth_dba_mngt type1 fix 1024
huawei(config)#dba-profile add profile-name ftth_dba_voip type2 assure 1024
huawei(config)#dba-profile add profile-name ftth_dba_iptv type2 assure 1024
huawei(config)#dba-profile add profile-name ftth_dba_hsi type4 max 32768

NOTE

Select a DBA profile of the proper bandwidth type and configure proper bandwidth according to the
service types and total user count of the ONT. Note that the sum of the fixed bandwidth and the assured
bandwidth must not be greater than the total bandwidth of the PON port.
2. Configure an ONT line profile.

Create a GPON ONT line profile, named ftth, and bind it to the DBA profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#tcont 4 dba-profile-name ftth_dba_mngt
huawei(config-gpon-lineprofile-1)#tcont 5 dba-profile-name ftth_dba_voip
huawei(config-gpon-lineprofile-1)#tcont 6 dba-profile-name ftth_dba_iptv
huawei(config-gpon-lineprofile-1)#tcont 7 dba-profile-name ftth_dba_hsi

Create different GEM ports according to different service types, in which


– GEM port 11 is used to carry management services.
– GEM port 12 is used to carry voice services.
– GEM port 13 is used to carry video services.
– GEM port 14 is used to carry Internet access services.
huawei(config-gpon-lineprofile-1)#gem add 11 eth tcont 4
huawei(config-gpon-lineprofile-1)#gem add 12 eth tcont 5
huawei(config-gpon-lineprofile-1)#gem add 13 eth tcont 6
huawei(config-gpon-lineprofile-1)#gem add 14 eth tcont 7

NOTE

1. To change the default QoS mode, run the qos-mode command to set the QoS mode to gem-car or
flow-car, and run the gem add command to set the index of the traffic profile bound to the GEM
port.
2. When the QoS mode is priority-queue (PQ), the default queue priority is 0; when the QoS mode is
flow-car or gem-car, traffic profile 6 is bound to the GEM port by default (no rate limitation).
After the configurations are complete, run the commit command to apply the parameters
settings.
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

3. Configure an ONT service profile.

Create a GPON ONT service profile, named ftth. Configure the capability set of the
ETH port, POTS port and CATV POTS to adaptive. Then the system automatically
adapts to the ONT according to the actual capability of the online ONT.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 108


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

huawei(config)#ont-srvprofile gpon profile-name ftth


huawei(config-gpon-srvprofile-1)#ont-port eth adaptive pots adaptive catv
adaptive

After the configurations are complete, run the commit command to apply the parameters
setting.
huawei(config-gpon-srvprofile-1)#commit
huawei(config-gpon-srvprofile-1)#quit

4. (Optional) Add an alarm profile.


– The default GPON alarm profile 1 is used. The alarm thresholds for the default
alarm profile are 0, which indicates that no alarm is generated.
– In this example, the default alarm profile is used, and therefore the configuration of
the alarm profile is not required.
– Run the gpon alarm-profile add command to configure a GPON alarm profile,
which is used for monitoring the performance of an activated ONT line.

Step 2 Add an ONT.

The procedures for configuring GPON, XG-PON, and XGS-PON services are the same. The
difference lies in this step. Here, the GPON service is used as an example. When configuring
XG-PON and XGS-PON services, you need to configure the ONT network-side interface type
parameter (ont-type) in the ont add and ont confirm commands. Select a value based on the
actual ONT capability or service data plan, for example, 10g/2.5g.

Connect two ONTs to GPON port 0/1/0. Set the ONT IDs to 1 and 2, SNs to
3230313126595540 and 6877687714852901, passwords to 0100000001 and 0100000002,
discovery mode for password authentication to once-on, and management mode to OMCI.
Bind the two ONTs to ONT line profile ftth and ONT service profile ftth.

There are two methods of adding an ONT: add an ONT offline and confirm an automatically
discovered ONT.

l Add ONTs offline.


If the password of an ONT is known, run the ont add command to add an ONT offline.
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#ont add 0 1 password-auth 0100000001 once-on no-
aging omci ont-lineprofile-name
ftth ont-srvprofile-name ftth
huawei(config-if-gpon-0/1)#ont add 0 2 password-auth 0100000002 once-on no-
aging omci ont-lineprofile-name
ftth ont-srvprofile-name ftth

l Confirm automatically discovered ONTs.


If the password or SN of an ONT is unknown, run the port portid ont-auto-find
command in GPON mode to enable the ONT auto-discovery function of the GPON port.
Then, run the ont confirm command to confirm the ONT.
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#port 0 ont-auto-find enable
huawei(config-if-gpon-0/1)#display ont autofind 0
//After this command is executed, the information about all ONTs connected
to the GPON port through optical splitters is displayed.

huawei(config-if-gpon-0/1)#ont confirm 0 ontid 1 sn-auth 3230313126595540


omci ont-lineprofile-name
ftth ont-srvprofile-name ftth
huawei(config-if-gpon-0/1)#ont confirm 0 ontid 2 sn-auth 6877687714852901
omci ont-lineprofile-name
ftth ont-srvprofile-name ftth

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 109


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

If multiple ONTs of the same type bound to the same line profile or service profile are connected to the
same port, you can bulk add ONTs by bulk confirming automatically discovered ONTs to make
configuration easier and more efficient. To do so, the preceding command can be modified as follows:
huawei(config-if-gpon-0/1)#ont confirm 0 all sn-auth omci ont-lineprofile-
name ftth
ont-srvprofile-name ftth

l (Optional) Bind the alarm profile to the ONT.


The default profile 1 is used in this example.
huawei(config-if-gpon-0/1)#ont alarm-profile 0 1 profile-id 1
huawei(config-if-gpon-0/1)#ont alarm-profile 0 2 profile-id 1

Step 3 Check ONT status.


After an ONT is added, run the display ont info command to query the current status of the
ONT. Ensure that Config flag of the ONT is active, Run State is online, Config state is
normal, and Match state is match.
huawei(config-if-gpon-0/1)#display ont info 0 1
---------------------------------------------------------------------
F/S/P : 0/1/0
ONT-ID : 1
Control flag : active //Indicates that the ONT is
activated.
Run state : online //Indicates that the ONT goes online
successfully.
Config state : normal //Indicates that the configuration state of
the ONT is normal.
Match state : match //Indicates that the capability profile bound
to the ONT is consistent with the actual capability of the ONT.
...//The rest of the response information is omitted.

When Config state is failed, Run state is offline, or Match state is mismatch:
l If Control flag is deactivated, 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.

----End

5.4 Configuring the Internet Access Service (on a Web


Page or the U2000)
The OLT is connected to the remote ONT through a GPON port to provide users with high-
speed Internet access services.

Prerequisites
l The OLT is connected to the BRAS.
l Related configurations are performed on the BRAS according to the authentication and
accounting requirements for dialup users. For details about the configurations, see the
configuration guide.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 110


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

l The ONT has been added to the OLT. For details, see Adding an ONT to an OLT.
l The VLAN of the LAN switch port connected to the OLT is the same as the upstream
VLAN of the OLT.
l The Web page and NMS window for configuring ONT varies with ONT versions, but
the parameter configuration is the same. For details, see relevant ONT manuals.

Data Plan
Item Data

ONT line profile Profile name: ftth


GEM port ID: 14

VLAN Plan Double-tagged VLAN:


l S-VLAN ID: 100
l S-VLAN type: smart
l S-VLAN attribute: stacking
l CVLAN ID: 1001
l C'-VLAN ID: 1010-1011
VLAN translation policy:
l ONT: ONTs configure the VLAN and add the same C-
VLAN tag to packets. All ONTs are in the same C-
VLAN.
l OLT: The OLT performs VLAN translation: C<->S
+C'. The C'-VLAN of every ONT differs from each
other.

Procedure
l Configure the OLT.
a. Configure a traffic profile.
Run the display traffic table ip command to query the existing traffic profiles in
the system. If the traffic profiles existing in the system do not meet the
requirements, you need to run the traffic table ip command to add a traffic profile.
Set the profile ID to ftth_hsi, the CIR to 4 Mbit/s, and the priority to 0. In addition,
configure the scheduling mode so that packets are scheduled according to their
priorities.
huawei(config)#traffic table ip name ftth_hsi cir 4096 priority 0
priority-policy local-setting

b. Configure the mapping relationship between a GEM port and a VLAN.


The service flow of user VLAN 1001 is mapped to GEM port 14 in the ONT line
profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 14 0 vlan 1001
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 111


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

c. Create a service VLAN and add an upstream port to it.


Add upstream port 0/9/0 to VLAN 100.
huawei(config)#vlan 100 smart
huawei(config)#vlan attrib 100 stacking
huawei(config)#port vlan 100 0/9 0

d. Create service flows.


Set the service VLAN to 100, GEM port ID to 14, and user VLAN to 1001, and use
traffic profile ftth_hsi.
huawei(config)#service-port vlan 100 gpon 0/1/0 ont 1 gemport 14 multi-
service
user-vlan 1001 tag-transform translate-and-add
inner-vlan 1010 inbound traffic-table name ftth_hsi outbound traffic-
table name ftth_hsi
huawei(config)#service-port vlan 100 gpon 0/1/0 ont 2 gemport 14 multi-
service
user-vlan 1001 tag-transform translate-and-add
inner-vlan 1011 inbound traffic-table name ftth_hsi outbound traffic-
table name ftth_hsi

e. Save the data.


huawei(config)#save

l Configure the ONT on the Web page.


a. Log in to the Web configuration page.
i. Configure the IP address of the PC network adapter to be in the same network
segment with the IP address of the local maintenance Ethernet port on the
ONT.
ii. Open the Web browser, and enter the IP address (https with high priority is
recommended) of the local maintenance Ethernet port on the ONT. In the login
window that is displayed, enter the user name and password of the
administrator. After the password is authenticated, the web configuration
window is displayed.
b. Configure the working mode of a LAN port.
The LAN port bound to the WAN port must work in the Layer 3 mode. Therefore,
set the working mode to Layer 3 for the LAN port connected to the PC.

c. Configure parameters of a WAN port.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 112


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

d. Check the ONT connection status.

l Configure the ONT on the U2000.


a. Add a general VAS configuration profile for the ONT.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 113


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 114


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 115


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 116


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

To bind a WAN port to multiple LAN ports, set Physical Port Name to LAN1,...,LANx. For
example, to bind WAN 1 to LAN 1 and LAN 2, set Physical Port Name to LAN1, LAN2.
b. Bind a general VAS profile.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 117


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

c. Configure the ONT value-added service.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 118


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

The User Name and Password must be the same as those configured on the BRAS.

----End

5.5 Configuring the Wi-Fi Access Service (on a Web Page)


The OLT is connected to the remote ONT through a GPON port to provide users with high-
speed Internet Wi-Fi services.

Prerequisites
l The OLT is connected to the BRAS.
l Related configurations are performed on the BRAS according to the authentication and
accounting requirements for dialup users. For details about the configurations, see the
configuration guide.
l The ONT has been added to the OLT. For details, see Adding an ONT to an OLT.
l The VLAN of the LAN switch port connected to the OLT is the same as the upstream
VLAN of the OLT.
l The Web page for configuring ONT varies with ONT versions, but the parameter
configuration is the same. For details, see relevant ONT manuals.

Data Plan
Item Data

ONT line profile Profile name: ftth


GEM port ID: 14

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 119


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Item Data

VLAN Plan Double-tagged VLAN:


l S-VLAN ID: 100
l S-VLAN type: smart
l S-VLAN attribute: stacking
l CVLAN ID: 1001
l C'-VLAN ID: 1010-1011
VLAN translation policy:
l ONT: ONTs configure the VLAN and add the same C-
VLAN tag to packets. All ONTs are in the same C-
VLAN.
l OLT: The OLT performs VLAN translation: C<->S
+C'. The C'-VLAN of every ONT differs from each
other.

Procedure
l Configure the OLT.
a. Configure a traffic profile.
Run the display traffic table ip command to query the existing traffic profiles in
the system. If the traffic profiles existing in the system do not meet the
requirements, you need to run the traffic table ip command to add a traffic profile.
Set the profile ID to ftth_hsi, the CIR to 4 Mbit/s, and the priority to 0. In addition,
configure the scheduling mode so that packets are scheduled according to their
priorities.
huawei(config)#traffic table ip name ftth_hsi cir 4096 priority 0
priority-policy local-setting

b. Configure the mapping relationship between a GEM port and a VLAN.


The service flow of user VLAN 1001 is mapped to GEM port 14 in the ONT line
profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 14 0 vlan 1001
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

c. Create a service VLAN and add an upstream port to it.


Add upstream port 0/9/0 to VLAN 100.
huawei(config)#vlan 100 smart
huawei(config)#vlan attrib 100 stacking
huawei(config)#port vlan 100 0/9 0

d. Create service flows.


Set the service VLAN to 100, GEM port ID to 14, and user VLAN to 1001, and use
traffic profile ftth_hsi.
huawei(config)#service-port vlan 100 gpon 0/1/0 ont 1 gemport 14 multi-
service

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 120


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

user-vlan 1001 tag-transform translate-and-add


inner-vlan 1010 inbound traffic-table name ftth_hsi outbound traffic-
table name ftth_hsi
huawei(config)#service-port vlan 100 gpon 0/1/0 ont 2 gemport 14 multi-
service
user-vlan 1001 tag-transform translate-and-add
inner-vlan 1011 inbound traffic-table name ftth_hsi outbound traffic-
table name ftth_hsi

e. Save the data.


huawei(config)#save

l Configure the ONT on the Web page.


Layer 3 bridge Wi-Fi service
a. Log in to the Web configuration page.
i. Configure the IP address of the PC network adapter to be in the same network
segment with the IP address of the local maintenance Ethernet port on the
ONT.
ii. Open the Web browser, and enter the IP address (https with high priority is
recommended) of the local maintenance Ethernet port on the ONT. In the login
window that is displayed, enter the user name and password of the
administrator. After the password is authenticated, the web configuration
window is displayed.
b. Configure the Wi-Fi parameters.

c. Configure the parameters of the Layer 3 bridge WAN port.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 121


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

When you use Wi-Fi access service in the IPoE mode, you need to enable the DHCP relay
function. For procedure details, see en-us_topic_0143617700.xml.
d. Check the ONT connection status.

In the navigation tree, choose Status > WAN Information. In the right pane,
Connection Status is Connected.

Layer 3 route Wi-Fi service

a. Log in to the Web configuration page.


i. Configure the IP address of the PC network adapter to be in the same network
segment with the IP address of the local maintenance Ethernet port on the
ONT.
ii. Open the Web browser, and enter the IP address (https with high priority is
recommended) of the local maintenance Ethernet port on the ONT. In the login
window that is displayed, enter the user name and password of the
administrator. After the password is authenticated, the web configuration
window is displayed.
b. Configure the Wi-Fi parameters.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 122


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

c. Configure the parameters of the Layer 3 route WAN port.

d. Check the ONT connection status.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 123


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

In the navigation tree, choose Status > WAN Information. In the right pane,
Connection Status is Connected and the obtained IP address is displayed at IP

Address.

----End

Result
l Layer 3 bridge Wi-Fi service: SSID radio signals can be searched on the Wi-Fi terminal.
After the user enter the authentication key and pass the authentication, the user can
access the Internet.
l Layer 3 route Wi-Fi service: SSID radio signals can be searched on the Wi-Fi terminal.
After the user enter the authentication key and pass the authentication, the Wi-Fi
terminal can obtain the IP address allocated by the DHCP IP address pool on the ONT.
After the PPPoE dialup is successfully performed on the ONT, the user can access the
Internet.
NOTE

The security mode and encryption configured on a Wi-Fi terminal must be the same as those of an ONT. If
you cannot find the following encryption modes: TKIP&AES, and AES. The reason may lie in an old Wi-Fi
driver version. If so, replace the old version with a new one.

5.6 Configuring the H.248-based Voice Service (on a Web


Page or the U2000)
The OLT is connected to the remote ONT through a GPON port to provide users with the IP-
based high-quality and low-cost VoIP service.

Prerequisites
l The interface data and POTS user configuration data corresponding to the MG interface
have been configured on the MGC.
l The OLT has been connected to the MGC. The OLT can ping the IP address of the MGC
server successfully.
l The ONT has been added to the OLT. For details, see Adding an ONT to an OLT.
l Different voice services require different ONT software versions. Before the
configuration, ensure that the current ONT software version supports H.248. For details,
see relevant ONT manuals.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 124


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

l The Web page and NMS window for configuring ONT varies with ONT versions, but
the parameter configuration is the same. For details, see relevant ONT manuals.

Context
Item Data

ONT line profile Profile name: ftth


GEM port ID: 12

VLAN Plan Single VLAN tag:


l SVLAN ID: 200
l SVLAN type: smart
l SVLAN attribute: common
l CVLAN ID: 300
VLAN translation policy:
l ONT: VLANs are configured for the ONTs on the
same network in a unified manner, and the ONTs have
the same C-VLAN. The ONT adds a C-VLAN tag to
packets.
l OLT: translates the VLAN tag (C-VLAN <-> S-
VLAN).

Voice parameter IP address of the MGC server: 10.10.100.10/24


Port ID of the MGC server: 2944
MG Domain: 0100000001 or 0100000002

Procedure
l Configure the OLT.
a. Configure a traffic profile.

Run the display traffic table ip command to query the existing traffic profiles in
the system. If the existing traffic profiles in the system do not meet the
requirements, run the traffic table ip command to add a traffic profile.

Set the profile name to ftth_voip and do not limit the upstream and downstream
rates. Set the priority to 5 and packets are scheduled according to the priority
carried.
huawei(config)#traffic table ip name ftth_voip cir off priority 5
priority-policy
local-setting

b. Configure the mapping relationship between a GEM port and a VLAN.

The service flow of user VLAN 300 is mapped to GEM port 12 in the ONT line
profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 12 2 vlan 300
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 125


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

c. Create a service VLAN and add an upstream port to it.

Add upstream port 0/9/0 to VLAN 200.


huawei(config)#vlan 200 smart
huawei(config)#port vlan 200 0/9 0

d. Create service flows.

Set the service VLAN to 200, GEM port ID to 12, and user VLAN to 300. Use
traffic profile ftth_voip.
huawei(config)#service-port vlan 200 gpon 0/1/0 ont 1 gemport 12 multi-
service
user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-
table name ftth_voip
huawei(config)#service-port vlan 200 gpon 0/1/0 ont 2 gemport 12 multi-
service
user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-
table name ftth_voip

e. Enable the ARP proxy function.

Voice media streams for different users of the same SVLAN fail to interchange
because the service ports of the smart VLAN are isolated from each other.
Therefore, the ARP proxy function needs to be enabled on the OLT.
huawei(config)#arp proxy enable
huawei(config)#interface vlanif 200
huawei(config-if-vlanif200)#arp proxy enable
huawei(config-if-vlanif200)#quit

f. Save the data.


huawei(config)#save

l Configure the ONT on the Web page.


a. Log in to the Web configuration page.
i. Configure the IP address of the PC network adapter to be in the same network
segment with the IP address of the local maintenance Ethernet port on the
ONT.
ii. Open the Web browser, and enter the IP address (https with high priority is
recommended) of the local maintenance Ethernet port on the ONT. In the login
window that is displayed, enter the user name and password of the
administrator. After the password is authenticated, the web configuration
window is displayed.
b. Configure the voice protocol.

NOTE

The default voice protocol is SIP. Therefore, change the voice protocol first.
c. Configure parameters for the voice WAN interface.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 126


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

d. Configure parameters for the H.248-based voice interface.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 127


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

l The parameters of the H.248-based voice interface must be consistent with the corresponding
configuration on the media gateway controller (MGC).
l If dual-homing is configured, Address of the Standby MGC must be configured.
l MID Format can be set to Domain Name, IP, or Device Name. If MID Format is set to
Domain Name or Device Name, the setting must be consistent with the corresponding
configuration on the MGC.
l MG Domain is ONT's domain name registered with the MGC. It is globally unique. MG
Domain in this example is ONT's password.
l If Media Port is empty, the parameter value is the same as Signaling Port. The media
streams are not isolated from signaling streams. If the upper-layer network requires isolation
of media streams from signaling streams, create different traffic streams for the media streams
and signaling streams on the OLT, create different WAN ports on the ONT, and bind the
created WAN ports to Media Port and Signaling Port. When the packet is forwarded from
two WAN ports, the configured VLAN is carried by default.
l When the ONT is interconnected with a third-party softswitch, check RTP TID Prefix, Start
Number of RTP TID, and Width of RTP TID Number.
e. Check the registration status of the voice user.

l Configure the ONT on the U2000.


a. Configure and bind a general value-added service (VAS) profile for the ONT.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 128


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 129


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 130


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 131


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

If the upper-layer network requires isolation of media streams from signaling streams, create
different traffic streams for the media streams and signaling streams on the OLT. When the packet
is forwarded from two WAN ports, the configured VLAN is carried by default. Create a WAN
port named WAN-RTP on the ONT, and set this WAN port to a media WAN port. Specifically,
choose Interface 1 > RTP and set Associate WAN Interface to WAN2.
b. Bind a general VAS profile.

c. Configure the ONT VAS service.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 132


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

Domain Name is ONT's domain name registered with the MGC. It is globally unique. MG
Domain Name in this example is ONT's password.
Pay attention to the RTP TID configuration when the ONT is interconnected with a softswitch of
other vendors. The terminal IDs A0 and A1 must be consistent with the corresponding
configuration on the MGC.
Do not configure Directory Number.

----End

5.7 Configuring the H.248-based Voice Service (Through


the CLI)
The OLT manages ONTs and applies VoIP configurations to the ONT using the OMCI
protocol. This topic describes how to configure the H.248-based voice service.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 133


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Prerequisites
l The interface data and POTS user configuration data corresponding to the MG interface
have been configured on the MGC.
l The OLT has been connected to the MGC. The OLT can ping the IP address of the MGC
server successfully.
l The ONT has been added to the OLT. For details, see Adding an ONT to an OLT.
l Different voice services require different ONT software versions. Before the
configuration, ensure that the current ONT software version supports H.248. For details,
see relevant ONT manuals.
l The Web page and NMS window for configuring ONT varies with ONT versions, but
the parameter configuration is the same. For details, see relevant ONT manuals.

Context
Item Data

ONT line profile Profile name: ftth


GEM port ID: 12

VLAN Plan Single VLAN tag:


l SVLAN ID: 200
l SVLAN type: smart
l SVLAN attribute: common
l CVLAN ID: 300
VLAN translation policy:
l ONT: VLANs are configured for the ONTs on the
same network in a unified manner, and the ONTs have
the same C-VLAN. The ONT adds a C-VLAN tag to
packets.
l OLT: translates the VLAN tag (C-VLAN <-> S-
VLAN).

Voice parameter IP address of the MGC server: 10.10.100.10/24


Port ID of the MGC server: 2944
MG Domain: 0100000001 or 0100000002

Procedure
Step 1 Configure a traffic profile.
Run the display traffic table ip command to query the existing traffic profiles in the system.
If the existing traffic profiles in the system do not meet the requirements, run the traffic table
ip command to add a traffic profile.
Step 2 Configure the mapping relationship between a GEM port and a VLAN.
The service flow of user VLAN 300 is mapped to GEM port 12 in the ONT line profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 12 2 vlan 300

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 134


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

Step 3 Create a service VLAN and add an upstream port to it.

Add upstream port 0/9/0 to VLAN 200.


huawei(config)#vlan 200 smart
huawei(config)#port vlan 200 0/9 0

Step 4 Create service flows.

Set the service VLAN to 200, GEM port ID to 12, and user VLAN to 300. Use traffic profile
ftth_voip.
huawei(config)#service-port vlan 200 gpon 0/1/0 ont 1 gemport 12 multi-service
user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-table name
ftth_voip
huawei(config)#service-port vlan 200 gpon 0/1/0 ont 2 gemport 12 multi-service
user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-table name
ftth_voip

Step 5 Enable the ARP proxy function.

Voice media streams for different users of the same SVLAN fail to interchange because the
service ports of the smart VLAN are isolated from each other. Therefore, the ARP proxy
function needs to be enabled on the OLT.
huawei(config)#arp proxy enable
huawei(config)#interface vlanif 200
huawei(config-if-vlanif200)#arp proxy enable
huawei(config-if-vlanif200)#quit

Step 6 Configure ONT voice profiles.

ONT voice service configurations include the VoIP service provisioning mode, ONT voice
profiles, voice users, and voice-related parameters.

ONT voice profiles include the common MG interface attribute profile, POTS port profile,
MGC profile, and voice signal profile.
l Common MG interface attribute profile: saves common attributes of an ONT voice
interface, including the fax mode, fax/modem negotiation mode, and priority of the
coding and decoding mode.
l POTS port profile: saves physical attributes of a POTS port on an ONT, including the
impedance, Tx gain, Rx gain, and signaling type of a POTS port.
l MGC profile: saves the IP address or domain name of an MGC, protocol port ID of the
MGC transport layer to which the MG interface belongs, and DSCP priority of media
packets.
l Voice signal profile: saves the ONT signal tone and ringing tone.

Currently, the common MG interface attribute profile, POTS port profile, and MGC profile
can be applied to an H.248 interface, and the voice signal profile can be bound to an H.248
interface.

For profiles that can be applied to an H.248 interface, if parameters in those profiles are
changed, those profiles must be reapplied to the H.248 interface so that the changed
parameters can take effect. For profiles that can be bound to an H.248 interface, if parameters
in those profiles are changed, those profiles do not need to be rebound to the H.248 interface
and the changed parameters can take effect.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 135


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

1. Configure the VoIP service provisioning mode.


Run the ont voip config-method command to configure the VoIP service provisioning
mode. Run the display ont info command to query the mode of issuing VoIP services.
In this example, the mode is default, that is, the VoIP service provisioning mode is
depended on the actual service provisioning mode on the ONT. Run this command to
select a proper mode if the system supports multiple voice service provisioning modes.
The service provisioning modes can be OMCI, FTP, and TR069.
2. Configure and apply an MG interface public attribute profile.
In this example, the default profile 1 is used.
a. Configure an MG interface public attribute profile.
Run the display ont-mg-attribute-profile command to query the existing profile in
the system. If the existing profile in the system does not meet the requirements, run
the ont-mg-attribute-profile add command to add a profile.
b. Apply a common MG interface attribute profile.
Run the ont-if-h248 bat-apply command to apply profiles in batches to H.248
interfaces and run the if-h248 attribute command to apply a profile to an H.248
interface or configure customized parameters on an H.248 interface. If you run
these two commands to apply profiles in batches or configure customized
parameters repeatedly, the last configurations take effect.
3. Configure and apply a POTS port profile.
In this example, the default profile 1 is used.
a. Configure a POTS port profile.
Run the display ont-pots-profile command to query the existing profile in the
system. If the existing profile in the system does not meet the requirements, run the
ont-pots-profile add command to add a profile.
b. Apply a POTS port profile.
Run the ont-pstnport electric bat-apply command to apply POTS port profiles in
batches and run the pstnport electric command to apply a POTS port profile to an
H.248 interface or configure customized parameters on an H.248 interface. If you
run these two commands to apply profiles in batches or configure customized
parameters repeatedly, the last configurations take effect.
4. Configure the voice WAN port of the ONT.
For ONT 1 and ONT 2, configure the IP address obtaining mode to DHCP, set the
management VLAN to VLAN 300, and use default values for other parameters.
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#ont ipconfig 0 1 dhcp vlan 300
huawei(config-if-gpon-0/1)#ont ipconfig 0 2 dhcp vlan 300

5. Configure and apply an MGC profile.


a. Configure and apply an MGC profile.
Run the display ont-mgc-profile command to query the existing profile in the
system. If the existing profile in the system does not meet the requirements, run the
ont-mgc-profile add command to add a profile.
Create MGC profile 2, set the IP address of the MGC to 10.10.100.10, and use
default values for other parameters.
huawei(config)#ont-mgc-profile add profile-id 2 primary-mgc 10.10.100.10

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 136


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

b. Add an H.248 interface and apply an MGC profile to the interface.


For ONT 1 and ONT 2, set the MG ID to 1, apply MGC profile 2 to ONT 1 and
ONT 2, and use default values for other parameters.
huawei(config-if-gpon-0/1)#if-h248 add 0 1 1 mgc-profile profile-id 2
huawei(config-if-gpon-0/1)#if-h248 add 0 2 1 mgc-profile profile-id 2

1. Add POTS users.


For ONT 1 and ONT 2, create a POTS user, set the MG ID to 1 (identical to the MG ID
of the H.248 interface), and set the physical terminal port ID to A0 and A1.
huawei(config-if-gpon-0/1)#mgpstnuser add 0 1 1 mgid 1 terminalid A0
huawei(config-if-gpon-0/1)#mgpstnuser add 0 2 1 mgid 1 terminalid A1

Run the display mgpstnuser attribute command to check whether the configuration of
the POTS user is properly set.
huawei(config-if-gpon-0/1)#display mgpstnuser attribute 0 1 1

------------------------------------------------------------------------------
F/S/P : 0/1/0
ONT ID : 1
Port ID : 1

MG ID : 1
Terminal ID : A0
...//The rest of the response information is omitted.

huawei(config-if-gpon-0/1)#display mgpstnuser attribute 0 2 1

------------------------------------------------------------------------------
F/S/P : 0/1/0
ONT ID : 2
Port ID : 1

MG ID : 1
Terminal ID : A1
...//The rest of the response information is omitted.

1. Configure and bind the voice signal profile.


In this example, the default profile 1 is used.
a. Configure the voice signal profile.
Run the display ont-voipsignal-profile command to query the existing profiles in
the system. If the existing profile in the system does not meet the requirement, run
the ont-voipsignal-profile command to add a profile.
b. Configure the ONT signal tone.
Run the display ont-tone command to query the existing configuration in the
system. If the existing configuration in the system does not meet the requirement,
run the ont-tone add command to add signal tone parameters. The ONT signal tone
will not be configured independently in this example.
c. Configure ONT ringing parameters.
Run the display ont-ring command to query the existing configuration in the
system. If the existing configuration in the system does not meet the requirement,
run the ont-ring add command to add ringing parameters. The ONT ringing
parameter will not be configured independently in this example.
d. Run the commit command to save parameters of the voice signal profile to the
database.
e. Bind the voice signal profile.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 137


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Run the ont-voipsignal bat-bind command to bind voice signal profiles in batches
or run the voipsignal command to bind a voice signal profile to an ONT. If you run
these two commands to bind profiles in batches or bind a voice signal profile to an
ONT repeatedly, the last configurations take effect.
2. (Optional) Configure the H.248 user codec.
Run the mgpstnuser codec command to configure the H.248 user codec. The H.248 user
codec will not be configured independently in this example.
3. (Optional) Configure the global VoIP media attributes of the ONT.
Run the ont-voip-media attribute command to configure the global VoIP media
attributes of the ONT. Before configuration, ensure that the configured media attributes
are supported by the corresponding ONT. Otherwise, the ONT configuration will fail.
The global VoIP media attributes of the ONT will not be configured independently in
this example.
Step 7 Save the data.
huawei(config)#save

----End

5.8 Configuring the SIP-based Voice Service (on a Web


Page or the U2000)
The OLT is connected to the remote ONT through a GPON port to provide users with the IP-
based high-quality and low-cost VoIP service.

Prerequisites
l The SIP interface data and POTS user configuration data corresponding to the MG
interface have been configured on the SIP server.
l The connection between the OLT and the SIP server is set up. The OLT can ping the IP
address of the SIP server successfully.
l The ONT has been added to the OLT. For details, see Adding an ONT to an OLT.
l Different voice services require different ONT software versions. Before the
configuration, ensure that the current ONT software version supports SIP. For details, see
relevant ONT manuals.
l The Web page and NMS window for configuring ONT varies with ONT versions, but
the parameter configuration is the same. For details, see relevant ONT manuals.

Data Plan
Item Data

ONT line profile Profile name: ftth


GEM port ID: 12

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 138


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Item Data

VLAN Plan Single VLAN tag:


l SVLAN ID: 200
l SVLAN type: smart
l SVLAN attribute: common
l CVLAN ID: 300
VLAN translation policy:
l ONT: VLANs are configured for the ONTs on the
same network in a unified manner, and the ONTs
have the same C-VLAN. The ONT adds a C-VLAN
tag to packets.
l OLT: translates the VLAN tag (C-VLAN <-> S-
VLAN).

Voice parameter IP address of the SIP server: 10.10.100.10/24


Port ID of the SIP server: 5060
Home domain name: huawei.com
User phone number 1: 77730010
User phone number 2: 77730020

Procedure
l Configure the OLT.
a. Configure a traffic profile.

Run the display traffic table ip command to query the existing traffic profiles in
the system. If the existing traffic profiles in the system do not meet the
requirements, run the traffic table ip command to add a traffic profile.

Set the profile name to ftth_voip and do not limit the upstream and downstream
rates. Set the priority to 5 and packets are scheduled according to the priority
carried.
huawei(config)#traffic table ip name ftth_voip cir off priority 5
priority-policy
local-setting

b. Configure the mapping relationship between a GEM port and a VLAN.

The service flow of user VLAN 300 is mapped to GEM port 12 in the ONT line
profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 12 2 vlan 300
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

c. Create a service VLAN and add an upstream port to it.

Add upstream port 0/9/0 to VLAN 200.


huawei(config)#vlan 200 smart
huawei(config)#port vlan 200 0/9 0

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 139


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

d. Create service flows.


Set the service VLAN to 200, GEM port ID to 12, and user VLAN to 300. Use
traffic profile ftth_voip.
huawei(config)#service-port vlan 200 gpon 0/1/0 ont 1 gemport 12 multi-
service
user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-
table name ftth_voip
huawei(config)#service-port vlan 200 gpon 0/1/0 ont 2 gemport 12 multi-
service
user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-
table name ftth_voip

e. Enable the ARP proxy function.


Voice media streams for different users of the same SVLAN fail to interchange
because the service ports of the smart VLAN are isolated from each other.
Therefore, the ARP proxy function needs to be enabled on the OLT.
huawei(config)#arp proxy enable
huawei(config)#interface vlanif 200
huawei(config-if-vlanif200)#arp proxy enable
huawei(config-if-vlanif200)#quit

f. Save the data.


huawei(config)#save

l Configure the ONT on the Web page.


a. Log in to the Web configuration page.
i. Configure the IP address of the PC network adapter to be in the same network
segment with the IP address of the local maintenance Ethernet port on the
ONT.
ii. Open the Web browser, and enter the IP address (https with high priority is
recommended) of the local maintenance Ethernet port on the ONT. In the login
window that is displayed, enter the user name and password of the
administrator. After the password is authenticated, the web configuration
window is displayed.
b. Optional: Configure the voice protocol.

NOTE

The default voice protocol is SIP. If the protocol is not changed, skip this step.
c. Configure parameters for the voice WAN interface.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 140


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

d. Configure parameters for the SIP-based voice interface.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 141


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

l The parameters of the SIP-based voice interface must be consistent with the corresponding
configuration on the softswitch.
l If dual-homing is configured, Address of the Standby Proxy Server must be configured.
l If Signaling Port is empty, the parameter value is the same as Media Port. If the upper-layer
network requires isolation of media streams from signaling streams, create different traffic
streams for the media streams and signaling streams on the OLT, create different WAN ports
on the ONT, and bind the created WAN ports to Media Port and Signaling Port. When the
packet is forwarded from two WAN ports, the configured VLAN is carried by default.
e. Check the registration status of the voice user.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 142


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

l Configure the ONT on the U2000.


a. Configure a general VAS profile for the ONT.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 143


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 144


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 145


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

b. Bind a general VAS profile.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 146


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

c. Configure the ONT VAS service.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 147


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

The parameters of the SIP-based voice user must be consistent with the corresponding
configuration on the softswitch.

----End

5.9 Configuring the SIP-based Voice Service (Through the


CLI)
The OLT manages ONTs and applies VoIP configurations to the ONT using the OMCI
protocol. This topic describes how to configure the SIP-based voice service.

Prerequisites
l The SIP interface data and POTS user configuration data corresponding to the MG
interface have been configured on the SIP server.
l The connection between the OLT and the SIP server is set up. The OLT can ping the IP
address of the SIP server successfully.
l The ONT has been added to the OLT. For details, see Adding an ONT to an OLT.
l Different voice services require different ONT software versions. Before the
configuration, ensure that the current ONT software version supports SIP. For details, see
relevant ONT manuals.
l The Web page and NMS window for configuring ONT varies with ONT versions, but
the parameter configuration is the same. For details, see relevant ONT manuals.

Data Plan
Item Data

ONT line profile Profile name: ftth


GEM port ID: 12

VLAN Plan Single VLAN tag:


l SVLAN ID: 200
l SVLAN type: smart
l SVLAN attribute: common
l CVLAN ID: 300
VLAN translation policy:
l ONT: VLANs are configured for the ONTs on the
same network in a unified manner, and the ONTs
have the same C-VLAN. The ONT adds a C-VLAN
tag to packets.
l OLT: translates the VLAN tag (C-VLAN <-> S-
VLAN).

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 148


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Item Data

Voice parameter IP address of the SIP server: 10.10.100.10/24


Port ID of the SIP server: 5060
Home domain name: huawei.com
User phone number 1: 77730010
User phone number 2: 77730020

Procedure
Step 1 Configure a traffic profile.
Run the display traffic table ip command to query the existing traffic profiles in the system.
If the existing traffic profiles in the system do not meet the requirements, run the traffic table
ip command to add a traffic profile.
Step 2 Configure the mapping relationship between a GEM port and a VLAN.
The service flow of user VLAN 300 is mapped to GEM port 12 in the ONT line profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 12 2 vlan 300
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

Step 3 Create a service VLAN and add an upstream port to it.


Add upstream port 0/9/0 to VLAN 200.
huawei(config)#vlan 200 smart
huawei(config)#port vlan 200 0/9 0

Step 4 Create service flows.


Set the service VLAN to 200, GEM port ID to 12, and user VLAN to 300. Use traffic profile
ftth_voip.
huawei(config)#service-port vlan 200 gpon 0/1/0 ont 1 gemport 12 multi-service
user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-table name
ftth_voip
huawei(config)#service-port vlan 200 gpon 0/1/0 ont 2 gemport 12 multi-service
user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-table name
ftth_voip

Step 5 Enable the ARP proxy function.


Voice media streams for different users of the same SVLAN fail to interchange because the
service ports of the smart VLAN are isolated from each other. Therefore, the ARP proxy
function needs to be enabled on the OLT.
huawei(config)#arp proxy enable
huawei(config)#interface vlanif 200
huawei(config-if-vlanif200)#arp proxy enable
huawei(config-if-vlanif200)#quit

Step 6 Configure ONT voice profiles.


ONT voice service configurations include the VoIP service provisioning mode, ONT voice
profiles, voice users, and voice-related parameters.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 149


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

ONT voice profiles include the common MG interface attribute profile, POTS port profile,
SIP service profile, SIP agent profile, digitmap profile, and voice signal profile.
l Common MG interface attribute profile: saves common attributes of an ONT voice
interface, including the fax mode, fax/modem negotiation mode, and priority of the
coding and decoding mode.
l POTS port profile: saves physical attributes of a POTS port on an ONT, including the
impedance, Tx gain, Rx gain, and signaling type of a POTS port.
l SIP service data profile: saves the data information about the ONT voice service,
including the rights of call waiting (CW), three-way calling (3WC), call transfer (CT),
and call hold (CH).
l SIP agent profile: saves the SIP agent information about an ONT, including the IP
address and domain name of the SIP agent server and attributes of media packets and
signaling packets.
l Digitmap profile: saves the digitmap information about an ONT, including the timeout
time of the digitmap timer and the digitmap format.
l Voice signal profile: saves the ONT signal tone and ringing tone.
Currently, the common MG interface attribute profile, POTS port profile, SIP service profile,
and SIP agent profile can be applied to an SIP interface, and the digitmap profile and voice
signal profile can be bound to an SIP interface.
For profiles that can be applied to an SIP interface, if parameters in those profiles are
changed, those profiles must be reapplied to the SIP interface so that the changed parameters
can take effect. For profiles that can be bound to an SIP interface, if parameters in those
profiles are changed, those profiles do not need to be rebound to the SIP interface and the
changed parameters can take effect.
1. Configure the VoIP service provisioning mode.
Run the ont voip config-method command to configure the VoIP service provisioning
mode. Run the display ont info command to query the mode of issuing VoIP services.
In this example, the mode is default, that is, the VoIP service provisioning mode is
depended on the actual service provisioning mode on the ONT. Run this command to
select a proper mode if the system supports multiple voice service provisioning modes.
The service provisioning modes can be OMCI, FTP, and TR069.
2. Configure and apply an MG interface public attribute profile.
In this example, the default profile 1 is used.
a. Configure an MG interface public attribute profile.
Run the display ont-mg-attribute-profile command to query the existing profile in
the system. If the existing profile in the system does not meet the requirements, run
the ont-mg-attribute-profile add command to add a profile.
b. Apply a common MG interface attribute profile.
Run the ont-if-sip bat-apply command to apply profiles in batches to SIP
interfaces and run the if-sip attribute command to apply a profile to an SIP
interface or configure customized parameters on an SIP interface. If you run these
two commands to apply profiles in batches or configure customized parameters
repeatedly, the last configurations take effect.
3. Configure and apply a POTS port profile.
In this example, the default profile 1 is used.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 150


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

a. Configure a POTS port profile.


Run the display ont-pots-profile command to query the existing profile in the
system. If the existing profile in the system does not meet the requirements, run the
ont-pots-profile add command to add a profile.
b. Apply a POTS port profile.
Run the ont-pstnport electric bat-apply command to apply POTS port profiles in
batches and run the pstnport electric command to apply a POTS port profile to an
SIP interface or configure customized parameters on an SIP interface. If you run
these two commands to apply profiles in batches or configure customized
parameters repeatedly, the last configurations take effect.
4. Configure the voice WAN port of the ONT.
For ONT 1 and ONT 2, configure the IP address obtaining mode to DHCP, set the
management VLAN to VLAN 300, and use default values for other parameters.
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#ont ipconfig 0 1 dhcp vlan 300
huawei(config-if-gpon-0/1)#ont ipconfig 0 2 dhcp vlan 300

5. Configure and apply an SIP agent profile.


a. Configure an SIP agent profile.
Run the display ont-sipagent-profile command to query the existing profile in the
system. If the existing profile in the system does not meet the requirements, run the
ont-sipagent-profile add command to add a profile.
Create SIP agent profile 2, set the IP address of the SIP server to 10.10.100.10, and
use default values for other parameters.
huawei(config)#ont-sipagent-profile add profile-id 2 proxy-server
10.10.100.10

b. Add an SIP interface and apply an SIP agent profile to the interface.
For ONT 1 and ONT 2, set the MG ID to 1, apply SIP agent profile 2 to ONT 1 and
ONT 2, and use default values for other parameters.
huawei(config-if-gpon-0/1)#if-sip add 0 1 1 sipagent-profile profile-id 2
huawei(config-if-gpon-0/1)#if-sip add 0 2 1 sipagent-profile profile-id 2

6. Add POTS users.


For ONT 1 and ONT 2, set the MG ID to 1 (identical to the MG ID of the added SIP
interface), create two POTS users named huawei1 and huawei2, set passwords to user1
and user2, set their phone numbers to 77730010 and 77730020 and use default values for
other parameters.
huawei(config-if-gpon-0/1)#sippstnuser add 0 1 1 mgid 1 username huawei1
telno 77730010
huawei(config-if-gpon-0/1)#sippstnuser add 0 2 1 mgid 1 username huawei2
telno 77730020

Run the display sippstnuser attribute command to check whether the configuration of
the POTS user is properly set.
huawei(config-if-gpon-0/1)#display sippstnuser attribute 0 1 1

------------------------------------------------------------------------------
F/S/P : 0/1/0
ONT ID : 1
Port ID : 1

MG ID : 1
Telephone NO. : 77730010
User name : huawei1

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 151


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Password : user1
...//The rest of the response information is omitted.

huawei(config-if-gpon-0/1)#display sippstnuser attribute 0 2 1

------------------------------------------------------------------------------
F/S/P : 0/1/0
ONT ID : 2
Port ID : 1

MG ID : 1
Telephone NO. : 77730020
User name : huawei2
Password : user2
...//The rest of the response information is omitted.

1. Configure and apply an SIP service profile.


In this example, the default profile 1 is used.
a. Configure an SIP service profile.
Run the display ont-siprightflag-profile command to query the existing profile in
the system. If the existing profile in the system does not meet the requirements, run
the ont-siprightflag-profile add command to add a profile.
b. Apply an SIP service profile.
Run the ont-sippstnuser bat-apply from command to apply profiles in batches to
SIP interfaces and run the sippstnuser rightflag command to apply a profile to a
SIP interface or configure customized parameters on a SIP interface. If you run
these two commands to apply profiles in batches or configure customized
parameters repeatedly, the last configurations take effect.
2. Configure and bind a digitmap profile.
In this example, the default profile 1 is used.
a. Configure a digitmap profile.
Run the display ont-digitmap-profile command to query the existing profile in the
system. If the existing profile in the system does not meet the requirements, run the
ont-digitmap-profile add command to add a profile.
b. Bind a digitmap profile.
Run the ont-sippstnuser bat-bind from command to apply profiles in batches to
SIP interfaces, or run the sippstnuser digitmap command to bind a profile to an
SIP interface. If you use these two commands to bind the profile to SIP ports
repeatedly, the last configurations take effect.
3. Configure and bind the voice signal profile.
In this example, the default profile 1 is used.
a. Configure the voice signal profile.
Run the display ont-voipsignal-profile command to query the existing profiles in
the system. If the existing profile in the system does not meet the requirement, run
the ont-voipsignal-profile command to add a profile.
b. Configure the ONT signal tone.
Run the display ont-tone command to query the existing configuration in the
system. If the existing configuration in the system does not meet the requirement,
run the ont-tone add command to add signal tone parameters. The ONT signal tone
will not be configured independently in this example.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 152


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

c. Configure ONT ringing parameters.


Run the display ont-ring command to query the existing configuration in the
system. If the existing configuration in the system does not meet the requirement,
run the ont-ring add command to add ringing parameters. The ONT ringing
parameter will not be configured independently in this example.
d. Run the commit command to save parameters of the voice signal profile to the
database.
e. Bind the voice signal profile.
Run the ont-voipsignal bat-bind command to bind voice signal profiles in batches
or run the voipsignal command to bind a voice signal profile to an ONT. If you run
these two commands to bind profiles in batches or bind a voice signal profile to an
ONT repeatedly, the last configurations take effect.
4. (Optional) Configure the SIP user codec.
Run the sippstnuser codec command to configure the SIP user codec. The SIP user
codec will not be configured independently in this example.
5. (Optional) Configure the global VoIP media attributes of the ONT.
Run the ont-voip-media attribute command to configure the global VoIP media
attributes of the ONT. Before configuration, ensure that the configured media attributes
are supported by the corresponding ONT. Otherwise, the ONT configuration will fail.
The global VoIP media attributes of the ONT will not be configured independently in
this example.
Step 7 Save the data.
huawei(config)#save

----End

5.10 Configuring the BTV Service (on the Web Page)


The OLT is connected to the remote gateway ONT through a GPON port to provide users
with the bridge WAN multicast service.

Prerequisites
l The OLT has been connected to the BRAS and the multicast source.
l The VLAN of the LAN switch port connected to the OLT is the same as the upstream
VLAN of the OLT.
l The ONT has been added to the OLT. For details, see Adding an ONT to an OLT.
l The Web page for configuring ONT varies with ONT versions, but the parameter
configuration is the same. For details, see relevant ONT manuals.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 153


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Data Plan

Table 5-1 Data plan


Item Data

ONT line profile Profile name: ftth


GEM port ID: 13

Traffic profile ID: 8


802.1p priority: 4
CIR: off (unlimited)
Priority-based scheduling policy: local-setting

VLAN Plan Single VLAN tag:


l SVLAN ID: 1000
l MVLAN ID: 1000
l VLAN type: smart
l VLAN attribute: common
VLAN translation policy:
l ONT: duplicates multicast packets based on user ports
and MVLANs are stripped off downstream.
l OLT: duplicates multicast packets based on PON ports
with MVLAN unchanged.

Multicast service data Multicast protocol: IGMP proxy


Multicast version: IGMPv2
Multicast program: dynamic obtaining mode

Procedure
Step 1 Configure the OLT.
1. Configure a traffic profile.
Set the profile name to ftth_iptv. Set the CIR to off (unlimited), priority to 4, and
priority-based scheduling policy to local-setting (that is, queues are scheduled based on
the priority specified in the profile).

NOTE
Run the display traffic table ip command to query the existing traffic profiles in the system. If the
existing traffic profiles in the system do not meet the requirements, run the traffic table ip command to
add a traffic profile.
huawei(config)#traffic table ip name ftth_iptv cir off priority 4 priority-
policy local-setting

2. Configure the mapping relationship between a GEM port and a VLAN.


The service flow of user VLAN 1000 is mapped to GEM port 13 in the ONT line profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 13 4 vlan 1000

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 154


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

3. Configure the VLAN of the Ethernet port on the ONT and the multicast forwarding
mode.
If the ONT is connected to the STB through Ethernet port 2, add Ethernet port 2 to
VLAN 1000. Configure the multicast forwarding mode is untagged.
huawei(config)#ont-srvprofile gpon profile-name ftth
huawei(config-gpon-srvprofile-1)#port vlan eth 2 1000
huawei(config-gpon-srvprofile-1)#multicast-forward untag
huawei(config-gpon-srvprofile-1)#commit
huawei(config-gpon-srvprofile-1)#quit

4. Create a service VLAN and add an upstream port to it.


Add upstream port 0/9/0 to VLAN 1000.
huawei(config)#vlan 1000 smart
huawei(config)#port vlan 1000 0/9 0

5. Create service flows.


Set the service VLAN to 1000, GEM port ID to 13, and user VLAN to 1000, and use
traffic profile ftth_iptv.
huawei(config)#service-port 1 vlan 1000 gpon 0/1/0 ont 1 gemport 13 multi-
service
user-vlan 1000 inbound traffic-table name ftth_iptv outbound traffic-table
name ftth_iptv
huawei(config)#service-port 2 vlan 1000 gpon 0/1/0 ont 2 gemport 13 multi-
service
user-vlan 1000 inbound traffic-table name ftth_iptv outbound traffic-table
name ftth_iptv

6. Create an MVLAN and configure the IGMP version.


Set the IGMP version for the MVLAN to IGMPv2.
huawei(config)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp version v2
This operation will delete all IPv4 programs with source IP addresses in the
current multicast VLAN
Are you sure to change current IGMP version? (y/n)[n]:y
Command is being executed. Please wait...
Command has been executed successfully

7. Configure a program library.


Set the mode for obtaining multicast programs to dynamic.
NOTE

You can set the mode for obtaining multicast programs to dynamic only when the IGMP mode is off.
huawei(config-mvlan1000)#igmp mode off
Are you sure to close IGMP? (y/n)[n]:y
Command is being executed. Please wait...
Command has been executed successfully

huawei(config-mvlan1000)#igmp match mode disable


Command has been executed successfully

(Optional) Set the address range for the dynamic programs. If you need to limit the
address range of dynamic programs, perform this operation. For example, set the address
range of dynamic programs to 224.1.1.1-224.1.1.100.
huawei(config-mvlan1000)#igmp match group ip 224.1.1.1 to-ip 224.1.1.100

8. Set the IGMP mode.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 155


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Select the IGMP proxy mode.


huawei(config-mvlan1000)#igmp mode proxy
Are you sure to change IGMP mode? (y/n)[n]:y
Command is being executed. Please wait...
Command has been executed successfully

9. (Optional) Configure the IGMP upstream port.


In this example, the IGMP upstream port uses default value default.
Run the display igmp config global command to query the IGMP upstream port mode.
If this mode does not meet the requirement, run the igmp uplink-port-mode command
to configure it.
10. Configure multicast users.
Add service ports 1 and 2 as multicast users.
huawei(config-mvlan1000)#btv
huawei(config-btv)#igmp user add service-port 1
huawei(config-btv)#igmp user add service-port 2
huawei(config-btv)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp multicast-vlan member service-port 1
huawei(config-mvlan1000)#igmp multicast-vlan member service-port 2
huawei(config-mvlan1000)#quit

11. Save the data.


huawei(config)#save

Step 2 Configure the ONT on the Web page.


1. Configure the working mode of a LAN port.
The LAN port bound to the WAN port must work in the Layer 3 mode. Therefore, set the
working mode to Layer 3 for the LAN port connected to the PC.

2. Configure parameters of a WAN port.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 156


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

If Service Type is set to IPTV or a type containing IPTV, this WAN port does not need to be bound to a
LAN port.
3. Check the ONT connection status.

----End

5.11 Configuring the VoD Service (on the Web Page)


The OLT is connected to the remote gateway ONT through a GPON port to provide users
with the VoD service.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 157


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Prerequisites
l The iTMS has configured the IPTV WAN ports on the ONT.
l The OLT has been connected to the BRAS and the program source.
l The VLAN of the LAN switch port connected to the OLT is the same as the upstream
VLAN of the OLT.
l The ONT has been added to the OLT. For details, see Adding an ONT to an OLT.
l The Web page for configuring ONT varies with ONT versions, but the parameter
configuration is the same. For details, see relevant ONT manuals.

Data Plan
Item Data

ONT line profile Profile name: ftth


GEM port ID: 13

Traffic profile ID: 8


802.1p priority: 4
CIR: off (unlimited)
Priority-based scheduling policy: local-setting

VLAN Plan Single VLAN tag:


l SVLAN ID: 1000
l VLAN type: smart
l VLAN attribute: common
l CVLAN: 2001
VLAN translation policy:
l The ONT adds CVLAN tags (configured on the iTMS)
to packets: untag<->C.
l The OLT implements VLAN translation: C<->S.

Procedure
Step 1 Configure the OLT.
1. Configure a traffic profile.
Set the profile name to ftth_iptv. Set the CIR to off (unlimited), priority to 4, and
priority-based scheduling policy to local-setting (that is, queues are scheduled based on
the priority specified in the profile).

NOTE
Run the display traffic table ip command to query the existing traffic profiles in the system. If the
existing traffic profiles in the system do not meet the requirements, run the traffic table ip command to
add a traffic profile.
huawei(config)#traffic table ip name ftth_iptv cir off priority 4 priority-
policy local-setting

2. Configure the mapping relationship between a GEM port and a VLAN.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 158


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

The service flow of user VLAN 1000 is mapped to GEM port 13 in the ONT line profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 13 4 vlan 1000
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

3. Configure the VLAN of the Ethernet port on the ONT.


If the ONT is connected to the STB through Ethernet port 2, add Ethernet port 2 to
VLAN 1000.
huawei(config)#ont-srvprofile gpon profile-name ftth
huawei(config-gpon-srvprofile-1)#port vlan eth 2 1000
huawei(config-gpon-srvprofile-1)#commit
huawei(config-gpon-srvprofile-1)#quit

4. Create a service VLAN and add an upstream port to it.


Add upstream port 0/9/0 to VLAN 1000.
huawei(config)#vlan 1000 smart
huawei(config)#port vlan 1000 0/9 0

5. Create service flows.


Create service flows. Set the S-VLAN to 1000, GEM port ID to 13, and C-VLAN to
2001, and use traffic profile ftth_iptv. Set the VLAN translation policy to Translate. The
C-VLAN 2001 of the ONT is translated to S-VLAN 1000.
huawei(config)#service-port vlan 1000 gpon 0/1/0 ont 1 gemport 13 multi-
service user-vlan 2001
tag-transform translate inbound traffic-table name ftth_iptv outbound traffic-
table name ftth_iptv
huawei(config)#service-port vlan 1000 gpon 0/1/0 ont 2 gemport 13 multi-
service user-vlan 2001
tag-transform translate inbound traffic-table name ftth_iptv outbound traffic-
table name ftth_iptv

6. Save the data.


huawei(config)#save

Step 2 Configure the ONT on the Web page.


1. Configure the working mode of a LAN port.
The LAN port bound to the WAN port must work in the Layer 3 mode. Therefore, set the
working mode to Layer 3 for the LAN port connected to the PC.

2. Configure parameters of a WAN port.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 159


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

NOTE

If Service Type is set to IPTV or a type containing IPTV, this WAN port does not need to be bound to a
LAN port.
3. Check the ONT connection status.

----End

5.12 Configuring the CATV Service


The OLT is connected to the remote ONT through a GPON port to provide users with the
CATV service.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 160


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Prerequisites
l The ONT is added to the OLT. For details, see Adding an ONT to an OLT.
l The ONT supports the CATV function.

Context
The optical transmitter at the CO end converts CATV signals to 1550 nm optical signals.
After being amplified by the built-in optical amplifier inside the EDFA integrated device, the
built-in WDM1r module multiplexes the 1550 nm optical signals and data optical signals for
transmission. The CATV receiver on the user side or the ONT supporting CATV reception
then restore 1550 nm optical signals to CATV video signals, as shown in the following figure.
NOTE
As shown in the figure, the EDFA is an integrated device supporting amplifying and multiplexing, which
integrates optical amplifiers and WDM1r modules.

On the OLT side, enable ONT CATV (which is enabled by default). On the ONT side, no
other configurations are required.

Procedure
Step 1 (Optional) Enable ONT CATV.
The port is enabled by default.
huawei(config)#ont port attribute catv default-operational-state on

----End

5.13 Configuring Any Port Any Service (on the Web Page)
The OLT can connect a remote ONT through the GPON interface. This topic describes how to
configure the function of any port any service.

Prerequisites
l The OLT is connected to the BRAS.
l Related configurations are performed on the BRAS according to the authentication and
accounting requirements for dialup users. For details about the configuration, see the
configuration guide.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 161


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

l The ONT has been added to the OLT. For details, see en-us_task_0167619712.xml.
l The VLAN of the LAN switch port connected to the OLT is consistent with the upstream
VLAN of the OLT.

Data Plan
Item Service Type Data

ONT line profile Internet access Profile name: ftth


T-CONT ID: 4
GEM port ID for Internet access service:
14

Multicast service Profile name: ftth


T-CONT ID: 4
Multicast access service: 13

Traffic profile Internet access l Profile name: ftth_hsi


l 802.1p priority: 0
l Upstream and downstream bandwidth:
4 Mbit/s
l Priority-based scheduling policy: local-
setting

Multicast service l ID: 8


l 802.1p priority: 4
l CIR: off (unlimited)
l Priority-based scheduling policy: local-
setting

VLAN Plan Internet access Double-tagged VLAN:


l S-VLAN ID: 100
l S-VLAN type: smart
l S-VLAN attribute: stacking
l CVLAN ID: 1001
l C'-VLAN ID: 1010-1011
VLAN Translation Policy:
l ONT: ONTs configure the VLAN and
add the same C-VLAN tag to packets.
All ONTs are in the same C-VLAN.
l OLT: The OLT performs VLAN
translation: C<->S+C'. The C'-VLAN
of every ONT differs from each other.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 162


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Item Service Type Data

Multicast service Single VLAN tag:


l SVLAN ID: 1000
l MVLAN ID: 1000
l CVLAN ID:1000
l VLAN type: smart
l VLAN attribute: common
VLAN translation policy:
l ONT: duplicates multicast packets
based on user ports and MVLANs are
stripped off downstream.
l OLT: duplicates multicast packets
based on PON ports with MVLAN
unchanged.

Procedure
l Configure the OLT.
a. Configure a traffic profile.
Run the display traffic table ip command to query existing traffic profiles in the
system. If the traffic profiles existing in the system do not meet the requirements,
you need to run the traffic table ip command to add a traffic profile.
Set the name to ftth_hsi for the traffic profile of the Internet access service, the CIR
to 4 Mbit/s, and the priority to 0. In addition, configure the scheduling mode so that
packets are scheduled according to their priorities.
huawei(config)#traffic table ip name ftth_hsi cir 4096 priority 0
priority-policy local-setting

Configure traffic profile 8 for the multicast service. Set the CIR to off (unlimited),
priority to 4, and priority-based scheduling policy to local-setting (that is, queues
are scheduled based on the priority specified in the profile).
huawei(config)#traffic table ip index 8 cir off priority 4 priority-
policy local-setting

b. Configure the mapping relationship between a GEM port and a VLAN.


The service flow of user VLAN 1001 is mapped to GEM port 14 in the ONT line
profile. Map the service flows of user VLAN 1000 to the GEM port with index 13.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 14 0 vlan 1001
huawei(config-gpon-lineprofile-1)#gem mapping 13 4 vlan 1000
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

NOTE

Do not configure the port VLAN or native VLAN of an ONT port.


c. Create a service VLAN and add an upstream port to it.
Add upstream port 0/9/0 to VLAN 100 and 1000.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 163


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

huawei(config)#vlan 100,1000 smart


huawei(config)#vlan attrib 100 stacking
huawei(config)#port vlan 100,1000 0/9/0 0

d. Create service flows.


For the Internet access service, set the service VLAN to 100, GEM port ID to 14,
and user VLAN to 1001. Use traffic profile ftth_hsi.
huawei(config)#service-port 1 vlan 100 gpon 0/1/0 ont 1 gemport 14 multi-
service
user-vlan 1001 tag-transform translate-and-add inner-vlan 1010 inbound
traffic-table name
ftth_hsi outbound traffic-table name ftth_hsi

For the multicast service, set the service VLAN to 1000, GEM port ID to 13, and
user VLAN to 1000, and use traffic profile 8.
huawei(config)#service-port 2 vlan 1000 gpon 0/1/0 ont 1 gemport 13
multi-service
user-vlan 1000 rx-cttr 8 tx-cttr 8

e. Create an MVLAN and configure the IGMP version.


Set the IGMP version for the MVLAN to IGMPv2.
huawei(config)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp version v2
This operation will delete all IPv4 programs with source IP addresses
in the
current multicast VLAN
Are you sure to change current IGMP version? (y/n)[n]:y
Command is being executed. Please wait...
Command has been executed successfully

f. Configure a program library.


Set the mode for obtaining multicast programs to dynamic.
NOTE

You can set the mode for obtaining multicast programs to dynamic only when the IGMP mode is
off.
huawei(config-mvlan1000)#igmp mode off
Are you sure to close IGMP? (y/n)[n]:y
Command is being executed. Please wait...
Command has been executed successfully

huawei(config-mvlan1000)#igmp match mode disable


Command has been executed successfully

(Optional) Set the address range for the dynamic programs. If you need to limit the
address range of dynamic programs, perform this operation. For example, set the
address range of dynamic programs to 224.1.1.1-224.1.1.100.
huawei(config-mvlan1000)#igmp match group ip 224.1.1.1 to-ip 224.1.1.100

g. Set the IGMP mode.


Select the IGMP proxy mode.
huawei(config-mvlan1000)#igmp mode proxy
Are you sure to change IGMP mode? (y/n)[n]:y
Command is being executed. Please wait...
Command has been executed successfully

h. (Optional) Configure the IGMP upstream port.


In this example, the IGMP upstream port uses default value default.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 164


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Run the display igmp config global command to query the IGMP upstream port
mode. If this mode does not meet the requirement, run the igmp uplink-port-mode
command to configure it.
i. Configure multicast users.
Add service port 2 as multicast users.
huawei(config-btv)#igmp user add service-port 2
huawei(config-btv)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp multicast-vlan member service-port 2
huawei(config-mvlan1000)#quit

j. Save the data.


huawei(config)#save

l Configure the ONT on the web page.


a. Log in to the Web configuration page.
i. Configure the IP address of the PC network adapter to be in the same network
segment with the IP address of the local maintenance Ethernet port on the
ONT.
ii. Open the Web browser, and enter the IP address (https with high priority is
recommended) of the local maintenance Ethernet port on the ONT. In the login
window that is displayed, enter the user name and password of the
administrator. After the password is authenticated, the web configuration
window is displayed.
b. Configure the working mode of a LAN port.
The function of any port any service requires that all LAN ports work in Layer 3
mode. Set LAN ports to Layer 3 mode.

c. Configure parameters of a WAN port.


NOTE

Do not bind WAN ports and LAN ports during the configuration of any port any service.

WAN configuration for the Internet access service

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 165


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

WAN configuration for the multicast service

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 166


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

d. Configure a static route for the multicast service.

e. Check the ONT connection status.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 167


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

----End

Result
The ONT can connect to the Internet access service or Multicast service through any LAN
port.

5.14 Configuring Link Aggregation, Congestion Control,


and Security Policies
The global configuration of link aggregation and queue scheduling based on priorities ensures
service reliability. The global configuration of security policies ensures service security.

Context
Link aggregation provides a higher bandwidth and uplink reliability for optical line terminals
(OLTs) by aggregating multiple uplink Ethernet ports to one link aggregation group (LAG).
Congestion control places the packets to be sent from a port into multiple queues that are
marked with different priorities. Then, the packets are sent based on queue priorities.
Security policies ensure system, user, and service security.
NOTE
Enable a service security function based on the service type. For details, see 2.6 Principle of Security Data
Plan.

Procedure
l Configure link aggregation.
The following configurations are used as an example to configure link aggregation:
– Uplink ports 0/9/0 and 0/9/1 are added to a LAG.
– The two ports send packets upstream based on the packets' source MAC addresses.
– The LAG works in Link Aggregation Control Protocol (LACP) static aggregation
mode.
huawei(config)#link-aggregation 0/9 0-1 ingress workmode lacp-static

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 168


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

l Configure queue scheduling.


According to quality of service (QoS) planning principles, all packets are scheduled in
strict priority (SP) mode and mapped to queues according to the packets' priorities. For
details about QoS planning principles, see 2.2 Principle of QoS Planning.
huawei(config)#queue-scheduler strict-priority
huawei(config)#cos-queue-map cos0 0 cos4 4 cos5 5 cos6 6

l Configure system security.


– Enable deny of service (DoS) anti-attack on the OLT.
i. Run the security anti-dos enable command to globally enable DoS anti-
attack.
ii. Run the security anti-dos control-packet policy command to configure a
protocol packet processing policy that will be used when a DoS attack occurs.
iii. Run the security anti-dos control-packet rate command to configure the
threshold for the rate of sending protocol packets to the CPU.
– Enable IP address anti-attack on the OLT.
Run the security anti-ipattack enable command to enable IP address anti-attack.
l Configure user security.
– Enable MAC address anti-flapping on the OLT.
Run the security anti-macduplicate enable command to enable MAC address anti-
flapping.
– Enable MAC address anti-spoofing on the OLT.
i. In global config mode, run the security anti-macspoofing enable command to
globally enable MAC address anti-spoofing.
ii. Enable MAC address anti-spoofing at VLAN level in global config mode or
service profile mode:
1) In global config mode, run the security anti-macspoofing vlan
command to enable MAC address anti-spoofing.
2) In global config mode, run the vlan service-profile command to create a
VLAN service profile.
3) Perform the following operations to enable MAC address anti-spoofing in
VLAN service profile mode:
1) Run the security anti-macspoofing enable command to enable
MAC address anti-spoofing at VLAN level.
2) Run the commit command to make the profile configuration take
effect.
3) Run the quit command to quit the VLAN service profile mode.
4) Run the vlan bind service-profile command to bind the created
VLAN service profile to a VLAN.
iii. (Optional) Run the security anti-macspoofing max-mac-count command to
set the maximum number of MAC addresses that can be bound to a service
flow.
iv. (Optional) Run the security anti-macspoofing exclude command to configure
the types of packets for which MAC address anti-spoofing does not take effect,
such as Internet Group Management Protocol (IGMP) packets.
– Enable IP address anti-spoofing on the OLT.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 169


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

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


and service port levels. This function takes effect only after it is enabled at the three
levels. Among the three levels, IP address anti-spoofing is disabled only at the
global level by default.
i. In global config mode, run the security anti-ipspoofing enable command to
enable IP address anti-spoofing at the global level.
ii. In VLAN service profile mode, run the security anti-ipspoofing enable
command to enable IP address anti-spoofing at the VLAN level.
iii. Run the security anti-ipspoofing service-port serviceport-id enable
command to enable IP address anti-spoofing at the service port level.
l Configure service security.
– Enable Dynamic Host Configuration Protocol (DHCP) Option 82 on the OLT. This
configuration is recommended for the DHCP-based Internet access service.
i. Enable DHCP Option 82 on the OLT.
DHCP Option 82 can be enabled or disabled at four levels: global, port,
VLAN, and service port levels. This function takes effect only after it is
enabled at the four levels. Among the four levels, DHCP Option 82 is disabled
only at the global level by default.
○ The global level: In global config mode, run the dhcp option82
command to enable DHCP Option 82 at the global level.
When you run this command, select the enable, forward, or rebuild
parameter based on site requirements. The three parameters can all enable
DHCP Option 82 but provide different packet processing policies on the
OLT. For details, see the dhcp option82 command.
○ The port level: In global config mode, run the dhcp option82 port or
dhcp option82 board command to enable DHCP Option 82 at the port
level.
○ The VLAN level:
1) In global config mode, run the vlan service-profile command to
create a VLAN service profile.
2) Run the dhcp option82 enable command to enable DHCP Option
82 at the VLAN level.
3) Run the commit command to make the profile configuration take
effect.
4) Run the quit command to quit the VLAN service profile mode.
5) Run the vlan bind service-profile command to bind the created
VLAN service profile to a VLAN.
○ The service port level: In global config mode, run the dhcp option82
service-port command to enable DHCP Option 82 at the service port
level.
ii. On the OLT, run the dhcp-option82 permit-forwarding service-port
command with the enable parameter selected, to allow ONT DHCP packets to
carry Option 82 information.
– Enable Policy Information Transfer Protocol (PITP) on the OLT. This configuration
is recommended for the PPPoE-based Internet access service.
i. Enable PITP on the OLT.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 170


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

PITP can be enabled or disabled at four levels: global, port, VLAN, and
service port levels. This function takes effect only after it is enabled at the four
levels. Among the four levels, PITP is disabled only at the global level by
default.
○ The global level: In global config mode, run the pitp enable pmode, pitp
forward pmode, or pitp rebuild pmode command to enable PITP at the
global level.
In the preceding commands, the enable, forward, and rebuild
parameters can all enable PITP but provide different packet processing
policies on the OLT. Select one of them based on site requirements. For
details, see the pitp command.
○ The port level: In global config mode, run the pitp port or pitp board
command to enable PITP at the port level.
○ The VLAN level:
1) In global config mode, run the vlan service-profile command to
create a VLAN service profile.
2) Run the pitp enable command to enable PITP at the VLAN level.
3) Run the commit command to make the profile configuration take
effect.
4) Run the quit command to quit the VLAN service profile mode.
5) Run the vlan bind service-profile command to bind the created
VLAN service profile to a VLAN.
○ The service port level: In global config mode, run the pitp service-port
command to enable PITP at the service port level.
ii. On the OLT, run the pitp permit-forwarding service-port command with the
enable parameter selected, to allow ONT PPPoE packets to carry a vendor tag.
----End

5.15 Verifying Services


In the FTTH scenario, ONTs are installed in users' houses which are far away from the central
equipment room. ONTs provide remote service verification methods including PPPoE dialup
emulation, call emulation, and multicast emulation to facilitate configuration and
commissioning engineers to verify services remotely after service configuration.

Prerequisites
ONTs and upper-layer devices have been connected properly. The BRAS and MGC/IMS have
been configured.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 171


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Background
Remote Function Description
Service
Verificati
on
Method

PPPoE An ONT simulates a PPPoE user l PPPoE dialup emulation requires a


dialup terminal software to perform service flow which does not belong to
emulation dialup and interact with the a QinQ VLAN.
BRAS to verify the connectivity l A user name, password, and
between the ONT and BRAS. authentication mode must be
configured on the BRAS for the
PPPoE dialup emulation.
l An ONT supports a maximum of a
PPPoE dialup emulation.

Call An ONT simulates a voice user l An ONT can simulate a caller or


Emulation to make a call to check whether callee to communicate with a phone
the voice service data is in a call. In this case, only a
correctly configured. You can functional phone is required in the
also use the call emulation central office where the acceptance
function to locate a fault when personnel is.
the voice service is faulty. l An ONT supports a maximum of a
call emulation.

Multicast This function enables you to Multicast services configured in the


emulation simulate a multicast user going dynamic controllable multicast mode do
online and lead the program not support this function.
stream to an ONT. You can
check whether the multicast
service is normal by checking
the real-time traffic of the
multicast program.

Data plan
Item Data Remarks

PPPoE PPPoE user name: test@huawei The user name, password, and
dialup Password: test1234 authentication mode for the emulation
emulation test must be configured on the BRAS.
parameters The entered user name, password, and
authentication mode must be consistent
with those configured on the BRAS.

Call ONT POTS ID: 1 The default values are used. You can run
emulation the display pots emulational
parameters configuration command to check the
parameter values.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 172


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

Item Data Remarks

Multicast Multicast service flow ID: 1 -


emulation MVLAN: 1000
parameters
IP address of the multicast
program: 224.1.1.10

Procedure
l Verify the Internet access service using PPPoE dialup emulation.
a. In the xPON board mode, run the pppoe simulate start command to start a PPPoE
dialup emulation test. The following test uses GPON as an example:
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#pppoe simulate start
{ portid<U><0,7> }:0
{ ontid<U><0,127> }:1
{ eth<K>|untagged<K>|vlanid<U><0,4095> }:eth
{ ont-portid<U><1,8> }:4
{ untagged<K>|vlanid<U><0,4095> }:100
{ priority<U><0,7>|user-name<K> }:user-name
{ username<S><Length 1-64> }:test@huawei
{ user-password<K> }:user-password
{ password<S><Length 1-64> }:test1234
{ authentication-mode<K> }:authentication-mode
{ protocol<E><chap,pap> }:chap

Command:
pppoe simulate start 0 1 eth 4 100 user-name test@huawei user-
password
test authentication-mode chap

huawei(config-if-gpon-0/1)#
----------------------------------
ONT PPPoE Test Result
----------------------------------
F/S/P : 0/1/0
ONT-ID : 1
ONT ETH Port ID : 4
ONT Vlan ID : 100
Vlan Priority : -
Emluator result : Success
Session ID : 18814
User IP : 192.168.100.101
Gateway IP : 192.168.100.1
----------------------------------

l Troubleshooting methods for the Internet access service


a. Check whether configurations are complete on the OLT.
n Run the display ont info command to query the ONT status to check whether
the ONT is registered successfully.
n Run the display service-port command to check whether the Internet access
service flow is configured and whether the inner VLAN ID of the service flow
is consistent with that in the data plan.
n If a native VLAN is configured for the Ethernet port on the ONT, run the
display ont port attribute command in the xPON board mode to check
whether the native VLAN is correct.
b. Check the upstream and downstream ports by checking the MAC address learning
status.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 173


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

i. Run the display mac-address vlan command to check the MAC address
learning status of the Internet service VLAN.
○ If the upstream port does not learn a MAC address, check the network
connections between the upstream port and upper-layer devices and check
the configurations of upper-layer devices.
○ If the downstream port does not learn a MAC address, check whether the
ONT is activated, whether the PC is connected to the right port on the
ONT, and whether the PC is working properly.
ii. Run the display ont-learned-mac command to check whether the ONT
connecting to the PON port learned any MAC addresses.
If not, check whether the ONT properly connects to the PC or home gateway
(HGW).
l Verify the voice service using call emulation.
a. Run the ont emulational call command to configure a call emulation test.
huawei(config)#test
huawei(config-test)#ont emulational call caller-port 0/1/0 1 1 telno
77730020
{ <cr>|caller-stop-time<K> }:

Command:
ont emulational call caller-port 0/1/0 1 1 telno 77730020

b. The ONT outputs the call emulation result after the test is complete.
huawei(config-test)#
----------------------------------------------------------------
F/S/P : 0/1/0
ONT-ID : 0
ONT-POTSID : 1
Test type : caller emulational call test
Detected number : 77730020
Reported number : 77730020
Current status : test end
Test Result : success
----------------------------------------------------------------

l Troubleshooting methods for the voice service.


a. Check whether configurations are complete on the OLT.
n Run the display ont info command to query the ONT status to check whether
the ONT is registered successfully.
n Run the display service-port command to check whether the voice service
flow is configured and whether the inner VLAN ID of the service flow is
consistent with that in the data plan.
b. Check the upstream and downstream ports by checking the MAC address learning
status.
Run the display mac-address vlan command to check the MAC address learning
status of the voice service VLAN.
n If the upstream port does not learn a MAC address, check the network
connections between the upstream port and upper-layer devices and check the
configurations of upper-layer devices.
n If the downstream port does not learn a MAC address, check whether the ONT
is activated and whether physical links are normal.
n If both the upstream and downstream ports can learn the MAC address, record
the MAC address of the ONT and log in to the service router (SR) to check
whether an IP address is allocated to the MAC address.

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 174


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

c. Check the registration status of the voice service.


n You can run the display ont port state command on the OLT to query the call
connection status on the POTS port. If Call State is RegisterFail or
Connecting for a long time, check whether the voice configuration on the
MGC/SIP server is consistent with that on the ONT.
n If the ONT uses the H.248 protocol, you can run the display ont mg status
command on the OLT to query the registration status of the MG interface that
connects to the ONT. If MG Status is UnRegistered or Registering for a long
time, check whether the voice configuration on the MGC/SIP server is
consistent with that on the ONT.
n You can query the registration status of the voice service on the ONT web
page. If the query result shows that the registration fails or the voice service is
in the registering state for a long time, check whether the voice configuration
on the MGC/SIP server is consistent with that on the ONT.
l Verify the multicast service using multicast emulation.
a. Run the igmp static-join command to simulate a multicast user to order a multicast
program.
huawei(config)#btv
huawei(config-btv)#igmp static-join service-port 1 ip 224.1.1.10 vlan
1000

NOTE
If the multicast program is obtained dynamically, igmp static-join can be executed successfully
only when the range for obtaining the dynamic program is set.
b. Run the display igmp user command to query the status of the multicast user.
huawei(config-btv)#display igmp user service-port 1
User : 0/1/0/1
State : online
Authentication : no-auth
Quick leave : MAC-based
IGMP flow ID : 1
Video flow ID : 1
Log switch : enable
Bind profiles : -
IGMP version : IGMP v3
Current version : IGMP v3
Current IGMP IPv6 version : IGMP IPv6 v2
Available programs : 8
Global leave : disable
User max bandwidth : no-limit
Used bandwidth(kbps) : 0
Used bandwidth
to max bandwidth(%) : -
Total video bandwidth : -
Mcast video bandwidth : -
Active program list

-------------------------------------------------------------------------
--
Program name VLAN IP/MAC State Start time

-------------------------------------------------------------------------
--
PROGRAM-5 1000 224.1.1.10 watching 2011-10-29
16:33:41+08:00

-------------------------------------------------------------------------
--
Total: 1

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 175


SingleFAN Solution 5 Gateway ONT Network Scenario (GPON/XG-PON/XGS-
FTTH Configuration Guide PON Networking)

c. Run the display multicast flow-statistic command to query the real-time traffic of
the multicast program.
huawei(config-btv)#display multicast flow-statistic vlan 1000 ip
224.1.1.10
{ <cr>|sourceip<K> }:

Command:
display multicast flow-statistic vlan 1000 ip 224.1.1.10
Command is being executed. Please wait...
Multicast flow statistic result: 8736(kbps)

----End

Issue 04 (2019-05-08) Copyright © Huawei Technologies Co., Ltd. 176

You might also like