Beruflich Dokumente
Kultur Dokumente
V100R006C01
01
Date
2011-10-26
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 (2011-10-26)
Commissioning engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol
Description
DANGER
WARNING
CAUTION
Issue 01 (2011-10-26)
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 (2011-10-26)
iii
Contents
Contents
About This Document.....................................................................................................................ii
1 EPON Access Configuration.......................................................................................................1
1.1 Overview of EPON.............................................................................................................................................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 Configuring the EPON Access Service.....................................................................................................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 of 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..................................................................................................................18
1.4.3 Configuring the Terminal Management Service.....................................................................................18
1.4.4 Checking the Configuration.....................................................................................................................20
1.5 Configuring the EPON VLAN Service............................................................................................................20
Issue 01 (2011-10-26)
iv
Contents
Issue 01 (2011-10-26)
Issue 01 (2011-10-26)
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.
In the typical EPON networking, an S9300 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 (2011-10-26)
IPTV
OLT Switch
Phone
LAN Switch
Network
PC
ODN
ONU
IPTV
Phone
LAN Switch
PC
ONU
IPTV
Issue 01 (2011-10-26)
An S9300 installed with Ethernet LPUs and EPON LPUs can function as a routing switch and
an OLT at the same time. Such an S9300 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
Bandwidth of ONU
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
snmp-profile snmp-profile-name version { v1 | v2 } read-group read-group writegroup write-group dest-ip ip-addrress source-port port-number security-name
security-name
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 line-
Issue 01 (2011-10-26)
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 S9300.
You can run the onu confirm command to add ONUs 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, thus avoiding incorrect MAC address or password.
----End
Procedure
Step 1 Run:
system-view
Issue 01 (2011-10-26)
Procedure
Step 1 Run:
system-view
CAUTION
After the configuration of an ONU is modified, the ONU needs to go online again.
----End
Procedure
Step 1 Run:
Issue 01 (2011-10-26)
system-view
Procedure
Step 1 Run:
system-view
Information about the ONUs that are automatically discovered 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
10
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
CAUTION
After you run this command, online ONUs are forced to go offline.
----End
11
Context
To diagnose an ONU, you can enable the loopback function of the ONU.
Procedure
Step 1 Run:
system-view
CAUTION
After the loopback function is enabled, services are interrupted.
----End
Procedure
Step 1 Run:
system-view
Issue 01 (2011-10-26)
12
CAUTION
After you run this command, the specified ONU is forced to go offline and services are
interrupted.
----End
Procedure
Step 1 Run:
system-view
13
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
14
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
15
Context
The S9300 can dynamically learn MAC addresses according to the ONU ID. If the learned MAC
addresses are not required, you can clear them manually.
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.
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.
Issue 01 (2011-10-26)
16
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.
----End
The configuration tasks in this section are optional. You can perform the required tasks according to the
actual situation of the 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
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.
Issue 01 (2011-10-26)
No.
Data
Service profile
VLAN that the logical user-network interface (UNI) of the ONU belongs to
Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd.
17
No.
Data
Multicast mode
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
18
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 on the S9300. The following
operations are optional and can be performed at a random sequence.
l Run:
fec-switch enable
The user-side interface UNI on the ONU is configured to remove the multicast VLAN tag
from multicast packets before forwarding the multicast packets.
l Run:
uni vlan eth port-id { vlan-id | transparent | translation svlan-id user-vlan
cvlan-id | default-vlan default-vlan-id }
The user-side VLAN, that is, the VLAN that the UNI interface belongs to, is specified.
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 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
Issue 01 (2011-10-26)
19
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.
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
VLAN tag: The EPON interface can add a VLAN tag to an upstream untagged packet
according to the ONU that sends the packet. Thus packets of different users can be
identified.
VLAN mapping: In a tagged packet sent from an ONU, the tag identifies the service type
or location of the user. This type of packets cannot be transmitted on the public network.
Therefore, the VLAN tag of the packet sent from the ONU needs to be 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 according to the actual situation and requirement
of the network.
NOTE
The configuration tasks in this section are optional and not listed in sequence. You can configure them as
required.
Issue 01 (2011-10-26)
20
Pre-configuration Tasks
Before configuring the EPON VLAN service, complete the following tasks:
l
Ensuring normal communication between the S9300 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
Procedure
Step 1 Run:
system-view
21
After the default VLAN ID is specified for an ONU, the S9300 adds the default VLAN tag to
the untagged packets sent from this ONU. Then the S9300 identifies different users according
to the VLAN tags in their packets.
----End
Procedure
Step 1 Run:
system-view
22
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.
You can 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
23
Procedure
Step 1 Run:
system-view
The statistics of ONUs cannot be restored after you clear them. So, confirm the action before you use the
command.
Issue 01 (2011-10-26)
24
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
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.
Figure 1-2 Networking diagram for configuring the EPON access service
Phone
EPON1/0/0
Network
UNI1
PC
OLT Switch
ODN
ONU 1
LAN Switch
IPTV
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.
Issue 01 (2011-10-26)
25
5.
Data Preparation
To complete the configuration, you need the following data:
l
Procedure
Step 1 Enable the Switch to 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 (2011-10-26)
26
#
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 servicepr
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
Issue 01 (2011-10-26)
27
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
[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 (2011-10-26)
28