Gateway ONT Network Scenario (GPON/XG-PON/XGS-PON Networking)
Gateway ONT Network Scenario (GPON/XG-PON/XGS-PON Networking)
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)
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.
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.
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)
Data Plan
Item Data
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.
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.
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
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
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.
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
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.
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
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
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 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
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
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.
NOTE
The User Name and Password must be the same as those configured on the BRAS.
----End
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
Item Data
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
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.
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.
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
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
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
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
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
NOTE
The default voice protocol is SIP. Therefore, change the voice protocol first.
c. Configure parameters for the voice WAN interface.
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.
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.
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
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
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
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
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
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.
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.
------------------------------------------------------------------------------
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.
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
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
Item Data
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
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
NOTE
The default voice protocol is SIP. If the protocol is not changed, skip this step.
c. Configure parameters for the voice WAN interface.
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.
NOTE
The parameters of the SIP-based voice user must be consistent with the corresponding
configuration on the softswitch.
----End
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
Item Data
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
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.
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
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
Password : user1
...//The rest of the response information is omitted.
------------------------------------------------------------------------------
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.
----End
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.
Data Plan
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
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
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
(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
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
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
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
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
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
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.
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
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
NOTE
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
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
(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
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
Do not bind WAN ports and LAN ports during the configuration of any port any service.
----End
Result
The ONT can connect to the Internet access service or Multicast service through any LAN
port.
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
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
Prerequisites
ONTs and upper-layer devices have been connected properly. The BRAS and MGC/IMS have
been configured.
Background
Remote Function Description
Service
Verificati
on
Method
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.
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
----------------------------------
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
----------------------------------------------------------------
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
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