H3C EPON OLT Operation Manual(Release 5200 SeriesV1.02)

DownLoad Chapters Download(822 KB)

01-Text

Table of Contents

Chapter 1 EPON System Configuration. 1-1

1.1 Introduction to EPON System.. 1-1

1.2 EPON System Configuration Tasks. 1-2

1.3 Configuring the Interval to Sample System Statistics. 1-3

1.3.1 Configuring the Interval to Sample System Statistics. 1-3

1.3.2 System Statistics Sampling Configuration Example. 1-4

1.4 Displaying Port Information of the EPON System.. 1-4

1.4.1 Displaying Port Information of EPON System.. 1-5

1.4.2 Displaying Port Information of EPON System.. 1-5

1.5 Displaying an EPON System.. 1-6

Chapter 2 OLT Configuration. 2-1

2.1 Introduction to OLT Device. 2-1

2.2 OLT Configuration Tasks. 2-1

2.3 Configuring the OLT Attributes. 2-1

2.3.1 Configuring the OLT Attributes. 2-2

2.4 Configuring VLANs for an OLT Port 2-3

2.4.1 Configuring VLANs for an OLT Port 2-3

2.4.2 OLT Port VLAN Configuration Example. 2-4

2.5 Configuring the Maximum ONU RTT. 2-7

2.5.1 Configuring the Maximum ONU RTT. 2-7

2.5.2 Maximum ONU RTT Configuration Example. 2-8

2.6 Enabling IGMP Packets to be Passed to CPU. 2-9

2.6.1 Enabling IGMP Packets to be Passed to CPU. 2-9

2.7 Displaying the Registered ONUs Connected to Specific OLT Ports. 2-10

2.7.1 Displaying the Registered ONUs Connected to Specific OLT Ports. 2-10

2.7.2 ONU Information Display Example. 2-11

2.8 Displaying OLT Configuration. 2-12

Chapter 3 ONU Configuration. 3-1

3.1 Introduction to ONU. 3-1

3.2 Configuring an ONU. 3-1

3.3 Binding an ONU Port to an ONU. 3-3

3.3.1 Binding an ONU port to an ONU. 3-3

3.3.2 ONU Ports-to-ONUs Binding Configuration Example. 3-4

3.4 Configuring DBA and ONU Uplink Bandwidth Range. 3-5

3.4.1 Prerequisites. 3-5

3.4.2 Configuring DBA and ONU Uplink Bandwidth Range. 3-6

3.4.3 DBA and ONU Uplink Bandwidth Range Configuration Example. 3-7

3.5 Configuring Traffic Encryption. 3-9

3.5.1 Prerequisites. 3-9

3.5.2 Configuring Traffic Encryption. 3-9

3.5.3 Traffic Encryption Configuration Example. 3-9

3.6 Configuring the VLAN Tag Processing Mode for an ONU Port 3-10

3.6.1 Prerequisites. 3-11

3.6.2 Configuring VLAN Tag Processing Mode for an ONU Port 3-11

3.6.3 VLAN Tag Processing Mode Configuration Example (Transparent) 3-12

3.6.4 VLAN Tag Processing Mode Configuration Example (Untagged) 3-13

3.7 Configuring Multicast Filtering. 3-15

3.7.1 Prerequisites. 3-16

3.7.2 Configuring Multicast Filtering for an Aolynk ET Series Optical Terminal 3-16

3.7.3 Multicast Filtering Configuration Example (Aolynk ET Series) 3-19

3.8 Deregistering an ONU. 3-21

3.8.1 Prerequisites. 3-21

3.8.2 Deregistering an ONU. 3-21

3.8.3 ONU Deregistration Configuration Example. 3-21

3.9 Restarting an ONU. 3-22

3.9.1 Prerequisites. 3-22

3.9.2 Restarting an ONU. 3-23

3.9.3 ONU Restart Configuration Example. 3-23

3.10 Testing the Link to an ONU. 3-23

3.10.1 Prerequisites. 3-23

3.10.2 Testing the Link Between an ONU and the OLT. 3-24

3.10.3 Link Test Configuration Example. 3-24

3.11 Configuring ONU Authentication. 3-25

3.11.1 Forcibly Re-authenticating an ONU. 3-26

3.11.2 ONU Authentication Configuration Example. 3-26

3.12 Managing an ONU Remotely. 3-27

3.12.1 Prerequisites. 3-27

3.12.2 Managing an ONU Remotely. 3-27

3.12.3 ONU Remote Management Configuration Example. 3-28

3.13 Displaying ONU Registration and Deregistration Records. 3-30

3.14 Displaying OAM information About an ONU. 3-30

3.14.1 Displaying OAM Information About an ONU. 3-31

3.14.2 OAM Information Display Configuration Example. 3-31

3.15 Displaying an ONU. 3-32

3.16 Multicast VLAN Configuration Example. 3-33

Chapter 4 ONU UNI Configuration. 4-1

4.1 UNIs of an ONU. 4-1

4.2 Configuring UNIs of an ONU. 4-1

4.3 Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of the ONU. 4-2

4.3.1 Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of ONU. 4-2

4.3.2 Configuration Example. 4-4

4.4 Configuring Priority for Packets on UNIs of the ONU. 4-6

4.4.1 Configuring Priority for Packets on UNIs of the ONU. 4-6

4.4.2 Configuration Example. 4-6

4.5 Configuring Duplex Mode for UNIs of the ONU. 4-7

4.5.1 Configuring Duplex Mode for the UNIs of the ONU. 4-7

4.5.2 Configuration Example. 4-7

4.6 Configuring Flow Control for UNIs of the ONU. 4-8

4.6.1 Configuring Flow Control for UNIs of the ONU. 4-8

4.6.2 Configuration Example. 4-8

4.7 Configuring the Line Rate for UNIs of the ONU. 4-9

4.7.1 Configuring the Line Rate for UNIs of the ONU. 4-9

4.7.2 Configuration Example. 4-10

4.8 Configuring the Cable Type for UNIs of the ONU. 4-10

4.8.1 Configuring the Cable Type for UNIs of the ONU. 4-10

4.8.2 Configuration Example. 4-11

4.9 Configuring the Speed on UNIs of the ONU. 4-11

4.9.1 Configuring the Speed on UNIs of the ONU. 4-11

4.9.2 Configuration Example. 4-12

4.10 Enabling/Disabling UNIs of the ONU. 4-12

4.11 Displaying the State Information About UNIs of the ONU. 4-12

4.11.1 Displaying the State Information About UNIs of the ONU. 4-13

4.11.2 Configuration Example. 4-13

4.12 Clearing the Accounting Information About the UNI of the ONU. 4-14

4.12.1 Clearing the Accounting Information About the Specified UNI of the ONU. 4-14

4.12.2 Configuration Example. 4-15

4.13 Displaying the Configuration Information About UNIs of the ONU. 4-16

4.13.1 Displaying the Configuration Information About UNIs of the ONU. 4-16

4.13.2 Configuration Example. 4-16

Chapter 5 Alarm Configuration. 5-1

5.1 Introduction to Alarm.. 5-1

5.2 Alarm Configuration Tasks. 5-1

5.3 Configuring Alarms and Alarm Monitor Period. 5-1

5.3.1 Prerequisites. 5-1

5.3.2 Configuring Global Alarms. 5-2

5.3.3 Configuring OLT Alarms. 5-2

5.3.4 Configuring ONU Alarms. 5-5

5.3.5 Configuring the Alarm Monitor Period. 5-8

5.4 Alarm and Alarm Monitor Period Configuration Example. 5-8

5.5 Displaying the Alarm Configuration. 5-9

Chapter 6 Switch Features Supported by EPON. 6-1

6.1 Features Supported by EPON. 6-1

6.2 Description of configuration precautions. 6-2

 


Chapter 1  EPON System Configuration

1.1  Introduction to EPON System

As a kind of passive optical network (PON) technology, the Ethernet PON (EPON) is currently the best scheme among all kinds of fiber to the home (FTTH) solutions and fiber to the building (FTTB) solutions. Besides, the emergence of 10 Gbps Ethernet backbone and metropolitan area ring network will make EPON the best last-mile solution in the coming pure-optical networks.

The IEEE 802.3ah standard details the operating model of the EPON, MPCP (multiple point control protocol), and OAM (operation, administration and maintenance) functions. Figure 1-1 illustrates the EPON architecture.

POS: Passive optical splitter:

Drop: Downlink

Feeder: The fiber to which multiple channels are multiplexed

Figure 1-1 EPON architecture

A typical EPON system consists of the following components: optical line terminal (OLT), optical network unit (ONU), and passive optical splitter (POS), where:

l           OLT provides a platform for multiple services. It also provides core data and video-to-telephone network interfaces for EPON and service providers. Currently, H3C S7500 series Ethernet switches with EPON service cards installed are used as the OLT devices. An OLT device is usually placed in the central office (CO).

l           ONU is usually placed next to the network interface units (NIUs) or integrated with NIUs. Currently, H3C S3100 series Ethernet switches with ONU sub-cards installed or Aolynk ET series optical terminals are used as ONU devices.

l           POS is used to connect OLTs and the ONUs. A POS device contains a trunk port and multiple branch ports and enables multiple ONUs to share a single optical fiber. It can operate in an all-weather environment. In the downlink direction, a POS device distributes the incoming optical signals to the ONUs attached to it through its branch ports; in the uplink direction, the POS multiplexes optical signals coming from ONUs into one fiber.

The data transmission procedure of an EPON system features the following:

l           In the downlink direction, the downlink data (that is, packets sent from OLT to ONUs) is broadcast to every ONU. An ONU receives the packets with matched LLIDs (logical link identifier) or broadcast LLIDs.

l           In the uplink direction, packets sourced from ONUs are time-division multiplexed in the OLT. Each ONU is assigned a time slot and take its turn to send packets in the time slots assigned to it. This avoids conflicts and packet collisions.

l           The POS couples uplink data to an optical fiber and distributes downlink data to each ONU.

l           To avoid data collision and synchronize signals, the distances between an OLT and the ONUs are automatically figured out. In addition, uplink bandwidths are allocated to ONUs according to their SLAs (service level agreement).

An EPON system features the following:

1)         Point-to-multipoint architecture

An OLT port can have up to 32 ONUs connected to it (there will be more in the future); all the ONUs connected to an OLT port share an uplink bandwidth of up to 1 Gbps through time division multiplexing (TDM).

2)         Passive fiber optic transmission

EPON enables optical signals to be transmitted to end users correctly without the help of any protocols. Data from end users in turn can be transmitted to the core network.

3)         Ethernet-based network architecture

EPON adopts the IP/Ethernet architecture, which carries out a total of 95% LAN transmission at present. Benefiting from the above-mentioned architecture, EPON becomes one of the most effective communication methods for end users to access networks.

1.2  EPON System Configuration Tasks

 

&  Note:

This manual only covers the configurations that are specific to EPON. For information about H3C S7500 series Ethernet switches and the related configuration, refer to H3C S5600 Series Ethernet Switches  Operation Manual.

 

Table 1-1 EPON system configuration tasks

Configuration

Description

Related section

Configure the interval to sample system statistics

Optional

Section 1.3  Configuring the Interval to Sample System Statistics

Display port information of an EPON system

Optional

Section 1.4  Displaying Port Information of the EPON System

 

1.3  Configuring the Interval to Sample System Statistics

An OLT periodically samples statistics data (including broadcast data packet and unicast data packet, and so on) of all the OLTs and ONUs in system. You can determine whether or not the entire system operates properly by checking the statistics data. This ensures problems to be detected in time and the entire system to operate normally.

1.3.1  Configuring the Interval to Sample System Statistics

Table 1-2 Configure the interval to sample system statistics

Operation

Command

Description

Enter system view

system-view

Enter FTTH view

ftth

Required

Enable system statistics sampling

sample enable

Optional

By default, system statistics sampling is enabled.

Configure the interval to sample system statistics

timer sample seconds

Optional

By default, the sampling interval is 4 seconds.

Verify the configuration

display current-configuration

This command can be executed in any view.

 

  Caution:

The configuration listed in Table 1-2 is recommended to users with administrative rights rather than normal users.

 

1.3.2  System Statistics Sampling Configuration Example

I. Network requirements

Enable system statistics sampling.

Configure the sampling interval as 500 seconds.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter FTTH view.

[H3C] ftth

# Enable system statistics sampling.

[H3C-ftth] sample enable

# Configure the sampling interval as 500 seconds.

[H3C-ftth] timer sample 500

# Quit FTTH view.

[H3C-ftth] quit

# Quit system view.

[H3C] quit

# Display the configuration.

<H3C> display current-configuration configuration ftth

#

ftth

 timer sample 500

#

return

1.4  Displaying Port Information of the EPON System

Port information of EPON system includes information about port version, device capability, work mode, and port statistics.

1.4.1  Displaying Port Information of EPON System

Table 1-3 Display port information of EPON system

Operation

Command

Description

Display port version information

display epon-version interface interface-type interface-number

The interface-type argument represents port type, which can be OLT or ONU. The interface-number argument represents port number.

These commands can be executed in any view.

Display device capability information

display epon-capability interface interface-type interface-number

Display work mode

display epon-workmode interface interface-type interface-number

Display port statistics

display epon statistics interface interface-type interface-number

 

&  Note:

l      As for the interface-number argument, the format of LPU slot number/sub-LPU slot number/OLT port number is used for OLT ports; and the format of LPU slot number/sub-LPU slot number/OLT port number:ONU port number is used for ONU ports.

l      To display the information about an ONU port, make sure the ONU port is bound to an ONU and is in the Up state. Refer to section 3.3  Binding an ONU Port to an ONU” for related information.

l      EPON system statistics data include average error rate of data bits and data frames transmitted between an OLT and the ONUs.

 

1.4.2  Displaying Port Information of EPON System

I. Configuration procedure

# Display the version information about Olt2/0/8 port.

<H3C> display epon-version interface olt2/0/8

 OLT device version information:

 Firmware major version: 2

 Firmware minor version: 9

 Hardware major version: 5001

 Hardware minor version: 3

 Supported LLID number : 32 

 

&  Note:

l      An LLID uniquely identifies an ONU. It is dynamically assigned by an OLT.

l      Currently, an LLID ranges from 1 to 32.

 

1.5  Displaying an EPON System

Table 1-4 Display an EPON system

Operation

Command

Description

Display all configuration

display current-configuration

This command can be executed in any view.

Display the configuration of the current view

display this

This command display the configuration of the current view.

 


Chapter 2  OLT Configuration

2.1  Introduction to OLT Device

OLT device provides a platform for multiple services. It can be connected to devices such as voice gateways and IP routers. An OLT device also provides multiple Gigabit Ethernet interfaces and Layer 2/ Layer 3 switching and routing functions.

2.2  OLT Configuration Tasks

Table 2-1 OLT configuration tasks

Configuration task

Description

Related section

Configuring the OLT attributes

Optional

Section 2.3  Configuring the OLT Attributes

Configuring VLANs for an OLT port

Optional

Section 2.4  Configuring VLANs for an OLT Port

Configuring the maximum ONU RTT (round tip time)

Optional

Section 2.5  Configuring the Maximum ONU RTT

Enabling IGMP packets to be passed to CPU

Optional

Section 2.6  Enabling IGMP Packets to be Passed to CPU

Displaying the registered ONUs under an OLT port

Optional

Section 2.7  Displaying the Registered ONUs Connected to Specific OLT Port

 

2.3  Configuring the OLT Attributes

The configuration here is to set the following OLT attributes:

The periods in the Discovery phase within which the OLT laser stabilizes or is shut off.

Whether or not multi-copy broadcast is enabled. If it is enabled, a packet sent to ONUs by an OLT is only broadcasted in the VLAN it belongs to instead of in all VLANs.

Whether or not to discard the packets with their source MAC addresses not contained in the OLT MAC address table.

 

&  Note:

l      The Discovery phase refers to the phase when an ONU registers with the OLT and is allocated bandwidth.

l      An ONU can only register with the OLT when the OLT laser is On.

l      Currently, multi-copy broadcast is not supported.

 

2.3.1  Configuring the OLT Attributes

Table 2-2 Configure the OLT attributes

Operation

Command

Description

Enter system view

system-view

Enter OLT port view

interface interface-type interface-number

Required

The interface-number argument represents an OLT port number.

Configure the period within which the OLT laser can stabilize

attribute laser-on time

Optional

By default, this period is 96 TQ. (1 TQ is equal to 16 ns).

Configure the period within which the OLT laser can be shut off

attribute laser-off time

Optional

By default, this period is 96 TQ.

Enable multi-copy broadcast

attribute multiple-copy-broadcast enable

Optional

By default, multi-copy broadcast is disabled.

Configure to discard the packets with their source MAC addresses not contained in the OLT MAC address table

attribute discard-packet enable

Optional

By default, the packets with their source MAC addresses not contained in the OLT MAC address table are forwarded.

Display the current configuration

display current-configuration

This command can be executed in any view.

 

  Caution:

l      Improper period for an OLT laser to stabilize or to be shut down results in service interruption. So, do not perform this configuration if you are not a user with administrative rights.

l      The above configurations take effect only after you execute the shutdown command and then the undo shutdown command on the OLT.

l      As the attribute discard-packet enable command may affect MAC address learning, execute it with caution.

 

2.4  Configuring VLANs for an OLT Port

The VLAN configuration of an OLT Port is to specify the VLANs whose packets are permitted by the OLT port. A proper VLAN configuration helps to suppress unnecessary VLAN broadcast.

2.4.1  Configuring VLANs for an OLT Port

Table 2-3 Configure VLANs for an OLT port

Operation

Command

Description

Enter system view

system-view

Enter OLT port view

interface interface-type interface-number

Required

The interface-number argument represents an OLT port number.

Configure VLANs for the OLT port

port permit vlan vlan-list

Optional

The vlan-list argument can be a VLAN ID list (which can contain up to ten VLAN IDs) or a VLAN ID range (in the form of vlan-id to vlan-id).

By default, only the packets of VLAN 1 are permitted.

Display the current configuration

display current-configuration

This command can be executed in any view.

 

  Caution:

l      For Aolynk ET series optical terminals, If the VLAN tag processing mode of the ONU port is untagged and the ONU port belongs to a specific VLAN, the OLT port permits the packets of the VLAN. For information about the above-mentioned VLAN tag processing modes, refer to section 3.6  Configuring the VLAN Tag Processing Mode for an ONU Port”.

l      Packets on the ONU ports of a H3C S3100 series Ethernet switches with ONU functions are forwarded transparently without being processed.

 

2.4.2  OLT Port VLAN Configuration Example

I. Network requirements

 

&  Note:

l      This example takes the Aolynk ET series optical terminals (that is, ET204/ET204-L20 and ET300/ET300-L20) as an example.

l      Normally, it is recommended that an ONU port operate in the transparent VLAN tag processing mode.

l      You can perform VLAN configuration on the four Ethernet ports of an ET204/ET204-L20 (Currently, the configuration is not supported by ET300/ET300-L20). For details, refer to section 4.3  "Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of the ONU“.

l      This example assumes that the ONU port is bound to an ONU. For information about binding an ONU port to an ONU, refer to section 3.3  Binding an ONU Port to an ONU”.

 

l           Connect the ONU device (ET300) to a trunk port (Ethernet0/1) of a Layer 2 switch used for user access.

l           Configure the VLAN tag processing mode of the ONU as transparent.

l           Connect PC1 to the Ethernet3/0/1 port of the OLT device and add the port to VLAN 3.

l           Connect PC2 to the Ethernet0/2 port of the Layer 2 switch and add the port to VLAN 3.

l           Configure the Olt2/0/8 port to permit the packets of VLAN 3.

l           Configure the Ethernet0/1 port of the Layer 2 switch to permit the packets of VLAN 3.

l           The above configuration enables PC1 and PC2 to communicate with each other.

II. Network diagram

Figure 2-1 Network diagram for OLT port VLAN configuration

III. Configuration procedure

1)         Configure the OLT.

# Enter system view.

<H3C> system-view

# Create VLAN 3.

[H3C] vlan 3

# Quit VLAN view.

[H3C-vlan3] quit

# Enter Ethernet3/0/1 port view.

[H3C] interface ethernet3/0/1

# Configure the Ethernet3/0/1 port as an access port, and add the port to VLAN 3.

[H3C-Ethernet3/0/1] port link-type access

[H3C-Ethernet3/0/1] port access vlan 3

# Quit Ethernet3/0/1 port view.

[H3C-Ethernet3/0/1] quit

# Enter Onu2/0/8:1 port view.

[H3C] interface onu2/0/8:1

# Configure the VLAN tag processing mode of this port as transparent.

[H3C-onu2/0/8:1] port handlemode transparent

# Bring up ONU2/0/8:1 port.

[H3C-onu2/0/8:1] undo shutdown

# Quit the Onu2/0/8:1 port view.

[H3C-onu2/0/8:1] quit

# Enter Olt2/0/8 port view.

[H3C] interface olt2/0/8

# Configure to permit packets of VLAN 3.

[H3C-Olt2/0/8] port permit vlan 3

# Display the current configuration.

[H3C-Olt2/0/8] display current-configuration interface olt2/0/8

#

interface Olt2/0/8

port permit vlan 3

#

return

2)         Configure the Layer 2 switch.

# Enter system view.

<H3C> system-view

# Create VLAN 3.

[H3C] vlan 3

# Quit VLAN view.

[H3C-vlan3] quit

# Enter Ethernet0/2 port view.

[H3C] interface ethernet0/2

# Configure the Ethernet0/2 port as an access port and add the port to VLAN 3.

[H3C-Ethernet0/2] port link-type access

[H3C-Ethernet0/2] port access vlan 3

# Quit Ethernet0/2 port view.

[H3C-Ethernet0/2] quit

# Enter Ethernet0/1 port view.

[H3C] interface ethernet0/1

# Configure the Ethernet0/1 port as a trunk port and configure the port to permit packets of VLAN 3.

[H3C-Ethernet0/1] port link-type trunk

[H3C-Ethernet0/1] port trunk permit vlan 3

2.5  Configuring the Maximum ONU RTT

The configuration here is to set the maximum round tip time (RTT) of the ONUs so that the ONUs can successfully register with the OLT.

As the physical distances between ONUs and the OLT are usually different, the RTTs of the ONUs may vary in microseconds. In an EPON with the ONU RTTs being not the same, an insufficient isolation interval may result in signals sent by different ONUs reaching the OLT at the same time, or partly-overlapped at the OLT, which in turn results in conflicts between uplink signals. In addition, RTT can also vary due to changing of the environment temperature and the aging of the optical parts. The accumulation of this variation may also result in uplink conflicts.

To avoid the above conflicts, EPON system adopts the time stamping method to measure distance. This method achieves synchronization by using the time stamps in EPON system. In this method, the distance between an OLT and an ONU, from which the RTT of an ONU is derived, is obtained by figuring out the difference between the value of the received time stamp and that of the local timer time stamp. The RTT of an ONU determines the sending delay of the ONUs. Setting ONU sending delays smartly can reduce the interval between ONU sending windows, so as to improve uplink channel efficiency and reduce the overall delay.

2.5.1  Configuring the Maximum ONU RTT

Table 2-4 Configure the maximum ONU RTT

Operation

Command

Description

Enter system view

system-view

Enter OLT port view

interface interface-type interface-number

Required

The interface-number argument represents an OLT port number.

Configure the maximum ONU RTT

max-rtt value

Required

By default, the maximum ONU RTT is 13,524 TQs.

Display the current configuration

display current-configuration

This command can be executed in any view.

 

&  Note:

RTT is figured out as follows.

Suppose that an OLT sends a time stamp T0 to an ONU at the time T0. Once the ONU receives the time stamp, it sets its local timer to T0. After waiting for a specific period, the ONU sends a time stamp T1 to OLT at the time T1. The OLT receives this stamp at the time T2.

Then, the RTT of the ONU can be obtained by using the following expression:

(T2 - T0) - (T1 - T0).

 

  Caution:

l      The configuration listed in Table 2-4 is only recommended to users with administrative rights rather than normal users. Improper configuration may result in service interruptions.

l      The max-rtt command is applicable to unregistered ONUs only.

l      Set the maximum RTT with the maximum ONU distance taken into account. If the maximum RTT value set is too small, the ONUs relatively far away from the OLT may fail to register.

l      The RTT value of a registered ONU cannot be zero. You need to lengthen the optical cable by at least 20 meters for registered ONUs with the RTT being zero. For related operation, refer to section 2.7  Displaying the Registered ONUs Connected to Specific OLT Port.

 

2.5.2  Maximum ONU RTT Configuration Example

I. Network requirements

Configure the maximum ONU RTT to 20,000 TQs.

II. Configuration procedure

# Enter system view.

<H3C> system-view

Enter Olt2/0/8 port view.

[H3C] interface olt2/0/8

# Configure the maximum ONU RTT as 20,000 TQs.

[H3C-Olt2/0/8] max-rtt 20000

# Display the current configuration.

[H3C-Olt2/0/8] display current-configuration interface olt2/0/8

#

interface Olt2/0/8

 max-rtt 20000

#

return

2.6  Enabling IGMP Packets to be Passed to CPU

An EPON service card can support IGMP (internet group management protocol) and the IGMP Snooping function only after you enable IGMP packets to be passed to CPU for being processed.

2.6.1  Enabling IGMP Packets to be Passed to CPU

Table 2-5 Enable IGMP packets to be passed to CPU

Operation

Command

Description

Enter system view

system-view

Enter OLT port view

interface interface-type interface-number

Required

The interface-number argument represents an OLT port number.

Enable IGMP packets to be passed to CPU

igmp-to-cpu enable

Required

By default, IGMP packets are passed to CPU for being processed.

Display the current configuration

display current-configuration

This command can be executed in any view.

 

&  Note:

The igmp-to-cpu enable command applies to the current OLT if you execute the command in OLT port view. It applies to all the OLTs if you execute it in FTTH view.

 

  Caution:

If you enable IGMP packets to be passed to CPU, the OLT operates improperly if one of the ONUs forward uplink multicast packets to the OLT. In this case, it is recommended that you disable this function to avoid unexpected results. With this function disabled, the EPON service card does support IGMP and the IGMP Snooping function.

 

2.7  Displaying the Registered ONUs Connected to Specific OLT Ports

Once an ONU is powered on and registers, the OLT can obtain the information about the ONU through automatic detection. You can use the corresponding commands to display the information about specific ONUs, including MAC address, ONU type, RTT value, port name, hardware version, software version, EEPROM version, host type, and ONU state.

Currently, you can display the information in the following two ways.

Displaying the information about the ONUs connected to an OLT port

Displaying the information about the ONUs connected to all the OLT ports of an EPON card seated in a specific slot

2.7.1  Displaying the Registered ONUs Connected to Specific OLT Ports

Table 2-6 Display the registered ONUs connected to specific OLT ports

Operation

Command

Description

Display the information about the registered ONUs connected to a specified OLT port

display onuinfo interface interface-type interface-number

Optional

This command can be executed in any view.

Display the information about the registered ONUs connected to all the OLT ports of an EPON card seated in a specified slot

display onuinfo slot slot-id

Optional

This command can be executed in any view.

 

2.7.2  ONU Information Display Example

I. Network requirements

Two ONUs, OUN1 and ONU2, are connected to the Olt2/0/8 port through a POS. Use the display onuinfo interface command to display the information about the two ONUs.

II. Network diagram

Figure 2-2 Network diagram for ONU information display

III. Displaying procedure

# Display the information about all the registered ONUs connected to Olt2/0/8 port.

<H3C> display onuinfo interface olt 2/0/8

ONU Mac Address RTT(TQ) Port         ONU Board/Ver    Sft/Eeprom ONU host State

00e0-fc70-2d6d  3122   Onu2/0/8:1 ET204/D         140/102    N/A      Up

000f-e203-ff13  3130   Onu2/0/8:2 LS6M1PU1SA/A    107/100    S3108C   Up

 

---  2 entries found  ---

 

&  Note:

The fields of the output information are described as follows.

l      RTT represents the ONU round tip time. Refer to section 2.5  Configuring the Maximum ONU RTT for details.

l      Port represents the number of the bound ONU port. If the ONU is not bound to an ONU port, N/A is displayed here.

l      ONU Board/Ver indicates the ONU model and PCB version.

l      Sft/Eeprom indicates the ONU software version and EEPROM version.

l      ONU host indicates the host type of an ONU device. If the ONU device is an Aolynk ET series optical terminal, N/A is displayed. If the ONU device is a H3C S3100 series Ethernet switch with ONU functions, the corresponding switch model is displayed.

l      State indicates the state of the ONU. If the ONU is registered , but not bound to an ONU port, N/A is displayed here. Otherwise, Otherwise, Up (which indicates the ONU is started up) or Down (which indicates the ONU is shut down) is displayed.

 

2.8  Displaying OLT Configuration

Table 2-7 Display OLT Configuration

Operation

Command

Description

Display all the configuration

display current-configuration

This command can be executed in any view.

Display the configuration concerning the current view

display this

Execute this command in the desired view.

 


Chapter 3  ONU Configuration

3.1  Introduction to ONU

ONUs are located on user side. They provide interfaces for users to connect to EPON through Ethernet. ONUs convert optical signals received from OLT to Ethernet frames and forward them to users; at the same time, they convert Ethernet frames received from users to optical signals and forward them to OLT.

The following two types of devices can serve as ONU devices:

l           Aolynk ET series optical terminals: ET204, ET300, ET204-L20, or ET300-L20.

l           H3C S3100 series Ethernet switches with ONU functions, where ONU functions are implemented through ONU sub-cards.

3.2  Configuring an ONU

 

&  Note:

The configuration tasks for the two types of ONU devices are somewhat different, as described in the following text.

 

Table 3-1 describes the configuration tasks for an Aolynk ET series optical terminal.

Table 3-1 Configure an Aolynk ET series optical terminal

Configuration task

Description

Related section

Bind an ONU port to an ONU

Required

Section 3.3  Binding an ONU Port to an ONU

Configure DBA and ONU uplink bandwidth range

Optional

Section 3.4  "Configuring DBA and ONU Uplink Bandwidth Range

Configure traffic encryption

Optional

Section 3.5  Configuring Traffic Encryption

Configure VLAN tag processing mode for an ONU port

Optional

Section 3.6  Configuring the VLAN Tag Processing Mode for an ONU Port

Configure multicast filtering

Optional

Section 3.7  Configuring Multicast Filtering

Deregister an ONU

Optional

Section 3.8  Deregistering an ONU

Restart an ONU

Optional

Section 3.9   “Restarting an ONU

Test a link

Optional

Section 3.10  "Testing the Link to an ONU

Configure ONU authentication

Optional

Section 3.11  Configuring ONU Authentication

Manage an ONU remotely

Optional

Section 3.12  Managing an ONU Remotely

Display ONU registration and deregistration records

Optional

Section 3.13  Displaying ONU Registration and Deregistration Record

Display OAM information about an ONU

Optional

Section 3.14  Displaying OAM information About an ONU

 

Table 3-2 describes the configuration tasks for a H3C S3100 series Ethernet switch with ONU functions.

Table 3-2 Configure a H3C S3100 series Ethernet switch with ONU functions

Configuration task

Description

Related section

Bind an ONU port to an ONU

Required

Section 3.3  Binding an ONU Port to an ONU

Configure DBA and ONU uplink bandwidth range

Optional

Section 3.4  Configuring DBA and ONU Uplink Bandwidth Range

Configure traffic encryption

Optional

Section 3.5  Configuring Traffic Encryption

Configure multicast filtering

Optional

Section 3.7  Configuring Multicast Filtering

Deregister an ONU

Optional

Section 3.8  Deregistering an ONU

Restart an ONU

Optional

Section 3.9  Restarting an ONU

Test a link

Optional

Section 3.10  Testing the Link to an ONU

Configure ONU authentication

Optional

Section 3.11  Configuring ONU Authentication

Manage an ONU remotely

Optional

Section 3.12  Managing an ONU Remotely

Display ONU registration and deregistration records

Optional

Section 3.13  "Displaying ONU Registration and Deregistration Records

Display OAM information about an ONU

Optional

Section 3.14  Displaying OAM information About an ONU

 

3.3  Binding an ONU Port to an ONU

To enable the OLT to manage an ONU, you must first bind an ONU port to the ONU by associating the port with the MAC address of the ONU.

3.3.1  Binding an ONU port to an ONU

Table 3-3 Bind an ONU port to an ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Bind the ONU port to an ONU

bind onuid onuid [ type { et204 | et300 | ls6m1pu1s } ]

Required

onuid: the MAC address of an ONU.

et204, et300, and ls6m1pu1s specify ET204/ET204-L20, ET300/ET300-L20, and ONU sub-card respectively.

ls6m1pu1s includes LS6M1PU1SA and LS6M1PU1SB sub-cards.

The default type is et204.

Verify the configuration

display current-configuration

You can execute this command in any view.

 

&  Note:

l      You can use the display onuinfo command to obtain the MAC address and type of an ONU. Refer to section 2.7  "Displaying the Registered ONUs Connected to Specific OLT Ports”.

l      For an unregistered ONU, if the specified ONU type does not match the actual ONU type, a warning message will appear after the ONU is powered on and successfully registers with the OLT, indicating that the binding type does not match the actual one. For a registered ONU, if the specified ONU type does not match the actual ONU type, you will be prompted immediately that the binding type does not match the actual one.

l      After you bind an ONU port to an ONU, the ONU is still in the down state. You can use the undo shutdown command to bring up the ONU.

 

  Caution:

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

 

3.3.2  ONU Ports-to-ONUs Binding Configuration Example

I. Network requirements

Bind the Onu2/0/8:1 port to ONU 1 and bind the Onu2/0/8:2 port to ONU 2.

II. Network diagram

Figure 3-1 Network diagram for binding ONU ports to ONUs

III. Configuration procedure

# Display ONU information about the Olt2/0/8 port.

<H3C> display onuinfo interface olt 2/0/8

ONU Mac Address  RTT(TQ) Port         ONU Board/Ver    Sft/Eeprom ONU host State

00e0-fc70-2d6d  3122   N/A        ET204/D         140/102    N/A      N/A

000f-e203-ff13  3130   N/A        LS6M1PU1SA/A    107/100    S3108C   N/A

 

---  2 entries found  ---

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:1 port view.

[H3C] interface onu 2/0/8:1

# Bind the Onu2/0/8:1 port to ONU 1 and bring ONU 1 up.

[H3C-Onu2/0/8:1] bind onuid 00e0-fc70-2d6d type et204

[H3C-Onu2/0/8:1] undo shutdown

# Return to the system view.

[H3C-Onu2/0/8:1] quit

# Enter Onu2/0/8:2 port view.

[H3C] interface onu 2/0/8:2

# Bind the Onu2/0/8:2 port to ONU 2 and bring ONU 2 up.

[H3C-Onu2/0/8:2] bind onuid 000f-e203-ff13 type ls6m1pu1s

[H3C-Onu2/0/8:2] undo shutdown

# Display the result.

[H3C-Onu2/0/8:2] display onuinfo interface olt 2/0/8

ONU Mac Address   RTT(TQ)  Port        ONU Board/Ver  Sft/Eeprom ONU host State

00e0-fc70-2d6d   3122    Onu2/0/8:1 ET204/D       134/102    N/A      Up

000f-e203-ff13   3130    Onu2/0/8:2 LS6M1PU1SA/A  101/100    S3108C   Up

 

---  2 entries found  ---

3.4  Configuring DBA and ONU Uplink Bandwidth Range

Dynamic bandwidth allocation (DBA) is used to adjust the uplink bandwidth of individual ONUs in real time according to the traffic status of ONUs.

DBA is implemented through the request-response mechanism: DBA collects traffic information about ONUs from the bandwidth requests received from ONUs, invokes a specific bandwidth allocation algorithm to figure out the bandwidth to be allocated to each ONU and notifies the results to ONUs through bandwidth authorization messages. This ensures that ONUs will not conflict with each other when they send frames upstream.

Comparing with fixed bandwidth allocation, DBA is more suitable for high-bursty IP/Ethernet service. DBA reduces wasted bandwidth and make upstream bandwidth being used more efficiently. With DBA, the ONUs take turns to send uplink frames, and the transmitting order and time of ONUs are controlled by OLT.

ONU uplink bandwidth range configuration includes ONU uplink maximum and minimum bandwidth configurations.

3.4.1  Prerequisites

l           Bind ONU ports to corresponding ONUs. Refer to section 3.3  Binding an ONU Port to an ONU” for details.

l           Make sure the ONUs are up. You can check the status of an ONU by executing the display onuinfo command in any view.

3.4.2  Configuring DBA and ONU Uplink Bandwidth Range

Table 3-4 Configure DBA and ONU uplink bandwidth range

Operation

Command

Description

Enter system view

system-view

Enter OLT port view

interface interface-type interface-number

Required

interface-number: an OLT port number

Upgrade the external DBA algorithm

dba-algorithm update filename

Required

filename: Device name + DBA algorithm file name, a string of up to 64 characters. It cannot be the name of a DBA algorithm file on backup SRPU.

Enable an DBA algorithm

dba-algorithm enable { extdba | intdba }

Required

The extdba keyword specifies to enable the external DBA algorithm. The intdba keyword specifies to enable the internal DBA algorithm. The internal DBA algorithm is enabled by default.

Configure DBA parameters

dba-parameters { discovery-frequency value | discovery-length value | cycle-length value } *

Optional

By default, an OLT port broadcasts discovery frames to its ONUs once in every period of 50 x cycle-length; the period for an OLT port to discover ONUs (discovery-length) is 41,500 TQ; the value of cycle-length is 65,535 TQ.

Return to system view

quit

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Configure ONU uplink bandwidth range

upstream-sla minimum-bandwidth value1 maximum-bandwidth value2

Required

By default, value1 is 32 and value2 is 368, and

The actual minimum or maximum bandwidth = value1 or value2 x 64.

Verify the configuration

display current-configuration

You can execute this command in any view.

 

  Caution:

l      You can manually load an external DBA algorithm by using the dba-algorithm update command as needed.

l      When you use the dba-algorithm update command to upgrade the external DBA algorithm, the new upgrade file is synchronously loaded onto the backup SRPU (switching and routing process unit), and overwrites the old one (if any) in the backup SRPU. If the synchronous upgrading operation fails (this may occur when there is not enough free space on the FLASH of the backup SRPU), DBA algorithms on the primary and backup SRPUs will be different, thus resulting in configuration errors.

l      The sum of the minimum bandwidths configured for all the ONUs under an OLT port cannot exceed 921,600 Kbps, otherwise your configuration will not be performed. For example, there are three ONUs under an OLT port: ONU1, ONU2, and ONU3. The minimum bandwidth you configured for ONU1 and ONU2 are 3,072 Kbps. Then, if you configure the minimum bandwidth for ONU3 to be greater than 915,456 Kbps, your configuration will fail, and the following prompt appears: “Error: The total value of minimum bandwidth on an OLT cannot exceed 900(Mbps)!”.

l      Improperly configuring DBA parameters may terminate the entire service. So you are not recommended to configure them unless you are an administrator.

 

3.4.3  DBA and ONU Uplink Bandwidth Range Configuration Example

I. Network requirements

l           Set the minimum uplink bandwidth to 64,000 Kbps and the maximum uplink bandwidth to 320,000 Kbps for ONU2.

l           Manually load and enable an external DBA algorithm.

II. Network diagram

Refer to Figure 3-1.

III. Configuration procedure

1)         Configure ONU uplink bandwidth range.

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:2 port view.

[H3C] interface onu2/0/8:2

# Set the minimum bandwidth to 64,000 Kbps and the maximum bandwidth to 320,000 Kbps for ONU2.

[H3C-Onu2/0/8:2] upstream-sla minimum-bandwidth 1000 maximum-bandwidth 5000

 Info: The minimum-bandwidth of upstream is 64000 Kbit/s

 Info: The maximum-bandwidth of upstream is 320000 Kbit/s

# Bring up ONU 2.

[H3C-Onu2/0/8:2] undo shutdown

# Verify the above configuration.

[H3C-Onu2/0/8:2] display current-configuration interface onu 2/0/8:2

#

interface Onu2/0/8:2

 bind onuid 000f-e203-ff13 type ls6m1pu1s

 undo shutdown

 upstream-sla minimum-bandwidth 1000 maximum-bandwidth 5000

#

return

2)         Load and enable an external DBA algorithm.

# Enter system view.

<H3C> system-view

# Enter Olt2/0/8 port view.

[H3C] interface olt 2/0/8

# Load an external DBA algorithm.

[H3C-Olt2/0/8] dba-algorithm update plato2.app

 Updating external DBA-algorithm.......

# Enable the external DBA algorithm.

[H3C-Olt2/0/8] dba-algorithm enable extdba

# Verify the above configuration.

[H3C-Olt2/0/8] display current-configuration interface olt 2/0/8

#

interface Olt2/0/8

dba-algorithm update plato2.app

 dba-algorithm enable extdba

#

return

# Check the operation information.

[H3C-Olt2/0/8] display epon-workmode interface olt 2/0/8

 OLT work mode:

 Status  : open

 MAC ADDR: 000c-d500-1027

 DBA mode: external

3.5  Configuring Traffic Encryption

This section describes the configuration concerning data encryption.

To prevent user data from being listened by illegal users, you can adopt encryption algorithms to encrypt user data.

To ensure the security of data transmission, it is strongly recommended that downstream data, which is sent from OLT to ONU, be encrypted.

3.5.1  Prerequisites

l           Bind ONU ports to corresponding ONUs. Refer to section 3.3  Binding an ONU Port to an ONU” for details.

l           Make sure the ONUs are up. You can check the status of an ONU by executing the display onuinfo command in any view.

3.5.2  Configuring Traffic Encryption

Table 3-5 Configure traffic encryption

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Configure to encrypt downstream data from the OLT to the ONU

encrypt downlink

Optional

By default, no encryption is performed.

Configure to encrypt both upstream and downstream data between the OLT and the ONU

encrypt up-down-link

Optional

By default, no encryption is performed.

Verify the configuration

display current-configuration

You can execute this command in any view.

 

You can use the encrypt off command to disable traffic encryption.

3.5.3  Traffic Encryption Configuration Example

I. Network requirements

Encrypt the upstream and downstream data between the OLT and ONU 2 to ensure the security of data transmission. Here an ONU sub-card is taken as an example. The configuration procedure for an Aolynk ET series optical terminal is similar to that of an ONU sub-card and is thus omitted.

II. Network diagram

Refer to Figure 3-1.

III. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:2 port view.

[H3C] interface onu 2/0/8:2

# Configure to encrypt both upstream and downstream data.

[H3C-Onu2/0/8:2] encrypt up-down-link

# Bring up ONU 2.

[H3C-Onu2/0/8:2] undo shutdown

# Verify the above configuration.

[H3C-Onu2/0/8:2] display current-configuration interface onu 2/0/8:2

#

interface Onu2/0/8:2

 bind onuid 000f-e203-ff13 type ls6m1pu1s

 undo shutdown

 encrypt up-down-link

#

return

3.6  Configuring the VLAN Tag Processing Mode for an ONU Port

An ONU port can use one of the two modes to process VLAN tags: transparent and untagged:

l           Transparent mode: In this mode, for an upstream frame, if the fame does not carry a VLAN tag, the ONU port inserts the tag of VLAN 1 into the frame before forwarding it to the OLT; if the frame carries a VLAN tag, the ONU port forwards the frame directly. For downstream frames, the ONU port remains them unchanged and forwards them directly.

l           Untagged mode: In this mode, you can configure a VLAN for the port so that the port belongs to the VLAN. After that, for a downstream frame from the OLT to the ONU, if the frame belongs to the same VLAN as that configured on the ONU port, the ONU port removes the VLAN tag from the frame and continues to forward the frame, otherwise it discards the frame. For an upstream frame, if the frame does not contain a VLAN tag, the ONU port inserts the VLAN tag configured on it before forwarding the frame (for example, if the ONU port belongs to VLAN 2, the ONU port inserts the tag of VLAN 2 into the frame). Otherwise, the frame is sent to the OLT without being modified.

 

&  Note:

l      It is recommended to set an ONU port to the transparent mode.

l      You can perform VLAN configuration for the four Ethernet ports of an ET204 or an ET204-L20. Currently, VLAN configuration is not supported on the Ethernet ports of ET300/ET300-L20. For details on VLAN configuration, refer to section 4.3  "Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of the ONU“.

 

3.6.1  Prerequisites

l           Bind ONU ports to corresponding ONUs. Refer to section 3.3  Binding an ONU Port to an ONU” for details.

l           Make sure the ONUs are up. You can check the status of an ONU by executing the display onuinfo command in any view.

3.6.2  Configuring VLAN Tag Processing Mode for an ONU Port

Table 3-6 lists the operations to configure an ONU port to operate in the untagged mode.

Table 3-6 Configure the ONU port to operate in the untagged mode

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Set the VLAN tag processing mode on the ONU port to untagged

port handlemode untagged

Required

An ONU port operates in the untagged mode by default.

Add the ONU port to a specified VLAN.

untagged vlan vlan-id

Optional

An ONU port belongs to VLAN 1 by default.

Verify the configuration

display current-configuration

You can execute this command in any view.

 

  Caution:

Before configuring a VLAN for an ONU port in untagged mode, make sure the VLAN already exists.

 

Table 3-7 lists the operations to configure an ONU port to operate in the transparent mode.

Table 3-7 Configure an ONU port to operate in the transparent mode

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Configure the VLAN tag processing mode on the ONU port to transparent

port handlemode transparent

Required

An ONU port operates in the untagged mode by default.

Verify the configuration

display current-configuration

You can execute this command in any view.

 

3.6.3  VLAN Tag Processing Mode Configuration Example (Transparent)

I. Network requirements

Configure the Onu2/0/8:1 port of ONU 1 (ET300) to operate in the transparent mode.

II. Network diagram

Figure 3-2 Network diagram for configuring VLAN tag processing mode (A)

III. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:1 port view.

[H3C] interface onu 2/0/8:1

# Set the VLAN tag processing mode on the port to transparent.

[H3C-Onu2/0/8:1] port handlemode transparent

# Bring up ONU 1.

[H3C-Onu2/0/8:1] undo shutdown

# Verify the above configuration.

[H3C-Onu2/0/8:1] display current-configuration interface onu 2/0/8:1

#

interface Onu2/0/8:1

 bind onuid 000f-e203-fdbc type et300

 undo shutdown

 port handlemode transparent

#

return

3.6.4  VLAN Tag Processing Mode Configuration Example (Untagged)

I. Network requirements

l           Create VLAN 2 and VLAN 3.

l           Add the Onu2/0/8:1 port of ONU 1 (ET300) to VLAN 2. Add the Onu2/0/8:2 port of ONU 2 (ET300) to VLAN 3.

II. Network diagram

Figure 3-3 Network diagram for configuring VLAN tag processing mode (B)

III. Configuration procedure

# Enter system view.

<H3C> system-view

# Create VLAN 2.

[H3C] vlan 2

# Create VLAN 3.

[H3C-vlan2] vlan 3

# Quit the VLAN view.

[H3C-vlan3] quit

# Enter Onu2/0/8:1 port view.

[H3C] interface onu 2/0/8:1

# Add Onu2/0/8:1 to VLAN 2 in the untagged mode.

[H3C-Onu2/0/8:1] port handlemode untagged

[H3C-Onu2/0/8:1] untagged vlan 2

# Bring up ONU 1.

[H3C-Onu2/0/8:1] undo shutdown

# Verify the above configuration.

[H3C-Onu2/0/8:1] display current-configuration interface onu 2/0/8:1

#

interface Onu2/0/8:1

 bind onuid 000f-e203-fdbc type et300

 undo shutdown

 untagged vlan 2

#

return

# Quit Onu2/0/8:1 view.

[H3C-Onu2/0/8:1] quit

# Enter Onu2/0/8:2 port view.

[H3C] interface onu 2/0/8:2

# Add Onu2/0/8:2 to VLAN 3 in the untagged mode.

[H3C-Onu2/0/8:2] port handlemode untagged

[H3C-Onu2/0/8:2] untagged vlan 3

# Bring up ONU 2.

[H3C-Onu2/0/8:2] undo shutdown

# Verify the above configuration.

[H3C-Onu2/0/8:2] display current-configuration interface onu 2/0/8:2

#

interface Onu2/0/8:2

 bind onuid 000f-e203-fdba type et300

 undo shutdown

 untagged vlan 3

#

return

3.7  Configuring Multicast Filtering

An ONU can automatically learn multicast MAC addresses. Multicast filtering enables an ONU to filter out multicast frames whose multicast MAC addresses are not contained in the multicast MAC address table of the ONU.

With multicast filtering enabled on an ONU port, downstream multicast frames from the OLT to the ONU will be discarded if their multicast MAC addresses are not contained in the multicast MAC address table of the ONU. With multicast filtering disabled on an ONU port, all downstream multicast frames will be transparently transmitted.

 

&  Note:

l      For H3C S3100 series Ethernet switches with ONU functions, You can implement multicast filtering by enabling IGMP Snooping or manually configure multicast MAC addresses on S3100 series Ethernet switches. For details, see the IGMP Snooping part in H3C S3100 Series Ethernet Switches  Operation Manual.

l      For ET204/ET204-L20 and ET300/ET300-L20, multicast filtering can be achieved through enabling ONU multicast-filter ( the ONUs support up to eight learned or manually configured multicast MAC addresses and the manually configured multicast MAC addresses are in the range of 01-00-5e-00-01-00 to 01-00-5e-7f-ff-ff). A downstream frame with the first 16 bits in the least significant 24 bits of its multicast MAC address being zero (such as 01-00-5E-00-00-XX) will be transparently transmitted.

 

3.7.1  Prerequisites

l           Bind ONU ports to corresponding ONUs. Refer to section 3.3  Binding an ONU Port to an ONU” for details.

l           Make sure the ONUs a re up. You can check the status of an ONU by executing the display onuinfo command in any view.

3.7.2  Configuring Multicast Filtering for an Aolynk ET Series Optical Terminal

 

&  Note:

To perform this configuration, you need to enable IGMP Snooping on the OLT device.

 

I. ET204/ET204-L20

Table 3-8 Configure multicast filtering for an ET204/ET204-L20

Operation

Command

Description

Enter system view

system-view

Enable IGMP Snooping globally

igmp-snooping enable

Required

IGMP Snooping is disabled by default.

You can check whether or not IGMP Snooping is enabled by using the display igmp-snooping configuration command.

Enter specified VLAN view

vlan vlan-id

Required

Enable IGMP Snooping

igmp-snooping enable

Required

IGMP Snooping is disabled by default.

You can check whether or not IGMP Snooping is enabled by using the display igmp-snooping configuration command.

Return to system view

quit

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Set the VLAN tag processing mode of the ONU port to transparent

port handlemode transparent

Required

The VLAN tag processing mode of the ONU port is untagged by default.

Enable multicast filtering

multicast-filter enable

Optional

This function is disabled by default.

Set the UNI VLAN tag processing mode of the ONU to untagged

uni link-type untagged

Required

By default, the UNI VLAN tag processing mode of the ONU is transparent.

UNI: user network interface

Add an ONU UNI to the corresponding VLAN

uni uni-number pvid pvid-value

Required

The default VLAN ID for the ONU UNI is 1.

Display the multicast filtering status of the ONU

display multicast-filter interface interface-type interface-number

You can execute this command in any view.

 

&  Note:

l      If you specify an OLT port when executing the display multicast-filter interface command, the command displays the multicast filtering status of all ONUs under the OLT port that are in up state. If you specify an ONU port, the command displays the multicast filtering status of the ONU being in up state under the ONU port.

l      For operations related with ONU UNI, refer to section 4.3  "Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of the ONU".

 

II. ET300/ET300-L20

Table 3-9 Configure multicast filtering for an ET300/ET300-L20

Operation

Command

Description

Enter system view

system-view

Enable IGMP Snooping globally

igmp-snooping enable

Required

IGMP Snooping is disabled by default.

You can check whether or not IGMP Snooping is enabled by using the display igmp-snooping configuration command.

Enter specified VLAN view

vlan vlan-id

Required

Enable IGMP Snooping

igmp-snooping enable

Required

IGMP Snooping is disabled by default.

You can check whether or not IGMP Snooping is enabled by using the display igmp-snooping configuration command.

Return to system view

quit

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Set the VLAN tag processing mode of the ONU port to transparent

port handlemode transparent

Required

The VLAN tag processing mode of the ONU port is untagged by default.

Enable multicast filtering

multicast-filter enable

Optional

This function is disabled by default.

Display the multicast filtering status of the ONU

display multicast-filter interface interface-type interface-number

You can execute this command in any view.

 

3.7.3  Multicast Filtering Configuration Example (Aolynk ET Series)

I. Network requirements

l           Connect the first UNI of the ONU (ET204) to a user PC.

l           Enable IGMP Snooping globally.

l           Enable IGMP Snooping in VLAN 10 view.

l           Set the VLAN tag processing mode of the ONU port to transparent.

l           Enable multicast filtering for the ONU.

l           Add the first UNI of the ONU to VLAN 10.

l           Suppose there are two multicast flows to the ONU: multicast flow 1 and multicast flow 2, and the user PC only joins multicast group 2 by sending Report messages or is manually added to multicast group 2. Then, the destination MAC address of multicast flow 2 will appear in the multicast MAC address table of the ONU, while that of multicast flow 1 will not. As a result, the ONU will receive and forward multicast flow 2 and discard multicast flow 1.

II. Network diagram

Figure 3-4 Network diagram for configuring multicast filtering

III. Configuration procedure

# Enter system view.

<H3C> system-view

# Enable IGMP Snooping globally.

[H3C] igmp-snooping enable

# Enter VLAN 10 view and enable IGMP Snooping.

[H3C] vlan 10

[H3C-vlan10] igmp-snooping enable

# Return to system view.

[H3C-vlan10] quit

# Enter Olt2/0/8 port view.

[H3C] interface olt2/0/8

# Configure the Olt2/0/8 port to permit the packets of VLAN 10.

[H3C-Olt2/0/8] port permit vlan 10

# Return to system view.

[H3C-Olt2/0/8] quit

# Enter Onu2/0/8:1 port view.

[H3C] interface onu2/0/8:1

# Configure the VLAN tag processing mode of the port to transparent.

[H3C-Onu2/0/8:1] port handlemode transparent

# Bring up the ONU.

[H3C-Onu2/0/8:1] undo shutdown

# Enable multicast filtering for the ONU.

[H3C-Onu2/0/8:1] multicast-filter enable

# Check the multicast filtering status of the ONU.

[H3C-Onu2/0/8:1] display multicast-filter interface onu2/0/8:1

Multicast filter status: enable

# Set the UNI VLAN tag processing mode of the ONU to untagged.

[H3C-Onu2/0/8:1] uni link-type untagged

# Add UNI 1 of the ONU to VLAN 10.

[H3C-Onu2/0/8:1] uni 1 pvid 10

# Verify the above configuration.

[H3C-Onu2/0/8:1] display current-configuration interface onu 2/0/8:1

#

interface Onu2/0/8:1

 bind onuid 00e0-fc70-2d6d type et204

 undo shutdown

 port handlemode transparent

 multicast-filter enable

 uni link-type untagged

 uni 1 pvid 10

#

return

3.8  Deregistering an ONU

After being deregistered, an ONU registers again automatically.

3.8.1  Prerequisites

Bind ONU ports to corresponding ONUs. Refer to section 3.3  Binding an ONU Port to an ONU” for details.

3.8.2  Deregistering an ONU

Table 3-10 Deregister an ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Deregister the ONU

deregister onu

Required

 

3.8.3  ONU Deregistration Configuration Example

I. Network requirements

Deregister an ONU in an EPON system.

II. Network diagram

Figure 3-5 Network diagram for deregistering an ONU

III. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:1 port view.

[H3C] interface onu 2/0/8:1

# Deregister the ONU.

[H3C-Onu2/0/8:1] deregister onu

3.9  Restarting an ONU

When an ONU is bound to an ONU port and is up, you can restart the ONU.

3.9.1  Prerequisites

l           Before performing the configuration here, make sure the ONU has an ONU port bound to it. See section 3.3  Binding an ONU Port to an ONU” for details.

l           Make sure the ONU is up. You can check the status of an ONU by executing the display onuinfo command in any view.

3.9.2  Restarting an ONU

Table 3-11 Restart an ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Restart the ONU

reboot onu

Required

 

3.9.3  ONU Restart Configuration Example

I. Network requirements

Restart the ONU which Onu2/0/8:1 is bound to.

II. Network diagram

See Figure 3-5.

III. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:1 port view.

[H3C] interface onu 2/0/8:1

# Restart the ONU.

[H3C-Onu2/0/8:1] reboot onu

3.10  Testing the Link to an ONU

This section describes the operation to test the link between an ONU and the OLT.

3.10.1  Prerequisites

l           Bind ONU ports to corresponding ONUs. Refer to section 3.3  Binding an ONU Port to an ONU” for details.

l           Make sure the ONUs are up. You can check the status of an ONU by executing the display onuinfo command in any view.

3.10.2  Testing the Link Between an ONU and the OLT

Table 3-12 Testing the link between an ONU and the OLT

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Test the link between the ONU and the OLT

linktest [ frame-number value frame-size value delay { on | off } | vlan-tag { on | off } vlan-priority value vlan-id value ] *

Required

The following lists the default values of the link test parameters.

l      Number of test frames: 20

l      Frame size: 1000 bytes

l      VLAN priority: 2

l      VLAN tag: not included in testing frames

l      Delay testing state: Off

l      VLAN ID: VLAN 1, to which the test frames belong

 

  Caution:

If you use the internal DBA algorithm, the link test runs normally only when the maximum uplink bandwidth is greater than 7 Mbps.

 

3.10.3  Link Test Configuration Example

I. Network requirements

Test the link between an ONU and the OLT. In this example, the OLT sends 100 test frames to the ONU. You can verify the connectivity of the link by checking the sent and received frames.

II. Network diagram

See Figure 3-5.

III. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:1 port view.

[H3C] interface onu2/0/8:1

# Test the link between the ONU and the OLT with 100 test frames.

[H3C-Onu2/0/8:1] linktest frame-number 100

 It may affect data transmission, continue?[Y/N]:y

 Maximum delay(in TQ): 26408

 Mean delay(in TQ)   : 24777

 Minimum delay(in TQ): 19922

 Sent frames         : 100

 Received frames     : 100

 Error frames        : 0

 

&  Note:

“The link is disconnected!” will be displayed if the link between the ONU and the OLT fails the test.

 

3.11  Configuring ONU Authentication

ONU authentication ensures that only legal users can communicate with the OLT. It prevents illegal users from joining the EPON system through bogus registration requests and communicating with the OLT through bogus upstream data, thus protecting your EPON system.

There are two ONU authentication modes:

l           Automatic authentication: in this mode, ONUs register and join the EPON system once they are powered on. They can communicate with the OLT without the need to manually bind ONU ports to the MAC addresses of the ONUs.

l           Non-automatic authentication: in this mode, the EPON system allows all ONUs to register successfully. But you need to bind ONU ports to the MAC addresses of the ONUs for the ONUs to communicate with the OLT.

In addition, the administrator can force an ONU to undergo authentication again.

 

  Caution:

For security concerns, currently, automatic ONU authentication is not supported, and non-automatic authentication is adopted by default.

 

3.11.1  Forcibly Re-authenticating an ONU

Table 3-13 describes the configuration to forcibly re-authenticate an ONU.

Table 3-13 Forcibly authenticate an ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Forcibly re-authenticate the ONU

reauthorize onu

Required

 

&  Note:

l      For 802.1x authentication, make sure the authentication server is running, so as to validate the user names and passwords received from ONUs. ONUs only support the local CHAP authentication and the remote EAP authentication. For information about authentication configuration, refer to the Security part in H3C S7500 Series Ethernet Switches  Operation Manual.

l      For 802.1x authentication, you must configure an 802.1x account and password for an ONU to pass 802.1x authentication. Refer to section 3.12  Managing an ONU Remotely” for more.

l      For 802.1x authentication, you must enable 802.1x both globally and in corresponding ONU port view. For information about authentication configuration, refer to the security part in H3C S7500 Series Ethernet Switches  Operation Manual.

l      An ONU is down if it fails the authentication.

l      The authentication described in this section is only for ONUs.

l      You can force an ONU to undergo authentication again only when the ONU port is bound to the ONU. Refer to section 3.3  Binding an ONU Port to an ONU”.

 

3.11.2  ONU Authentication Configuration Example

I. Network requirements

Force the ONU to undergo authentication again.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:1 port view.

[H3C] interface onu 2/0/8:1

# Forcibly re-authenticate the ONU.

[H3C-Onu2/0/8:1] reauthorize onu

3.12  Managing an ONU Remotely

Remote ONU management tasks include:

l           Upgrading ONU software remotely

l           Checking the 802.1x account and password of an ONU

l           Configuring an 802.1x account and password for an ONU remotely

3.12.1  Prerequisites

l           Bind ONU ports to corresponding ONUs. Refer to section 3.3  Binding an ONU Port to an ONU” for details.

3.12.2  Managing an ONU Remotely

Table 3-14 Manage an ONU remotely

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: an ONU port number.

Configure an 802.1x account and password for the ONU

set onu-dot1x account account password password

Optional

account and password: 802.1x account and password. Both arguments are strings containing up to 16 non-special characters. They are written to the EEPROM of the ONU after you execute this command.

Display the 802.1x account and password of the ONU

display onu-dot1x interface interface-type interface-number

interface-number: an ONU port number.

Upgrade the ONU software

update onu filename filename

Optional

filename: the file name of the ONU software to be upgraded.

Executing this command in OLT port view will upgrade the software of all ONUs under the OLT port. Executing this command in ONU port view will only upgrade the software of the current ONU.

 

&  Note:

l      When you upgrade the software of an ONU, the upgrade file is first downloaded to the ONU from the FLASH of the OLT, and then the ONU automatically upgrades its software.

l      Before upgrading the software of an ONU, make sure the ONU is up.

l      You can successfully upgrade the software of an ONU only when the upgrade software matches the ONU.

 

  Caution:

l      If you upgrade ONU software through MIB or network management system (NMS), be sure to set the default timeout time of MIB or NMS to no less than 30 seconds.

l      You can specify an ONU account for 802.1x authentication to be in the form of “A@B” (A and B are strings comprising of normal characters), where A is the user name and B is the domain name. In this case, the ONU can pass the authentication only when the domain is created on the authentication device.

l      To avoid data writing error, you are recommended not to power off the ONU for which you are configuring 802.1x account and password.

 

3.12.3  ONU Remote Management Configuration Example

I. Configuring an 802.1x account and password for an ONU

# Enter system view.

<H3C> system-view

# Enter Onu2/0/8:1 port view.

[H3C] interface onu 2/0/8:1

# Configure test as both the 802.1x account and password of the ONU bound to Onu2/0/8:1.

[H3C-Onu2/0/8:1] set onu-dot1x account test password test

II. Displaying the 802.1x account and password of an ONU

# Display the 802.1x account and password of the ONU bound to Onu2/0/8:1.

[H3C-Onu2/0/8:1] display onu-dot1x interface onu 2/0/8:1

ONU 802.1X account is test and password is test

III. Upgrading ONU software

1)         Use the upgrade software matching Aolynk ET series optical terminals to upgrade the software of all the ONUs under the Olt2/0/8 port. For the network diagram, see Figure 3-1.

# Return to system view.

[H3C-Onu2/0/8:1] quit

# Enter Olt2/0/8 port view.

[H3C] interface olt 2/0/8

# Upgrade the ONU software of all the ONUs under the OLT port.

[H3C-Olt2/0/8] update onu filename file1.app

Update flash:/file1.app?[Y/N]

Press <Y> to start upgrade, or press <N> to quit. If you press <Y>, the following information appears:

 Info: Download file to onu may take a long time, please wait...

 Warning: The application file support ET204, ET300, ET204-L20 and ET300-L20 only!

 The software has been downloaded to the up ONU(s) successfully!

 Please wait while the firmware is being burnt, and check the software version after re-registration!

2)         Use the upgrade software matching ONU sub-cards to upgrade the ONU software of a single ONU (Onu2/0/8:2). For the network diagram, see Figure 3-1.

# Return to system view.

[H3C-Olt2/0/8] quit

# Enter Onu2/0/8:2 port view.

[H3C] interface onu 2/0/8:2

# Upgrade the ONU software of the ONU.

[H3C-Onu2/0/8:2] update onu filename file2.app

Update flash:/file2.app?[Y/N]

Press <Y> to start upgrade, or press <N> to quit. If you press <Y>, the following appears.

 Info: Download file to onu may take a long time, please wait...

 The software has been downloaded to the up ONU(s) successfully!

 Please wait while the firmware is being burnt, and check the software version after re-registration!

3.13  Displaying ONU Registration and Deregistration Records

Table 3-15 Display ONU registration and deregistration records

Operation

Command

Description

Display the registration and deregistration records of an ONU

display onu-event interface interface-type interface-number

interface-number: an ONU port number.

You can execute this command in any view.

 

&  Note:

The system supports up to 50 records for each ONU. After the number of records for an ONU reaches this maximum number, the old records will be overwritten by the new ones. If an ONU port is unbound from its ONU or the EPON card is reset, records will be cleared.

 

3.14  Displaying OAM information About an ONU

OAM (operation, administration and maintenance) information contains MAC OAM information and PHY OAM information. Table 3-16 lists the transmission methods and functions of the two types of OAM information.

Table 3-16 Transmission methods and functions of OAM information

OAM information

Transmission method

Function

MAC OAM

In frames

Link test

Basic troubleshooting

Layer 2 loopback test

PHY OAM

In frame preambles

Quick troubleshooting

Physical layer loopback test

 

3.14.1  Displaying OAM Information About an ONU

Table 3-17 Display OAM information about an ONU

Operation

Command

Description

Display OAM information about an ONU

display epon-oam interface interface-type interface-number

interface-number: an ONU port number.

You can execute this command in any view.

 

  Caution:

When executing the display epon-oam interface command, make sure the ONU is up. You can check the status of an ONU by executing the display onuinfo command in any view.

 

3.14.2  OAM Information Display Configuration Example

# Display the OAM information about an Aolynk ET series ONU.

<H3C> display epon-oam interface onu 2/0/8:1

 OAM information:

 OAM version: 2.0

 Multiplexer action: forwarding non-OAM PDUs to the lower sublayer

 Parser action     : forwarding non-OAM PDUs to higher layer

 Organization specific information TLVs: not support

 Organization specific events          : not support

 Organization specific OAM PDUs        : support

 Sending variable response OAM PDUs    : support

 Interpreting link events              : not support

 OAM mode              : passive

 Unidirectional support: disable

 Loopback support      : enable

 Maximal PDU size(byte): 128

 Enterprise number     : 0

 Device identifier     : 6001

 Version identifier    : 102

 Board vendor code     : 0

 Board model identifier: 0

# Display the OAM information about an ONU sub-card.

<H3C> display epon-oam interface onu 2/0/8:2

OAM information:

 OAM version: 3.3

 Multiplexer action: forwarding non-OAM PDUs to the lower sublayer

 Parser action     : forwarding non-OAM PDUs to higher layer

 Organization specific information TLVs: support

 Organization specific events          : support

 Organization specific OAM PDUs        : support

 Sending variable response OAM PDUs    : support

 Interpreting link events              : not support

 OAM mode              : passive

 Unidirectional support: disable

 Loopback support      : enable

 Maximal PDU size(byte): 128

 Enterprise number     : fe2

 Device identifier     : 6201

 Version identifier    : 2

 Board vendor code     : 0

 Board model identifier: 0

 

&  Note:

For description on the fields of the above information, see the corresponding command in EPON OLT  Command Manual.

 

3.15  Displaying an ONU

Table 3-18 Display and debug an ONU

Operation

Command

Description

Display all configuration

display current-configuration

You can execute this command in any view.

Display the configuration under the current view

display this

Execute this command in the current view (here it refers to ONU port view )

Display multicast filtering status of ONU(s)

display multicast-filter interface interface-type interface-number

You can execute this command in any view.

 

3.16  Multicast VLAN Configuration Example

 

&  Note:

l      Multicast VLAN function applies to only those ONUs that are H3C S3100 series Ethernet switches with ONU functions.

l      In this example, multicast VLAN function is implemented by enabling Layer 3 multicast on the OLT, enabling IGMP Snooping and configuring a multicast VLAN on an ONU,

l      For information about multicast, refer to the multicast protocol part in H3C S7500 Series Ethernet Switches  Operation Manual.

l      For information about multicast VLAN, refer to the IGMP Snooping part of H3C S3100 Series Ethernet Switches  Operation Manual.

 

I. Network requirements

Table 3-19 Network devices and their configurations for multicast VLAN

Device

Description

OLT

l      Add the Ethernet1/0/1 port (which connects to a multicast source) to VLAN 20.

l      Configure the Olt2/0/8 port to permit the packets of VLAN 10.

l      Enable multicast globally.

l      Enable IGMP and PIM-DM in VLAN 10 and VLAN 20 interface view.

ONU

l      Add Ethernet1/0/1 to VLAN 2, Ethernet1/0/2 to VLAN 3. The two ports connect to PC1 and PC2 respectively.

l      Enable IGMP Snooping globally.

l      Enable IGMP Snooping in VLAN 10 view and configure VLAN 10 as a multicast VLAN.

Configure GigabitEthernet1/1/1 as a Hybrid port (suppose that the ONU is an S3126C switch and an ONU sub-card is seated in its first sub-card slot). Add GigabitEthernet1/1/1 to VLAN 2, VLAN 3, and VLAN 10, specifying to include VLAN tags in outgoing VLAN 2, VLAN 3 and VLAN 10 packets on the port.

l      Configure Ethernet1/0/1 as a Hybrid port. Add the port to VLAN 2 and VLAN 10, specifying to exclude VLAN tags from outgoing VLAN 2 and VLAN 10 packets on the port. Set the default VLAN ID of the port to VLAN 2.

l      Configure Ethernet1/0/2 as a Hybrid port. Add the port to VLAN 3 and VLAN 10, specifying to exclude VLAN tags from outgoing VLAN 3 and VLAN10 packets on the port. Set the default VLAN ID of the port to VLAN 3.

User PC1

PC1 connects to the ONU through Ethernet1/0/1.

User PC2

PC2 Connects to the ONU through Ethernet1/0/2.

 

After the configuration, when user 1 and user 2 in different VLANs request the same multicast flow, the multicast flow is duplicated to VLAN 10. The ONU finds that Ethernet1/0/1 and Ethernet1/0/2 belong to the MAC multicast group of this multicast flow. Then the ONU forwards the multicast data through these two ports to user 1 and user 2, which can then receive the multicast flow.

II. Network diagram

Figure 3-6 Network diagram for multicast VLAN configuration

III. Configuration procedure

1)         Perform the following configuration on the OLT.

# Enter system view.

<H3C> system-view

# Enable multicast globally.

[H3C] multicast routing-enable

# Create VLAN 20 and add Ethernet1/0/1 to VLAN 20.

[H3C] vlan 20

[H3C-vlan20] port ethernet 1/0/1

[H3C-vlan20] quit

# Enable IGMP and PIM-DM in VLAN 20 interface view.

[H3C] interface vlan-interface 20

[H3C-vlan-interface20] igmp enable

[H3C-vlan-interface20] pim dm

[H3C-vlan-interface20] quit

# Create VLAN 10 and enable IGMP and PIM-DM in VLAN 10 interface view.

[H3C] vlan 10

[H3C-vlan10] quit

[H3C] interface vlan-interface 10

[H3C-vlan-interface10] igmp enable

[H3C-vlan-interface10] pim dm

[H3C-vlan-interface10] quit

# Enter Olt2/0/8 port view.

[H3C] interface olt 2/0/8

# Configure Olt2/0/8 to permit the packets of VLAN 10.

[H3C-Olt2/0/8] port permit vlan 10

[H3C-Olt2/0/8] quit

# Enter Onu2/0/8:1 port view.

[H3C] interface onu 2/0/8:1

# Bring up the ONU.

[H3C-Onu2/0/8:1] undo shutdown

2)         Perform the following configuration on the ONU.

# Enter system view.

<H3C> system-view

# Enable IGMP Snooping globally.

[H3C] igmp-snooping enable

# Create VLAN 10. Configure VLAN 10 as a multicast VLAN and enable IGMP Snooping.

[H3C] vlan 10

[H3C-vlan10] service-type multicast

[H3C-vlan10] igmp-snooping enable

[H3C-vlan10] quit

# Configure GigabitEthernet1/1/1 as a Hybrid port. Add the port to VLAN 2, VLAN 3 and VLAN 10, specifying to include VLAN tags in VLAN 2, VLAN 3 and VLAN 10 packets when they are transmitted through the port.

[H3C] interface GigabitEthernet 1/1/1

[H3C-GigabitEthernet1/1/1] port link-type hybrid

[H3C-GigabitEthernet1/1/1] port hybrid vlan 2 3 10 tagged

[H3C-GigabitEthernet1/1/1] quit

# Configure Ethernet1/0/1 as a Hybrid port. Add the port to VLAN 2 and VLAN 10, specifying to exclude VLAN tags from VLAN 2 and VLAN 10 packets when they are transmitted through the port. Set the default VLAN ID of the port to VLAN 2.

[H3C] interface ethernet 1/0/1

[H3C-Ethernet 1/0/1] port link-type hybrid

[H3C-Ethernet 1/0/1] port hybrid vlan 2 10 untagged

[H3C-Ethernet 1/0/1] port hybrid pvid vlan 2

[H3C-Ethernet 1/0/1] quit

# Configure Ethernet1/0/2 as a Hybrid port. Add the port to VLAN 3 and VLAN 10, specifying to exclude VLAN tags from VLAN 3 and VLAN 10 packets when they are transmitted through the port. Set the default VLAN ID of the port to VLAN 3.

[H3C] interface ethernet 1/0/2

[H3C-Ethernet 1/0/2] port link-type hybrid

[H3C-Ethernet 1/0/2] port hybrid vlan 3 10 untagged

[H3C-Ethernet 1/0/2] port hybrid pvid vlan 3

[H3C-Ethernet 1/0/2] quit

 


Chapter 4  ONU UNI Configuration

 

&  Note:

Before configuring user network interfaces (UNIs) for ONUs, you must bind ONUs to ONU ports. Refer to 3.3  Binding an ONU Port to an ONU” for more information.

 

4.1  UNIs of an ONU

UNIs of an ONU are Ethernet ports on the Aolynk ET series optical terminals. The following operations are available to ET204/ET204-L20.

4.2  Configuring UNIs of an ONU

Table 4-1 Configure UNIs of an ONU

Configuration task

Description

Related section

Configuring the VLAN tag processing mode and the default VLAN ID for UNIs of the ONU

Optional

Section 4.3  Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of the ONU

Configuring priority for packets on UNIs of the ONU

Optional

Section 4.4  Configuring Priority for Packets on UNIs of the ONU

Configuring duplex mode for UNIs of the ONU

Optional

Section 4.5  Configuring Duplex Mode for UNIs of the ONU

Configuring flow control for UNIs of the ONU

Optional

Section 4.6  Configuring Flow Control for UNIs of the ONU

Configuring the line rate for UNIs of the ONU

Optional

Section 4.7  Configuring the Line Rate for UNIs of the ONU

Configuring the network cable type for UNIs of the ONU

Optional

Section 4.8  Configuring the Cable Type for UNIs of the ONU

Configuring the UNI rate for the ONU

Optional

Section 4.9  Configuring the Speed on UNIs of the ONU

Enabling/disabling UNIs for an ONU

Optional

Section 4.10  Enabling/Disabling UNIs of the ONU

Displaying the state information about UNIs of the ONU

Optional

Section 4.11  Displaying the State Information About UNIs of the ONU

Clearing the accounting information about UNIs of the ONU

Optional

Section 4.12  Clearing the Accounting Information About the UNI of the ONU

Displaying the configuration information about UNIs of the ONU

Optional

Section 4.13  Displaying the Configuration Information About UNIs of the ONU

 

4.3  Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of the ONU

The VLAN tag processing mode for UNIs of the ONU includes the transparent mode and the untagged mode.

l           In transparent transmission mode, packets are forwarded without being processed.

l           In the untagged mode, the UNI of an ONU removes VLAN tags in the headers of the packets forwarded by an OLT to the ONU. If the packets forwarded by the ONU to the OLT do not carry VLAN tags, the UNI of the ONU automatically inserts the VLAN tag of the VLAN to which the UNI of the ONU belongs into the packets. For example, if you set the default VLAN of the UNI to VLAN 2, then VLAN 2 tag is inserted into the packet forwarded by the ONU to the OLT. If the packets already carry VLAN tags, they are forwarded to the OLT without being processed.

 

&  Note:

In these two modes, you can achieve port isolation between UNIs if you configure different default VLAN IDs for these UNIs of the ONU.

 

4.3.1  Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of ONU

Table 4-2 lists the operations to specify the VLAN tag processing mode for UNIs of the ONU as the transparent mode.

Table 4-2 Specify the VLAN tag processing mode for UNIs of the ONU as the transparent mode

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Specify the VLAN tag processing mode for UNIs of the ONU as the transparent mode

uni link-type transparent

Required

The VLAN tag processing mode for UNIs of the ONU is the transparent mode by default.

Configuring the default VLAN ID for each UNI of the ONU

uni uni-number pvid pvid-value

Optional

By default, the default VLAN of all UNIs of the ONU is VLAN 1.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

You can execute this command in ONU port view only.

 

Table 4-3 lists the operations to specify the VLAN tag processing mode for UNIs of the ONU as the untagged mode.

Table 4-3 Table 4-3Specify the VLAN tag processing mode for UNIs of the ONU as the untagged mode

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Specify the VLAN tag processing mode for UNIs of the ONU as the untagged mode

uni link-type untagged

Required

The VLAN tag processing mode for UNIs of the ONU is the transparent mode by default.

Configuring the default VLAN ID for each UNI of the ONU

uni uni-number pvid pvid-value

Optional

By default, the default VLAN ID of all UNIs of the ONU is VLAN 1.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

You can execute this command in ONU port view only.

 

4.3.2  Configuration Example

I. Network requirements

l           Connect the ONU (ET204) to PC2.

l           Connect Ethernet3/0/2 of the OLT device to PC1 and add this port to VLAN 2.

l           Specify the VLAN tag processing mode of the UNI connected to the user as the untagged mode and set the default VLAN ID of the port to VLAN 2.

l           Specify the VLAN tag processing mode for the ONU as the transparent mode.

l           Specify Olt2/0/8 to permit packets of VLAN 2.

l           After this configuration, PC1 and PC2 can communicate with each other.

II. Network diagram

Figure 4-1 Network diagram for specifying the VLAN tag processing mode for UNIs of the ONU as the untagged mode

III. Configuration procedure

 

&  Note:

All ONUs in the following section are assumed to be in the up state.

 

# Enter system view.

<H3C> system-view

# Create VLAN 2.

[H3C] vlan 2

# Exit VLAN view

[H3C-vlan2] quit

# Enter Ethernet port view of Ethernet3/0/2. 

[H3C] interface ethernet 3/0/2

# Configure Ethernet3/0/2 as an access port and add this port to VLAN 2.

[H3C-Ethernet3/0/2] port link-type access

[H3C-Ethernet3/0/2] port access vlan 2

# Exit Ethernet port view of Ethernet3/0/2. 

[H3C-Ethernet3/0/2] quit

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Specify the VLAN tag processing mode for the port as the transparent mode.

[H3C-Onu2/0/8:1] port handlemode transparent

# Specify the VLAN tag processing mode for the UNI of the ONU as the untagged mode and set the default VLAN ID of the port to VLAN 2.

[H3C-Onu2/0/8:1] uni link-type untagged

[H3C-Onu2/0/8:1] uni 1 pvid 2

# Verify the configuration.

[H3C-Onu2/0/8:1] display current-configuration uni 1

 UNI link-type untagged

 UNI 1 pvid 2

# Exit port view of Onu2/0/8:1.

[H3C-Onu2/0/8:1] quit

# Enter port view of Olt2/0/8.

[H3C] interface olt 2/0/8

# Specify Olt2/0/8 to permit packets of VLAN 2.

[H3C-Olt2/0/8] port permit vlan 2

# Verify the configuration.

[H3C-Olt2/0/8] display current-configuration interface olt 2/0/8

#

interface Olt2/0/8

 port permit vlan 2

#

return

4.4  Configuring Priority for Packets on UNIs of the ONU

After you set the priority for packets on the UNIs of the ONU, the ONU will drop the packets with lower priority to ensure the transmission of packets with higher priority when the traffic exceeds the forwarding capacity of the ONU and congestion occurs.

4.4.1  Configuring Priority for Packets on UNIs of the ONU

Table 4-4 Configure priority for packets on UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Configure priority for packets on the UNIs of the ONU

uni uni-number priority priority-value

Required

By default, the priority for packets on UNIs of the ONU is 0.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

You can execute this command in ONU port view only.

 

4.4.2  Configuration Example

I. Network requirements

l           Set the priority for packets on UNI 1 of the ONU to 7, and set the priority for packets on the other UNIs to 2.

l           When congestion occurs on the ONU, packets with priority 2 will be dropped and packets with priority 7 can be forwarded normally.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Set the priority for packets on UNI 1 of the ONU to 7.

[H3C-Onu2/0/8:1] uni 1 priority 7

# Set the priority for packets on the other three UNIs of the ONU to 2.

[H3C-Onu2/0/8:1] uni 2 priority 2

[H3C-Onu2/0/8:1] uni 3 priority 2

[H3C-Onu2/0/8:1] uni 4 priority 2

# Verify the configuration.

[H3C-Onu2/0/8:1] display current-configuration uni

 UNI 1 priority 7

 

 UNI 2 priority 2

 

 UNI 3 priority 2

 

 UNI 4 priority 2

4.5  Configuring Duplex Mode for UNIs of the ONU

l           When the UNIs of the ONU are specified to be in full duplex mode, they can send and receive packets simultaneously.

l           When the UNIs of the ONU are specified to be in half duplex mode, they can either send or receive packets at a time.

l           When the UNIs of the ONU are specified to be in auto-negotiation mode, the duplex mode of the UNIs are negotiated by the local ports and the remote ports.

4.5.1  Configuring Duplex Mode for the UNIs of the ONU

Table 4-5 Configure duplex mode for the UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Configure the duplex mode for the UNIs of the ONU

uni uni-number duplex { full | half | auto }

Required

By default, UNIs are in the auto-negotiation mode.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

You can execute this command in ONU port view only.

 

4.5.2  Configuration Example

I. Network requirements

Set the duplex mode of UNI 1 of the ONU as the full duplex mode.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Set the duplex mode of UNI 1 of the ONU as the full duplex mode.

[H3C-Onu2/0/8:1] uni 1 duplex full

# Verify the configuration.

[H3C-Onu2/0/8:1] display current-configuration uni

 UNI 1 duplex full

4.6  Configuring Flow Control for UNIs of the ONU

If the flow control function is enabled for both the UNIs of the ONU 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.

4.6.1  Configuring Flow Control for UNIs of the ONU

Table 4-6 Configure flow control for UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Enable flow control for UNIs of the ONU

uni uni-number flow-control

Required

By default, flow control is enabled for all UNIs of the ONU.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

You can execute this command in ONU port view only.

 

4.6.2  Configuration Example

I. Network requirements

Enable flow control for UNI 1 of the ONU.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Enable flow control for UNI 1 of the ONU.

[H3C-Onu2/0/8:1] uni 1 flow-control

4.7  Configuring the Line Rate for UNIs of the ONU

You can perform this configuration to limit the rate of forwarding packets on UNIs of the ONU.

4.7.1  Configuring the Line Rate for UNIs of the ONU

Table 4-7 Configure the line rate for UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Configure the line rate for UNIs of the ONU

uni uni-number line-rate { inbound | outbound } kbps rate-value

Required

By default, the line rate for UNIs of the ONU is 102,400 kbps.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

You can execute this command in ONU port view only.

 

  Caution:

You can specify the line rate for the UNIs of the ONU to one value in the set { 128, 256, 512, 1024, 2048, 4096, 8192,102400 }. Otherwise, the system will prompt “Error: The input value must be in the set { 128, 256, 512, 1024, 2048, 4096, 8192,102400 } !”.

 

4.7.2  Configuration Example

I. Network requirements

Set the outbound line rate of UNI 1 of the ONU to 128 kbps.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Set the outbound line rate of UNI 1 of the ONU to 128 kbps.

[H3C-Onu2/0/8:1] uni 1 line-rate outbound kbps 128

# Verify the configuration.

[H3C-Onu2/0/8:1] display current-configuration uni 1

 UNI 1 line-rate outbound kbps 128

4.8  Configuring the Cable Type for UNIs of the ONU

The cable type for UNIs of the ONU can be crossover or straight-through. Perform the following configuration to set the cable type.

4.8.1  Configuring the Cable Type for UNIs of the ONU

Table 4-8 Configure the cable type for UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Configure the cable type for UNIs of the ONU

uni uni-number mdi { across | auto | normal }

Required

By default, the cable type for the UNIs of the ONU is auto, that is, the UNIs of the ONU can recognize the cable type automatically.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

You can execute this command in ONU port view only.

 

4.8.2  Configuration Example

I. Network requirements

Configure the cable type for UNI 1 of the ONU as crossover.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Configure the cable type for UNI 1 of the ONU as crossover.

[H3C-Onu2/0/8:1] uni 1 mdi across

# Verify the configuration.

[H3C-Onu2/0/8:1] display current-configuration uni 1

 UNI 1 mdi across

4.9  Configuring the Speed on UNIs of the ONU

Perform the following configuration to configure the speed on UNIs of the ONU. When the speed on the UNI is set to the auto-negotiation mode, it is negotiated by the local port and the remote port.

4.9.1  Configuring the Speed on UNIs of the ONU

Table 4-9 Configure the speed on UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Configure the speed on UNIs of the ONU

uni uni-number speed { 10 | 100 | auto }

Required

By default, the speed on UNIs of the ONU is negotiated between the two peers.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

You can execute this command in ONU port view only.

 

4.9.2  Configuration Example

I. Network requirements

Specify the speed on UNI 1 of the ONU to 100 mbps.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Specify the speed on UNI 1 of the ONU to 100 mbps.

[H3C-Onu2/0/8:1] uni 1 speed 100

# Verify the configuration.

[H3C-Onu2/0/8:1] display current-configuration uni 1

 UNI 1 speed 100

4.10  Enabling/Disabling UNIs of the ONU

When a UNI is disabled, you can still configure it. However, the configuration takes effect only after the UNI is enabled.

Table 4-10 Enable/disable UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Disable the specified UNI of the ONU

uni uni-number shutdown

Optional

By default, all UNIs of the ONU are enabled.

Enable the specified UNI of the ONU

undo uni uni-number shutdown

Optional

By default, all UNIs of the ONU are enabled.

 

4.11  Displaying the State Information About UNIs of the ONU

Perform the following configuration to view the state information about UNIs of the ONU.

4.11.1  Displaying the State Information About UNIs of the ONU

Table 4-11 Display the state information about UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Display the state information about UNIs of the ONU

display uni [ uni-number ]

Required

You can execute this command in ONU port view only.

 

4.11.2  Configuration Example

I. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Enable the ONU.

[H3C-Onu2/0/8:1] undo shutdown

# Display the state information about UNI 1 of the ONU.

[H3C-Onu2/0/8:1] display uni 1

 UNI 1  current state : ADMINISTRATIVELY DOWN

 10Mbps-speed mode, unknown-duplex mode

 Link speed type is autonegotiation, link duplex type is autonegotiation

 line-rate inbound 102400

 line-rate outbound 102400

 Flow-control is enabled

 PVID: 3

 Priority: 0

 Mdi type: auto

 Port link-type: untagged

 Input(total):  0 packets, - bytes

          - broadcasts, - multicasts, - unicasts, - pauses

 Input:  - input errors, - runts, - giants, - InRxErr, - CRC

 Output(total): 0 packets, - bytes

          - broadcasts, - multicasts, - unicasts, - pauses

 Output: - output errors, - deferred, - collisions, - InTxErr

 

&  Note:

For the detailed description on the fields above, refer to the corresponding command in H3C EPON OLT  Command Manual.

 

4.12  Clearing the Accounting Information About the UNI of the ONU

Perform the following configuration to clear the accounting information about the specified UNI of the ONU.

4.12.1  Clearing the Accounting Information About the Specified UNI of the ONU

Table 4-12 Clear the accounting information about the specified UNI of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Clear the accounting information about the specified UNI of the ONU

reset counters uni [ uni-number ]

Required

If no UNI is specified, the accounting information about all UNIs of the ONU is cleared.

 

&  Note:

l      Currently, this configuration can only account the number of received and sent packets on the UNI of the ONU.

l      When the accounting information about the specified UNI of the ONU is cleared, the ONU must be up.

 

Refer to 4.11  Displaying the State Information About UNIs of the ONU for more information.

4.12.2  Configuration Example

I. Network requirements

Clear the accounting information about UNI 1 of the ONU.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Enable the ONU.

[H3C-Onu2/0/8:1] undo shutdown

# Display the state information about UNI 1 of the ONU.

[H3C-Onu2/0/8:1] display uni 1

 UNI 1  current state : ADMINISTRATIVELY DOWN

 10Mbps-speed mode, unknown-duplex mode

 Link speed type is autonegotiation, link duplex type is autonegotiation

 line-rate inbound 102400

 line-rate outbound 102400

 Flow-control is enabled

 PVID: 3

 Priority: 0

 Mdi type: auto

 Port link-type: untagged

 Input(total):  2554789 packets, - bytes

          - broadcasts, - multicasts, - unicasts, - pauses

 Input:  - input errors, - runts, - giants, - InRxErr, - CRC

 Output(total): 308589 packets, - bytes

          - broadcasts, - multicasts, - unicasts, - pauses

 Output: - output errors, - deferred, - collisions, - InTxErr

# Clear the accounting information about UNI 1 of the ONU and verify the configuration.

[H3C-Onu2/0/8:1] reset counters uni 1

[H3C-Onu2/0/8:1] display uni 1

 UNI 1  current state : ADMINISTRATIVELY DOWN

 10Mbps-speed mode, unknown-duplex mode

 Link speed type is autonegotiation, link duplex type is autonegotiation

 line-rate inbound 102400

 line-rate outbound 102400

 Flow-control is enabled

 PVID: 3

 Priority: 0

 Mdi type: auto

 Port link-type: untagged

Input(total):  0 packets, - bytes

          - broadcasts, - multicasts, - unicasts, - pauses

 Input:  - input errors, - runts, - giants, - InRxErr, - CRC

 Output(total): 0 packets, - bytes

          - broadcasts, - multicasts, - unicasts, - pauses

 Output: - output errors, - deferred, - collisions, - InTxErr

4.13  Displaying the Configuration Information About UNIs of the ONU

Perform the following configuration to view the configuration information about UNIs of the ONU.

4.13.1  Displaying the Configuration Information About UNIs of the ONU

Table 4-13 Display the configuration information about UNIs of the ONU

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number: ONU port number.

Display the configuration information about UNIs of the ONU

display current-configuration uni [ uni-number ]

Required

You can execute this command in ONU port view only.

 

4.13.2  Configuration Example

I. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter port view of Onu2/0/8:1.

[H3C] interface onu 2/0/8:1

# Enable the ONU.

[H3C-Onu2/0/8:1] undo shutdown

# Display the configuration information about UNI 1 of the ONU.

[H3C-Onu2/0/8:1] display current-configuration uni 1

 UNI 1 Speed 10

 UNI 1 Line-rate inbound kbps 128

 


Chapter 5  Alarm Configuration

5.1  Introduction to Alarm

When a sort of alarm function is enabled, the OLT device will generate an alarm and save the alarm message to the alarm buffer if a corresponding alarm event is triggered by an error in the system or the corresponding parameter exceeds the alarm threshold. You can view the alarm messages saved in the buffer by using the display trapbuffer command.

 

&  Note:

l      You can configure the alarm monitor period. After that, the system periodically samples the alarm variables and will trigger an alarm if the value of a variable exceeds its alarm threshold.

l      The alarm buffer will be overwritten by new alarm messages if it is full.

l      The maximum alarm entries that can be saved in the buffer are 1024.

 

5.2  Alarm Configuration Tasks

Table 5-1 Alarm configuration tasks

Configuration task

Description

Refer to …

Configuring alarms and alarm monitor period

Optional

Section 5.3  Configuring Alarms and Alarm Monitor Period

 

5.3  Configuring Alarms and Alarm Monitor Period

The alarms currently supported by the EPON fall into the following three categories:

l           Global alarms

l           OLT alarms

l           ONU alarms

5.3.1  Prerequisites

Before performing the configuration here, you should first bind the ONUs to the ONU ports. For detailed operation, refer to section 3.3  Binding an ONU Port to an ONU”.

5.3.2  Configuring Global Alarms

Table 5-2 Configure global alarms

Operation

Command

Description

Enter system view

system-view

Enter FTTH view

ftth

Required

Enable the software error alarm

alarm software-error enable

Optional

The system generates a software error alarm when a signal error, DA abnormity (that is, Data Access abnormity) error, or memory allocation failure occurs.

By default, this function is enabled.

Display the alarm event records

display trapbuffer

You can execute this command in any view.

Display the configuration result

display current-configuration

You can execute this command in any view.

 

You can use the corresponding undo commands to disable the above alarm functions.

5.3.3  Configuring OLT Alarms

Table 5-3 Configure OLT alarms

Operation

Command

Description

Enter system view

system-view

Enter OLT port view

interface interface-type interface-number

Required

interface-number represents an OLT port number.

Enable the bit error rate alarm

alarm bit-error-rate enable

Optional

The system generates a bit error rate alarm when an optical path between ONU and OLT is abnormal due to out-of-range optical path attenuation or improper configuration of ONU or OLT optical parameters.

By default, this function is enabled.

Configure the monitor direction and alarm threshold of bit error rate

alarm bit-error-rate { direction { uplink | downlink | up-down-link} | threshold threshold }*

Optional

By default, the monitor direction is up-down-link, and the alarm threshold of bit error rate is 10 (the order of magnitude is 10-9).

Enable the frame error rate alarm

alarm frame-error-rate enable

Optional

The system generates a frame error rate alarm when an optical path between ONU and OLT is abnormal due to high attenuation or improper configuration of ONU or OLT optical parameters.

By default, this function is enabled.

Configure the monitor direction and alarm threshold of frame error rate

alarm frame-error-rate { direction { uplink | downlink | up-down-link} | threshold threshold } *

Optional

By default, the monitor direction is up-down-link, and the alarm threshold of frame error rate is 1 (the order of magnitude is 10-9).

Enable the remote stable alarm

alarm remote-stable enable

Optional

The system generates a remote stable alarm when system misuse occurs, for example, when an OAM 1.2 ONU and an OAM 2.0 ONU are mixed in the same system. (All ONUs in the same system must adopt the same OAM version.)

This alarm is generated at the ONU side and will be reported to the OLT.

By default, this function is enabled.

Enable the local stable alarm

alarm local-stable enable

Optional

The system generates a local stable alarm when system misuse occurs, for example, when an OAM 1.2 ONU and an OAM 2.0 ONU are mixed in the same system. (All ONUs in the same system must adopt the same OAM version.)

This alarm is generated at the OLT side.

By default, this function is enabled.

Enable the bad encryption key alarm

alarm bad-encryption-key enable

Optional

The system generates a bad encryption key alarm when you change the encryption key that should not be changed. (An encryption key is randomly generated by an ONU during the course of ONU discovery. It is used for encrypting/decrypting the data exchanged between the ONU and the OLT. )

By default, this function is enabled.

Enable the oam vendorspecific alarm

alarm oam-vendor-specific enable

Optional

This alarm is customized by vendor.

By default, this function is enabled.

Enable the oam link disconnection alarm

alarm oam-link-disconnection enable

Optional

The system generates an oam link disconnection alarm when OAM link is disconnected.

By default, this function is enabled.

Enable the registration error alarm

alarm registration-error enable

Optional

The system generates a registration error alarm when an error occurs during the registration of an ONU.

By default, this function is enabled.

Enable the LLID mismatch frame alarm

alarm llid-mismatch enable

Optional

The system generates an LLID mismatch frame alarm when the slots are used in disorder, that is, one ONU uses another ONU's slot to forward data.

By default, this function is disabled.

Configure the alarm threshold of LLID mismatch frame

alarm llid-mismatch threshold threshold

Optional

By default, the alarm threshold of LLID mismatch frame is 5,000 frames.

Enable the critical event alarm

alarm oam critical-event enable

Optional

The system generates a critical event alarm when one of the following critical events occurs: local link fault and dying gasp.

By default, this function is enabled.

Enable the dying gasp alarm

alarm oam dying-gasp enable

Optional

The system generates a dying gasp alarm when a system error, a data loading error or any other nonreversible error occurs.

By default, this function is enabled.

Enable the local link fault alarm

alarm oam local-link-fault enable

Optional

The system generates a local link fault alarm when the receiving direction of the local data terminal is in trouble.

By default, this function is enabled.

Enable the onu over limitation alarm

alarm onu-over-limitation enable

Optional

When the total number of ONUs connected with the OLT exceeds the limit, this alarm occurs.

By default, this function is enabled

Display the alarm event records

display trapbuffer

You can execute this command in any view.

Display the configuration result

display current-configuration

You can execute this command in any view.

 

5.3.4  Configuring ONU Alarms

Table 5-4 Configure ONU alarms

Operation

Command

Description

Enter system view

system-view

Enter ONU port view

interface interface-type interface-number

Required

interface-number represents an ONU port number.

Enable the error symbol period alarm

alarm oam error-symbol-period enable

Optional

The system generates an error symbol period alarm when the number of error frames in a specific period (that is, the window size) exceeds the corresponding predefined threshold.

By default, this function is enabled.

Configure the window size and alarm thresholds of error symbol period

alarm oam error-symbol-period { window-high windowhigh | window-low windowlow | threshold-high thresholdhigh | threshold-low thresholdlow } *

Optional

When both the upper limit and the lower limit of the alarm threshold are set to 0, a lot of alarms are generated immediately. Since alarm events are carried in the OAM packets, a lot of OAM packets are generated. In this case, OAM packets may be lost.

The window size and threshold values specified in this command comprise two parts, the higher part and the lower part, both of which are 16 bits in length.

By default, the window size is 1 second, and the threshold is 20 bytes.

Enable the error frame period alarm

alarm oam error-frame-period enable

Optional

The system generates an error frame period alarm when the number of error frames in a specific period (that is, the window size) exceeds the corresponding predefined threshold.

By default, this function is enabled.

Configure the window size and alarm threshold of error frame period

alarm oam error-frame-period { window window | threshold threshold } *

Optional

When the alarm threshold is set to 0, a lot of alarms are generated immediately. Since alarm events are carried in the OAM packets, a lot of OAM packets are generated. In this case, OAM packets may be lost.

By default, the window size is 1 second, and the alarm threshold is 20 frames.

Enable the error frame alarm

alarm oam error-frame enable

Optional

The system generates an error frame alarm when the number of error frames in a specific time period (that is, the window size) exceeds the corresponding predefined threshold.

Configure the window size and alarm threshold of error frame

alarm oam error-frame { window window | threshold threshold } *

Optional

When the alarm threshold is set to 0, a lot of alarms are generated immediately. Since alarm events are carried in the OAM packets, a lot of OAM packets are generated. In this case, OAM packets may be lost.

By default, the window size is 10 seconds, and the alarm threshold is 20 frames.

Enable the frame seconds summary alarm

alarm oam error-frame-seconds-summary enable

Optional

The system generates an error frame seconds summary alarm when the number of error frame seconds (in an error frame second, at least one error frame occurs) in a specific time period (for example, 1 minutes) exceeds the corresponding predefined threshold.

By default, this function is enabled.

Configure the window size and alarm threshold of error frame seconds summary

alarm oam error-frame-seconds-summary { window window | threshold threshold } *

Optional

By default, the window size is 600 (in unit of 100 ms), and the alarm threshold is 1 seconds.

Display the alarm event records

display trapbuffer

You can execute this command in any view.

Display the configuration result

display current-configuration

You can execute this command in any view.

 

  Caution:

The above alarm functions take effect only when the ONU is in up state. You can use the display onuinfo command to view the state of the ONU.

 

5.3.5  Configuring the Alarm Monitor Period

Table 5-5 Configure the alarm monitor period

Operation

Command

Description

Enter system view

system-view

Enter FTTH view

ftth

Required

Enable system alarm monitor

monitor enable

Optional

By default, system alarm monitor is enabled.

Configure the alarm monitor period

timer monitor seconds

Optional

By default, the alarm monitor period is 4 seconds.

Display the configuration result

display current-configuration

You can execute this command in any view.

 

  Caution:

The alarm monitor period should be configured by user with highest right. General users are recommended not to perform this configuration

 

5.4  Alarm and Alarm Monitor Period Configuration Example

I. Network requirements

l           Enable the bit error rate alarm.

l           Adopt the default monitor direction, up-down-link, and configure the alarm threshold of bit error rate to 20.

l           Enable the EPON system alarm monitor, and configure the alarm monitor period to 100 seconds.

II. Configuration procedure

# Enter system view.

<H3C> system-view

# Enter Olt2/0/8 port view.

[H3C] interface olt2/0/8

# Enable the bit error rate alarm.

[H3C-Olt2/0/8] alarm bit-error-rate enable

# Adopt the default monitor direction, up-down-link, and configure the alarm threshold of bit error rate to 20.

[H3C-Olt2/0/8] alarm bit-error-rate direction up-down-link threshold 20

# Display the configuration result.

[H3C-Olt2/0/8] display current-configuration interface olt2/0/8

#

interface Olt2/0/8

 alarm bit-error-rate direction threshold 20

#

return

# Exit the Olt2/0/8 port view.

[H3C-Olt2/0/8] quit

# Enter FTTH view.

[H3C] ftth

# Enable the system alarm monitor, and configure the alarm monitor period to 100 seconds.

[H3C-ftth] monitor enable

[H3C-ftth] timer monitor 100

# Display the configuration result.

[H3C-ftth] display current-configuration configuration ftth

#

ftth

 timer monitor 100

#

return

5.5  Displaying the Alarm Configuration

Table 5-6 Display the alarm configuration

Operation

Command

Description

Display all the configuration information

display current-configuration

You can execute this command in any view.

Display the configuration information in current view

display this

You can execute this command only in current view.

 


Chapter 6  Switch Features Supported by EPON

 

&  Note:

This manual only lists the features related to EPON boards and ONU devices. For the features of S3100 and S7500 series Ethernet switches, refer to S3100 Series Ethernet Switches  Operation Manual and S7500 Series Ethernet Switches Operation Manual.

 

6.1  Features Supported by EPON

Table 6-1 List of supported features

Feature

Description

Multicast

l      Multicast VLAN (supported by only those ONUs that are H3C S3100 series Ethernet switches with ONU functions)

l      igmp group-policy vlan and igmp host-join vlan commands are supported on ONU ports.

System management

Huawei group management protocol (HGMP) (supported by only those ONUs that are H3C S3100 series Ethernet switches with ONU functions)

ARP

The ONU port supports the arp max-dynamic-entry and display arp interface commands

QACL

l      The OLT port supports ACL and QoS.

l      Not available on the ONU port.

802.1x authentication

l      Not available on the OLT port.

l      The ONU port only supports the dot1x command.

l      The ONU port only supports local CHAP authentication and remote EAP authentication.

AAA authentication

The ONU port supports cut connection interface command.

Broadcast storm control

l      Available on the OLT port.

l      Not available on the ONU port.

Port mirroring

l      Available on the OLT port.

l      Not available on the ONU port.

 

6.2  Description of configuration precautions

Table 6-2 Description of configuration precautions

Device

Description

OLT device

l      If you use the internal DBA algorithm, HGMP can operate normally only when the maximum uplink bandwidth is greater than 5 mbps. If you use the external DBA algorithm, HGMP can operate normally only when the maximum uplink bandwidth is greater than 2 mbps.

l      When EPON operates normally, you are not recommended to execute the monitor inner-channel [ reboot-lpu | reboot-switch ] and monitor slot commands in system view.

ONU device

l      When a H3C S3100 Ethernet switch with ONU functions serves as an ONU device, the GE port corresponding to the ONU subcard does not support shutdown.

l      When a H3C S3100 Ethernet switch with ONU functions serves as an ONU device, you are not recommended to enable the flow control function of the GE port corresponding to the ONU subcard so that the ONU subcard can operate stably and protocol packets are not affected by pause frames.

l      When a H3C S3100 Ethernet switch with ONU functions serves as an ONU device, you are not recommended to limit the speed of the GE port corresponding to the ONU subcard.

l      When a H3C S3100 Ethernet switch with ONU functions serves as an ONU device, the default link type of the GE port corresponding to the ONU subcard is Access. The GE port belongs to VLAN 1. You need to configure the GE port as required.

l      When a H3C S3100 Ethernet switch with ONU functions serves as an ONU device, do not enable the remote mirroring function on it.

 

H3C reserves the right to modify its collaterals without any prior notice. For the latest information of the collaterals, please consult H3C sales or call 400 hotline.