You are on page 1of 34

Quidway S9300 Terabit Routing Switch

V100R006C00

Configuration Guide - EPON

Issue 03
Date 2012-07-20

HUAWEI TECHNOLOGIES CO., LTD.


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

Trademarks and Permissions

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

Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or representations
of any kind, either express or implied.

The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute the warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.


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

Website: http://www.huawei.com
Email: support@huawei.com

Issue 03 (2012-07-20) Huawei Proprietary and Confidential i


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON About This Document

About This Document

Intended Audience
This document provides the basic concepts, configuration procedures, and configuration
examples in different application scenarios of the EPON supported by the S9300.

This document describes how to configure the EPON.

This document is intended for:

l Data configuration engineers


l Commissioning engineers
l Network monitoring engineers
l System maintenance engineers

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

Symbol Description

Indicates a hazard with a high level of risk, which if not


avoided, will result in death or serious injury.
DANGER

Indicates a hazard with a medium or low level of risk, which


if not avoided, could result in minor or moderate injury.
WARNING

Indicates a potentially hazardous situation, which if not


avoided, could result in equipment damage, data loss,
CAUTION
performance degradation, or unexpected results.
TIP Indicates a tip that may help you solve a problem or save
time.

NOTE Provides additional information to emphasize or supplement


important points of the main text.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential ii


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON About This Document

Command Conventions
The command conventions that may be found in this document are defined as follows.

Convention Description

Boldface The keywords of a command line are in boldface.

Italic Command arguments are in italics.

[] Items (keywords or arguments) in brackets [ ] are optional.

{ x | y | ... } Optional items are grouped in braces and separated by


vertical bars. One item is selected.

[ x | y | ... ] Optional items are grouped in brackets and separated by


vertical bars. One item is selected or no item is selected.

{ x | y | ... }* Optional items are grouped in braces and separated by


vertical bars. A minimum of one item or a maximum of all
items can be selected.

[ x | y | ... ]* Optional items are grouped in brackets and separated by


vertical bars. Several items or no item can be selected.

&<1-n> The parameter before the & sign can be repeated 1 to n times.

# A line starting with the # sign is comments.

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

Changes in Issue 03 (2012-07-20)


Based on issue 02 (2011-07-15), the document is updated as follows:
Minor mistakes are modified.

Changes in Issue 02 (2011-07-15)


Based on issue 01 (2011-05-20), the document is updated as follows:
l Some contents are modified according to updates in the product such as features and
commands.
l Output information of some commands is modified.
l Some figures are optimized.

Changes in Issue 01 (2011-05-20)


Initial commercial release.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential iii


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON Contents

Contents

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


1 EPON Access Configuration.......................................................................................................1
1.1 EPON Overview.................................................................................................................................................2
1.2 EPON Features Supported by the S9300............................................................................................................2
1.3 Configuring the EPON Access Service..............................................................................................................3
1.3.1 Establishing the Configuration Task.........................................................................................................3
1.3.2 Configuring a Line Profile.........................................................................................................................4
1.3.3 (Optional) Configuring a DBA Profile......................................................................................................5
1.3.4 (Optional) Configuring a Service Profile..................................................................................................6
1.3.5 (Optional) Configuring an SNMP Profile.................................................................................................6
1.3.6 (Optional) Setting the OUI of the OLT.....................................................................................................7
1.3.7 Adding ONUs............................................................................................................................................7
1.3.8 (Optional) Setting the Aging Time of Discovered ONUs.........................................................................8
1.3.9 (Optional) Modifying the ONU Information.............................................................................................9
1.3.10 (Optional) Deactivating an ONU.............................................................................................................9
1.3.11 (Optional) Clearing the ONU Information in the Buffer.......................................................................10
1.3.12 (Optional) Configuring Rediscovery of ONUs.....................................................................................10
1.3.13 (Optional) Forcibly Re-registering Online ONUs.................................................................................11
1.3.14 (Optional) Enabling the Loopback Function for an ONU.....................................................................11
1.3.15 (Optional) Restarting an ONU Remotely..............................................................................................12
1.3.16 (Optional) Assigning an IP Address to an ONU in SNMP Management Mode...................................13
1.3.17 (Optional) Setting the Search Distance of an EPON Interface..............................................................13
1.3.18 (Optional) Loading the Firmware Software to an ONU........................................................................14
1.3.19 (Optional) Setting the Maximum Number of MAC Addresses Supported by an ONU........................14
1.3.20 (Optional) Disabling MAC Address Learning on an EPON Interface..................................................15
1.3.21 (Optional) Clearing Dynamic MAC Addresses.....................................................................................15
1.3.22 Checking the Configuration...................................................................................................................16
1.4 Configuring the Terminal Management Service..............................................................................................17
1.4.1 Establishing the Configuration Task.......................................................................................................17
1.4.2 Configuring a Service Profile..................................................................................................................17
1.4.3 Configuring the Terminal Management Service.....................................................................................18
1.4.4 Checking the Configuration.....................................................................................................................19
1.5 Configuring the EPON VLAN Service............................................................................................................20

Issue 03 (2012-07-20) Huawei Proprietary and Confidential iv


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON Contents

1.5.1 Establishing the Configuration Task.......................................................................................................20


1.5.2 Configuring the Default VLAN for an ONU...........................................................................................21
1.5.3 Configuring Single-Tag VLAN Mapping...............................................................................................21
1.5.4 Configuring Double-Tag VLAN Mapping..............................................................................................22
1.5.5 Configuring VLAN Stacking...................................................................................................................23
1.5.6 Maintaining the EPON Access Service...................................................................................................24
1.5.7 Clearing the Traffic Statistics of an ONU...............................................................................................24
1.6 Configuration Examples...................................................................................................................................24
1.6.1 Example for Configuring the EPON Access Service..............................................................................24
1.6.2 Example for Configuring Double-Tag VLAN Mapping.........................................................................27

Issue 03 (2012-07-20) Huawei Proprietary and Confidential v


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

1 EPON Access Configuration

About This Chapter

This chapter describes how to configure and maintain the EPON access service, and provides
configuration examples.
1.1 EPON Overview
This section provides the background information about the Ethernet passive optical network
(EPON).
1.2 EPON Features Supported by the S9300
This section describes the EPON features supported by the S9300 series switches.
1.3 Configuring the EPON Access Service
This section describes how to configure the EPON access service.
1.4 Configuring the Terminal Management Service
This section describes how to configure the terminal management service.
1.5 Configuring the EPON VLAN Service
This section describes how to configure the EPON VLAN service.
1.6 Configuration Examples

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 1


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

1.1 EPON Overview


This section provides the background information about the Ethernet passive optical network
(EPON).
More bandwidth is required on a network to support increasing Internet users and fast-developing
video conference and large-file transfer services. Optical fiber access is the most effective way
to increase the network bandwidth. The EPON system combines the mature and widely-used
Ethernet technology and Passive Optical Network (PON) technology to implement point-to-
multipoint access on the Ethernet. The EPON system can provide complete optical access
solutions such as fiber to the home (FTTH) and fiber to the building (FTTB). The EPON
technology can also be used for monitoring and transmitting high-definition video streams in a
large enterprise. In addition, the EPON system is applied to the network transmitting voice,
video, and data access services.

1.2 EPON Features Supported by the S9300


This section describes the EPON features supported by the S9300 series switches.

EPON Access
As shown in Figure 1-1, the EPON system consists of the Optical Line Terminal (OLT) in the
office, the Optical Network Unit (ONU) at the user side, and the Optical Distribution Network
(ODN). In the EPON system, data can be transmitted bidirectionally through a single fiber. The
ODN provides an optical channel between the OLT and ONU.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 2


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Figure 1-1 Typical networking diagram of EPON

Phone

LAN Switch
PC

ONU
IPTV

OLT Switch Phone


LAN Switch
Network
PC

ODN ONU IPTV

Phone
LAN Switch

PC

ONU
IPTV

An S9300 switch equipped with EPON Line Processing Units (LPUs) can be used as the OLT
to implement the following functions:
l Managing ONU access
l Broadcasting Ethernet data to ONUs
l Initiating and controlling the distance measuring process and recording the distance
measuring information
l Allocating bandwidth to ONUs

1.3 Configuring the EPON Access Service


This section describes how to configure the EPON access service.

1.3.1 Establishing the Configuration Task

Applicable Environment
After years of rapid development, broadband services have been expanded from Internet access
to value-added services such as video, interactive gaming, and VoIP. High bandwidth is required
for these services, especially the bandwidth-consuming broadband video services such as IPTV.
The optical access technology is developed to provide high bandwidth.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 3


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

The xDSL technology will still be used in the future; therefore, fibers and copper cables will
coexist on the access layer of the metro Ethernet for a long time. Currently, the access mode
should be selected according to the actual situation and requirements of the network and services.
The traditional xDSL can be used to provide the broadband access service for common users.
In upscale communities or business buildings, the fiber to the home (FTTH) or fiber to the
building (FTTB) mode can be used to provide the Internet access service. In this way,
differentiated services can be provided to meet requirements of various users.
An S9300 switch with Ethernet LPUs and EPON LPUs installed can function as a routing switch
and an OLT at the same time. It supports both the traditional access mode and optical access
mode to meet the requirements of different users.

Pre-configuration Tasks
Before configuring the EPON access service, complete the following task:
l Ensuring normal communication between the S9300 and the upstream device

Data Preparation
To configure the EPON access service, you need the following data.

No. Data

1 Name of the line profile

2 Name of the dynamic bandwidth allocation (DBA) profile

3 Bandwidth of ONU

4 Name of the service profile

5 Authentication mode of the ONU

6 Update interval of the key

1.3.2 Configuring a Line Profile

Context
Before adding an ONU, create a line profile. The line profile defines the line parameters of the
ONU.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
line-profile line-profile-name

A line profile is created and the line profile view is displayed.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 4


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

The switch provides a default line profile default0. If no line profile is configured, you can use
the default line profile when adding an ONU.
The line profile simplifies configuration of the line parameters. To add an ONU, you only need
to bind the ONU to a line profile, and then the switch delivers the line parameters in the profile
to the EPON LPU.
Step 3 (Optional) Run:
dba-profile dba-profile-name

A DBA profile is bound to the line profile.


Binding a DBA profile to a line profile can limit the bandwidth of the ONU that uses the line
profile.
Step 4 (Optional) Run:
dba-threshold queue-index {
q1 value | q2 value | q3 value | q4 value | q5 value | q6 value | q7 value | q8
value } *

The bandwidth of each queue on the ONU is set.


Step 5 (Optional) Run:
encrypt triple-churning

The encryption mode of the ONU is set.

----End

1.3.3 (Optional) Configuring a DBA Profile

Context
The OLT dynamically allocates bandwidth to uplink interfaces of ONUs according to the
parameters in the DBA profile. By configuring a DBA profile, you can set the bandwidth
allocation mode and bandwidth parameters uniformly. ONUs with the same bandwidth
allocation requirement can be bound to the same DBA profile to simplify the configuration.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
dba-profile dba-profile-name { { type1 fix fix-value [ grant-interval interval |
grant-length length ] } | { type2 assure assure-value } | { type3 assure assure-
value max max-value } | { type4 max max-value } | { type5 fix fix-value assure
assure-value max max-value [ grant-interval interval | grant-length length ] } }

A DBA profile is created and the bandwidth allocation mode is specified.


The S9300 provides a default DBA profile default0.
The DBA profile specifies the bandwidth allocation mode and bandwidth parameters. Bandwidth
is classified into three types: fixed bandwidth, guaranteed bandwidth, and best-effort bandwidth.
The DBA profile can define the following bandwidth allocation modes:

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 5


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

l Type 1: fixed bandwidth


l Type 2: guaranteed bandwidth
l Type 3: combination of guaranteed bandwidth and best-effort bandwidth
l Type 4: maximum bandwidth
l Type 5: combination of fixed bandwidth, guaranteed bandwidth, and maximum bandwidth

----End

1.3.4 (Optional) Configuring a Service Profile

Context
To manage an ONU in Operation, Administration, and Management (OAM) mode, create a
service profile before adding the ONU to the switch.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
service-profile service-profile-name

A service profile is created and the service profile view is displayed.


The switch provides a default service profile default0.
In most cases, ONUs are located far away from the telecommunications room and deployed
across the network, which makes service configuration difficult. To solve this problem, manage
ONUs remotely through the switch (OLT). You can use a service profile to deliver service
parameters to the ONUs and do not need to configure the services on site. This reduces the
workload and expense of service configuration.
By using the service profile, you can manage and deliver services to multiple ONUs. For details
on how to configure the terminal management service, see 1.4 Configuring the Terminal
Management Service.

----End

1.3.5 (Optional) Configuring an SNMP Profile

Context
ONUs are managed in OAM or Simple Network Management Protocol (SNMP) mode. In SNMP
mode, the S9300 delivers management information to the network management system (NMS)
using an SNMP profile.

Procedure
Step 1 Run:

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 6


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

system-view

The system view is displayed.


Step 2 Run:
snmp-profile snmp-profile-name version { v1 | v2 } read-group read-group write-
group write-group dest-ip ip-addrress source-port port-number security-name
security-name

An SNMP profile is created and the SNMP profile view is displayed.


To manage an ONU through SNMP, you need to set the IP address of the ONU first. For details
on how to set the IP address of an ONU, see 1.3.16 (Optional) Assigning an IP Address to an
ONU in SNMP Management Mode.

----End

1.3.6 (Optional) Setting the OUI of the OLT

Context
In the extended OAM discovery stage of the ONU discovery process, the OLT must determine
the organization that each ONU belongs to. The organization is identified by the organizationally
unique identifier (OUI).

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
epon oui oui-id

The OUI of the OLT is set.

----End

1.3.7 Adding ONUs

Context
Users can go online only after ONUs are added to the OLT (S9300). You can add ONUs manually
or configure the OLT to automatically discover ONUs.

Procedure
l Adding an ONU manually
1. Run:
system-view

The system view is displayed.


2. Run:
interface epon interface-number

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 7


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

The EPON interface view is displayed.


3. Run:
onu add [ onu-id ] { mac-auth mac-value | password-auth password-value
{ always-on | once-on { no-aging | aging-time time-out } } } { oam line-
profile-name line-profile-name service-profile-name service-profile-name |
snmp line-profile-name line-profile-name snmp-profile-name snmp-profile-
name } [ desc describe-value ]

An ONU is added to the S9300 manually

By default, the system provides a default line profile default0 and a default service
profile default0. You can modify the parameters of the two default profiles but cannot
delete the default profiles.

If ONUs are managed using SNMP, configure an SNMP profile first.


l Adding ONUs that are discovered automatically
1. Run:
system-view

The system view is displayed.


2. Run:
interface epon interface-number

The EPON interface view is displayed.


3. Run:
onu-autofind enable

Automatic ONU discovery is enabled.


4. Run:
onu confirm all { mac-auth | password-auth { always-on | once-on { no-
aging | aging-time time-out } } } { oam line-profile-name line-profile-
name service-profile-name service-profile-name | snmp line-profile-name
line-profile-name snmp-profile-name snmp-profile-name } [ desc describe-
value ] or onu confirm[onu-id onu-id ] { mac-auth mac-value | password-
auth password-value { always-on | once-on { no-aging | aging-time time-
out } } } { oam line-profile-name line-profile-name service-profile-name
service-profile-name | snmp line-profile-name line-profile-name snmp-
profile-name snmp-profile-name } [ desc describe-value ]

The ONUs that are discovered automatically are added to the system.

Executing the onu confirm command succeeds only when there are automatically-
discovered ONUs on the EPON interface.

When using the automatic ONU discovery function, you do not need to enter the MAC
address or password of each ONU, avoiding incorrect MAC address or password.

----End

1.3.8 (Optional) Setting the Aging Time of Discovered ONUs

Context
Records of the discovered ONUs are saved in the buffer. The system clears the records from the
buffer after the ONU aging time expires.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 8


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
epon autofind timeout time-value

The aging time of the discovered ONUs is set.


By default, the aging time is 300 seconds.

----End

1.3.9 (Optional) Modifying the ONU Information

Context
After an ONU is added to the switch, you can modify the parameters of the ONU.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
onu modify onu-id [ mac-auth mac-address | password-auth password { always-on |
once-on { no-aging | aging-time time } } ] [ line-profile-name line-profile-name ]
[ service-profile-name service-profile-name ] [ snmp-profile-name snmp-profile-
name ] [ desc describe-value ]

The configuration of an ONU on the EPON interface is modified.

CAUTION
Modifying the configuration of an ONU makes the ONU offline. After the configuration is
modified, the ONU goes online again.

----End

1.3.10 (Optional) Deactivating an ONU

Context
To suspend services of an authorized user, deactivate the ONU of the user.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 9


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
onu deactivate { onu-id onu-id | all }

The ONU is deactivated.


After an ONU is deactivated, users cannot go online and services are interrupted. In addition,
the ONU cannot be discovered by the S9300 or report the login or logout message of users.

----End

1.3.11 (Optional) Clearing the ONU Information in the Buffer

Context
Information about discovered ONUs is saved in the buffer. To save the space in the buffer, clear
information about the ONUs that do not need to be added to the switch.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
onu cancel { all | mac-address }

Information about a specified ONU or all discovered ONUs is cleared from the buffer.
The auto-discovery table contains records about the discovered ONUs and the onu cancel
command takes effect only after the auto-discovery function is enabled.

----End

1.3.12 (Optional) Configuring Rediscovery of ONUs

Context
The ONU that uses password authentication and once-on online mode cannot go online again
after going offline. The ONU can go online again only through the rediscovery function.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 10


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Procedure
Step 1 Run:
system-view

The system view is displayed.

Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.

Step 3 Run:
onu re-discovery { onu-id onu-id | all }

Rediscovery of ONUs is configured.

The rediscovery function is applicable only to the ONUs that uses password authentication and
once-on online mode.

----End

1.3.13 (Optional) Forcibly Re-registering Online ONUs

Context
To diagnose the S9300, you can re-register ONUs to locate faults.

Procedure
Step 1 Run:
system-view

The system view is displayed.

Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.

Step 3 Run:
onu re-register { onu-id onu-id | all }

The online ONUs are re-registered.

CAUTION
After you run this command, online ONUs are forced to go offline.

----End

1.3.14 (Optional) Enabling the Loopback Function for an ONU

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 11


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Context
To diagnose an ONU, enable the loopback function for the ONU.

CAUTION
After the loopback function is enabled for an ONU, services on the ONU are interrupted.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
onu loopback onu-id onu-id

The loopback function is enabled for an ONU.

----End

1.3.15 (Optional) Restarting an ONU Remotely

Context
Perform the following steps to restart a remote ONU.

CAUTION
After you run this command, the specified ONU is forced offline and services are interrupted.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
onu reset { all | onu-id onu-id }

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 12


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

The specified ONU or all ONUs are restarted.

----End

1.3.16 (Optional) Assigning an IP Address to an ONU in SNMP


Management Mode

Context
To manage an ONU in SNMP mode, assign an IP address to the ONU.

Procedure
Step 1 Run:
system-view

The system view is displayed.

Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.

Step 3 Run:
onu onu-id1 [ - onu-id2 ]

The ONU view is displayed.

Step 4 Run:
onu-ipconfig ip-address ip-address mask { mask | mask-length }gateway gateway-
address manage-vlan vlan-id

An IP address is assigned to the ONU.

You can assign an IP address to an ONU only after setting the management mode of the ONU
to SNMP.

----End

1.3.17 (Optional) Setting the Search Distance of an EPON Interface

Context
The distance between an ONU connected to an EPON interface and the OLT in the central office
varies. By setting the search distance of an EPON interface, you can specify the distance within
which the ONUs can be discovered and go online.

Procedure
Step 1 Run:
system-view

The system view is displayed.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 13


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
search-range max-distance

The search distance of the EPON interface is set.


Only the ONUs within the specified distance can be discovered and go online. By default, the
search distance of an EPON interface is 20 km.

----End

1.3.18 (Optional) Loading the Firmware Software to an ONU

Context
ONUs are deployed dispersedly. Therefore, great workload is required when the ONUs need to
be uploaded. The firmware software of the S9300 can upgrade ONUs remotely to reduce the
workload.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
update epon interface-number onu-id onu-id firmware firmware-file-name

The firmware software is loaded to an ONU.

----End

1.3.19 (Optional) Setting the Maximum Number of MAC Addresses


Supported by an ONU

Context
Perform the following steps on the switch to limit the number of MAC addresses supported by
an ONU.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 14


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

The EPON interface view is displayed.


Step 3 Run:
onu onu-id1 [ - onu-id2 ]

The ONU view is displayed.


You can enter the ONU view only when the specified ONU has been added to the switch.
Step 4 Run:
mac-limit maximum max-value

The maximum number of user MAC addresses supported by the ONU is set.
By default, the function of MAC address restriction is disabled.

----End

1.3.20 (Optional) Disabling MAC Address Learning on an EPON


Interface

Context
Perform the following steps on the switch to disable MAC address learning on an EPON
interface.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
mac-address learning disable

MAC address learning is disabled on the EPON interface.

----End

1.3.21 (Optional) Clearing Dynamic MAC Addresses

Context
The S9300 can dynamically learn MAC addresses based on ONU IDs. If the learned MAC
addresses are not required, clear them manually.

Procedure
Step 1 Run:

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 15


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
undo mac-address dynamic epon interface-number onu-id onu-id

The dynamic MAC addresses on the specified interface are cleared.

----End

1.3.22 Checking the Configuration

Context
The configurations of EPON access are complete.

Procedure
l Run the display line-profile { all | line-profile-name } command to check the configuration
of the line profile.
l Run the display service-profile { all | service-profile-name } command to check the
configuration of the service profile.
l Run the display snmp-profile { all | snmp-profile-name } command to check the
configuration of the SNMP profile.
l Run the display dba-profile { all | dba-profile-name } command to check the configuration
of the DBA profile.
l Run the display onu { all | { epon interface-number { all | onu-id onu-id [ verbose ] |
mac-address} } } command to check information about the discovered ONU.
l Run the display onu autofind { all | epon interface-number } command to check
information about the ONUs that are automatically discovered.
l Run the display onu capability epon interface-number onu-id onu-id command to check
the functions of the ONU.
l Run the display onu rtt epon interface-number onu-id onu-id command to RTT of the
ONU. The RTT is used to calculate the distance of the optical fiber between the ONU and
the OLT.
l Run the display onu ip-config epon interface-number onu-id onu-id command to check
the IP address of the ONU in SNMP management mode.
l Run the display onu version epon interface-number onu-id onu-id command to check the
version of the ONU, including the hardware version and the software version.
l Run the display onu remote epon interface-number onu-id onu-id command to check the
configuration of the ONU.
l Run the display statistics epon interface-number onu-id onu-id command to check the
statistics on the sent and received packets on the EPON interface.
l Run the display epon { oui | key-update-time | autofind } command to check the global
configuration of the EPON feature.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 16


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

l Run the display mac-address dynamic epon interface-number onu-id onu-id command
to check the MAC addresses learned by a specified ONU.

----End

1.4 Configuring the Terminal Management Service


This section describes how to configure the terminal management service.

1.4.1 Establishing the Configuration Task

Applicable Environment
In most cases, ONUs are located far away from the telecommunications room and deployed
across the network, which makes service configuration difficult. To solve this problem, manage
ONUs remotely through the switch (OLT). You can use a service profile to deliver service
parameters to the ONUs and do not need to configure the services on site. This reduces the
workload and expense of service configuration.

NOTE
The configuration tasks of terminal management services are optional. You can perform the required tasks
according to requirements of your network.

Pre-configuration Tasks
Before configuring the terminal management service, complete the following tasks:
l Ensuring normal communication between the S9300 and the upstream device
l Adding ONUs to the S9300

Data Preparation
To configure the terminal management service, you need the following data.
NOTE
The following data is optional and you can plan the data as required.

No. Data

1 Service profile

2 VLAN that the logical user-network interface (UNI) of the ONU belongs to

3 Multicast mode

4 Upstream and downstream bandwidth of the UNI interface

1.4.2 Configuring a Service Profile

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 17


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Context
If ONUs are managed in OAM mode, services are delivered using a service profile. Therefore,
configure a service profile before configuring the terminal management service.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
service-profile service-profile-name

A service profile is created and the service profile view is displayed.


The S9300 provides a default service profile default0. You can modify the parameters in the
default profile but you cannot delete the default profile.
The service profile contains the parameter settings of various services. Bind the service profile
to an ONU so that service parameters are delivered to the ONU.

----End

1.4.3 Configuring the Terminal Management Service

Context
Perform the following steps on the switch to configure the terminal management service.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
service-profile service-profile-name

A service profile is created and the service profile view is displayed.


Step 3 Configure the services that need to be delivered to the ONU in the service profile.
You can configure the following services in the service profile. The following operations are
optional and can be performed at a random sequence.
l Run:
fec-switch enable

The forward error correction (FEC) function is enabled.


To ensure communication quality and reduce the bit error rate during the communication,
enable the FEC function on the switch. This function, however, wastes bandwidth. Determine
whether to enable this function according to the actual situation.
l Run:
multicast-mode { ctc | snooping }

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 18


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

The multicast mode is set.


By default, the multicast mode is Internet Group Management Protocol (IGMP) snooping.
l Run:
multicast-fast-leave enable

Prompt leave of multicast members is enabled.


By default, prompt leave of multicast members is disabled.
l Run:
uni multicast-strip-tag eth port-id

The user-side interface (UNI) on the ONU is configured to remove the multicast VLAN tag
from multicast packets before forwarding those packets.
l Run:
uni vlan eth port-id { vlan-id | transparent | translation svlan-id user-vlan
cvlan-id | default-vlan default-vlan-id }

A VLAN is specified for the UNI interface.


By default, the UNI interface belongs to a transparent VLAN.
l Run:
uni mac-limit eth port-id max-count

The maximum number of users allowed by the UNI interface of the ONU is set.
l Run:
uni classification-marking eth port-id rules-index index queue queue-id
priority priority-value { { dst-mac mac-address | src-mac mac-address | eth-pri
eth-priority | vlan-id vlan-id | eth-type type-value | dst-ip det-ip-address |
src-ip src-ip-address | ip-type ip-priority | ip-tos-dscp tos | ip-precedence ip-
precedence | src-port src-port | dst-port dst-port } { equal | not-equal |
greater-equal | less-equal | exist | not-exist | match | never-match } } &<1-4>

A traffic classifier is configured on the UNI interface of the ONU.


You can configure up to eight traffic classifiers. Each classifier consists of a maximum of
four rules.
l Run:
uni car eth port-id cir cir-value { pir pir-value outbound | cbs cbs-vlalue ebs
ebs-value inbound }

The maximum upstream bandwidth and downstream bandwidth of the UNI interface on the
ONU are set.

----End

1.4.4 Checking the Configuration

Context
The terminal management service configuration is complete.

Procedure
l Run the display service-profile { all | service-profile-name } command to check the
configuration of the service profile.
l Run the display onu remote uni vlan epon interface-number onu-id onu-id eth port-id
command to check information about the user-side VLAN.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 19


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

l Run the display onu remote uni info epon interface-number onu-id onu-id eth port-id
command to check information about an interface of the ONU.
l Run the display onu remote uni classification-marking epon interface-number onu-id
onu-id eth port-id command to check the traffic classification information on the ONU.
l Run the display onu remote uni multicast-vlan epon interface-number onu-id onu-id
eth port-id command to check the multicast VLAN configuration on the ONU.

----End

1.5 Configuring the EPON VLAN Service


This section describes how to configure the EPON VLAN service.

1.5.1 Establishing the Configuration Task

Applicable Environment
The EPON interface of the S9300 supports the following VLAN services:

l VLAN tag: The EPON interface adds VLAN tags to untagged packet sent upstream to
identify packets sent from different ONUs.
l VLAN mapping: In a tagged packet sent from an ONU, the tag identifies the service type
or location of the user. This type of packet cannot be transmitted on the public network.
Therefore, the VLAN tag of the packet sent from the ONU is mapped to a public VLAN
tag.
l VLAN stacking: The EPON interface can add a VLAN tag to a tagged packet sent from
the ONU so that the customer VLAN ID is transparently transmitted on the ISP network.

You can configure different VLAN services based on the actual situation and requirement of
your network.

NOTE
The configuration tasks of VLAN services are optional and can be performed at a random sequence.

Pre-configuration Tasks
Before configuring the EPON VLAN service, complete the following tasks:
l Ensuring normal communication between the S9300 and the upstream device
l Adding ONUs to the S9300

Data Preparation
To configure the EPON VLAN service, you need the following data.
NOTE
The following data is optional and is prepared as required.

No. Data

1 Default VLAN ID

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 20


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

No. Data

2 Inner VLAN ID and outer VLAN ID of packets and mapped inner VLAN ID and
outer VLAN ID for VLAN mapping

3 VLAN ID added to tagged packets for VLAN stacking

1.5.2 Configuring the Default VLAN for an ONU

Context
Perform the following steps on the switch to specify the default VLAN for an ONU.

Procedure
Step 1 Run:
system-view

The system view is displayed.

Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.

Step 3 Run:
onu onu-id1 [ - onu-id2 ]

The ONU view is displayed.

You can enter the ONU view only when the specified ONU has been added to the switch.

Step 4 Run:
port default-vlan vlan-id [ batch-start ]

The default VLAN ID is specified for the ONU.

After the default VLAN ID is specified for an ONU, the switch adds the default VLAN tag to
the untagged packets sent from this ONU. Then the switch identifies different users according
to the VLAN tags in their packets.

----End

1.5.3 Configuring Single-Tag VLAN Mapping

Context
After single-tag VLAN mapping is configured, two VLANs with IP addresses on the same
network segment can communicate with each other.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 21


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Procedure
Step 1 Run:
system-view

The system view is displayed.

Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.

Step 3 Run:
onu onu-id1 [ - onu-id2 ]

The ONU view is displayed.

You can enter the ONU view only when the specified ONU has been added to the switch.

Step 4 Run:
port vlan-mapping vlan vlan-id1 [ to vlan-id2 ] map-vlan vlan-id3 [ batch-start ]
[ remark-8021p 8021p | copy-8021p ]

Single-tag VLAN mapping is configured.

Step 5 Run:
quit

The EPON interface view is displayed.

Step 6 Run:
port hybrid tagged vlan vlan-id3

The translated outer VLAN is allowed by the EPON interface.

The EPON interface must be added to the translated outer VLAN so that packets of this VLAN
can pass the EPON interface as tagged packets. Otherwise, the VLAN mapping service does not
take effect.

----End

1.5.4 Configuring Double-Tag VLAN Mapping

Context
When two private networks in different VLANs communicate with each other through a public
network, the user packets may contain one or two VLAN tags when reaching the public network.
Configure double-tag VLAN mapping on the edge device of the public network so that the
VLANs of private networks and the public network can be separated. This saves VLAN
resources of the public network. Compared with single-tag VLAN mapping, double-tag VLAN
mapping is more flexible and used in a wider scope.

Procedure
Step 1 Run:
system-view

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 22


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
onu onu-id1 [ - onu-id2 ]

The ONU view is displayed.


You can enter the ONU view only when the specified ONU has been added to the switch.
Step 4 Run:
port vlan-mapping vlan vlan-id1 inner-vlan vlan-id2 [ to vlan-id3 ] { map-vlan vlan-
id4 [ map-inner-vlan vlan-id5 ] | pop-vlan }

Mapping of double VLAN tags is configured.


Step 5 Run:
quit

The EPON interface view is displayed.


Step 6 Run:
port hybrid tagged vlan vlan-id4

The translated outer VLAN is allowed by the EPON interface.


The EPON interface must be added to the translated outer VLAN so that packets of this VLAN
can pass the EPON interface as tagged packets. Otherwise, the VLAN mapping service does not
take effect.

----End

1.5.5 Configuring VLAN Stacking

Context
VLAN stacking is used to add a VLAN tag to a tagged packet sent from the ONU so that the
customer VLAN ID is transparently transmitted on the carrier network.

Procedure
Step 1 Run:
system-view

The system view is displayed.


Step 2 Run:
interface epon interface-number

The EPON interface view is displayed.


Step 3 Run:
onu onu-id1 [ - onu-id2 ]

The ONU view is displayed.

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 23


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

You can enter the ONU view only when the specified ONU has been added to the switch.
Step 4 Run:
port vlan-stacking vlan vlan-id1 [ to vlan-id2 ] stack-vlan vlan-id3
[ remark-8021p 8021p | copy-8021p ] [ map-vlan vlan-id4 [ batch-start ]
[ remark-8021p 8021p ] ]

VLAN stacking is configured.


You can run the port vlan-stacking command to add a VLAN tag to a data frame sent from the
user VLAN so that the frame carries two VLAN tags.
Step 5 Run:
quit

The EPON interface view is displayed.


Step 6 Run:
port hybrid tagged vlan vlan-id3

The translated outer VLAN is allowed by the EPON interface.


The EPON interface must be added to the translated outer VLAN so that packets of this VLAN
can pass the EPON interface as tagged packets. Otherwise, the VLAN stacking service does not
take effect.

----End

1.5.6 Maintaining the EPON Access Service


This section describes how to clear the traffic statistics of ONUs collected by the OLT.

1.5.7 Clearing the Traffic Statistics of an ONU


Prerequisites

CAUTION
The traffic statistics of ONUs cannot be restored after you clear them.

Procedure
l Run the reset statistics epon interface-number onu-id onu-id command to clear the traffic
statistics of an ONU collected by the OLT.
----End

1.6 Configuration Examples

1.6.1 Example for Configuring the EPON Access Service

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 24


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Networking Requirements
As shown in Figure 1-2, the Switch functions as the OLT. EPON 1/0/0 of the Switch provides
the Internet access service for the user through the ONU.

Figure 1-2 Networking diagram for EPON access service configuration

Phone
EPON1/0/0 UNI1
Network
PC
OLT Switch ODN ONU 1 LAN Switch

IPTV

In this networking, perform the following configurations:


l Add the ONU to the Switch manually so that the ONU can provide the Internet access
service for the user.
l Set the online mode of ONU 1 to always-on.
l Set the management mode of ONU 1 to OAM.
l Allocate bandwidth of 100000 kbit/s to the ONU.
l For UNI 1 of ONU 1, set the upstream and downstream committed information rate (CIR)
to 1000 kbit/s, downstream peak information rate (PIR) to 1300 kbit/s, upstream committed
burst size CBS to 20000 kbits, and upstream excessive burst size (EBS) to 2500 kbits.

Configuration Roadmap
The configuration roadmap is as follows:

1. Ensure that the Switch can communicate with the upstream device.
2. Configure a line profile.
3. Configure a DBA profile and set the bandwidth of the ONU.
4. Configure a service profile and set the bandwidth parameters for the user.
5. Add the ONU to the Switch.

Data Preparation
To complete the configuration, you need the following data:

l Name of the DBA profile: dba1


l Name of the line profile: line1
l Name of the service profile: service1
l Password used in password authentication: 123456

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 25


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

Procedure
Step 1 Enable the Switch to communicate with the upstream device.
Configure IP addresses and routes to ensure that the Switch can communicate with the upstream
device. The configuration procedure is not mentioned here.
Step 2 Configure a DBA profile dba1 to allocate a fixed bandwidth of 100 Mbit/s to the ONU.
<Quidway> system-view
[Quidway] dba-profile dba1 type1 fix 100000

Step 3 Configure a line profile line1 and bind DBA profile dba1 to line1.
[Quidway] line-profile line1
[Quidway-line-prof-line1] dba-profile dba1
[Quidway-line-prof-line1] quit

Step 4 Configure a service profile and set the bandwidth parameters for the user.
For interface 2 of ONU 1, set the upstream and downstream CIR to 1000 kbit/s, downstream
PIR to 1300 kbit/s, upstream committed burst size CBS to 2000 kbits, and upstream EBS to 2500
kbits.
[Quidway] service-profile service1
[Quidway-srv-prof-service1] uni car eth 2 cir 1000 pir 1300 outbound
[Quidway-srv-prof-service1] uni car eth 2 cir 1000 cbs 2000 ebs 2500 inbound
[Quidway-srv-prof-service1] quit

Step 5 Add ONU 1 to the Switch.


[Quidway] interface epon1/0/0
[Quidway-Epon1/0/0] onu add 1 password-auth 123456 always-on oam line-profile-n
ame line1 service-profile-name service1

Step 6 Verify the configuration.


Run the display onu all command, and you can find that ONU 1 is added to the S9300
successfully.
[Quidway] display onu all
Onu State LineProf SrvProf SnmpProf Mac Password Interface
Id Name Name Name Address
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 DOWN line1 service1 -------- ---------- 123456 Epon1/0/0

----End

Configuration Files
l Configuration file of the Switch
#
sysname Quidway
#
dba-profile dba1 type1 fix 100000
#
line-profile line1
dba-profile dba1
#
service-profile service1
uni car eth 2 cir 1000 cbs 2000 ebs 2500 inbound
uni car eth 2 cir 1000 pir 1300 outbound
#
interface Epon1/0/0
onu add 1 password-auth 123456 always-on oam line-profile-name line1 service-
pr
ofile-name service1
#
return

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 26


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

1.6.2 Example for Configuring Double-Tag VLAN Mapping

Networking Requirements
As shown in Figure 1-3, an enterprise connects to the Internet through the eth1 interface of the
ONU. The inner VLAN ID of the enterprise is VLAN 20, and outer VLAN ID is VLAN 2. The
outer VLAN ID is delivered to the ONU through Switch. Users in the enterprise need to access
the public network; therefore, the inner and outer VLAN IDs of the packets sent from the
enterprise must be mapped to the VLAN IDs of the ISP.

Figure 1-3 Networking diagram for double-tag VLAN mapping

EPON1/0/0 Internet
Enterprise
Inside-VLAN 10
inner-VLAN 20 inner-VLAN 100
VLAN 2 VLAN 10
ONU1 ODN OLT
(Switch)

Configuration Roadmap
The configuration roadmap is as follows:

1. Configure line profiles on the Switch.


2. Configure service profiles on the Switch and deliver the outer VLAN IDs to the ONUs.
3. Add the ONUs to the Switch.
4. Configure VLAN mapping.

Data Preparation
To complete the configuration, you need the following data:

l Name of the line profile on Switch A (line)


l Name of the service profile on Switch A (service)
l Password used in password authentication: 123456

Procedure
Step 1 Configure a line profile on Switch
<Quidway> system-view
[Quidway] line-profile line
[Quidway-line-prof-line] quit

Step 2 Configure a service profile on Switch to add an outer VLAN tag with VLAN 2 to the packets
passing through the UNI interface of ONU

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 27


Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - EPON 1 EPON Access Configuration

[Quidway] service-profile service


[Quidway-srv-prof-service] uni vlan eth 1 default-vlan 2
[Quidway-srv-prof-service] quit

Step 3 Add the ONUs to the Switch.


[Quidway] interface epon1/0/0
[Quidway-Epon1/0/0] onu add 1 password-auth 123456 always-on oam line-profile-n
ame line service-profile-name service

Step 4 Configure VLAN mapping of double VLAN tags on EPON 1/0/0 of Switch to map the inner
VLAN ID of the packets sent from ONU 1 to 100 and map the outer VLAN ID of such packets
to 10.
[Quidway] interface epon1/0/0
[Quidway-Epon1/0/0] onu 1
[Quidway-Epon1/0/0-onu1] port vlan-mapping vlan 2 inner-vlan 20 map-vlan 10 map-
inner-vlan 100
[Quidway-Epon1/0/0-onu1] quit
[Quidway-Epon1/0/0] port hybrid tagged vlan 10

----End

Configuration Files
l Configuration file of Switch
#
sysname Quidway
#
line-profile line
#
service-profile service
uni vlan eth 1 default-vlan 2
#
interface Epon1/0/0
port hybrid tagged vlan 10
onu add 1 password-auth 123456 always-on oam line-profile-name line service-
pr
ofile-name service
onu 1
port vlan-mapping vlan 2 inner-vlan 20 map-vlan 10 map-inner-vlan 100
#
return

Issue 03 (2012-07-20) Huawei Proprietary and Confidential 28


Copyright © Huawei Technologies Co., Ltd.

You might also like