Chapter 1 EPON System Configuration
1.1 Introduction to EPON System
1.2 EPON System Configuration Tasks
1.4 Displaying Port Information of the EPON System
1.4.1 Displaying Port Information of EPON System
2.1 Introduction to the OLT Device
2.3 Configuring the OLT Attributes
2.3.1 Configuring the OLT Attributes
2.4 Configuring VLAN for an OLT Port
2.4.1 Configuring VLAN for OLT Port
2.5 Configuring the Maximum ONU RTT
2.5.1 Configuring the Maximum ONU RTT
2.6 Displaying Information about ONUs Under an OLT Port
2.6.1 Displaying Information about ONU(s) Under an OLT Port
2.7 Displaying the OLT Configuration
3.3 Binding an ONU Port to an ONU
3.3.1 Binding an ONU port to an ONU
3.4 Configuring DBA and ONU Uplink Bandwidth Range
3.4.2 Configuring DBA and ONU Uplink Bandwidth Range
3.5 Configuring Traffic Encryption
3.5.2 Configuring Traffic Encryption
3.6 Configuring the VLAN Tag Processing Mode for an ONU Port
3.6.2 Configuring VLAN Tag Processing Mode for an ONU Port
3.6.3 Configuration Example (Transparent)
3.6.4 Configuration Example (Untagged)
3.7 Configuring Multicast Filtering
3.7.2 Configuring Multicast Filtering
3.9 Testing the Link From the OLT to an ONU
3.9.2 Testing the Link Between an ONU and the OLT
3.10 Setting the Max Number of MAC Addresses for an ONU
3.10.2 Configuring the Maximum Number of MAC Addresses for an ONU
3.11 Configuring ONU Authentication
3.11.1 Forcibly Re-authenticating an ONU
3.12.2 Managing an ONU Remotely
3.13 Displaying OAM information about an ONU
3.13.1 Displaying OAM Information about an ONU
3.14 Displaying ONU Configuration
Chapter 4 ONU UNI Configuration
4.2 Configuring UNIs for an ONU
4.3 Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of an ONU
4.3.1 Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of an ONU
4.4 Configuring Traffic Priority for UNIs of an ONU
4.4.1 Configuring Traffic Priority for UNIs of an ONU
4.5 Configuring Duplex Mode for UNIs of an ONU
4.5.1 Configuring Duplex Mode for the UNIs of an ONU
4.6 Configuring Flow Control for UNIs of an ONU
4.6.1 Configuring Flow Control for UNIs of an ONU
4.7 Configuring Line Rate for UNIs of an ONU
4.7.1 Configuring Line Rate for UNIs of an ONU
4.8 Configuring Media Type for UNIs of an ONU
4.8.1 Configuring Media Type for UNIs of an ONU
4.9 Configuring Speed for UNIs of an ONU
4.9.1 Configuring Speed for UNIs of an ONU
4.10 Enabling/Disabling UNIs of an ONU
4.11 Displaying Status Information About UNIs of an ONU
4.11.1 Displaying Status Information About UNIs of an ONU
4.12 Clearing UNI Counters of an ONU
4.12.1 Clearing UNI Counters of an ONU
4.13 Displaying Current Configuration Information About UNIs of an ONU
4.13.1 Displaying Current Configuration Information about UNIs of an ONU
5.3 Configuring Alarms and Alarm Monitor Period
5.3.2 Configuring Global Alarms
5.3.4 Configuring Public OAM Alarms
5.3.5 Configure the Alarm Monitor Period
5.4 Alarm and Alarm Monitor Period Configuration Example
5.5 Displaying the Alarm Configuration
Chapter 6 Switch Features in EPON System
6.1 Switch Features in the 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: Fiber to which multiple channels are multiplexed |
Figure 1-1 Architecture of the EPON system
A typical EPON system consists of the following components: OLT (optical line terminal), ONU (optical network unit), and POS (passive optical splitter).
l OLT provides a platform for multiple services. It provides an interface between the EPON system and the core data, video and telephone networks of 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 ONUs are placed next to network interface units (NIUs) or integrated with NIUs.
l POS is used to connect the OLT and the ONUs. A POS device contains one trunk port and multiple branch ports and enables multiple ONUs to share a single optical fiber. It can work in all-weather environment. In the downlink direction, a POS device forwards 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 onto one fiber.
The data transmission procedure of an EPON system features the following:
l In the downlink direction, the downlink data, packets sent from OLT to ONUs, are broadcast to every ONU; an ONU receives packets of its own logical link identifier (LLID) or the broadcast LLID.
l In the uplink direction, packets are time-division multiplexed from ONUs to the OLT. Each ONU is assigned a time slot and sends packets only in its own time slot. This avoids uplink data confliction between ONUs.
l The POS couples uplink data to a fiber optic and sends downlink data to each ONU.
l To avoid data collision and synchronize signals, ranging between the OLT and ONUs must be realized, and uplink bandwidth must be allocated based on the service level agreement (SLA) of each user.
An EPON system features the following:
1) Point-to-multipoint architecture
One OLT port can connect to up to 32 ONUs (expendable in the future); all the ONUs of an OLT port can share an uplink bandwidth of up to 1 Gbps through time division multiplexing (TDM).
2) Passive fiber optic transmission
EPON accurately enables optical signals to be transmitted to end users without the help of any complex protocol. It also transfers data from the end user to the core network.
3) Ethernet-based network architecture
EPON adopts IP/Ethernet architecture, which is used by more than 95% of the whole LAN at present. Therefore, EPON becomes one of the most effective communication methods for the end user accessing to the network.
This manual only covers the configurations particular to EPON. For descriptions and configurations about H3C S7500 Series Ethernet Switches, refer to the latest H3C S7500 Series Ethernet Switches Operation Manual.
Table 1-1 EPON system configuration tasks
Operation |
Description |
Related section |
Configure sample time |
Optional |
Section 1.3 “Configuring Sample Time” |
Display port information of the EPON system |
Optional |
Section 1.4 “Displaying Port Information of the EPON System” |
An OLT periodically samples statistics data (including broadcast and unicast data) of the whole EPON system. You can determine whether or not the entire system operates normally by checking the statistics data. This allows you to detect and solve problems in time to make your system operate normally.
Table 1-2 Configure sample time
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter FTTH view |
ftth |
Required |
Enable sampling |
sample enable |
Optional The function is enabled by default. |
Configure sample time |
timer sample seconds |
Required The sample time is 4 seconds by default. |
Verify the configuration |
display current-configuration |
You can execute this command in any view. |
Caution:
The sample time configuration is designed to be performed by users with administrative rights. General users are recommended not to perform this configuration.
l Enable sampling.
l Set sample time to 500s for the EPON system. Then the OLT samples the whole system in the set time.
# Enter system view.
<H3C> system-view
# Enter FTTH view.
[H3C] ftth
# Enable sampling.
[H3C-ftth] sample enable
# Configure sample time as 500s for the EPON system.
[H3C-ftth] timer sample 500
# Quit FTTH view.
[H3C-ftth] quit
# Quit system view.
[H3C] quit
# Display configuration result.
<H3C> display current-configuration configuration ftth
#
ftth
timer sample 500
#
return
Port information of EPON system includes port version information, device capability information, operation mode and port statistics information.
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. You can use these commands in any view. |
Display device capability information |
display epon-capability interface interface-type interface-number |
|
Display operation mode |
display epon-workmode interface interface-type interface-number |
|
Display port statistics |
display epon statistics interface interface-type interface-number |
& Note:
l interface-number: The format of LPU slot number/sub-LPU slot number/OLT port number is used for OLT port; the format of LPU slot number/sub-LPU slot number/OLT port number: ONU port number is used for ONU port.
l EPON system statistics data include average bit error rate and frame error rate of data between OLTs and ONUs.
# Display Olt2/0/8 version information.
<H3C> display epon-version interface olt 2/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 LLID refers to the number of an ONU, which is dynamically assigned by the OLT to the ONU and can be used to uniquely identify the ONU.
l Currently LLID ranges from 1 to 32.
Table 1-4 Display an EPON system
Operation |
Command |
Description |
Display all configuration |
display current-configuration |
You can execute this command in any view. |
Display the configuration of the current view |
display this |
Execute this command in the current view (here it refers to FTTH view). |
The OLT device is a multi-service platform. It can be connected to devices such as voice gateway and IP router. The OLT device can provide multiple Gigabit Ethernet interfaces, and offer Layer 2 switching and Layer 3 routing capability.
Table 2-1 OLT configuration tasks
Operation |
Description |
Related section |
Configuring the OLT attributes |
Optional |
Section 2.3 “Configuring the OLT Attributes” |
Configuring VLAN for an OLT port |
Optional |
Section 2.4 “Configuring VLAN for an OLT Port” |
Configuring the maximum ONU RTT (round tip time) |
Optional |
Section 2.5 “Configuring the Maximum ONU RTT” |
Displaying information about ONUs under an OLT port |
Optional |
Section 2.6 “Displaying Information about ONUs Under an OLT Port” |
The configuration here is to set the following OLT attributes:
l The open and close time periods of the OLT laser at Discovery stage.
l Whether or not multiple copy broadcast is enabled. If it is enabled, when OLT forwards a packet to an ONU, the same packet is broadcasted in the VLAN it belongs to instead of in all VLANs.
l Whether or not the system discards the packets whose source MAC address is not contained in the OLT MAC table.
& Note:
l The Discovery stage is a stage when the OLT discovers and registers the ONUs and assigns bandwidth to the ONUs.
l The ONU registration can be implemented only in the open time period of the OLT laser.
l Currently, multiple copy broadcast is not supported.
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 interface-number represents an OLT port number. |
Configure the open time period of the OLT laser |
attribute laser-on time |
Optional The open time period of an OLT laser starts from the opening of the OLT laser and ends until the laser reaches the stable active state. By default, this period is 96 TQ (1 TQ is equal to 16 ns, and it is the same below). |
Configure the close time period of the OLT laser |
attribute laser-off time |
Optional The close time period of an OLT laser starts from the closing of the OLT laser and ends until the laser reaches the stable inactive state. By default, this period is 96 TQ. |
Enable multiple copy broadcast |
attribute multiple-copy-broadcast enable |
Optional By default, multiple copy broadcast is disabled. |
Enable the discarding of the packets whose source MAC address is not contained in the OLT MAC table |
attribute discard-packet enable |
Optional By default, the system forwards and does not discard the packets whose source MAC address is not contained in the OLT MAC table. |
Display the configuration result |
display current-configuration |
You can execute this command in any view. |
The attribute discard-packet enable command works in conjunction with the mac-address max-mac-count command. After the former command is executed, if the number of MAC addresses that an ONU learns reaches the set threshold, the OLT will drop the frames coming from the ONU with unknown source addresses. For related operation, refer to section 3.10 "Setting the Max Number of MAC Addresses for an ONU".
Caution:
l The open and close time periods should be configured by users with administrative rights; general users are recommended not to perform these configurations. Improper configuration will result in the interruption of the whole service of the system.
l The above configurations take effect only after you execute the shutdown command and then the undo shutdown command on the OLT.
It is required to configure the OLT attributes. Here, we take the configuration of the open time period of a laser as an example, which is configured to 100 TQ.
# Enter system view.
<H3C> system-view
# Enter Olt2/0/8 port view.
[H3C] interface olt 2/0/8
# Configure the open time period of the laser to 100 TQ.
[H3C-Olt2/0/8] attribute laser-on 100
# Display the configuration result.
[H3C-Olt2/0/8] display current-configuration interface olt 2/0/8
#
interface Olt2/0/8
attribute laser-on 100
#
return
The VLAN configuration on an OLT port is to specify the VLANs whose packets are allowed to pass through the OLT port. The purpose of this configuration is to inhibit unnecessary VLAN broadcast.
Table 2-3 Configure VLAN for OLT port
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. |
Configure one or a range of VLANs for the OLT port |
port permit vlan vlan-list |
Required The vlan-list argument is the ID list of the VLANs to be allowed. You can input 10 VLAN IDs or a VLAN ID range (in the form of vlan-id to vlan-id) in this argument. By default, only the packets of VLAN 1 are allowed to pass. |
Display the configuration result |
display current-configuration |
You can execute this command in any view. |
Caution:
If the VLAN tag processing mode of an ONU port is untagged and the ONU port is added to a specific VLAN, the OLT port allows the packets of the VLAN to pass through, without the need of you to configure the VLAN on the OLT port. For detailed description and configuration of the above two modes, refer to section 3.6 "Configuring the VLAN Tag Processing Mode for an ONU Port".
& Note:
l Two models are available for the ONU device: ET204 and ET300. Generally, you should make the ONU device operate in transparent mode.
l The uses of the two ONU models are somewhat different: you can perform VLAN configuration on the four Ethernet ports of ET204 but you cannot do this on the Ethernet ports of the ET300. For details about such configuration operation, refer to section 4.3 "Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of an ONU".
l This example assumes that the ONU device has been bound to an ONU port. For detailed operation, refer to section 3.3 "Binding an ONU Port to an ONU".
l Connect the ONU device (ET300) to the trunk port (Ethernet0/1) of the Layer 2 switch for access users.
l Configure the VLAN tag processing mode of the ONU to transparent.
l Connect the Ethernet3/0/1 port on the OLT device to user PC1, and add this port to VLAN3.
l Connect the Ethernet0/2 port on the Layer 2 switch to user PC2, and add this port to VLAN3.
l Configure the OLT2/0/8 port to allow the VLAN 3 packets to pass through.
l Allow VLAN 3 packets to pass through the Ethernet0/1 port on the Layer 2 switch.
l After the proper configurations above, PC1 and PC2 can normally communicate with each other.
Figure 2-1 Network diagram for OLT port VLAN configuration
1) Configuration on the OLT
# Enter system view.
<H3C> system-view
# Create VLAN 3.
[H3C] vlan 3
# Exit the VLAN view.
[H3C-vlan3] quit
# Enter Ethernet3/0/1 port view.
[H3C] interface ethernet3/0/1
# Configure Ethernet3/0/1 as an access port, and add this port to VLAN 3.
[H3C-Ethernet3/0/1] port link-type access
[H3C-Ethernet3/0/1] port access vlan 3
# Exit the Ethernet3/0/1 port view.
[H3C-Ethernet3/0/1] quit
# Enter Onu2/0/8:1 port view.
[H3C] interface onu 2/0/8:1
# Configure the VLAN tag processing mode on this port to transparent.
[H3C-Onu2/0/8:1] port handlemode transparent
# Start up the ONU
[H3C-Onu2/0/8:1] undo shutdown
# Exit the Onu2/0/8:1 port view.
[H3C-Onu2/0/8:1] quit
# Enter Olt2/0/8 port view.
[H3C] interface olt 2/0/8
# Allow VLAN 3 packets to pass through the Olt2/0/8 port.
[H3C-Olt2/0/8] port permit vlan 3
# Display the configuration result.
[H3C-Olt2/0/8] display current-configuration interface olt 2/0/8
#
interface Olt2/0/8
port permit vlan 3
#
return
2) Configuration on the Layer 2 switch
# Enter system view.
<H3C> system-view
# Create VLAN 3.
[H3C] vlan 3
# Exit VLAN view.
[H3C-vlan3] quit
# Enter Ethernet0/2 port view.
[H3C] interface ethernet0/2
# Configure Ethernet0/2 as an access port, and add this port to VLAN 3.
[H3C-Ethernet0/2] port link-type access
[H3C-Ethernet0/2] port access vlan 3
# Exit the Ethernet0/2 port view.
[H3C-Ethernet0/2] quit
# Enter Ethernet0/1 port view.
[H3C] interface ethernet0/1
# Configure Ethernet0/1 as a trunk port, and allow VLAN 3 packets to pass through this port.
[H3C-Ethernet0/1] port link-type trunk
[H3C-Ethernet0/1] port trunk permit vlan 3
The configuration here is to set the maximum round trip time (RTT) of the ONUs so that each ONUs can successfully register with the system.
The physical distances between ONUs and OLT are different. This differentiation results in the differentiation of loopback delays within several microseconds. Because the loopback delays are different, if the isolation interval is insufficient, the signals sent from different ONUs may reach the OLT at the same time, or the signal pulses received by the OLT from different ONUs partly overlap. This will result in conflict between uplink signals. In addition, the transmission delay of an optical cable may vary with the environment temperature and the aging of the parts, and the accumulation of this variation may also result in uplink conflict.
To avoid the above conflict, the EPON system adopts the time stamp method to measure the distance. This method achieves synchronization by using the time stamps in the EPON system, and measures the distance by computing the difference between the value of the received time stamp and the value of the local timer time stamp. Through this distance measurement, the RTT value is concluded, which you can use to adjust the sending delay of the ONUs, reduce the interval between ONU sending windows, so as to improve the availability and reduce the delay of the uplink channels.
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 interface-number represents an OLT port number. |
Configure the Maximum ONU RTT. |
max-rtt value |
Required By default, the maximum ONU RTT is 13524 TQ. |
Display the configuration result |
display current-configuration |
You can execute this command in any view. |
& Note:
Suppose that the OLT sends a time stamp T0 to the ONU at the time T0. Once the ONU receives the time stamp, it sets its local timer to T0. After waiting for a processing delay, the ONU sends a time stamp T1 to OLT at the time T1. The OLT receives this stamp at the time T2.
Then, the result is RTT = (T2 - T0) - (T1 - T0) = T2 - T1.
Caution:
l This configuration is designed to be performed by users with administrative rights; general users are recommended not to perform this configuration. Improper configuration will result in complete service interruption.
l This configuration takes effect only on unregistered ONUs; it does not take effect on registered ONUs.
l You should take the maximum distance of ONUs into account when performing this configuration. If the RTT value you set is too small, the ONUs relatively far away from the OLT may not be able to register successfully.
l The RTT value of any registered ONU cannot be zero. If it is the truth (the value is zero), you should lengthen the optical cable by at least 20 meters. For related operation, refer to section 2.6 "Displaying Information about ONUs Under an OLT Port".
It is required to configure the maximum ONU RTT to 20,000 TQ.
# Enter system view.
<H3C> system-view
Enter Olt2/0/8 port view.
[H3C] interface olt 2/0/8
# Configure the maximum ONU RTT to 20,000 TQ.
[H3C-Olt2/0/8] max-rtt 20000
# Display the configuration result.
[H3C-Olt2/0/8] display current-configuration interface olt 2/0/8
#
interface Olt2/0/8
max-rtt 20000
#
return
The information about an ONU includes the MAC address, assigned LLID, RTT and current status of the ONU.
You can display information about ONUs in the following two ways:
l Display information about an ONU by specifying a MAC address.
l Display information about ONU(s) by specifying a port.
Table 2-5 Display information about ONU(s) under an OLT port
Operation |
Command |
Description |
Display information about an ONU by specifying a MAC address |
display onuinfo mac-address mac-address |
Optional You can execute this command in any view. |
Display information about ONU(s) by specifying a port |
display onuinfo interface interface-type interface-number |
Optional You can execute this command in any view. |
l There are three ONUs under the Olt2/0/8 port: ONU1 and ONU2 have been powered on and registered, while ONU3 has not.
l Use the above two ways to display information about one ONU or all of the three ONUs.
Figure 2-2 Network diagram for ONU information display
# Display information about all ONUs under the Olt2/0/8 port.
<H3C> display onuinfo interface olt 2/0/8
NO. ONU Mac Address RTT(TQ) LLID Port State
1 000f-e203-fdbc 14 1 Onu2/0/8:1 Up
2 000f-e203-fdba 12 2 Onu2/0/8:2 Down
3 000f-e203-fdbb N/A N/A Onu2/0/8:3 Offline
# Display inforamtion about the three ONUs by specifying the MAC address of ONU1: 000f-e203-fdbc.
<H3C> display onuinfo mac-address 000f-e203-fdbc
NO. ONU Mac Address RTT(TQ) LLID Port State
1 000f-e203-fdbc 14 1 Onu2/0/8:1 Up
& Note:
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 the ONU port, N/A is displayed here.
l State represents the state of the ONU. If the ONU is not bound to the ONU port, N/A is displayed here. Otherwise, Up is displayed if the ONU is started up, Down is displayed if the ONU is shut down, or Offline is displayed if the ONU is power off.
Table 2-6 Display the OLT Configuration
Operation |
Command |
Description |
Display all the configuration |
display current-configuration |
You can execute this command in any view. |
Display the configuration in current view |
display this |
You can execute this command only in current view (here, it is the OLT port view). |
ONUs are located on user side. They provide interfaces for users to connect to EPON through Ethernet. ONU convert optical signals received from OLT into Ethernet frames and transfer them to users; at the same time, they convert Ethernet frames received from users to optical signals and transfer them to OLT.
Operation |
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 |
Required |
Section 3.4 “Configuring DBA and ONU Uplink Bandwidth Range” |
Configure traffic encryption |
Optional |
Section 3.5 “Configuring Traffic Encryption” |
Configure the 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” |
Test a link |
Optional |
Section 3.9 “Testing the Link From the OLT to an ONU” |
Set the maximum number of MAC addresses that an ONU can learn |
Optional |
Section 3.10 “Setting the Max Number of MAC Addresses for 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 OAM information about an ONU |
Optional |
Section 3.13 “Displaying OAM information about an ONU” |
To enable the OLT to communicate with an ONU and manage the ONU, you must first bind an ONU port to an ONU by associating the port with the MAC address of the ONU (an ONU port corresponds to an ONU).
As the MAC address of an ONU is fixed, an ONU port-to-ONU binding remains valid even if the ONU registers again.
Table 3-2 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: ONU port number. |
Bind the ONU port to an ONU |
bind onuid onuid |
Required onuid: MAC address of an ONU. |
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 of an ONU. Refer to section 2.6 "Displaying Information about ONUs Under an OLT Port".
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.
l Bind the Onu2/0/8:1 port to ONU 1.
l Bind the Onu2/0/8:2 port to ONU 2.
Figure 3-1 Network diagram for binding ONU ports to ONUs
# Display information about ONUs under the Olt2/0/8 port.
<H3C> display onuinfo interface olt 2/0/8
NO. ONU Mac Address RTT(TQ) LLID Port State
1 000f-e203-fdbc 14 1 N/A N/A
2 000f-e203-fdba 12 2 N/A N/A
# 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 (binding the Onu2/0/8:2 port to ONU 2 is similar and is thus omitted).
[H3C-Onu2/0/8:1] bind onuid 000f-e203-fdbc
# Display the binding result and ONU information under the Olt2/0/8 port after binding.
[H3C-Onu2/0/8:1] display current-configuration interface onu 2/0/8:1
#
interface Onu2/0/8:1
bind onuid 000f-e203-fdbc
#
return
[H3C-Onu2/0/8:1] display onuinfo interface olt 2/0/8
NO. ONU Mac Address RTT(TQ) LLID Port State
1 000f-e203-fdbc 14 1 Onu2/0/8:1 Down
2 000f-e203-fdba 12 2 Onu2/0/8:2 Down
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.
DBA configuration includes:
l Enabling/Upgrading DBA algorithm
l Configuring DBA parameters
The ONU uplink bandwidth range configuration includes maximum uplink bandwidth configuration and minimum uplink bandwidth configuration.
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.
Table 3-3 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. “SLOT” or “slot” is not allowed in the device name. |
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: ONU port number. |
Configure uplink bandwidth range of the ONU |
upstream-sla minimum-bandwidth value maximum-bandwidth value |
Required By default, the minimum bandwidth is 1,000 kbps, the maximum bandwidth is 23,000 kbps. The actual minimum or maximum bandwidth = value x 500 (kbps). |
Verify the configuration |
display current-configuration |
You can execute this command in any view. |
Caution:
l Currently, the EPON system only provides an internal DBA algorithm (the default). If it is needed, you can manually load an external DBA algorithm by using the dba-algorithm update command.
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 main control card, and overwrites the old one (if there is any) on the card. If the synchronous upgrading operation fails (this may occur when there is not enough free space on the FLASH of the backup card), the DBA algorithm on the backup card will be inconsistent with that on the primary card, thus resulting in configuration errors.
l The sum of the minimum bandwidths of all ONUs under an OLT port cannot exceed 1,000,000 kbps, otherwise the internal DBA algorithm will be invalid.
l The DBA parameters configuration is designed to be performed by users with administrative rights. General users are recommended not to perform this configuration. Improper configuration may result in complete service interruption.
l Set the minimum and maximum uplink bandwidths of ONU 1 to 10,000 kbps and 100,000 kbps respectively.
l Manually load and enable an external DBA algorithm.
Refer to Figure 3-1.
1) Configure the internal DBA algorithm.
# Enter system view.
<H3C> system-view
# Enter Onu2/0/8:1 port view.
[H3C] interface onu 2/0/8:1
# Set the minimum bandwidth to 10,000 kbps, the maximum bandwidth to 100,000 kbps.
[H3C-Onu2/0/8:1] upstream-sla minimum-bandwidth 20 maximum-bandwidth 200
# Change ONU 1 to up.
[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
undo shutdown
upstream-sla minimum-bandwidth 20 maximum-bandwidth 200
#
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
This section describes the configuration concerning data encryption.
To prevent user data from being listened by illegal users, you can adopt encrypt encryption algorithms to encrypt user data.
To ensure the security of data transmission, it is recommended that downstream data, which is sent from OLT to ONU, be encrypted.
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.
Table 3-4 Configure traffic encryption
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter ONU port view |
interface interface-type interface-number |
Required interface-number: ONU port number. |
Configure to encrypt downstream data from the OLT to the ONU |
encrypt downlink |
Optional By default, no data 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 data 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 cancel data encryption.
Encrypt the upstream and downstream data between the OLT and ONU 1 to ensure the security of data transmission.
Refer to Figure 3-1.
# Enter system view.
<H3C> system-view
# Enter Onu2/0/8:1 port view.
[H3C] interface onu 2/0/8:1
# Encrypt the upstream and downstream data.
[H3C-Onu2/0/8:1] encrypt up-down-link
# 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
undo shutdown
encrypt up-down-link
#
return
An ONU port can operate in one of the two VLAN tag processing modes: 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, 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 Two models of ONUs are available: ET204 and ET300. And the uses of the two ONU models are somewhat different: You can perform VLAN configuration for the four Ethernet ports of an ET204 ONU, whereas you cannot do this on the Ethernet ports of an ET300 ONU. Refer to section 4.3 Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of an ONU for more.
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.
Table 3-5 lists the operations to configure an ONU port to operate in the untagged mode.
Table 3-5 Configure an 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: 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-6 lists the operations to configure an ONU port to operate in the transparent mode.
Table 3-6 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: ONU port number. |
Set the VLAN tag processing mode on the ONU port 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. |
Configure the Onu2/0/8:1 port of ONU 1 (ET300) to operate in the transparent mode.
Figure 3-2 Network diagram for configuring VLAN tag processing mode
# 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
undo shutdown
port handlemode transparent
#
return
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.
Figure 3-3 Network diagram for adding ONU ports to specified VLANs in untagged mode
# 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] 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
undo shutdown
untagged vlan 2
#
return
# Return to system 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] 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
undo shutdown
untagged vlan 3
#
return
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, 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, all downstream multicast frames will be transparently forwarded.
& Note:
l An ONU can hold up to eight learned or manually configured multicast MAC addresses (the manually configured multicast MAC addresses are in the range of 01-00-5e-00-01-00 to 01-00-5e-7f-ff-ff).
l A downstream frame with the former 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.
l Bind ONU ports to corresponding ONUs. Refer to section 3.3 “Binding an ONU Port to an ONU” for details.
l Enable IGMP Snooping on the OLT. Refer to the IGMP Snooping part in S7500 Series Ethernet Switches Operation Manual for more.
l Make sure the ONUs are up. You can check the status of an ONU by executing the display onuinfo command in any view.
Table 3-7 Configure multicast filtering for an ET204
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 VLAN view |
vlan vlan-id |
Required |
Enable IGMP Snooping on the VLAN |
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: 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 IGMP Snooping-enabled VLAN |
uni uni-number pvid pvid-value |
Required The default VLAN ID for an 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 corresponding ONU when the ONU is up.
l For operations related with ONU UNI, refer to section 4.3 "Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of an ONU".
Table 3-8 Configure multicast filtering for an ET300
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 VLAN view |
vlan vlan-id |
Required |
Enable IGMP Snooping on the VLAN |
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: 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. |
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 Configure the OLT port (Olt2/0/8) to allow VLAN 10 packets to pass through.
l Set the VLAN tag processing mode of the ONU port (Onu2/0/8:1) 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 you only manually add the MAC address of 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.
Figure 3-4 Network diagram for configuring multicast filtering
# 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 olt 2/0/8
# Configure to allow VLAN 10 packets to pass through the port.
[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 onu 2/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 000f-e203-fdbc
undo shutdown
port handlemode transparent
multicast-filter enable
uni link-type untagged
uni 1 pvid 10
#
return
l You can use the command here to deregister an ONU that is bound to an ONU port and is in up state.
l After being deregistered, an ONU will automatically register again.
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.
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter ONU port view |
interface interface-type interface-number |
Required interface-number: ONU port number. |
Deregister an ONU |
deregister onu |
Required |
Deregister ONU 1 in the EPON system, which will then automatically register again later. (Assume ONU 1 is up.)
Refer to Figure 3-1.
# 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
This section describes the operation to test the link between an ONU and the OLT.
l Bind ONU ports to corresponding ONUs. Refer to section 3.3 “Binding an ONU Port to an ONU” 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.
Table 3-10 Test 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: 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 link test parameter settings. 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 |
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 frames returned from the ONU.
Figure 3-5 Network diagram for link testing
# Enter system view.
<H3C> system-view
# Enter Onu2/0/8:1 port view.
[H3C] interface onu 2/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.
You can control the size of the MAC address table of an ONU by setting the maximum number of MAC addresses that the ONU can learn. If the number of the MAC addresses learnt reaches the maximum number of MAC addresses, the ONU stops learning MAC address.
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.
Table 3-11 Configure the maximum number of MAC addresses for an 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 maximum number of MAC addresses that the ONU can learn |
mac-address max-mac-count count |
Required By default, an ONU can learn at most 128 MAC addresses. |
Caution:
The count argument of the mac-address max-mac-count command can only be one of the following numbers: 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1022, 8192.
Allow ONU 1 to learn at most 512 MAC addresses.
Refer to Figure 3-1.
# Enter system view.
<H3C> system-view
# Enter Onu2/0/8:1 port view.
[H3C] interface onu 2/0/8:1
# Set the maximum number of MAC addresses that ONU 1 can learn to 512.
[H3C-Onu2/0/8:1] mac-address max-mac-count 512
# Bring up ONU 1.
[H3C-Onu2/0/8:1] undo shutdown
# Verify the above configuration.
[H3C-Onu2/0/8:1] display current-configuration int onu 2/0/8:1
#
interface Onu2/0/8:1
bind onuid 000f-e203-fdbc
undo shutdown
mac-address max-mac-count 512
#
return
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 Auto authentication: in this mode, ONUs register themselves with and join the EPON system once they are powered on. Then, they can communicate with the OLT without the need of you to manually bind ONU ports to the MAC addresses of the ONUs.
l Non-auto 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.
l The administrator can force an ONU to undergo authentication again in non-auto mode.
Caution:
Currently, auto ONU authentication is not supported for security concerns. Non-auto authentication is adopted by default.
Table 3-12 Forcibly re-authenticate an ONU
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter ONU port view |
interface interface-type interface-number |
Required interface-number: ONU port number. |
Forcibly re-authenticate the ONU |
reauthorize onu |
Required |
& Note:
l To perform 802.1x authentication, make sure the authentication server is operating to perform 802.1x (account and password) authentication for ONUs. ONU ports only support local challenge handshake authentication protocol (CHAP) authentication and remote extensible authentication protocol (EAP) authentication. Refer to the Security part in H3C S7500 Series Ethernet Switches Operation Manual for information about authentication configuration.
l You need to configure an 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 need to enable 802.1x authentication globally and in corresponding ONU port view. Refer to the Security part in H3C S7500 Series Ethernet Switches Operation Manual for authentication configuration.
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 be re-authenticated only when an ONU port is bound to the ONU. Refer to section 3.3 “Binding an ONU Port to an ONU”.
l If an ONU fails 802.1x authentication due to incorrect 802.1x account or password, it will be down. In this case, the administrator needs to check and configure the correct account and password for the ONU, and then force the ONU to be re-authenticated again, thus restoring the ONU to the up state.
l An ONU is down due to 802.1x authentication failure.
l The administrator then checks and configures the correct 802.1x account and password for the ONU. (This operation is omitted here.)
l It is required to force the ONU to be re-authenticated, thus restoring the ONU to the up state.
# Enter system view.
<H3C> system-view
# Enter Onu2/0/8:1 port view.
[H3C] interface onu 2/0/8:1
# Force the ONU to be re-authenticated.
[H3C-Onu2/0/8:1] reauthorize onu
Remote ONU management tasks include:
l Upgrading ONU software remotely,
l Displaying the 802.1x account and the password of an ONU,
l Configuring an 802.1x account and password for an ONU: The administrator can configure an account and password remotely for the 802.1x authentication of an ONU to enhance the network security.
l Bind ONU ports to corresponding ONUs. Refer to section 3.3 “Binding an ONU Port to an ONU” for details.
Table 3-13 Manage an ONU remotely
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter ONU port view |
interface interface-type interface-number |
Required interface-number: 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 authentication 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: ONU port number. |
Upgrade the ONU software |
update onu filename filename |
Optional filename: 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 one 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, then the ONU automatically upgrades its software.
l Before upgrading the software of an ONU, make sure the OUN is up.
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 To avoid data writing error, you are recommended not to power off the ONU for which you are configuring 802.1x account and password.
# Enter system view.
<H3C> system-view
# Enter Onu2/0/8:1 port view.
[H3C] interface onu 2/0/8:1
# Set both the 802.1x account and the password of the ONU bound to Onu2/0/8:1 to test.
[H3C-Onu2/0/8:1] set onu-dot1x account test password test
# Display the 802.1x account and the 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
# Upgrade the software of Onu2/0/8:1.
[H3C-Onu2/0/8:1] update onu filename file.app
Update flash:/file.app?[Y/N]
# Press <Y> to start upgrade, or press <N> to quit. If you press <Y>, the following appears.
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!
OAM (operation, administration and maintenance) information contains MAC OAM information and PHY OAM information. Table 3-14 lists the transmission methods and functions of the two types of OAM information.
Table 3-14 Transmission methods and functions of OAM information
OAM information |
Transmission method |
Function |
MAC OAM |
In frames |
Link test Basic troubleshoot Layer 2 loopback test |
PHY OAM |
In frame preambles |
Quick troubleshoot Physical layer loopback test |
Table 3-15 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: 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.
# Display OAM information about Onu2/0/8:1.
<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
Table 3-16 Display ONU configuration
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. |
& Note:
Before configuring the user network interfaces (UNIs) of ONUs, you must bind ONUs to ONU ports. Refer to 3.3 Binding an ONU Port to an ONU for details.
A UNI is an Ethernet port on an Aolynk ET series optical terminal serving as an ONU. The following operations are available to ET204 only.
Table 4-1 Configure UNIs for an ONU
Operation |
Description |
Related section |
Configure VLAN tag processing mode and default VLAN ID for UNIs of an ONU |
Optional |
Section 4.3 “Configuring VLAN Tag Processing Mode and Default VLAN ID for UNIs of an ONU” |
Configure traffic priority for UNIs of an ONU |
Optional |
Section 4.4 “Configuring Traffic Priority for UNIs of an ONU” |
Configure duplex mode for UNIs of an ONU |
Optional |
|
Configure flow control for UNIs of an ONU |
Optional |
|
Configure line rate for UNIs of an ONU |
Optional |
Section 4.7 “Configuring Line Rate for UNIs of an ONU” |
Configure media type for UNIs of an ONU |
Optional |
Section 4.8 “Configuring Media Type for UNIs of an ONU” |
Configure speed for UNIs of an ONU |
Optional |
Section 4.9 “Configuring Speed for UNIs of an ONU” |
Enable/disable UNIs of an ONU |
Optional |
Section 4.10 “Enabling/Disabling UNIs of an ONU” |
Display status information about UNIs of an ONU |
Optional |
Section 4.11 “Displaying Status Information About UNIs of an ONU” |
Clear UNI counters of an ONU |
Optional |
Section 4.12 “Clearing UNI Counters of an ONU” |
Display current configuration information about UNIs of an ONU |
Optional |
Section 4.13 “Displaying Current Configuration Information About UNIs of an ONU” |
The UNIs of an ONU can operate in one of the two VLAN tag mode: transparent and untagged.
l Transparent: In this mode, frames are directly forwarded without being processed.
l untagged: In this mode, the UNIs removes VLAN tags from the headers of the downstream frames coming from the OLT. If the frames they receive and will forward to the OLT do not carry VLAN tags, the UNIs automatically insert the tags of their default VLANs into the frame headers. For example, if you set the default VLAN of the UNIs to VLAN 2, then the tag of VLAN 2 will be inserted into the frames to be forwarded from the ONU to the OLT; otherwise, the UNIs directly forward the frames to the OLT without any processing.
& Note:
In any of the two modes, you can implement port isolation between UNIs by configuring different default VLAN IDs for the UNIs of the ONU.
Table 4-2 lists the operations to set the VLAN tag processing mode of the UNIs of an ONU to transparent.
Table 4-2 Set the VLAN tag processing mode of the UNIs of an ONU to transparent
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter ONU port view |
interface interface-type interface-number |
Required interface-number: ONU port number. |
Set the VLAN tag processing mode of the UNIs of the ONU to transparent |
uni link-type transparent |
Required By default, the VLAN tag processing mode of the UNIs of the ONU is transparent. |
Configure the default VLAN ID for a UNI of the ONU |
uni uni-number pvid pvid-value |
Optional By default, all UNIs of the ONU use VLAN 1 as their default VLAN. |
Display the current configuration information about UNIs of the ONU |
display current-configuration uni [ uni-number ] |
You can only execute this command in ONU port view. |
Table 4-3 lists the operations to set the VLAN tag processing mode of the UNIs of an ONU to untagged.
Table 4-3 Table 4-3Set the VLAN tag processing mode of the UNIs of an ONU to untagged
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter ONU port view |
interface interface-type interface-number |
Required interface-number: ONU port number. |
Set the VLAN tag processing mode of the UNIs of the ONU to untagged |
uni link-type untagged |
Required By default, the VLAN tag processing mode of the UNIs of the ONU is transparent. |
Configure the default VLAN ID for a UNI of the ONU |
uni uni-number pvid pvid-value |
Optional By default, all UNIs of the ONU use VLAN 1 as the default VLAN. |
Display the current configuration information about UNIs of the ONU |
display current-configuration uni [ uni-number ] |
You can only execute this command in ONU port view. |
l Connect the ONU (ET204) to PC2.
l Connect Ethernet3/0/2 of the OLT to PC1 and add this port to VLAN 2.
l Set the VLAN tag processing mode of the UNIs of the ONU to untagged and set the default VLAN ID of the port connected to PC2 to 2.
l Set the VLAN tag processing mode of the ONU port to transparent.
l Configure Olt2/0/8 to permit packets of VLAN 2.
l After the above configuration, PC1 and PC2 can communicate with each other.
& Note:
This chapter assumes that all the ONUs in the configuration examples are in 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
# Set the VLAN tag processing mode of the ONU port to transparent.
[H3C-Onu2/0/8:1] port handlemode transparent
# Set the VLAN tag processing mode of the UNIs of the ONU to untagged and set the default VLAN ID of the port connected to PC2 (suppose it is UNI 1) to 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
# Configure 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
After you set the traffic priorities of the UNIs of an ONU, the ONU will drop lower-priority traffic to ensure the transmission of higher-priority traffic when the traffic on the ONU exceeds the forwarding capacity of the ONU and congestion occurs.
Table 4-4 Configure traffic priority for UNIs of an ONU
Operation |
Command |
Description |
Enter system view |
system-view |
— |
Enter ONU port view |
interface interface-type interface-number |
Required interface-number: ONU port number. |
Set the traffic priority of a UNI of the ONU |
uni uni-number priority priority-value |
Required By default, the traffic priorities of the UNIs of the ONU are 0. |
Display configuration information about UNIs of the ONU |
display uni [ uni-number ] |
You can only execute this command in ONU port view. |
l Set the traffic priority of UNI 1 of the ONU to 7, and set the traffic priorities of the other three UNIs to 2. (The corresponding priorities will be added to the incoming traffic on the four ports.)
l When congestion occurs on the ONU, traffic with priority 2 will be dropped to ensure the transmission of traffic with priority 7.
# Enter system view.
<H3C> system-view
# Enter port view of Onu2/0/8:1.
[H3C] interface onu 2/0/8:1
# Set the traffic priority of UNI 1 of the ONU to 7.
[H3C-Onu2/0/8:1] uni 1 priority 7
# Set the traffic priorities of 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
l When a UNI works in full duplex mode, it can send and receive packets simultaneously.
l When a UNI works in half duplex mode, it can either send packets or receive packets at a time.
l When a UNI works in auto negotiation mode, the duplex mode of the UNI is negotiated by the UNI and the peer port.
Table 4-5 Configure duplex mode for the UNIs of an 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 duplex mode for a UNI of the ONU |
uni uni-number duplex { full | half | auto } |
Required By default, UNIs work in the auto negotiation mode. |
Display configuration information about UNIs of the ONU |
display current-configuration uni [ uni-number ] |
You can only execute this command in ONU port view. |
Set the duplex mode of UNI 1 of the ONU to full duplex.
# 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 to full duplex.
[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
If flow control is enabled for both a UNI of an ONU and the peer switch, the ONU will send messages to tell the peer switch to stop sending packets temporarily when congestion occurs on the ONU. The peer switch will temporarily stop sending packets to the ONU to avoid packet loss.
Table 4-6 Configure flow control for UNIs of an 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 a UNI of the ONU |
uni uni-number flow-control |
Required By default, flow control is enabled for all UNIs of the ONU. |
Display configuration information about UNIs of the ONU |
display current-configuration uni [ uni-number ] |
You can only execute this command in ONU port view. |
Enable flow control for UNI 1 of an ONU.
# 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
You can perform this configuration to limit the packet forwarding rates of the UNIs of an ONU.
Table 4-7 Configure line rate for UNIs of an 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 of a UNI of the ONU |
uni uni-number line-rate { inbound | outbound } kbps rate-value |
Required By default, the line rate of a UNI of the ONU is 102,400 kbps. |
Display configuration information about UNIs of the ONU |
display current-configuration uni [ uni-number ] |
You can only execute this command in ONU port view. |
Caution:
You can set the line rate of a UNI 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 } !”.
Set the outbound line rate of UNI 1 of an ONU to 128 kbps.
# 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
The UNIs of an ONU can use parallel or cross-over cable. You can perform the following configuration to set the media type of a UNI.
Table 4-8 Configure media type for UNIs of an 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 media type of a UNI of the ONU |
uni uni-number mdi { across | auto | normal } |
Required By default, the media type of a UNI is auto, that is, a UNI can automatically recognize the type of the cable it connects to. |
Display configuration information about UNIs of the ONU |
display current-configuration uni [ uni-number ] |
You can only execute this command in ONU port view. |
Set the media type of UNI 1 of an ONU to cross-over (across).
# Enter system view.
<H3C> system-view
# Enter port view of Onu2/0/8:1.
[H3C] interface onu 2/0/8:1
# Set the media type of UNI 1 of the ONU to cross-over (across).
[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
You can perform the following configuration to configure the speeds of the UNIs of an ONU. When the speed of a UNI is set to the auto-negotiation mode, the rate on the UNI is negotiated by the UNI and the peer port.
Table 4-9 Configure speed for UNIs of an 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 of a UNI of the ONU |
uni uni-number speed { 10 | 100 | auto } |
Required By default, the speed of a UNI is in auto-negotiation mode. |
Display configuration information about UNIs of the ONU |
display current-configuration uni [ uni-number ] |
You can only execute this command in ONU port view. |
Set the speed of UNI 1 of an ONU to 100 Mbps.
# Enter system view.
<H3C> system-view
# Enter port view of Onu2/0/8:1.
[H3C] interface onu 2/0/8:1
# Set the speed of 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
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 an 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 a UNI of the ONU |
uni uni-number shutdown |
Optional By default, all UNIs of the ONU are enabled. |
Enable a UNI of the ONU |
undo uni uni-number shutdown |
Optional By default, all UNIs of the ONU are enabled. |
Perform the following configuration to view status information about the UNIs of an ONU.
Table 4-11 Display status information about UNIs of an 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 status information about UNIs of the ONU |
display uni [ uni-number ] |
Required You can only execute this command in ONU port view. |
# Enter system view.
<H3C> system-view
# Enter port view of Onu2/0/8:1.
[H3C] interface onu 2/0/8:1
# Bring up the ONU.
[H3C-Onu2/0/8:1] undo shutdown
# Display status 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 detailed description on the fields above, refer to the corresponding command in H3C EPON OLT Command Manual.
Perform the following configuration to clear the counters of a specified UNI or all UNIs of an ONU.
Table 4-12 Clear UNI counters of an 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 counters of a specified UNI or all UNIs of the ONU |
reset counters uni [ uni-number ] |
Required If no UNI is specified, the counters of all UNIs of the ONU is cleared. |
& Note:
l Currently, only packets received and sent on the UNIs of an ONU are counted.
l Make sure the ONU is up when you clear the UNI counters of the ONU.
To display information about UNI counters, refer to 4.11 Displaying Status Information About UNIs of an ONU.
Clear the counters of UNI 1 of an ONU.
# Enter system view.
<H3C> system-view
# Enter port view of Onu2/0/8:1.
[H3C] interface onu 2/0/8:1
# Bring up the ONU.
[H3C-Onu2/0/8:1] undo shutdown
# Display status 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 counters of UNI 1 of the ONU and display the result.
[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
Perform the following configuration to view current configuration information about UNIs of an ONU.
Table 4-13 Display current configuration information about UNIs of an 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 current configuration information about UNIs of the ONU |
display current-configuration uni [ uni-number ] |
Required You can only execute this command in ONU port view. |
# Enter system view.
<H3C> system-view
# Enter port view of Onu2/0/8:1.
[H3C] interface onu 2/0/8:1
# Bring up the ONU.
[H3C-Onu2/0/8:1] undo shutdown
# Display current 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
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.
Table 5-1 Alarm configuration tasks
Operation |
Description |
Related section |
Configuring alarms and alarm monitor period |
Optional |
The alarms currently supported by the EPON fall into the following three categories:
l Global alarms
l OLT alarms
l Public OAM alarms
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.
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.
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 but it should not be changed. By default, this function is enabled. |
Enable the oam vendor–specific 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. |
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 or restore the default alarm thresholds.
Public OAM alarms are divided into two types: OLT public OAM alarms and ONU public OAM alarms.
Table 5-4 Configure OLT public OAM 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 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. |
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.
Table 5-5 Configure ONU public OAM 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 bytes 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 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 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. |
You can use the corresponding undo commands to disable the above alarm functions or restore the default alarm thresholds.
Caution:
The above alarm functions take effect only when the ONU is in up state. You can use the display onuinfo command to check the state of the ONU.
Table 5-6 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. |
You can use the corresponding undo commands to disable the system alarm monitor and restore the alarm monitor period to the default value.
Caution:
The alarm monitor period should be configured by user with highest right. General users are recommended not to perform this configuration
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.
# 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
Table 5-7 Displaying 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. |
& Note:
In this manual, only the switch features related to EPON cards and ONU devices are listed, and other. The features of the S7500 series switches are not mentioned in this. Refer to H3C S7500 Series Ethernet Switches Operation Manual for details.
Table 6-1 Switch features and feature support status in EPON system
Feature |
Description |
QACL |
l Available on OLT ports l Not available on ONU ports l The priority-trust command is not supported in system view. |
MAC address table |
l When the display mac-address mac-address command is used to display a MAC address learned by an ONU device, if the MAC address is retrieved in the system, the VLAN that this MAC address belongs to is displayed; otherwise, N/A is displayed. l When the display mac-address command is used to display MAC addresses, if an MAC address is learned by an ONU device, N/A is displayed for the VLAN ID of the MAC address. l When the display mac-address vlan command is used to display MAC addresses based on VLAN, MAC addresses learned by ONU devices are not displayed. |
802.1 authentication (security feature) |
l OLT ports do not support 802.1x authentication. l ONU ports support only the dot1x command. l ONU ports support only local CHAP authentication and remote EAP authentication. |
Broadcast suppression |
l Available on OLT ports l Not available on ONU ports |
Port mirroring |
l Available on OLT ports l Not available on ONU ports |
Caution:
When the EPON system operates normally, you are not recommended to use the monitor inner-channel [ reboot-lpu | reboot-switch ] command or the monitor slot command in system view.