01 Access Volume EPON OLT Configuration

Embed Size (px)

Citation preview

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    1/63

    i

    Table of Contents

    1 EPON Conf iguration 1-1

    Introduction to EPON System1-1

    EPON Architecture1-1

    Benefits of the EPON Technology1-2

    EPON Application Mode1-2

    Data Transmission in an EPON System1-2

    ONU Registration 1-3

    Extended OAM Connection Establishment1-3

    Bandwidth Allocation1-4

    Data Transmission1-4

    EPON System Security1-5

    EPON System Reliability1-6

    S7500E Series Switches and EPON System 1-6

    Features of an S7500E Switch Working as an OLT Device1-6

    Three Port Types in an EPON System1-7

    S7500E OLT Configuration Task List 1-7

    2 OLT Configuration 2-1

    OLT Configuration2-1

    OLT Configuration Task List2-1

    EPON System Parameter Configuration2-1

    Configuring Dynamic Bandwidth Allocation and Related Parameters 2-3

    Configuring Grant filtering on the OLT port2-4

    Configuring the Link Type of an OLT Port2-5

    Configuring Fiber Backup2-5

    Displaying and Maintaining OLT Configuration 2-7

    OLT Configuration Examples2-8

    OLT Port Isolation Configuration Example2-8

    Fiber Backup Configuration Example2-9

    3 ONU Remote Management Configuration3-1

    ONU Configuration3-1

    ONU Configuration Task List3-1

    Creating an ONU Port 3-2

    Binding an ONU with an ONU Port 3-2

    Configuring the Management VLAN of the ONU 3-3

    Enabling Related Protocols on an ONU3-4

    Configuring the Multicast Mode of the ONU3-5

    Configuring the Link Type of an ONU Port3-8

    Enabling FEC 3-10

    Configuring an ONU to Report Information to the OLT3-11

    Configuring Traffic Encryption3-11

    Testing the Link Between an ONU and the OLT3-11

    Deregistering an ONU3-12

    Updating ONUs 3-12

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    2/63

    ii

    Restarting an ONU3-15

    Displaying and Maintaining ONU Port Configuration3-15

    Configuration Examples for ONU Remote Management3-15

    Configuration Example for Binding an ONU Port to an ONU3-15

    ONU RSTP Configuration Example 3-16

    Multicast Configuration Example (in IGMP Snooping Mode)3-17

    Multicast Configuration Example (in Multicast Control Mode)3-18

    ONU Update Configuration Example 3-20

    4 UNI Port Configuration 4-1

    UNI Port Configuration Task List 4-1

    UNI Port Basic Configuration 4-1

    Configuring the VLAN Operation Mode for a UNI 4-2

    Configuring Fast-Leave Processing for a UNI4-5

    Configuring Port Isolation for a UNI4-5

    Displaying and Maintaining UNI Port Configuration4-6

    5 Alarm Configuration 5-1

    Introduction to Alarm5-1

    Sampling and Alarms 5-1

    Alarm Configuration Task List5-1

    Enabling Alarm Monitoring 5-1

    Configuring Global Alarms5-2

    Configuring Alarms on an OLT Port 5-5

    Configuring Alarms on an ONU Port 5-9

    Displaying and Maintaining Alarm Configurations5-10

    6 Supported Switch Features and Restr ict ions 6-1

    OLT Port Features and Restrictions 6-1

    ONU Port Features and Restrictions 6-2

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    3/63

    1-1

    1 EPON Configuration

    Introduct ion to EPON System

    Ethernet Passive Optical Network (EPON) is a Passive Optical Network (PON) which carries Ethernet

    frames encapsulated in 802.3 standards. It is a combination of the Ethernet technology and the PON

    technology in compliance with the IEEE 802.3ah standards issued in June, 2004.

    EPON Architecture

    A typical EPON system consists of three components: optical line terminal (OLT), optical network unit

    (ONU), and optical distribution network (ODN), as shown in Figure 1-1.

    Figure 1-1A typical EPON architecture

    ODN

    OLT POS

    ONU2

    ONU1

    ONUn

    OLT

    An OLT, generally an Ethernet switch, router, or multimedia conversion platform, is located at the central

    office (CO) as a core device of the whole EPON system to provide core data and video-to-telephone

    network interfaces for EPON and the service provider.

    ONU

    ONUs are used to connect the customer premise equipment, such as PCs, set-top boxes (STBs), and

    switches. Generally placed at customer's home, corridors, or roadsides, ONUs are mainly responsible

    for forwarding uplink data sent by customer premise equipment (from ONU to OLT) and selectively

    receiving downlink broadcasts forwarded by OLTs (from OLT to ONU).

    ODN

    An ODN consists of optical fibers, one or more passive optical splitters (POSs), and other passive

    optical components. ODNs provide optical signal transmission paths between OLTs and ONUs.

    A POS can couple uplink data into a single piece of fiber and distribute downlink data to respective

    ONUs.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    4/63

    1-2

    Benefits o f the EPON Technology

    Lower operation and maintenance costs

    Compared with a traditional Ethernet broadband access network, an EPON network greatly lowers the

    operation and maintenance costs. This is because, as passive equipment in an EPON system, POSs

    are energy-saving (requiring no power supply), highly reliable (not affected in case of a power outage),

    and easy to install, and save optical fiber resources.

    Long dis tances and higher bandwidths

    Compared with an Ethernet broadband access network, an EPON system provides a longer access

    transmission distance (up to 20 km, or 12.43 miles) and higher bandwidth (1 Gbps) that can adapt to the

    service status of the ONUs in real time. Each ONU enjoys dedicated line quality similar to Time Division

    Multiplexing (TDM) with dedicated uplink bandwidth in the grant cycle assigned to it.

    EPON Application Mode

    Based on where ONUs are deployed, EPON application mode can be Fiber To The Curb (FFTC), Fiber

    To The Building (FTTB), and Fiber To The Home (FTTH).

    FTTC

    In an FTTC system, ONUs are deployed at roadside or beside the junction boxes of telegraph poles.

    Usually, twisted-pair copper wires are used to connect the ONUs to each user, and coaxial cables are

    used to transmit broadband graphic services. One of the main benefits of the FTTC technology is that it

    allows the existing copper wire infrastructure to continue to be used between the ONUs and customer

    premises, thus postponing the investments on optical fibers to the home. Currently, the FTTC

    technology is the most practical and economical Optical Access Network (OAN) solution for providing

    narrowband services below 2 Mbps. For services integrating narrowband and broadband services,

    however, FTTC is not the ideal solution.

    FTTB

    In an FTTB system, ONUs are deployed within buildings, with the optical fibers led into user homes

    through ADSL lines, cables, or LANs. Compared with FTTC, FTTB has a higher usage of optical fiber

    and therefore is more suitable for user communities that are dense or need narrowband/broadband

    integrated services.

    FTTH

    In an FTTH system, ONUs are deployed in user offices or homes to implement a fully transparent

    optical network, with the ONUs independent of the transmission mode, bandwidth, wavelength, and

    transmission technology. Therefore, FTTH is ideal for the long term development of optical access

    networks.

    Data Transmission in an EPON System

    An EPON system uses the single-fiber wavelength division multiplexing (WDM) technology (with

    downlink central wavelength of 1490 nm and uplink central wavelength of 1310 nm) to implement

    single-fiber bidirectional transmission, supporting a transmission distance of up to 20 km (12.43 miles).

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    5/63

    1-3

    As shown in Figure 1-2, before an EPON system transmits data, ONU registration (See ONU

    Registration), extended OAM connection establishment (See Extended OAM Connection

    Establishment), and bandwidth allocation (See Bandwidth Allocation) are required.

    Figure 1-2 Data transmission in an EPON system

    ONU Regist ration

    Four types of Multipoint Control Protocol (MPCP) messages are used in ONU registration: GATE,

    REGISTER_REQ, REGISTER, and REGISTER_ACK. Each of these messages contains a time stamp

    field that records the local clock at the time of packet transmission. There are two types of GATE

    messages:

    General GATE messages, which allocate bandwidths in unicast mode.

    Discovery GATE messages, which discover ONUs in broadcast mode.

    An ONU registration process is as follows:

    1) An OLT broadcasts a discovery GATE message to notify the start time and length of the discovery

    timeslot to all the ONUs.

    2) An unregistered ONU responds to the discovery GATE message and modifies its local clock to be

    consistent with the time stamp contained in the GATE message. When the local clock of the ONU

    reaches the start time of the discovery timeslot, the ONU waits a random period of delay before

    sending a REGISTER_REQ message, which contains the MAC address of the ONU and the local

    time stamp of the ONU when the REGISTER_REQ message is sent.

    3) Upon receiving the REGISTER_REQ message from the unregistered ONU, the OLT obtains theONU's MAC address and ONU-OLT round trip time (RTT) (For the RTT measurement, see

    Configuring the maximum ONU-OLT RTT. The ONU-OLT RTT is mainly used for the time

    synchronization between an OLT and ONUs.

    4) The OLT parses the received REGISTER_REQ message, and uses the MAC address contained in

    the message to unicast a REGISTER message to the unregistered ONU. The REGISTER

    message contains a Logical Link ID (LLID) assigned to the ONU as the unique identifier of the

    ONU.

    5) Right after sending a REGISTER message, the OLT sends a general GATE message to the same

    ONU.

    6) After receiving the REGISTER message and general GATE message, the ONU sends a

    REGISTER_ACK message in the timeslot assigned in the GATE message to notify the OLT that

    the REGISTER message is parsed successfully.

    7) The ONU registration is complete.

    Extended OAM Connection Establishment

    The EPON cards of the S7500E series Ethernet switches support the Operation, Administration and

    Maintenance (OAM) functions and extended OAM functions. This enables OLTs to remotely operate,

    manage, and maintain ONUs.

    Extended OAM connection establishment includes OAM capability discovery and exchange of

    additional information. It is the capability acknowledgement process required before completing other

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    6/63

    1-4

    extended OAM functions. Data transmission begins only after the extended OAM connection is

    established. The process of extended OAM connection establishment is as follows:

    1) Standard OAM discovery establishment is complete.

    2) The ONU reports the supported Organizationally Unique Identifier (OUI) and extended OAM

    version number to the OLT.

    3) The OLT checks whether the reported OUI and extended OAM version number are in the list of

    OUIs and extended OAM version numbers supported by the OLT: If yes, the extended OAM connection for the ONU is established successfully;

    Otherwise, the extended OAM connection for the ONU cannot be established.

    For detailed OAM and extended OAM descriptions, refer to the "Ethernet OAM" module of this manual.

    Bandwidth Allocation

    Once the extended OAM connection is established, downlink data transmission can begin. Uplink data

    transmission can begin only after uplink bandwidth is allocated.

    In bandwidth allocation, mainly two types of MPCP messages: GATE and REPORT, are used:

    A GATE message is sent by an OLT to assign a transmission timeslot to an ONU.

    A REPORT message is sent by an ONU to feed back the local status information, such as buffer

    occupancy, to the OLT, helping the OLT assign timeslots intelligently.

    An OLT allocates bandwidth to an ONU as follows:

    1) The OLT sends a GATE message to notify the ONU of the timeslot for sending a REPORT

    message.

    2) The ONU sends a REPORT message within the assigned timeslot to report its local status

    information to the OLT.

    3) Upon receiving the REPORT message from the ONU, the OLT, based on the current bandwidth of

    the system, assigns the ONU a data transmission timeslot, which contains the start time and length

    for transmitting data by the ONU.

    4) The ONU receives the GATE message and waits for the arrival of the start time contained in the

    GATE message. Once the start time is reached, data transmission begins.

    5) The bandwidth allocation is complete.

    Data Transmission

    Downlink data transmission

    Downlink data is broadcast to the ONUs, with each ONU receiving only the packets destined to it and

    discarding other packets, as shown in Figure 1-3.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    7/63

    1-5

    Figure 1-3 Downlink data transmission in an EPON system

    Uplink data transmission

    As shown in Figure 1-4, each ONU buffers the data frames received from users and sends the buffered

    data frames at the full wire-speed (1000 Mbps) once the timeslot for the ONU arrives.Figure 1-4 Uplink data transmission in an EPON system

    The Time Division Multiple Access (TDMA) technology is used to transmit uplink data. This ensures that

    one optical fiber between the OLT and the POS can transmit data signals from multiple ONUs to the

    OLT without signal interference.

    EPON System Security

    Downlink data through the OLT is broadcast to each ONU. To prevent illegal interception of user

    information, each LLID in an EPON system is assigned a unique key, which is updated periodically:

    In a key update process, the OLT sends a new key request message to an ONU. Upon receiving the

    new key request message, the ONU sends a new key notification message back to the OLT.

    In a key update process, an OLT uses the key update timer and encryption response timer:

    1) OLT key update timer

    This timer is used to control the key update cycle. When the key update timer expires, the OLT sends

    another key request message to start another key update process.

    2) OLT encryption response timer

    This timer is used to start another key update process when the OLT receives no new key notification

    message, thus making the key update more reliable.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    8/63

    1-6

    Upon sending a key update request message, the OLT starts the encryption response timer:

    If the OLT receives a correct new key notification message from an ONU before the timer expires,

    the OLT enables the new key and cancels the timer.

    If the OLT receives no new key notification message before the timer expires, the OLT considers

    the key update process has failed, resets the timer, and sends another key update request

    message. Before the key update succeeds, an ONU keeps using the original key and the OLT

    reports the key update failure information to the network management system. If the OLT receives no new key notification message within the encryption response timer duration

    after sending three new key request messages consecutively, the OLT sends an alarm to the

    network management system and the old key continues to be used for downlink data. In this case,

    you are recommended to adjust the value of the encryption response timer.

    EPON System Reliabili ty

    To ensure high reliability for the trunk fibers and OLTs in an EPON system, you can add two OLT ports

    on one EPON card or on two different EPON cards to a fiber backup group. When a system fault occurs,

    for example, when a trunk fiber is broken or an OLT port becomes abnormal, a switchover is performed

    automatically between the two OLTs, which act as backup for each other. You can also perform a

    manual switchover between two OLT ports added to the backup group as needed. Figure 1-5depicts a

    fiber backup group, where POS is a 2:N optical splitter.

    Figure 1-5 Network diagram for a fiber backup group

    S7500E Series Switches and EPON System

    Features of an S7500E Switch Working as an OLT Device

    With an EPON card installed, an S7500E switch can work as an OLT device in an EPON system. In

    such a case, the S7500E switch has the following features:

    Compliance with EPON interoperation standards: Interoperable with other vendors' ONUs that

    support China Telecom Technical Requirements for EPON Devices.

    Integrating access and convergence: Each EPON card in an S7500E switch has multiple physical

    OLT ports, and each OLT port has 64 logical ports, namely, ONU ports, each of which can

    correspond with an ONU. Thus, one EPON card can work as multiple OLT devices. This reduces

    users' equipment purchase costs, and the management costs and fault ratio caused byinterconnection between multiple device ports.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    9/63

    1-7

    Powerful ONU remote management capabilities: You can centrally manage and configure different

    services on ONUs and ONU UNI (User Network Interface) ports through OLTs. This greatly lowers

    subsequent maintenance costs.

    Excellent security protection: OLTs can protect network devices in terms of control, management,

    and forwarding against illegal access or abnormal traffic.

    Powerful access control list (ACL) and QoS functions: OLTs support standard and extended ACLs,

    and support traffic policing, traffic shaping, packet priority, multiple queue scheduling mechanisms,multiple congestion avoidance mechanisms, and other QoS assurance functions.

    Three Port Types in an EPON System

    When an S7500E switch works as an OLT device in an EPON system, the EPON system has three port

    types: OLT, ONU, and UNI, as shown in Figure 1-6.

    Figure 1-6An EPON system

    OLT port

    Each PON port on an EPON card in an S7500E switch is an independent OLT device. For an S7500E

    switch, a PON port is an OLT port. An OLT port number is in the format EPON card slot

    number/sub-card slot number/OLT port number, such as OLT 3/0/1, as shown in Figure 1-6.

    ONU port

    Each OLT port of an S7500E switch has 64 logical ONU ports. An ONU port becomes a physical port

    only after an ONU device is bound with it. The configurations performed in ONU port view take effect on

    the corresponding ONU device. An ONU port number is in the format EPON card slot number/sub-card

    slot number/OLT port number: ONU port number, such as ONU 3/0/1:1, as shown in Figure 1-6.

    UNI Port

    A UNI port is an ONU device port connected to a user. The UNI port number supported by an S7500E

    switch is in the range 1 to 80. The actual numbers vary with ONU devices. For example, when the ONU

    device corresponding to ONU 3/0/1:1 in an EPON system is S3100-16C-EPON-EI, the UNI port number

    is in the range 1 to 16.

    S7500E OLT Conf iguration Task List

    Figure 1-6shows an EPON system networking diagram, which assumes that only two ONUs are

    attached to one OLT port and each ONU is connected to only one user.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    10/63

    1-8

    Based on the three port types (OLT, ONU, and UNI) shown in Figure 1-6, this document details the

    functions of an S7500E Ethernet switch working as an OLT device and the configurations for the

    functions.

    Complete the following tasks to configure OLT on an S7500E switch:

    Task Remarks

    OLT Configuration

    EPON system parameter description and configuration

    Description and configuration of the functions of anS7500E switch working as an OLT device

    ONU Remote ManagementConfiguration

    Description and configuration procedure of ONU remotemanagement through OLT

    UNI Port Configuration

    UNI port introduction

    Configuration procedure of UNI remote managementthrough OLT

    Alarm Configuration Configurations of all the alarms in an EPON system

    Supported Switch Features andRestrictions

    Switch features supported by OLTs and ONUs, relatedmanuals, and cautions

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    11/63

    2-1

    2 OLT Configuration

    When working as an OLT device, an S7500E switch supports abundant features. This chapter

    describes only the functions of an S7500E switch working as an OLT device. For other functions,

    see OLT Port Features and Restrictions.

    If the OLT configurations in this manual take effect only when the OLT is used together with ONUs

    manufactured by H3C (hereinafter referred to as H3C ONUs), related descriptions will be given in

    the configuration task list in each chapter; if no such description is given, the OLT configurations

    will take effect on all the ONUs compliant with China's EPON standards.

    OLT Configuration

    OLT Configuration Task List

    Complete the following tasks to configure an OLT:

    Task Remarks

    Configuring OUI and extended OAM version numberlist

    Optional

    Configuring the maximum ONU-OLT RTT Optional

    Configuring the timeout time of the extended OAMmessages

    Optional

    EPON SystemParameterConfiguration

    Configuring the key update time and encryption replytimeout time of the encryption

    Optional

    Configuring Dynamic Bandwidth Allocation and Related Parameters Optional

    Configuring Grant filtering on the OLT port Optional

    Configuring the Link Type of an OLT Port Optional

    Configuring Fiber Backup Optional

    Displaying and Maintaining OLT Configuration Optional

    EPON System Parameter Configuration

    Configuring the maximum ONU-OLT RTT

    During ONU registration, an OLT obtains the Round Trip Time (RTT) value of an ONU through the

    exchange of discovery GATE messages and REGISTER_REQ messages between the OLT and the

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    12/63

    2-2

    ONU. By configuring a maximum RTT at the OLT side, you can set the coverage range of the EPON

    system. An ONU whose RTT is greater than the RTT configured on the OLT cannot be registered.

    Setting a short RTT prevents ONUs too far away from the OLT from being registered with the EPON

    system (a far-away ONU suffers high optical power attenuation). Setting a long RTT can expand the

    coverage range of the EPON system, allowing as many ONUs as possible to be registered successfully.

    The process of RTT measurement is as follows:

    1) The OLT sends an ONU a discovery GATE message containing the OLT local time T0, namely, the

    time stamp in the discovery GATE message is T0.

    2) Upon receiving the discovery GATE message, the ONU modifies its local time to be the time stamp

    T0 in the message and sends a REGISTER_REQ message to the OLT at T 1 after a delay(the time

    stamp of the REGISTER_REQ message is T1).

    3) The OLT receives the REGISTER_REQ message at T2.

    4) The OLT calculates the ONU RTT by using the formula: RTT=(T2-T0)-(T1-T0)=T2-T1.

    5) If the OLT becomes idle at T3 and remains idle for a period of T, the timeslot assigned to the ONU

    is { T3-RTT, T }. That is, the ONU will start sending data at T3-RTT and send data for a period of

    T.

    Follow these steps to configure EPON system parameters:

    To do Use the command Remarks

    Enter system view system-view

    Enter OLT port viewinterfaceol tinterface-number

    Configure the MaximumONU-OLT RTT

    max-rtt valueOptional

    13524 TQ by default

    Exit to system view quit

    Enter FTTH view ftth

    Configure OUI andextended OAM versionnumber list

    epon-parameter ouilist{ ouioui-valueoam-versionversion-value }& slotslot-number

    Required

    By default, the OUI and extendedOAM version number must beconfigured as 111111 and 1respectively.

    Configure the key updatetime and encryption replytimeout time of the

    encryption

    encryption timer { updateupdate-time |no-reply-timeout timeout }*

    slot slot-number

    Optional

    By default, the key update time is 10seconds and the encryption reply

    timeout time is 3000 milliseconds.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    13/63

    2-3

    When the OUI and OAM version number list on an EPON service board changes due to addition or

    removal of user-defined list entry, all ONUs under the board will re-register.

    It is recommended that you configure the maximum ONU-OLT RTT only when necessary. The

    relationship between the RTT and the distance (in meters) from the OLT to the ONU can be roughly

    expressed by the formula: RTT = (Distance + 157)/1.6393.

    The max-rttcommand is applicable to unregistered ONUs only.

    The encryption reply timeout time must be less than or equal to the key update time.

    Configuring Dynamic Bandwidth Allocation and Related Parameters

    Dynamic bandwidth allocation (DBA) is used by an OLT to adjust the uplink bandwidth of individual

    ONUs in real time according to the traffic status of the ONUs.

    BA is implemented through a request-response mechanism:

    An OLT obtains the traffic information of ONUs from the bandwidth requests (REPORT messages)

    received from ONUs, uses a suitable bandwidth allocation algorithm to calculate the bandwidth to be

    allocated for this cycle within the specified uplink ONU bandwidth range, and notifies the results to the

    ONUs through bandwidth authorization (GATE messages). This ensures that uplink data sent by ONUs

    will not conflict with each other.

    Compared with static (fixed) bandwidth allocation, DBA is more suitable for bursty IP/Ethernet services.

    DBA reduces bandwidth wastes and allows for more efficient uplink bandwidth utilization. With DBA

    adopted, the order and the time for ONUs to send uplink frames are controlled by the OLT.

    There are two types of DBA algorithms: internal DBA algorithm and external DBA algorithm.

    The internal DBA algorithm is implemented internally by a chip.

    The external DBA algorithm is implemented through loading an external DBA algorithm file.

    Follow these steps to configure dynamic bandwidth allocation and related parameters

    To do... Use the command... Remarks

    Enter system view system-view

    Enter OLT port view interfaceoltinterface-number

    Load thespecifiedexternal DBAalgorithm file

    dba-algorithm update file-urlUse anexternalDBAalgorithm

    Use thespecifiedexternal DBAalgorithm

    dba-algorithm enableextdba

    Use the internal DBA algorithm dba-algorithm enableintdba

    Use either internal DBAalgorithm or external DBAalgorithm.

    By default, the internal DBAalgorithm is used.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    14/63

    2-4

    To do... Use the command... Remarks

    Configure the relatedparameters of ONU discovery

    dba-parameters{ discovery-frequencyvalue|discovery-lengthvalue|cycle-lengthvalue} *

    Optional

    By default, thediscovery-frequencyvalueis 50, the discovery-lengthvalue is 41500 TQ, and thecycle-lengthvalue is 65535

    TQ.

    Return to system view quit

    Enter ONU port view interfaceonuinterface-number

    Set the ONU's uplink bandwidthlimits and the delay mode ofpacket forwarding.

    upstream-sla{ minimum-bandwidthvalue1|maximum-bandwidth value2 |delay{ low| high} } *

    Required

    By default, the minimumbandwidth of an ONUis 2048kbps, the maximumbandwidth is 23552 kbps, andlow delay is adopted.

    Configure the

    number of queuesets supported byONU Reportframes

    dba-report queue-set-numberqueue-set-number

    Configuretheadministrationattributes ofDBAnegotiation

    Configure thethreshold for aqueue

    dba-report queue-id queue-id{ active |inactive} thresholdthreshold-value

    Optional

    By default, ONU Reportmessages support two queuesets. The default thresholdsof queue 4 and queue 5 are65535, while the defaultthresholds of other queuesare 0.

    1 time quantum (TQ) is equal to 16 ns, which is the time it takes to transmit two bytes of data at 1

    Gbps.

    You can manually load an external DBA algorithm file by using the dba-algorithm update

    command as needed.

    DBA-related configuration is only recommended for administrators. Improper DBA configuration

    may terminate all the services.

    H3C ONU Report frames support up to two queue sets.

    The sum of the minimum uplink bandwidths configured for all created ONU ports under an OLT port

    cannot exceeds 921600 kbps, namely, 900 Mbps.

    Configuring Grant fi ltering on the OLT port

    In an EPON system, uplink transmission adopts the TDMA technology. An OLT assigns each ONU a

    time slot and each ONU can only send data in its own time slot in sequence. Therefore, the OLT

    implements strict time synchronization. Within the specified time, the OLT can only receive the packets

    from the specified ONU. If the time synchronization of an ONU is inaccurate, however, the packets that

    the OLT receives within a specified time period may be from another ONU. In that case, if grant filtering

    is enabled on the OLT port, the OLT does not allow the received packets to pass through.

    Follow these steps to configure other OLT functions:

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    15/63

    2-5

    To do... Use the command... Remarks

    Enter system view system-view

    Enter OLT port view interfaceoltinterface-number

    Enable grant filtering onthe OLT port

    grant-filtering enableOptional

    Enabled by default

    Configuring the Link Type of an OLT Port

    You can configure an OLT port as a hybrid port, and assign it to the specified VLANs in tagged mode or

    untagged mode.

    Follow these steps to configure the link type of an OLT port:

    To do Use the command Remarks

    Enter system view system-view

    Enter OLT port view interfaceol tinterface-number

    Configure the OLT port asa hybrid port

    port link-typehybrid Optional

    Assign the port to thespecified VLANs in taggedmode or untagged mode

    port hybridvlanvlan-id-list { tagged| untagged }

    Required

    By default, an OLT portbelongs to only VLAN 1 andforwards packets of VLAN 1tagged.

    Configure the defaultVLAN of the OLT port

    port hybrid pvid vlan vlan-idOptional

    VLAN 1 by default

    The VLAN(s) that you assign an OLT port to must already exist.

    Configuring Fiber Backup

    For fiber backup description, see EPON System Reliability.

    Follow these steps to configure fiber backup

    To do... Use the command... Remarks

    Enter system view system-view

    Enter FTTH view ftth

    Create a fiber backup group fiber-backup group group-number Required

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    16/63

    2-6

    To do... Use the command... Remarks

    In fiberbackupgroup view

    group member interface-typeinterface-number

    quit

    quit

    interfaceinterface-type interface-number

    port fi ber-backup groupgroup-number

    quit

    ftth

    Add an OLT

    port to a fiberbackupgroup In OLT port

    view

    fiber-backup group group-number

    Required

    Use either one ofthe two methods

    Perform a master/slaveswitchover between the twoOLT ports in the fiber backupgroup

    port switch-over Optional

    Up to two OLT ports can be added to one backup group. An OLT port can be added to only one

    backup group at a time. The port added to the backup group earlier will be the master port, while

    the other port will be the standby port.

    Only one of the two OLT ports in a fiber backup group can be in the forwarding state.

    After the second OLT port is added to a backup group, you need to manually synchronize the

    configurations of the first OLT port and all the ONUs under it to the second OLT port. This ensures

    normal service operation after a master/standby switchover.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    17/63

    2-7

    Displaying and Maintaining OLT Configuration

    To do... Use the command... Remarks

    Display related information of EPONparameters

    display epon-parameter slotslot-number

    Available inFTTH viewonly

    Display the information about all theONUs under an OLT port, ONU port, orthe EPON board in the specified slot

    display onuinfo{ interfaceinterface-type interface-number| slotslot-number}

    Display the information about the legalONU with the specified MAC address

    display onuinfo mac-addressmac-address

    Display the information about all thesilent ONUs connected to the specifiedOLT port or to the EPON card seated inthe specified slot

    display onuinfo silent {interfaceinterface-type interface-number|slotslot-number}

    Display the optical parameterinformation of an OLT port

    display optics-parameters interfaceinterface-type interface-number

    Display port version informationdisplay epon-version interfaceinterface-typeinterface-number

    Display port capability informationdisplay epon-capability interfaceinterface-typeinterface-number

    Display the current work mode of a portdisplay epon-workmode interfaceinterface-typeinterface-number

    Display the statistics on a portdisplay epon statistics interfaceinterface-type interface-number

    Display the OAM information about an

    ONU

    display epon-oam interface

    interface-typeinterface-number

    Display the master/standby portinformation of a backup group

    display fiber-backup group { all |group-number }

    Display the registration andderegistration information of an ONU

    display onu-eventinterfaceinterface-typeinterface-number

    Display all the configuration information display current-configuration

    Display the configuration information inthe current view

    display this

    Available inany view

    To display the information about an ONU, make sure the ONU is online. You can use the display

    onuinfocommand to check whether an ONU is online.

    Port statistics data includes average error rate of data bits and data frames transmitted between an

    OLT and the ONUs. For detailed information, refer to the command manual.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    18/63

    2-8

    OLT Configuration Examples

    OLT Port Isolation Configuration Example

    Network requirements

    An OLT device is connected to the Internet through the uplink port.

    Configure port isolation between OLT 3/0/1 and OLT 3/0/2 so that the users under OLT 3/0/1 andthose under OLT 3/0/2 can access the Internet but cannot communicate with each other at Layer 2.

    Network diagram

    Figure 2-1 Network diagram for OLT port isolation

    Configuration procedure

    # Add OLT 3/0/1 and OLT 3/0/2 to an isolation group.

    syst em- vi ew

    [ Sysname] i nt er f ace ol t 3/ 0/ 1

    [ Sysname- Ol t 3/ 0/ 1] por t - i sol at e enabl e

    [ Sysname-Ol t 3/ 0/ 1] qui t

    [ Sysname] i nt er f ace ol t 3/ 0/ 2

    [ Sysname- Ol t 3/ 0/ 2] por t - i sol at e enabl e

    [ Sysname-Ol t 3/ 0/ 2] qui t

    # Display the isolation group information.

    di spl ay por t - i sol ate group

    Por t - i sol at e gr oup i nf ormat i on:

    Upl i nk port support : NO

    Gr oup I D: 1

    ol t 3/ 0/ 1 ol t 3/ 0/ 2

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    19/63

    2-9

    Fiber Backup Configuration Example

    Network requirements

    Add two OLT ports of the same EPON board to a fiber backup group one after the other.

    Perform a manual switchover between the two OLT ports. When the master port is shut down, the

    slave port becomes the new master port.

    Network diagram

    Figure 2-2 Network diagram for fiber backup group configuration

    OLT3/0/1

    OLT3/0/2

    OLT POS

    ONU2

    ONU1

    ONUn

    2:N

    Configuration procedure

    # Create fiber backup group 1.

    syst em- vi ew

    [ Sysname] f t t h[ Sysname- f t t h] f i ber- backup gr oup 1

    Cr eat e gr oup 1 successf ul l y.

    # Add port OLT 3/0/1 and then OLT 3/0/2 to fiber backup group 1. Thus, OLT 3/0/1 works as the master

    port and OLT 3/0/2 the slave port.

    [ Sysname- f i ber - group1] group member ol t 3/ 0/ 1

    [ Sysname- f i ber - group1] group member ol t 3/ 0/ 2

    [ Sysname- f i ber- gr oup1] di spl ay f i ber- backup gr oup 1

    f i ber backup gr oup 1 i nf ormati on:

    Member Rol e St at e

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Ol t 3/ 0/ 1 MASTER ACTI VE

    Ol t 3/ 0/ 2 SLAVE READY

    # Perform a master/slave switchover between OLT 3/0/1 and OLT 3/0/2.

    [ Sysname- f i ber- gr oup1] por t swi t ch- over

    [ Sysname- f i ber- gr oup1] di spl ay f i ber- backup gr oup 1

    f i ber backup gr oup 1 i nf ormati on:

    Member Rol e St at e

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Ol t 3/ 0/ 2 MASTER ACTI VE

    Ol t 3/ 0/ 1 SLAVE READY

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    20/63

    2-10

    # Shut down OLT 3/0/2. You can see that OLT 3/0/1 becomes the new master port.

    [ Sysname- f i ber- gr oup1] qui t

    [ Sysname] i nt er f ace ol t 3/ 0/ 2

    [ Sysname- Ol t 3/ 0/ 2] shutdown

    [ Sysname-Ol t 3/ 0/ 2] di spl ay f i ber - backup gr oup 1

    f i ber backup gr oup 1 i nf ormati on:

    Member Rol e St at e

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Ol t 3/ 0/ 1 MASTER ACTI VE

    Ol t 3/ 0/ 2 SLAVE DOWN

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    21/63

    3-1

    3 ONU Remote Management Configuration

    When an S7500E switch is working as an OLT device, you can configure a variety of functions on its

    ONU ports so that you can manage the connected ONUs remotely. This chapter describes only the

    functions and commands developed specially for ONU ports on such an S7500E switch. Other function

    configurations of ONU ports are basically the same as those of the Ethernet ports on an S7500E switch.

    For details, see ONU Port Features and Restrictions.

    ONU Configuration

    Currently, the H3C ONUs for the S7500E series switches fall into three types:

    ET704 series ONUs (For details, see H3C ET704 Series EPON ONUs User Manual.)

    S3100 series ONUs (For details, see H3C S3100 Series Ethernet Switches Quick Start.)

    EC series ONUs (For details, see H3C EC1001 Video Encoder User Manual.)

    Support for OLT remote management commands varies with ONUs. For details, see the sections

    describing the supported configuration functions in ONU device user manuals. The following table lists

    the ONU remote management functions supported by an S7500E switch working as an OLT device.

    ONU Configuration Task List

    Complete the following tasks to configure an ONU:

    Task Remarks

    Creating an ONU Port Required

    Binding an ONU with an ONU Port Required

    Configuring the Management VLAN of the ONUOptional

    For H3C ONUs only

    Enabling Related Protocols on an ONUOptional

    For H3C ONUs only

    Configuring the Multicast Mode of the ONU Optional

    Configuring the Link Type of an ONU Port Optional

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    22/63

    3-2

    Task Remarks

    Enabling FEC Optional

    Configuring an ONU to Report Information tothe OLT

    Optional

    Configuring Traffic Encryption Optional

    Other ONUconfigurations

    Testing the Link Between an ONU and theOLT Optional

    Deregistering an ONU Optional

    Updating ONUsOptional

    For H3C ONUs only

    ONU devicemanagement

    Restarting an ONU Optional

    Displaying and Maintaining ONU Port Configuration Optional

    Creating an ONU Port

    You can manually create or delete an ONU port as needed.

    Follow these steps to create an ONU port:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter OLT port view interfaceoltinterface-number

    Create ONU port(s)

    using onu{ onu-number1[to

    onu-number2] } &

    Required

    By default, no ONU port is createdwhen an EPON card is started up.

    Binding an ONU with an ONU Port

    An OLT supports ONU authentication based on ONU MAC address and denies illegal ONU access to

    the system. ONU authentication can be implemented by binding the ONU to an ONU port. During the

    ONU registration:

    The OLT broadcasts a discovery GATE message. After receiving the discovery GATE message,

    an unregistered ONU sends a REGISTER_REQ message, whose source MAC address is that of

    the ONU, at the time granted by the GATE message.

    Upon receiving the REGISTER_REQ message, the OLT checks whether the source MAC address

    contained in the message is bound with the ONU port of the local end. If yes, the ONU passes the

    authentication and the OLT replies with a REGISTER message; otherwise, the ONU cannot pass

    the authentication and therefore cannot be registered.

    After passing the authentication, the ONU port goes up; that is, the ONU is online.

    Before binding an ONU to an ONU port, make sure you have obtained the MAC address of the ONU.

    Follow these steps to bind an ONU port to an ONU:

    To do... Use the command... Remarks

    Enter system view system-view

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    23/63

    3-3

    To do... Use the command... Remarks

    Enter ONU port view interfaceonu interface-number

    Bind the current ONU portto an ONU

    bind onuid onuid Required

    An ONU port can only be bound with one ONU MAC address. Conversely, an ONU MAC address

    can only be bound to one ONU port under one OLT port.

    In fiber backup, an ONU can be bound with two ONU ports under two OLT ports acting as backups

    for each other.

    Configuring the Management VLAN of the ONU

    To manage an ONU through Telnet, make sure the ONU is assigned an IP address. Only the VLAN

    interface corresponding to the management VLAN can be assigned an IP address. You can designate

    the management VLAN through the command line.

    The management VLAN interface of an ONU can obtain an IP address in one of the following two ways:

    Through manual configuration of IP addresses

    Through DHCP (with the ONU as a DHCP client)

    Follow these steps to configure the management VLAN of the ONU

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port view interfaceonuinterface-number

    Configuring themanagement VLANof the ONU

    management-vlan vlan-id

    Optional

    By default, the management VLAN of theONU is VLAN 1.

    Bring up themanagement VLANinterface

    undo shutdownmanagement-vlan-interface

    Required

    By default, a management VLANinterface is down. After the undo

    shutdown management-vlan-interfacecommand is used:

    A management VLAN interface isdown if all the Ethernet ports in themanagement VLAN of the ONU aredown.

    A management VLAN interface is up ifone or more Ethernet ports in themanagement VLAN of the ONU areup.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    24/63

    3-4

    To do... Use the command... Remarks

    Manualconfiguration

    ip addressip-address maskgatewaygateway

    Configure IPaddresses Automatic

    allocationip address dhcp-alloc

    Either is required.

    Required, use either one of the twomethods.

    By default, the management VLANinterface has no IP address.

    Enabling Related Protocols on an ONU

    You can use an OLT to remotely enable RSTP, DHCP snooping, DHCP snooping Option82, and

    PPPoE+ on an ONU through extended OAM packets.

    RSTP

    Enabling RSTP on an ONU can eliminate the loops between the UNIs or in the user networks by

    blocking redundant links.

    DHCP Snooping

    After DHCP snooping is enabled on an ONU, a DHCP snooping table will be generated on the ONU to

    record the IP address and user MAC address information that the DHCP client obtains from the DHCP

    server, with each record being an entry in the DHCP snooping table.

    DHCP Snooping Option82

    With DHCP snooping Option82 enabled on an ONU,

    For DHCP request messages with Option82 fields, the ONU replaces the Option82 fields with the

    local one before broadcasting the DHCP request messages; For DHCP request messages without Option82 fields, the ONU adds the Option82 field (which

    contains ONU MAC addresses, number of the UNI connected to the DHCP client, and the VLAN to

    which the UNI belongs) into the request messages when the DHCP client connected to the ONU

    sends DHCP request messages to the DHCP server. This allows the DHCP client addresses to be

    recorded in the DHCP server.

    PPPoE+

    The Point-to-Point Protocol over Ethernet (PPPoE) technology interconnects large numbers of hosts

    through Ethernet, allowing the hosts to access the Internet through a far-end access device, and

    implementing control and accounting functions on each connected host. Operating in the client/server

    mode, PPPoE encapsulates PPP packets into Ethernet frames, and provides PPP connection over

    Ethernet.

    PPPoE+, also known as PPPoE Intermediate Agent, is designed for broadband users using PPPoE

    mode authentication. PPPoE+ allows for user port identification by adding user port information into the

    PPPoE packets.

    After PPPoE+ is enabled on an ONU, when a PPPoE client sends a request packet:

    If the request packet contains no PPPoE tag, the ONU adds the tag (containing the UNI port

    information) to the request packet and forwards the packet to the OLT side.

    If the request packet contains a PPPoE tag, the ONU directly forwards the request packet to the

    OLT side without adding any tag.

    Follow these steps to enable related protocol(s) on an ONU:

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    25/63

    3-5

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port viewinterfaceonuinterface-number

    Enable relatedprotocol(s) on theONU

    onu-protocol { stp|

    dhcp-snooping|dhcp-snoopinginformation | pppoe}enable

    Optional

    By default:

    RSTP is enabled on the ONU.

    DHCP snooping, DHCP snoopingOption82, and PPPoE+ are disabled onthe ONU.

    When STP is enabled globally on the S7500E switch, you should enable STP on all ONUs.

    Additionally, configure STP correctly to ensure that no ONU can be selected as the STP root bridge;

    otherwise, anomaly may occur on the network.

    STP runs normally only when all attached ONUs are H3C ONUs.

    Configuring the Multicast Mode of the ONU

    Prerequisites for mult icast mode configuration

    Through extended OAM, an OLT can be used to remotely configure the multicast mode of an ONU as

    either IGMP snooping mode or multicast control mode.

    The configuration of a multicast IP address-to-multicast VLAN correspondence is used to add multicast

    address(es) to a multicast VLAN. Upon receiving an IGMP report message, the OLT determines

    whether the multicast IP address contained in the message belongs to the multicast VLAN. If yes, the

    OLT generates a multicast forwarding entry in the multicast VLAN of the multicast IP address; otherwise,

    the OLT directly discards the message. A multicast IP address can belong to only one multicast VLAN.

    Follow these steps to complete the prerequisites for multicast mode configuration:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter FTTH view ftth

    Add multicast address(es) to amulticast VLAN

    multicast vlan-id vlan-iddest-ip ip-address-list

    Required

    Return to system view quit

    Enable IGMP snooping globally igmp-snoopingRequired

    Disabled by default

    Return to system view quit

    Enter VLAN view of a multicast

    VLAN vlan vlan-id

    Enable IGMP snooping igmp-snooping enableRequired

    Disabled by default

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    26/63

    3-6

    To do... Use the command... Remarks

    Drop unknown multicast trafficigmp-snoopingdrop-unknown

    Optional

    Configuring the IGMP snooping mode

    In the IGMP snooping mode, the OLT and ONUs mainly use IGMP report, leave, and query messages

    to manage dynamic multicast group membership. The OLT can implement simple user multicast access

    control through the multicast VLAN configuration on UNI ports of the ONU. More complex service

    access control is realized through the IPTV service platform.

    You can use the OLT to remotely configure the aging timer of the ONU router port, the aging timer

    of multicast group member ports, and the query response timer.

    Table 3-1 Timers used by IGMP snooping

    Timer name TimeMessages received

    within timer expiry

    Action upon timer

    expiry

    Router port aging timerAging time of a routerport

    IGMP general querymessage, PIM message,Dvmrp Probe message

    Considers the portnot a router port

    Aging timer formulticast groupmember port

    Aging time of themulticast groupmember port

    IGMP host reportmessage

    Sends an IGMPgroup-specific querymessage to themulticast memberport

    Query response timerMaximumresponse-to-querytime

    IGMP report message

    Removes the portfrom the member

    port list of themulticast group

    Configuring IGMP membership report suppression

    When an ONU receives an IGMP membership report from a multicast group member, the ONU

    forwards the message to the OLT. Thus, when multiple members of a multicast group are attached to

    the ONU, the OLT will receive duplicate IGMP reports from these members.

    With the IGMP report suppression function enabled, within each query cycle, the ONU forwards only the

    first IGMP report of a multicast group to the OLT and will not forward the subsequent IGMP reports from

    the same multicast group to the OLT. This helps to reduce the number of packets being transmitted over

    the network.

    Follow these steps to configure multicast in IGMP snooping mode:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port viewinterfaceonuinterface-number

    Configure the multicast modeof the ONU as IGMP snooping

    multicast-modeigmp-snooping

    Optional

    By default, the multicast modeof the ONU is IGMP Snooping.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    27/63

    3-7

    To do... Use the command... Remarks

    Add a UNI to the specifiedmulticast VLAN(s)

    uniuni-number multicast vlan{ vlan-id} &

    Required

    Configure the number ofmulticast channels on thespecified UNI

    uni uni-numbermulticast-group-numbernumber

    Optional

    By default, the users connectedto a UNI can access 64multicast channels at the sametime.

    Remove the VLAN tag of thedownlink multicast flow on theUNI port

    uni uni-numbermulticast-strip-tag enable

    Optional

    By default, a UNI does notremove the VLAN tag of thedownlink multicast flow.

    Configure the aging timer of therouter port

    onu-protocol igmp-snoopingrouter-aging-time seconds

    Optional

    105 seconds by default

    Configure the query-response

    timer

    onu-protocol igmp-snooping

    max-response-time seconds

    Optional

    By default, the maximum

    response time of group-specificqueries is 1 second.

    Configure the aging timer of themulticast member port

    onu-protocol igmp-snoopinghost-aging-time seconds

    Optional

    260 seconds by default

    Enable IGMP membershipreport suppression

    onu-protocol igmp-snoopingreport-aggregation enable

    Optional

    Disabled by default

    Enable IGMP leavesuppression

    onu-protocol igmp-snoopingleave-aggregation enable

    Optional

    Enabled by default

    The max-response-timekeyword in the onu-protocol igmp-snoopingcommand sets the maximum

    response time of the group-specific queries. If the device receives no response at the first timeout of the

    maximum response time, it re-sends group-specific queries. If the device still receives no response

    within the maximum response time, the multicast group on the corresponding ONU is deleted.

    Multicast con trol mode

    1) OLT-side functions

    The OLT side maintains a user multicast service access control table to centrally manage user

    multicast service access rights.

    The OLT identifies users through user LLIDs and the VLAN tags (consistent with UNI port numbers)

    carried in uplink IGMP report messages, and determines whether a user has the right to access

    the requested multicast service and, if yes, the related parameters.

    The OLT uses extended multicast control OAM packets to send the ONU the user's access right to

    the multicast channel, allowing the ONU to forward or shut off the multicast traffic for the user. The

    network management system at the OLT side centrally manages the multicast access control. The

    OLT governs, while an ONU executes, multicast right management. Meanwhile, the OLT supports

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    28/63

    3-8

    the cooperation between IGMP proxy and upper-layer multicast routers to dynamically request and

    deliver multicast traffic.

    2) ONU-side functions

    The ONU side maintains a table for multicast address filtering and multicast forwarding. It performs

    flow control only for the current multicast service on the ONU.

    The ONU adds VLAN tags (A UNI port number is used as the VLAN tag. For example, the packets

    received on UNI 1 are tagged with VLAN 1.) to the IGMP report messages without VLAN tags toidentify users, and transparently sends the messages to the OLT. Then the ONU adds or deletes

    the group address filtering and multicast forwarding entries on the ONU based on the multicast

    control OAM packets (containing a series of multicast control entries) delivered by the OLT, and

    forwards or shuts off the multicast traffic accordingly.

    Follow these steps to configure multicast in multicast control mode:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port view

    interfaceonu

    interface-number

    Configure the multicast modeof the ONU as the multicastcontrol mode

    multicast-modemulticast-control

    Required

    By default, the multicast modeof the ONU is IGMP Snooping.

    Configure the aging timer of themulticast group members in themulticast control mode

    multicast-controlhost-aging-timehost-aging-time

    Optional

    260 seconds by default

    Configure the access tomulticast channels on thespecified UNI

    uni uni-numbermulticast-controlmulticast-address

    {multicast-address [ to multicast-address ] } &[ source-ipip-address [to ip-address] ] rule{ deny|permit[channel-limitchannel-number] | previewtime-slice preview-time[ preview-interval interval-time| preview-times preview-times[ reset-intervalreset-interval-time ] ]* }

    Required

    Remove the VLAN tag of thedownlink multicast flow on theUNI port

    uni uni-numbermulticast-strip-tag enable

    Optional

    By default, a UNI does notremove the VLAN tag of thedownlink multicast flow.

    Configuring the Link Type of an ONU Port

    You can configure an ONU port as an access port or trunk port.

    When a PC is directly connected to the ONU port, you can configure the ONU port as an access

    port, which receives and transmits only untagged packets.

    When a home gateway or Layer-2 switch is connected to the ONU port, you can configure the ONU

    port as a trunk port.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    29/63

    3-9

    Different from Ethernet ports describe in VLAN Operation, ONU ports process uplink/downlink packets

    as described in Table 3-2.

    Table 3-2 The link type of an ONU port and how it processes packets

    Port type Traffic direction Processing

    Uplink packetsAllow only untagged packets to pass through and tag thesepackets with the default VLAN tag.

    Access

    Downlink packetsAllow only packets with the default VLAN tag to pass throughand remove the tag of these packets.

    Uplink packets

    For untagged packets, tag them with the default VLANtag and forward them.

    For tagged packets, forward them directly without anyprocessing

    Trunk

    Downlink packets Allow only tagged packets to pass through.

    For how to configure the link type of an ONU port, refer to Setting the link type of an ONU port to access

    and Setting the link type of an ONU port to trunk. Note that:

    The access ports described in Table 3-2do not include ports in the default state, namely, the

    access ports in VLAN 1.

    The link type of the ONU ports under the same OLT port must be the same (access or trunk). Thus,

    when an ONU port under an OLT port is configured as an access port in a VLAN other than VLAN

    1, you can only configure the other ONU ports under the same OLT port as access ports or leave

    them in the default state (that is, access ports in VLAN 1); when the ONU port is configured as a

    trunk port, you can configure the other ONU ports as trunk ports or leave them in the default state.

    The ONU ports in the default state only allow untagged packets to pass through in the uplink

    direction and tag these packets with VLAN 1 tag. In the downlink direction, they only allow the

    packets with the VLAN 1 tag to pass through. Such ONU ports remove the VLAN tag of the

    downlink packets if the other ONU ports under the same OLT are configured as access ports, and

    do not remove the tag of the downlink packets if the other ONU ports under the same OLT port are

    configured as trunk ports.

    Setting the link type of an ONU port to access

    Follow these steps to set the link type of an ONU port to access:

    To do Use the command Remarks

    Enter system view

    system-view

    Enter ONU port view interfaceonu interface-number

    Set the link type of the ONU portto access

    port link-typeaccess

    Optional

    By default, the link type of anONU port is access.

    Assign the ONU port to thespecified VLAN

    port access vlan vlan-id

    Optional

    By default, all ONU portsbelong to only VLAN 1.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    30/63

    3-10

    When configuring the ONU ports under the same OLT port as access ports, do not assign them to the

    same VLAN (except VLAN 1). For example, after configuring ONU 3/0/1:1 as an access port and

    assigning it to VLAN 2, the other ONU ports under the same OLT port, ONU 3/0/1:2 for example, cannot

    be assigned to VLAN 2.

    Setting the link type of an ONU port to trunk

    Follow these steps to set the link type of an ONU port to trunk:

    To do Use the command Remarks

    Enter system view system-view

    Enter ONU port viewinterfaceonuinterface-number

    Set the link type of an ONUport to trunk

    port link-typetrunk

    Required

    By default, the link type of anONU port is access.

    Set the default VLAN for thetrunk port

    port trunk pvid vlanvlan-id

    Optional

    By default, the default VLAN of atrunk port is VLAN 1.

    After an ONU port is configured as a trunk port, the ONU port allows packets of all VLANs to pass

    through.

    Enabling FEC

    Forward Error Correction (FEC) can implement downlink error correction on the OLT and uplink error

    correction on the ONU to lower the bit error rate and extend the optical transmission distance. The

    packets enabled with FEC carry error correction codes. Therefore, the actual uplink bandwidth of the

    ONU will be less than that configured.

    Follow these steps to enable FEC:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port view interfaceonuinterface-number

    Enable the FECfunction

    forward-error-correction enableOptional

    Disabled by default

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    31/63

    3-11

    Configuring an ONU to Report Information to the OLT

    When an ONU attached to an OLT encounters configuration changes or failures or is being debugged,

    you can configure the ONU to report the specified types of information to the OLT.

    Note that:

    Because a large number of ONUs are attached to an OLT, enabling ONUs to report information to the

    OLT may generate a large amount of traffic and thus cause congestion. Therefore, you arerecommended to select the reported information type as required.

    Follow these steps to configure an ONU to report information to the OLT:

    To do Use the command Remarks

    Enter system view system-view

    Enter ONU port view interfaceonuinterface-number

    Configure the ONU toreport the specified typesof information to the OLT

    onu-event {debug |log |trap }enable level severity

    Optional

    By default, an ONU reports no

    information to its OLT.

    Configuring Traffic Encryption

    Complete this task to configure the encryption of the downlink traffic transmitted from the OLT to ONUs,

    thereby protecting user information against illegal access.

    Follow these steps to configure traffic encryption:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port viewinterfaceonuinterface-number

    Enable traffic encryption encrypt enable

    Optional

    By default, data encryption is enabled fordownlink data.

    Configure an encryptionkey

    encrypt keykey-value

    Optional

    If no encryption key is configured, the systemuses the default encryption key.

    Currently, the encrypt key command is notsupported.

    Testing the Link Between an ONU and the OLT

    Follow these steps to test the optical link between an ONU and the OLT:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port view interfaceonuinterface-number

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    32/63

    3-12

    To do... Use the command... Remarks

    Test the optical linkbetween the ONU andthe OLT

    linktest [frame-numbervalue| frame-size value|delay{ on | of f} | vlan-tag{ on [vlan-priority value|vlan-idvalue] | off} ] *

    Required

    The following lists the default values of thelink test parameters.

    Number of test frames: 20

    Frame size: 1000 bytes

    VLAN tag: not carried in testing frames

    Delay testing state: Off

    The link connectivity between an ONU and the OLT can be tested only when the ONU is online.

    Deregistering an ONU

    After being deregistered, an ONU will try to register again.

    Follow these steps to deregister an ONU:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port view interfaceonuinterface-number

    Deregister the ONU deregister onu Required

    Updating ONUs

    Introduction to ONU update

    Updating ONUs means updating ONU software versions remotely through OLTs.

    Updating ONU devices requires a large amount of work because, in an EPON system, there are

    different types of ONU devices, which use different update files. To improve the ONU update efficiency

    and reduce resources consumed by issuing commands to each ONU, the S7500E switches support

    batch updating of ONUs by type and OLT port, besides updating of a single ONU. Updating ONUs bytype is recommended because it is efficient and easy-to-use. For the descriptions on the three ONU

    update methods, refer to Table 3-3.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    33/63

    3-13

    Table 3-3 ONU update methods

    To do Use the method Remarks

    Update multipleONUs by type

    In FTTH view, update all the ONUsof the specified type attached to theswitch (you can update differenttypes of ONUs by specifyingmultiple update files).

    Update one ONUIn ONU port view, use the ONUupdate command for an ONU port.

    Update multipleONUs by OLT port

    In OLT port view, use the ONUupdate command for the createdONU ports under the specified OLTport.

    If an ONU is online and matchesthe specified update file, the ONUis updated directly.

    If the ONU is online but does notmatch the update file, the update

    will fail. If the ONU is not online (because

    the ONU port is not bound with anyONU or the extended OAMconnection fails on the boundONU), the OLT waits andautomatically starts to update theONU when the ONU goes onlineand matches the specified updatefile. If the update file is wrong, theupdate will fail.

    Before the update, make sure you upload the ONU update files to the S7500E master SRPU (you

    cannot use the update files on the slave SRPU to complete the software loading). For detailed

    upload procedure, refer to the sections discussing software maintenance in H3C S7500E Series

    Ethernet Switches Installation Manual.

    If the ONU which needs to go online can be updated automatically, you need to upload the update

    files to the master SRPU and slave SRPU. Thus, update files will be available on the original slave

    SRPU after the switchover; otherwise, the update will fail. Update files used vary with ONUs. If ONUs and update files do not match, the update will fail. For

    example, if you specify to update ET704-A ONUs in OLT port view, updating other types of ONUs

    attached to the OLT port will fail.

    After the update command is issued, the OLT will wait 15 to 20 seconds before executing the

    command. This allows for batch updating and saves system resources.

    Any power failure during the ONU software upgrade may cause update failure.

    Once the update file is transferred to the ONU, the ONU restarts automatically to complete the

    update.

    The ONU update commands mentioned in this chapter are all configuration commands, that is,

    after such a command is executed, it will be saved in the configuration file of the device. If the ONU

    port corresponding to an ONU that goes online is created before the update command is used, the

    ONU will be updated directly (if it matches the update files). Otherwise, the ONU will not be

    updated. To update only the current ONUs online but not the offline ONUs or subsequently

    registered ONUs, execute the corresponding update command, and then use the undo form of the

    command after you make sure that all online ONUs have been updated.

    If an ONU is registered successfully and its corresponding port is UP, it can execute the update

    operation as soon as you configure ONU update.

    If an ONU is offline or its corresponding port is DOWN, it executes the update operation you

    configured after the ONU is registered successfully and its corresponding port is brought up.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    34/63

    3-14

    ONU update configuration

    Follow these steps to update all the ONUs of the specified type:

    To do Use the command Remarks

    Enter system view system-view

    Enter FTTH view ftth

    Update all the ONUs of thespecified type under the switch

    update onu onu-typeonu-typefilename file-url

    Required

    After you configure the updating of all the ONUs of the specified type under the switch, if the ONU

    corresponding to a newly created ONU port is of the specified type and goes online, the switch will

    update it automatically.

    The update configuration performed in port view takes precedence over that in FTTH view. Forexample, assume the ONU corresponding to ONU port ONU 3/0/1:1 is of type A. If you configure

    the update file for type-A ONUs as 1.app in FTTH view and configure the update file as 2.app in

    ONU 3/0/1:1 port view, 2.app will be used to update the ONU. If you cancel the port-level

    configuration, the update by-type configuration is not executed until the ONU is registered

    successfully next time and the corresponding port is brought up.

    An OLT can update up to 64 types of ONUs at the same time, that is, you can specify update files

    for up to 64 types of ONUs with the update onu onu-type onu-type filename file-urlcommand

    multiple times.

    Follow these steps to update one ONU:

    To do Use the command Remarks

    Enter system view system-view

    Enter ONU port view interfaceonuinterface-number

    Use the update command on the ONU port update onu filename file-url Required

    Follow these steps to update all the ONUs under the specified OLT port:

    To do Use the command Remarks

    Enter system view system-view

    Enter OLT port view interfaceolt interface-number

    Use the update command on all the createdONU ports under the OLT port

    update onu filename file-url Required

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    35/63

    3-15

    After you configure the updating of the ONUs corresponding to all the created ONU ports under an OLT

    port, if the ONU port corresponding to an ONU that goes online is created before the update command

    is used, the ONU will be updated directly (if it matches the update files); otherwise, the ONU will not be

    updated.

    Restarting an ONU

    Follow these steps to restart an ONU:

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port view interfaceonuinterface-number

    Restart the ONU reboot onu Required

    Displaying and Maintaining ONU Port Configuration

    To do... Use the command... Remarks

    Display the global information aboutthe ONU

    display vendor-specificinformation

    Display the IP address allocationinformation when the ONU serves asa DHCP client

    display dhcp-client

    Display the information about theprotocols supported by the ONU

    display onu-protocol[ stp|igmp-snooping |dhcp-snoopinginformation ]

    Display multicast control informationdisplay epon-multicastinformation

    Available in ONUport view

    To display theinformation of anONU, make sure theONU is online.

    Clear the statistics information aboutthe packets on an ONU port

    reset counters interfaceinterface-type interface-number

    Available in userview

    Configuration Examples for ONU Remote Management

    Configuration Example for Binding an ONU Port to an ONU

    Network requirements

    Bind ONU 3/0/1:1 to ONU 1, whose MAC address is 000f-e200-0031, and ONU 3/0/1:2 to ONU 2,

    whose MAC address is 000f-e200-3749. ONU 1 and ONU 2 have the same extended OAM version of 2.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    36/63

    3-16

    Network diagram

    Figure 3-1 Network diagram for ONU port-to-ONU binding configuration

    ONU1

    OLT

    OLT3/0/1

    POS

    ONU2

    Configuration procedure

    # Configure the OUI and extended OAM version number list.

    syst em- vi ew

    SystemVi ew: r eturn to User Vi ew wi t h Ct r l +Z.

    [ Sysname] f t t h

    [ Sysname- f t t h] epon- parameter oui l i st oui 000f e2 oam- ver si on 2 sl ot 3

    [ Sysname- f t t h] qui t

    # Create ONU ports ONU 3/0/1:1 and ONU 3/0/1:2. Bind ONU 3/0/1:1 to the ONU 1 and ONU 3/0/1:2 to

    ONU 2.

    [ Sysname] i nt er f ace ol t 3/ 0/ 1

    [ Sysname- Ol t 3/ 0/ 1] usi ng onu 1 to 2

    [ Sysname-Ol t 3/ 0/ 1] qui t

    [ Sysname] i nt erf ace onu 3/ 0/ 1: 1

    [ Sysname- Onu3/ 0/ 1: 1] bi nd onui d 000f - e200- 0031

    [ Sysname- Onu3/ 0/ 1: 1] qui t

    [ Sysname] i nt erf ace onu 3/ 0/ 1: 2

    [ Sysname- Onu3/ 0/ 1: 2] bi nd onui d 000f - e200- 3749

    # When the two ONUs are up, display the binding information of the ONUs.

    di spl ay onui nf o i nt erf ace Ol t 3/ 0/ 1

    ONU Mac Addr ess LLI D Di st ( M) Por t Boar d/ Ver Sf t / Epm St ate Agi ng

    000f - e200- 0031 1

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    37/63

    3-17

    Enabling RSTP on the ONU can suppress such a problem.

    Network diagram

    Figure 3-2 Network diagram for ONU RSTP configuration

    Configuration procedure

    # Enable RSTP on the ONU to suppress the broadcast storm between UNI 2 and UNI 3.

    syst em- vi ew

    [ Sysname] i nt erf ace onu 3/ 0/ 1: 1

    [ Sysname- Onu3/ 0/ 1: 1] onu-prot ocol st p enabl e

    Multicast Configuration Example (in IGMP Snooping Mode)

    Network requirements

    Connect Ethernet 2/0/1 of the switch with a multicast source, and connect port OLT 3/0/1 of the

    OLT with an ONU, which is bound to ONU 3/0/1:1, through an optical splitter. Attach two hosts,

    User 1 and User 2, to ports UNI 1 and UNI 2 respectively.

    It is required that User 1 has access to channels from 225.1.2.1 to 225.1.2.255, and User 2 has

    access to channels from 225.1.3.1 to 225.1.3.255.

    Network diagram

    Figure 3-3 Network diagram for multicast configuration (in IGMP snooping mode)

    ONU

    OLT

    OLT3/0/1

    POS

    User1

    UNI1 UNI2

    User2

    Eth2/0/1

    Multicast Source

    Configuration procedure

    # Map the multicast addresses to multicast VLANs.

    syst em- vi ew

    [ Sysname] f t t h

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    38/63

    3-18

    [ Sysname- f t t h] mul t i cast vl an- i d 1002 dest- i p 225. 1. 2. 1 t o 225. 1. 2. 255

    [ Sysname- f t t h] mul t i cast vl an- i d 1003 dest- i p 225. 1. 3. 1 t o 225. 1. 3. 255

    [ Sysname- f t t h] qui t

    # Enable IGMP snooping globally.

    [ Sysname] i gmp- snoopi ng

    [ Sysname- i gmp- snoopi ng] qui t

    # Enable IGMP snooping in VLAN 1002 and VLAN 1003.

    [ Sysname] vl an 1002

    [ Sysname- vl an1002] i gmp- snoopi ng enabl e

    [ Sysname- vl an1002] qui t

    [ Sysname] vl an 1003

    [ Sysname- vl an1003] i gmp- snoopi ng enabl e

    [ Sysname- vl an1003] qui t

    # Configure the multicast mode of the ONU as IGMP snooping.

    [ Sysname- Onu3/ 0/ 1: 1] mul t i cast - mode i gmp- snoopi ng

    # Assign UNI 1 to multicast VLAN 1002 and UNI 2 to multicast VLAN 1003, and configure the ONU as a

    Trunk port (to allow the packets of all the VLANs to pass through the port).

    [ Sysname- Onu3/ 0/ 1: 1] uni 1 mul t i cast vl an 1002

    [ Sysname- Onu3/ 0/ 1: 1] uni 2 mul t i cast vl an 1003

    [ Sysname-Onu3/ 0/ 1: 1] por t l i nk- t ype t r unk

    # Configure UNI 1 and UNI 2 to remove the multicast VLAN tags from downlink multicast packets.

    [ Sysname-Onu3/ 0/ 1: 1] uni 1 mul t i cast - st r i p- t ag enabl e

    [ Sysname-Onu3/ 0/ 1: 1] uni 2 mul t i cast - st r i p- t ag enabl e

    [ Sysname- Onu3/ 0/ 1: 1] qui t

    # Configure the link type of OLT 3/0/1 as hybrid, allow the packets of VLAN 1002 and VLAN 1003 to

    pass through OLT 3/0/1, and add tags to the VLAN 1002 and VLAN 1003 packets sent by OLT 3/0/1.

    [ Sysname] i nt er f ace ol t 3/ 0/ 1

    [ Sysname- Ol t 3/ 0/ 1] por t l i nk- t ype hybr i d

    [ Sysname- Ol t 3/ 0/ 1] por t hybri d vl an 1002 1003 t agged

    # Configure Ethernet 2/0/1 as a Trunk port, and permit the packets of VLAN 1002 and VLAN 1003 to

    pass.

    [ Sysname] i nt er f ace Et hernet 2/ 0/ 1

    [ Sysname-Et hernet 2/ 0/ 1] por t l i nk- t ype t r unk

    [ Sysname- Ethernet2/ 0/ 1] port t r unk per mi t vl an 1002 1003

    Multicast Configuration Example (in Multicast Control Mode)

    Network requirements

    Connect Ethernet 2/0/1 of the switch with a multicast source, and connect port OLT 3/0/1 of the OLT

    with an ONU, which is bound to ONU 3/0/1:1, through an optical splitter. Attach two hosts, User 1 and

    User 2, to ports UNI 1 and UNI 2 respectively.

    It is required that User 1 and User 2 have different access rights to Channel 1 (225.1.1.1) and Channel

    1 (225.1.2.1):

    User 1 has full access to Channel 1 and 60-second preview access to Channel 2.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    39/63

    3-19

    User 2 has access to Channel 2 only.

    Network diagram

    Figure 3-4 Network diagram for multicast configuration (in multicast control mode)

    ONU

    OLT

    OLT3/0/1

    POS

    User1

    UNI1 UNI2

    User2

    Eth2/0/1

    Multicast Source

    Configuration procedure

    # Map the multicast addresses to multicast VLANs.

    syst em- vi ew

    [ Sysname] f t t h

    [ Sysname- f t t h] mul t i cast vl an- i d 1002 dest - i p 225. 1. 1. 1

    [ Sysname- f t t h] mul t i cast vl an- i d 1003 dest - i p 225. 1. 2. 1

    [ Sysname- f t t h] qui t

    # Enable IGMP snooping globally.

    [ Sysname] i gmp- snoopi ng

    [ Sysname- i gmp- snoopi ng] qui t

    # Enable IGMP snooping in VLAN 1002 and VLAN 1003.

    [ Sysname] vl an 1002

    [ Sysname- vl an1002] i gmp- snoopi ng enabl e

    [ Sysname- vl an1002] vl an 1003

    [ Sysname- vl an1003] i gmp- snoopi ng enabl e

    [ Sysname- vl an1003] qui t

    # Configure the multicast mode of the ONU as the multicast control mode.

    [ Sysname-Onu3/ 0/ 1: 1] mul t i cast - mode mul t i cast - cont r ol

    # Configure UNI 1 to allow the user attached to it to access Channel 1 and to preview Channel 2 for only

    60 seconds, and configure the port to remove the multicast VLAN tags from downlink multicast packets.

    [ Sysname-Onu3/ 0/ 1: 1] uni 1 mul t i cast - cont r ol mul t i cast - addr ess 225. 1. 1. 1 r ul e per mi t

    [ Sysname-Onu3/ 0/ 1: 1] uni 1 mul t i cast - cont r ol mul t i cast - addr ess 225. 1. 2. 1 r ul e pr evi ew

    t i me- sl i ce 1

    [ Sysname-Onu3/ 0/ 1: 1] uni 1 mul t i cast - st r i p- t ag enabl e

    # Configure UNI 2 to allow the user attached to it to access Channel 2 only, and configure the port to

    remove the multicast VLAN tags from downlink multicast packets.

    [ Sysname-Onu3/ 0/ 1: 1] uni 2 mul t i cast - cont r ol mul t i cast - addr ess 225. 1. 1. 1 r ul e deny

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    40/63

    3-20

    [ Sysname-Onu3/ 0/ 1: 1] uni 2 mul t i cast - cont r ol mul t i cast - addr ess 225. 1. 2. 1 r ul e per mi t

    [ Sysname-Onu3/ 0/ 1: 1] uni 2 mul t i cast - st r i p- t ag enabl e

    # Configure the ONU port as a Trunk port (to allow the packets of all the VLANs to pass through the

    port).

    [ Sysname-Onu3/ 0/ 1: 1] por t l i nk- t ype t r unk

    # Configure the link type of OLT 3/0/1 as hybrid, allow the packets of VLAN 1002 and VLAN 1003 to

    pass through OLT 3/0/1, and add tags to the VLAN 1002 and VLAN 1003 packets sent by OLT 3/0/1.

    [ Sysname] i nt er f ace ol t 3/ 0/ 1

    [ Sysname- Ol t 3/ 0/ 1] por t l i nk- t ype hybr i d

    [ Sysname- Ol t 3/ 0/ 1] por t hybri d vl an 1002 1003 t agged

    # Configure Ethernet 2/0/1 as a Trunk port, and permit the packets of VLAN 1002 and VLAN 1003 to

    pass through the port.

    [ Sysname] i nt er f ace Et hernet 2/ 0/ 1

    [ Sysname-Et hernet 2/ 0/ 1] por t l i nk- t ype t r unk

    [ Sysname- Ethernet2/ 0/ 1] port t r unk per mi t vl an 1002 1003

    ONU Update Configuration Example

    Network requirements

    An S7500E switch at the city TV & broadcasting central office (CO) has 12 OLT ports connected to

    150 type-A ONUs.

    The type-A ONU vendor recently released an enhanced software version 110 for type-A ONUs.

    This version solves some software bugs found in the previous version 109 and provides some new

    functions.

    The city office wants to update all the ONUs. District C branch office (connected to OLT 3/0/1) has

    20 type-A ONUs under it. The network administrator believes version 109 can meet the current

    requirements and has worked normally. Thus, the network administrator asks to use version 110

    on a trial basis in the branch office building (ONU 3/0/1:1 is bound with type-A ONUs for FTTB

    access to the building) and use version 109 for other ONUs.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    41/63

    3-21

    Network diagram

    Figure 3-5 Network diagram for ONU update

    POS

    ONU

    ONU

    ONUPOS

    ONU

    ONU

    ONU

    ONU

    ONU

    ONU

    POS

    OLT3/0/2

    OLT3/0/3

    OLT switch at

    the city Central

    Office

    District C

    branch office

    OLT

    3/0/

    1

    For a simplified network diagram, the figure above shows only three of the OLT ports.

    Configuration procedure

    # Upload update files a110.appand a109.appto the master SRPU and slave SRPU of the switch. For

    the detailed procedure, see the parts discussing software maintenance in H3C S7500E Series Ethernet

    Switches Installation Manual.

    # Update all the attached type-A ONUs to version 109 in OLT 3/0/1 port view.

    [ Sysname] i nt er f ace ol t 3/ 0/ 1

    [ Sysname- Ol t 3/ 0/ 1] updat e onu f i l ename a109. app

    Update f l ash: / a109. app?[ Y/ N] : y

    I nf o: Downl oad f i l e to onu may t ake a l ong ti me, pl ease wai t . . .

    Pl ease wai t whi l e the f i r mwar e i s bei ng bur nt , and check t he sof t ware versi on af t er

    re- regi str at i on!

    [ Sysname-Ol t 3/ 0/ 1] qui t

    # Update the type-A ONUs corresponding to ONU 3/0/1:1 in District C branch office building to version

    110.

    [ Sysname] i nt erf ace onu 3/ 0/ 1: 1

    [ Sysname- Onu3/ 0/ 1: 1] updat e onu f i l ename a110. app

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    42/63

    3-22

    Update f l ash: / a110. app?[ Y/ N] : y

    I nf o: Downl oad f i l e to onu may t ake a l ong ti me, pl ease wai t . . .

    Pl ease wai t whi l e the f i r mwar e i s bei ng bur nt , and check t he sof t ware versi on af t er

    re- regi str at i on!

    [ Sysname- Onu3/ 0/ 1: 1] qui t

    # Update all the type-A ONUs attached to the S7500E switch to version 110.

    syst em- vi ew

    [ Sysname] f t t h

    [ Sysname- f t t h] updat e onu onu- t ype a f i l ename a110. app

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    43/63

    4-1

    4 UNI Port Configuration

    UNI Port Configuration Task List

    If an H3C EC1001 inserted with a subcard serves as an ONU, a UNI port here refers to the internal port

    connecting the subcard to the EC1001, but not the Ethernet port of the EC1001.

    Complete these tasks to configure a UNI port:

    Task Remarks

    UNI Port Basic Configuration Optional

    Configuring the VLAN Operation Mode for a UNI Optional

    Configuring Fast-Leave Processing for a UNI Optional

    Configuring Port Isolation for a UNIOptional

    For H3C ONUs only

    Displaying and Maintaining UNI Port Configuration Optional

    UNI Port Basic Configuration

    Duplex mode of a UNI: When a UNI works in full duplex mode, it can send and receive packets

    simultaneously. When a UNI works in half duplex mode, it can either send or receive packets at a

    time. When a UNI works in auto-negotiation mode, the duplex mode of the UNI is determined

    through negotiation by both ends.

    Flow control for UNIs: If the flow control function is enabled for both the UNIs and the remote device,

    the ONU will send messages to notify the remote device to stop sending packets temporarily when

    congestion occurs on the ONU, thus avoiding packet loss.

    MDI mode for UNIs: The MDI mode for UNIs can be crossover or straight-through.

    UNI port rate: You can set the UNI port rate. When the rate of a UNI is set to the auto-negotiation

    mode, the operating rate of the UNI is negotiated by the local port and the remote port.

    Auto-negotiation on a UNI: You can configure auto-negotiation on a UNI to enable both ends to

    auto-negotiate the duplex mode, cable type, and port rate. After forced auto-negotiation is enabled,

    the UNI port will restart the auto-negotiation.

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    44/63

    4-2

    Table 4-1 UNI Port Basic Configuration

    To do... Use the command... Remarks

    Enter system view system-view

    Enter ONU port viewinterfaceonuinterface-number

    Configure a description for aUNI

    uni uni-numberdescriptiontext

    OptionalBy default, no description isconfigured for a UNI.

    Shut down a UNI uni uni-numbershutdown

    Optional

    By default, a UNI port isenabled.

    Configure the duplex mode fora UNI

    uniuni-numberduplex{full|half| auto }

    Optional

    By default, a UNI port is in thefull duplex mode.

    Enable flow control for a UNI uniuni-numberflow-control

    Required

    By default, flow control isdisabled for a UNI port.

    Configure the MDI mode for aUNI port

    uniuni-numbermdi {across |auto |normal }

    Optional

    Be default, the MDI mode for aUNI port is auto.

    Configure the port rate for aUNI port

    uni uni-numberspeed {10 |100 |auto}

    Optional

    By default, the UNI port rate is100Mbps.

    Enable auto-negotiation for a

    UNI port

    uni uni-number

    auto-negotiation

    Optional

    By default, auto-negotiation isenabled on a UNI port.

    Force a UNI port to restartauto-negotiation

    uni uni-numberrestartauto-negotiation

    Optional

    This command takes effect onlywhen auto-negotiation isenabled on the UNI port.

    When auto-negotiation is enabled on a UNI port, you cannot configure the duplex mode, MDI mode, orrate of the UNI port.

    Configuring the VLAN Operation Mode for a UNI

    The VLAN operation modes for the Ethernet packets on a UNI are: transparent, tag, and translation.

    Transparent mode

    The transparent mode is suitable for situations where the user-end family gateway or switch is providedand managed by the operator and the VLAN tags generated by the family gateway or switch are trusted.

    In transparent mode, an ONU transparently forwards the received uplink Ethernet packets (regardless

  • 8/10/2019 01 Access Volume EPON OLT Configuration

    45/63

    4-3

    of whether the Ethernet packets contain VLAN tags or not) to the OLT without changing them. Downlink

    Ethernet packets are also forwarded transparently. Table 4-2describes the detailed packet processing

    in this mode.

    Tag mode

    Tag mode is suitable for situations where the VLAN tags generated by the user-end family gateway or

    switch are not trusted. To enable the operator to centrally manage and control the VLANs of the servicepackets entering the network, network-layer VLAN tags need to be added to the packets. Table 4-2

    describes the detailed packet processing in this mode.

    Translation mode

    In translation mode, an ONU translates the VLAN tag added by the user (The user's VID may not be for

    the user only, as some other users in the same EPON system may also use the same VID) into a unique

    network-side VLAN tag. Table 4-2describes the packet processing by an ONU in translation mode.

    Table 4-2 Packet processing in the three VLAN operation modes