Professional Documents
Culture Documents
Configuration Guide - EPON (V200R001C00 - 01) PDF
Configuration Guide - EPON (V200R001C00 - 01) PDF
V200R001C00
01
Date
2012-03-15
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.
Website:
http://www.huawei.com
Email:
support@huawei.com
Issue 01 (2012-03-15)
Commissioning engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol
Description
DANGER
WARNING
CAUTION
Issue 01 (2012-03-15)
TIP
NOTE
ii
Command Conventions
The command conventions that may be found in this document are defined as follows.
Convention
Description
Boldface
Italic
[]
{ x | y | ... }
[ x | y | ... ]
{ x | y | ... }*
[ x | y | ... ]*
&<1-n>
Change History
Updates between document issues are cumulative. Therefore, the latest document issue contains
all changes made in previous issues.
Issue 01 (2012-03-15)
iii
Contents
Contents
About This Document.....................................................................................................................ii
1 EPON Access Configuration.......................................................................................................1
2 EPON Overview.............................................................................................................................2
3 EPON Features Supported by the S9700...................................................................................3
4 Configuring the EPON Access Service......................................................................................5
4.1 Establishing the Configuration Task..................................................................................................................7
4.2 Configuring a Line Profile..................................................................................................................................7
4.3 (Optional) Configuring a DBA Profile...............................................................................................................8
4.4 (Optional) Configuring a Service Profile...........................................................................................................9
4.5 (Optional) Configuring an SNMP Profile........................................................................................................10
4.6 Adding ONUs...................................................................................................................................................10
4.7 (Optional) Setting the Aging Time of Discovered ONUs................................................................................11
4.8 (Optional) Modifying the ONU Information....................................................................................................12
4.9 (Optional) Deactivating an ONU......................................................................................................................12
4.10 (Optional) Clearing the ONU Information in the Buffer................................................................................13
4.11 (Optional) Configuring Rediscovery of ONUs..............................................................................................13
4.12 (Optional) Forcibly Re-registering Online ONUs..........................................................................................14
4.13 (Optional) Enabling the Loopback Function for an ONU..............................................................................15
4.14 (Optional) Restarting an ONU Remotely.......................................................................................................15
4.15 (Optional) Assigning an IP Address to an ONU in SNMP Management Mode............................................16
4.16 (Optional) Setting the Search Distance of an EPON Interface.......................................................................17
4.17 (Optional) Loading the Firmware Software to an ONU.................................................................................17
4.18 (Optional) Setting the Maximum Number of MAC Addresses Supported by an ONU.................................18
4.19 (Optional) Disabling MAC Address Learning on an EPON Interface...........................................................18
4.20 (Optional) Clearing Dynamic MAC Addresses..............................................................................................19
4.21 Checking the Configuration............................................................................................................................19
iv
Contents
7 Configuration Examples.............................................................................................................32
7.1 Example for Configuring the EPON Access Service.......................................................................................33
7.2 Example for Configuring Double-Tag VLAN Mapping..................................................................................35
Issue 01 (2012-03-15)
This chapter describes how to configure and maintain the EPON access service, and provides
configuration examples.
Issue 01 (2012-03-15)
2 EPON Overview
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-tomultipoint 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.
Issue 01 (2012-03-15)
EPON Access
As shown in Figure 3-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.
Figure 3-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
Issue 01 (2012-03-15)
An S9700 switch equipped with EPON Line Processing Units (LPUs) can be used as the OLT
to implement the following functions:
l
Initiating and controlling the distance measuring process and recording the distance
measuring information
Issue 01 (2012-03-15)
Issue 01 (2012-03-15)
Pre-configuration Tasks
Before configuring the EPON access service, complete the following task:
l
Ensuring normal communication between the S9700 and the upstream device
Data Preparation
To configure the EPON access service, you need the following data.
No.
Data
Bandwidth of ONU
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
Step 2 Run:
dba-profile dba-profile-name { { type1 fix fix-value [ grant-interval interval |
grant-length length ] } | { type2 assure assure-value } | { type3 assure assurevalue max max-value } | { type4 max max-value } | { type5 fix fix-value assure
assure-value max max-value [ grant-interval interval | grant-length length ] } }
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
Procedure
l
Run:
system-view
Run:
interface epon interface-number
Run:
onu add [ onu-id ] { mac-auth mac-value | password-auth password-value
{ always-on | once-on { no-aging | aging-time time-out } } } { oam lineprofile-name line-profile-name service-profile-name service-profile-name |
snmp line-profile-name line-profile-name snmp-profile-name snmp-profilename } [ desc describe-value ]
Issue 01 (2012-03-15)
10
Run:
system-view
Run:
interface epon interface-number
Run:
onu-autofind enable
Run:
onu confirm all { mac-auth | password-auth { always-on | once-on { noaging | aging-time time-out } } } { oam line-profile-name line-profilename service-profile-name service-profile-name | snmp line-profile-name
line-profile-name snmp-profile-name snmp-profile-name } [ desc describevalue ] or onu confirm[onu-id onu-id ] { mac-auth mac-value | passwordauth password-value { always-on | once-on { no-aging | aging-time timeout } } } { oam line-profile-name line-profile-name service-profile-name
service-profile-name | snmp line-profile-name line-profile-name snmpprofile-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 automaticallydiscovered 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
Procedure
Step 1 Run:
system-view
11
Step 2 Run:
epon autofind timeout time-value
Procedure
Step 1 Run:
system-view
CAUTION
Modifying the configuration of an ONU makes the ONU offline. After the configuration is
modified, the ONU goes online again.
----End
12
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
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
13
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.
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
Issue 01 (2012-03-15)
14
CAUTION
After you run this command, online ONUs are forced to go offline.
----End
CAUTION
After the loopback function is enabled for an ONU, services on the ONU are interrupted.
Procedure
Step 1 Run:
system-view
CAUTION
After you run this command, the specified ONU is forced offline and services are interrupted.
Issue 01 (2012-03-15)
15
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
16
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
17
Procedure
Step 1 Run:
system-view
The maximum number of user MAC addresses supported by the ONU is set.
By default, the function of MAC address restriction is disabled.
----End
Procedure
Step 1 Run:
system-view
18
Step 2 Run:
interface epon interface-number
Procedure
Step 1 Run:
system-view
Procedure
l
Run the display line-profile { all | line-profile-name } command to check the configuration
of the line profile.
Issue 01 (2012-03-15)
19
Run the display dba-profile { all | dba-profile-name } command to check the configuration
of the DBA profile.
Run the display onu { all | { epon interface-number { all | onu-id onu-id [ verbose ] |
mac-address} } } command to check information about the discovered ONU.
Run the display onu autofind { all | epon interface-number } command to check
information about the ONUs that are automatically discovered.
Run the display onu capability epon interface-number onu-id onu-id command to check
the functions of the ONU.
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.
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.
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.
Run the display onu remote epon interface-number onu-id onu-id command to check the
configuration of the ONU.
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.
Run the display epon { oui | key-update-time | autofind } command to check the global
configuration of the EPON feature.
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
Issue 01 (2012-03-15)
20
Issue 01 (2012-03-15)
21
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 S9700 and the upstream device
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
Service profile
VLAN that the logical user-network interface (UNI) of the ONU belongs to
Multicast mode
Procedure
Step 1 Run:
system-view
Issue 01 (2012-03-15)
22
Procedure
Step 1 Run:
system-view
23
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 }
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 ipprecedence | src-port src-port | dst-port dst-port } { equal | not-equal |
greater-equal | less-equal | exist | not-exist | match | never-match } } &<1-4>
The maximum upstream bandwidth and downstream bandwidth of the UNI interface on the
ONU are set.
----End
Procedure
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.
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.
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.
Issue 01 (2012-03-15)
24
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
Issue 01 (2012-03-15)
25
Issue 01 (2012-03-15)
26
VLAN tag: The EPON interface adds VLAN tags to untagged packet sent upstream to
identify packets sent from different ONUs.
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.
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 S9700 and the upstream device
Data Preparation
To configure the EPON VLAN service, you need the following data.
NOTE
No.
Data
Default VLAN ID
Inner VLAN ID and outer VLAN ID of packets and mapped inner VLAN ID and
outer VLAN ID for VLAN mapping
27
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
28
Procedure
Step 1 Run:
system-view
29
Step 5 Run:
quit
Procedure
Step 1 Run:
system-view
30
Step 6 Run:
port hybrid tagged vlan vlan-id3
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
Issue 01 (2012-03-15)
31
7 Configuration Examples
Configuration Examples
Issue 01 (2012-03-15)
32
7 Configuration Examples
Phone
EPON1/0/0
Network
UNI1
PC
OLT Switch
ODN
ONU 1
LAN Switch
IPTV
Add the ONU to the Switch manually so that the ONU can provide the Internet access
service for the user.
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.
3.
4.
Configure a service profile and set the bandwidth parameters for the user.
5.
Data Preparation
To complete the configuration, you need the following data:
l
Issue 01 (2012-03-15)
33
7 Configuration Examples
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
SnmpProf Mac
Password
Interface
Name
Address
- - - - - - - - - - - - - - - - - - - - - - -------- ---------123456
Epon1/0/0
----End
Configuration Files
l
Issue 01 (2012-03-15)
34
7 Configuration Examples
pr
ofile-name service1
#
return
EPON1/0/0
Enterprise
Inside-VLAN 10
inner-VLAN 20
VLAN 2
Internet
inner-VLAN 100
VLAN 10
ONU1
ODN
OLT
(Switch)
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
Configure service profiles on the Switch and deliver the outer VLAN IDs to the ONUs.
3.
4.
Data Preparation
To complete the configuration, you need the following data:
l
Procedure
Step 1 Configure a line profile on Switch
Issue 01 (2012-03-15)
35
7 Configuration Examples
<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
[Quidway] service-profile service
[Quidway-srv-prof-service] uni vlan eth 1 default-vlan 2
[Quidway-srv-prof-service] quit
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 mapinner-vlan 100
[Quidway-Epon1/0/0-onu1] quit
[Quidway-Epon1/0/0] port hybrid tagged vlan 10
----End
Configuration Files
l
Issue 01 (2012-03-15)
36