Chapters Download(351 KB)
Table of Contents
Chapter 1 EPON System Configuration Commands
1.1 EPON System Configuration Commands
1.1.1 auto-authorize-onu enable
1.1.5 display epon statistics interface
Chapter 2 OLT Configuration Commands
2.1 OLT Configuration Commands
2.1.2 display onuinfo interface
Chapter 3 ONU Configuration Commands
3.1 ONU Configuration Commands
3.1.6 display epon-oam interface
3.1.7 display multicast-filter interface
3.1.8 display onu-dot1x interface
3.1.9 display onu-event interface
3.1.12 multicast-filter enable
Chapter 4 ONU UNI Configuration Commands
4.1 ONU UNI Configuration Commands
4.1.1 display current-configuration uni
Chapter 5 Alarm Configuration Commands
5.1 Alarm Configuration Commands
5.1.1 alarm bad-encryption-key enable
5.1.5 alarm local-stable enable
5.1.6 alarm oam critical-event enable
5.1.7 alarm oam dying-gasp enable
5.1.8 alarm oam error-symbol-period
5.1.9 alarm oam error-frame-period
5.1.11 alarm oam error-frame-seconds-summary
5.1.12 alarm oam-link-disconnection enable
5.1.13 alarm oam local-link-fault enable
5.1.14 alarm oam-vendor-specific enable
5.1.15 alarm onu-over-limitation enable
5.1.16 alarm registration-error enable
5.1.17 alarm remote-stable enable
5.1.18 alarm software-error enable
& Note:
This manual only covers EPON-specific commands. For information about the commands concerning H3C S7500 series Ethernet switches, refer to H3C S7500 Series Ethernet Switches Command Manual.
Syntax
auto-authorize-onu enable
undo auto-authorize-onu enable
View
FTTH view
Parameter
None
Description
Use the auto-authorize-onu enable command to enable automatic ONU (optical network unit) authentication.
Use the undo auto-authorize-onu enable command to disable automatic ONU authentication.
l If automatic ONU authentication is enabled, an ONU tries to register and join the EPON system automatically once it is powered on. And after the ONU joins the EPON, it can communicate with the optical line terminal (OLT) without binding the ONU port and the ONU MAC address.
l If the automatic ONU authentication is disabled, ONUs can still register with the EPON system successfully, but you need to bind ONU ports and the ONU MAC addresses manually for the ONUs to communicate with the OLT.
By default, automatic ONU authentication is disabled.
Caution:
Due to security consideration, automatic ONU authentication is currently not supported.
Example
# Enter system view.
<H3C> system-view
# Enter FTTH view.
[H3C] ftth
# Enable automatic ONU authentication.
[H3C-ftth] auto-authorize-onu enable
This operation is not supported in current version!
Syntax
display epon-capability interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be OLT or ONU.
interface-number: OLT/ONU port number.
& Note:
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.
Description
Use the display epon-capability command to display OLT or ONU capability information.
l If interface-type interface-number identifies an OLT port, the following information about the OLT is displayed: automatic gain control (AGC) creation time and clock data recovery (CDR) locking time.
l If interface-type interface-number identifies an ONU port, the following information about the ONU is displayed: laser on time, laser off time, and grant FIFO deep.
Caution:
Before displaying the capability information about an ONU, make sure the ONU is bound and is in UP state (refer to the bind onuid command for more). Before displaying the capability information about an OLT, make sure the OLT is in UP state.
& Note:
l Because location distance and external conditions of each ONU are different, the received signal maybe strong or weak. AGC creation time is used to automatically restore signal strength so that the signal can be received.
l CDR locking time is used to recover clock data.
l An ONU laser on time is the period within which an ONU laser is opened until stabilizing, An ONU laser off time is the period within which an ONU laser is shut off until stabilizing.
Example
# Display Olt2/0/8 version information.
<H3C> display epon-capability interface olt2/0/8
OLT device capability information:
AGC lock time(TQ): 13
CDR lock time(TQ): 18
# Display the capability information about the ONU bound to Onu2/0/8:1 port (taking sub-card ONU as an example).
<H3C> display epon-capability interface onu2/0/8:1
ONU device capability information:
Laser on time(TQ) : 32
Laser off time(TQ): 32
Grant FIFO deep : 8
Syntax
display epon-version interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be OLT or ONU.
interface-number: OLT/ONU port number.
Description
Use the display epon-version command to display OLT or ONU version information.
Before displaying the version information about an ONU, make sure the ONU is bound and is in UP state (refer to the bind onuid command for more). Before displaying the version information about an OLT, make sure the OLT is in UP state.
Example
# Display Olt2/0/8 version information.
<H3C> display epon-version interface olt2/0/8
OLT device version information:
Firmware major version: 2
Firmware minor version: 10
Hardware major version: 5001
Hardware minor version: 3
Supported LLID number : 32
# Display Onu2/0/8:1 version information.
<H3C> display epon-version interface onu2/0/8:1
ONU device version information:
Hardware major version: 6001
Hardware minor version: 0
Supported LLID number : 1
MAC type of UNI port : MII
& Note:
l A logical link identifier (LLID) uniquely identifies an ONU. It is dynamically allocated by an OLT.
l Currently, an LLID ranges from 1 to 32.
Table 1-1 Description on the fields of the display epon-version command
Field |
Description |
Firmware major version |
Major version of the firmware |
Firmware minor version |
Minor version of the firmware |
Hardware major version |
Major version of the hardware |
Hardware minor version |
Minor version of the hardware |
Supported LLID number |
Number of supported LLIDs |
MAC type of UNI port |
MAC type of the user network interface (UNI) |
Syntax
display epon-workmode interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be OLT or ONU.
interface-number: OLT/ONU port number.
Description
Use the display epon-workmode command to display the current work mode of an OLT or ONU. If the port type is OLT, this command can also display its MAC address and dynamic bandwidth allocation (DBA) algorithm mode.
Caution:
Before displaying the work mode of an ONU, make sure the ONU is bound (refer to the bind onuid command for more).
Table 1-2 Work status and description
Item |
Status |
Description |
OLT |
open |
The OLT is open. |
closed |
The OLT is closed. |
|
ONU |
open |
The ONU is open. |
closed |
The ONU is closed. |
|
pending |
The ONU has registered but do not pass the authentication. |
|
DBA algorithm mode |
internal |
Internal DBA algorithm |
external |
External DBA algorithm |
Example
# Display Olt2/0/8 work mode.
<H3C> display epon-workmode interface olt2/0/8
OLT work mode:
Status : open
MAC ADDR: 000c-d500-1027
DBA mode: internal
# Display Onu2/0/8:1 work mode.
<H3C> display epon-workmode interface onu2/0/8:1
ONU work mode:
Working status: open
Table 1-3 Description on the fields of the display epon-workmode command
Field |
Description |
Status: open |
The OLT is open. |
MAC ADDR: 000c-d500-1027 |
The OLT’s MAC address is 000c-d500-1027. |
DBA mode: internal |
Internal DBA algorithm is adopted. |
Working status: open |
The ONU is open. |
Syntax
display epon statistics interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be OLT or ONU.
interface-number: OLT/ONU port number.
Description
Use the display epon statistics interface command to display the statistics on a specified ONU/OLT port, including average error rate of data bits and data frames of the data exchanged between the OLT and the ONUs.
Caution:
Before displaying the statistics on an ONU, make sure the ONU is bound and is in UP state (refer to the bind onuid command for more).
Example
# Display the statistics on Olt2/0/8 port.
<H3C> display epon statistics interface olt2/0/8
OLT statistics:
Bit error rate(in 1e-9 unit) : 0
Frames error rate(in 1e-9 unit): 0
# Display the statistics on Onu2/0/8:1 port.
<H3C> display epon statistics interface onu2/0/8:1
ONU statistics:
Bit error rate(in 1e-9 unit) :0
Frames error rate(in 1e-9 unit):0
Table 1-4 Description on the fields of the display epon statistic interface command
Field |
Description |
Bit error rate: 0 |
Average bit error rate is 0. |
Frames error rate: 0 |
Average error rate of data frame is 0. |
Syntax
message-lose-threshold times
undo message-lose-threshold
View
FTTH view
Parameter
times: Maximum number of response timeout times to be set. This argument ranges from 10 to 1,000. The system default is 20.
Description
Use the message-lose-threshold command to set the maximum number of response timeout times allowed between a HOST (CPU of the LPU with EPON feature in the OLT device) and the OLT. When the maximum number of response timeout times is reached, the OLT will be reset.
Use the undo message-lose-threshold command to restore the default maximum number of response timeout times.
This command need to be coupled with the timer response-timeout command, which is described in section 1.1.8 “timer response-timeout”.
Caution:
This command is recommended to users with administrative rights only.
Example
# Enter system view.
<H3C> system-view
# Enter FTTH view.
[H3C] ftth
# Set the maximum number of response timeout times between the HOST and OLT as 10.
[H3C-ftth] message-lose-threshold 10
Syntax
sample enable
undo sample enable
View
FTTH view
Parameter
None
Description
Use the sample enable command to enable system statistics sampling for an EPON system.
Use the undo sample enable command to disable system statistics sampling.
By default, system statistics sampling is enabled.
Caution:
These two commands are recommended to users with administrative rights only.
Example
# Enter system view.
<H3C> system-view
# Enter FTTH view.
[H3C] ftth
# Enable system statistics sampling for the EPON system.
[H3C-ftth] sample enable
Syntax
timer response-timeout milliseconds
undo timer response-timeout
View
FTTH view
Parameter
milliseconds: Response timeout time to be set, ranging from 300 to 10,000 (in milliseconds). The system default is 600 milliseconds.
Description
Use the timer response-timeout command to set the response timeout time between a HOST (CPU of the LPU with EPON feature in the OLT device) and the OLT.
Use the undo timer response-timeout command to restore the default response timeout time.
This command need to be coupled with the message-lose-threshold command, which is described in section 1.1.6 “message-lose-threshold”.
Caution:
This command is recommended to users with administrative rights only.
Example
# Enter system view.
<H3C> system-view
# Enter FTTH view.
[H3C] ftth
# Set the response timeout time between the HOST and OLT as 300 milliseconds.
[H3C-ftth] timer response-timeout 300
Syntax
timer sample seconds
undo timer sample
View
FTTH view
Parameter
seconds: Sampling interval (in seconds) to be set. This argument ranges from 1 to 3,600. The system default is 4 seconds.
Description
Use the timer sample command to set the sampling interval for an EPON system.
Use the undo timer sample command to restore the default sampling interval for an EPON system.
Caution:
This command is recommended to users with administrative rights only.
Example
# Enter system view.
<H3C> system-view
# Enter FTTH view.
[H3C] ftth
# Set the sampling interval to 10 seconds for the EPON system.
[H3C-ftth] timer sample 10
Syntax
attribute { laser-on time | laser-off time } *
attribute { multiple-copy-broadcast | discard-packet } enable
undo attribute { laser-on | laser-off } *
undo attribute { multiple-copy-broadcast | discard-packet } enable
View
OLT port view
Parameter
laser-on time: Sets the period within which an OLT laser is opened until stabilizing. The time argument ranges from 20 to 1,000 (in TQs). The system default is 96 TQs.
laser-off time: Sets the period within which an OLT laser is shut off until stabilizing. The time argument ranges from 20 to 1,000 (in TQs). The system default is 96 TQs.
multiple-copy-broadcast: Enables/Disables multi-copy broadcast. With multi-copy broadcast enabled, a packet is broadcast in the VLAN it belongs to rather than in all the VLANs when the OLT forwards the packet to an ONU. By default, multi-copy broadcast is disabled.
discard-packet: Specifies whether or not the packets with source MAC addresses not contained in the OLT MAC address table are dropped. By default, packets of this type are forwarded.
& Note:
l 1 TQ is equal to 16 ns.
l As the attribute discard-packet enable command may affect MAC address learning, execute it with caution.
l Currently, multi-copy broadcast is not supported.
Description
Use the attribute commands to configure the OLT attributes.
Use the undo attribute commands to restore default OLT attributes.
Caution:
l The commands here take effect only after you execute the shutdown command and then the undo shutdown command on the OLT.
l The configuration to set the period within which an OLT laser can stabilize or can be shut off is not recommended to normal users.
Example
# Enter system view.
<H3C> system-view
# Enter Olt2/0/8 port view.
[H3C] interface olt2/0/8
# Restore the default period for the OLT laser to stabilize.
[H3C-Olt2/0/8] undo attribute laser-on
Syntax
display onuinfo interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type. The value is OLT or ONU.
interface-number: OLT/ONU port number.
Description
Use the display onuinfo interface command to display the information about one or all the registered ONUs under an OLT port, including MAC address, ONU type, round trip time (RTT), port name, hardware version, software version, EEPROM version, host type, and ONU state.
Example
# Display the information about all the registered ONUs under 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 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 ---
# Display the information about a specific ONU.
<H3C> display onuinfo interface onu 2/0/8:2
ONU Mac Address RTT(TQ) Port ONU Board/Ver Sft/Eeprom ONU host State
000f-e203-ff13 3130 Onu2/0/8:2 LS6M1PU1SA/A 101/100 S3108C Up
--- 1 entry found ---
& Note:
The fields of the output information are described as follows.
l Port represents the number of a 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, Up (which indicates the ONU is started up) or Down (which indicates the ONU is shut down) is displayed.
Syntax
display onuinfo slot slot-id
View
Any view
Parameter
slot-id: ID of the slot where the EPON card is seated.
Description
Use the display onuinfo slot command to display the information about the registered ONUs connected to all the OLT ports of an EPON card seated in a slot.
The format and the fields of the output information are the same as that of the display onuinfo interface command. Refer to section “2.1.2 display onuinfo interface” for the description on the output information fields of this command.
Example
# Display the information about the registered ONUs connected to all the OLT ports of the EPON card seated in slot 2.
ONU Mac Address RTT(TQ) Port ONU Board/Ver Sft/Eeprom ONU host State
000f-e203-ff01 3133 Onu2/0/3:1 LS6M1PU1SA/A 106/100 S3116C Up
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 106/100 S3108C Up
--- 3 entries found ---
Syntax
igmp-to-cpu enable
undo igmp-to-cpu enable
View
OLT port view, FTTH view
Parameter
None
Description
Use the igmp-to-cpu enable command to enable IGMP packets to be passed to CPU for being processed.
Use the undo igmp-to-cpu enable command to disable IGMP packets from being passed to CPU.
These two commands apply to the current OLT if they are executed in OLT port view and apply to all the OLTs if they are executed in FTTH view.
By default, IGMP packets are passed to CPU for being processed.
Caution:
The OLT may operate improperly if you enable IGMP packets to be passed to CPU for it and an ONU forward uplink multicast packets to the OLT.
Example
# Disable IGMP packets from being passed to CPU.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] undo igmp-to-cpu enable
Syntax
max-rtt value
undo max-rtt
View
OLT port view
Parameter
value: Maximum round trip time (RTT) to be set. This argument ranges from 1,000 to 25,000 (in TQs). The system default maximum RTT is 13,524 TQs.
Description
Use the max-rtt command to set the maximum RTT.
The ONUs are usually at different distances from the OLT. Therefore, they have different RTT values. Through the configuration of the maximum RTT, you can limit the registration of the ONUs that are relatively farther away from the OLT.
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 These two commands are recommended to users with administrative rights only.
l This command takes effect only on unregistered ONUs. It does not take effect on registered ONUs.
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. To obtain the RTT of an ONU, use the display onuinfo interface command.
Example
# Enter system view.
<H3C> system-view
# Enter Olt2/0/8 port view.
[H3C] interface olt2/0/8
# Set the maximum RTT to 25,000 TQs.
[H3C-Olt2/0/8] max-rtt 25000
Syntax
port permit vlan vlan-list
undo port permit vlan vlan-list
View
OLT port view
Parameter
vlan-list: VLAN ID list. This 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). VLAN ID here ranges from 2 to 4094.
Description
Use the port permit vlan command to specify the VLANs whose packets are permitted by an OLT port, through which you can suppress unnecessary VLAN broadcast.
Use the undo port permit vlan command to specify the VLANs whose packets are denied by an OLT port.
By default, the packets of VLAN 1 are permitted by all the OLT port.
Note that, VLAN configuration for an OLT port is needed only when the VLAN tag processing mode of an ONU port is transparent. If the VLAN tag processing mode of an ONU port is untagged, the OLT port permits the packets of the VLAN automatically. In this case, VLAN configuration of the OLT port is not needed.
Related command: port handlemode.
Example
# Enter system view.
<H3C> system-view
# Enter Olt2/0/8 port view.
[H3C] interface olt2/0/8
# Configure to permit the packets of VLAN 2.
[H3C-Olt2/0/8] port permit vlan 2
& Note:
l Before configuring an ONU, you must bind an ONU port to the ONU. Refer to section "2.1.2 display onuinfo interface" and section 3.1.2 "bind onuid" for related commands.
l The commands and operations of different types of ONU devices are somewhat different. Refer to the corresponding operation manual for details.
bandwidth downstream { policy | high-priority | short-frame } enable
bandwidth downstream { max-bandwidth value | max-burstsize value } *
undo bandwidth downstream { policy | high-priority | short-frame } enable
undo bandwidth downstream { max-bandwidth | max-burstsize } *
View
ONU port view
Parameter
downstream: Specifies the configuration is for downstream data flows from OLT to ONU.
policy: Specifies to enable/disable bandwidth allocation policy.
max-bandwidth value: Specifies the maximum bandwidth in Kbps. The value argument ranges from 0 to 1,000,000 and defaults to 1,000,000.
max-burstsize value: Specifies the maximum burst buffer size in bytes. The value argument ranges from 0 to 8,388,480 and defaults to 8,388,480.
high-priority: Specifies to enable/disable high-priority frames to take precedence. This policy is disabled by default.
short-frame: Specifies to enable/disable short-frames to take precedence. This policy is disabled by default.
Description
Use the bandwidth command to configure the bandwidth allocation policy and bandwidth limitation.
Use the undo bandwidth command to cancel the configured bandwidth allocation policy and restore the default bandwidth limitation.
By default, the downstream bandwidth allocation policy is disabled.
Caution:
Currently, this command is not supported.
Example
# Enable bandwidth allocation policy for downstream data flows.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] bandwidth downstream policy enable
This operation is not supported in current version!
Syntax
bind onuid onuid [ type { et204 | et300 | ls6m1pu1s } ]
undo bind onuid
View
ONU port view
Parameter
onuid onuid: Specifies the MAC address of the ONU to be bound to. The onuid argument is in dotted hexadecimal notation (that is, in the H-H-H form). You can obtain the MAC address of an ONU by using the display onuinfo interface command. Refer to section “2.1.2 display onuinfo interface” for details.
type: Specifies the type of the ONU, which can be et204 (corresponding to ET204/ET204-L20), et300 (corresponding to ET300/ET300-L20), and ls6m1pu1s (corresponding to ONU sub-card LS6M1PU1SA or LS6M1PU1SB). If you do not use the type keyword, the type is ET204 by default.
Description
Use the bind onuid command to bind the current ONU port to an ONU of a specified type by associating the ONU port with the MAC address of the ONU. The OLT can manage the ONU only after you bind an ONU port to the ONU.
Use the undo bind onuid command to unbind the ONU port from the ONU. The unbinding operation invalidates all related configuration for the ONU.
& Note:
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 it up.
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.
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.
Example
# Bind the Onu2/0/8:1 port to a sub-card ONU with MAC address 00e0-fc00-0001. (The bindings to other types of ONUs are similar).
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] bind onuid 00e0-fc00-0001 type ls6m1pu1s
Syntax
dba-algorithm { enable { extdba | intdba } | update filename }
View
OLT port view
Parameter
enable: Enables a dynamic bandwidth allocation (DBA) algorithm.
extdba: Specifies to enable the external DBA algorithm.
intdba: Specifies to enable the internal DBA algorithm.
update: Upgrades the external algorithm with a DBA algorithm file.
filename: Device name + DBA algorithm file name, a string of up to 64 characters. Note that the DBA algorithm file on the backup SRPU cannot be used for upgrade.
Description
Use the dba-algorithm command to enable the internal or external DBA algorithm, or upgrade the external DBA algorithm.
By default, the internal DBA algorithm is enabled.
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.
Example
# Load an external DBA algorithm.
<H3C> system-view
[H3C] interface olt 2/0/8
[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
Syntax
dba-parameters { discovery-frequency value | discovery-length value | cycle-length value } *
undo dba-parameters { discovery-frequency | discovery-length | cycle-length } *
View
OLT port view
Parameter
discovery-frequency value: Specifies the cycle for the OLT to send discovery frames to ONUs (the cycle is known as grant cycle, which is measured in cycle-length). The value argument ranges from 25 to 100; it defaults to 50 if you do not use the discovery-frequency keyword.
discovery-length value: Specifies the period in TQs for the OLT to discover ONUs. The value argument ranges from 21,845 to 87,381 and defaults to 41,500.
cycle-length value: Specifies the cycle-length in TQs (cycle-length is the measurement unit of grant cycle). The value argument ranges from 32,768 to 131,070; it defaults to 65,535 if you do not use the cycle-length keyword.
& Note:
For an example, if you set the grant cycle to 30 with the discovery-frequency keyword, the OLT periodically sends discovery frames to ONUs at the interval of 30 x cycle-length.
Description
Use the dba-parameters command to set DBA parameters.
Use the undo dba-parameters command to restore the default DBA parameter values.
Caution:
The two commands are designed to be used by users with administrator privilege. General users are not recommended to use them.
Example
# Configure Olt2/0/8 to periodically send discovery frames to its ONUs at the interval of 30 x cycle-length.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] dba-parameters discovery-frequency 30
Syntax
deregister onu
View
ONU port view
Parameter
None
Description
Use the deregister onu command to deregister the ONU under the ONU port.
After being deregistered, the ONU will register again.
Description
# Deregister the ONU under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] deregister onu
Syntax
display epon-oam interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which is "onu".
interface-number: ONU port number.
Description
Use the display epon-oam interface command to display the operation, administration, and maintenance (OAM) information about an ONU.
Before using this command to display OAM information about an ONU, make sure the ONU is up.
Example
# Display OAM information about the ONU (which is an Aolynk ET series optical terminal) under onu 2/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-1 Description on the fields of the display epon-oam interface command
Field |
Description |
OAM version |
OAM version |
Multiplexer action: forwarding non-OAM PDUs to the lower sublayer |
The action of the multiplexer: Forwarding non-OAM PDUs to the lower layer |
Parser action: forwarding non-OAM PDUs to higher layer |
The action of the parser: Forwarding non-OAM PDUs to the higher layer |
Organization specific information TLVs |
This field indicates whether or not the OAM version supports TLV-format organization specific information. |
Organization specific events |
This field indicates whether or not the OAM version supports organization specific events. |
Organization specific OAM PDUs |
This field indicates whether or not the OAM version supports organization specific OAM PDUs. |
Sending variable response OAM PDUs |
This field indicates whether or not the OAM version supports the sending of variables through response OAM PDUs. |
Interpreting link events |
This field indicates whether or not the OAM version supports the interpreting of link events. |
OAM mode |
OAM mode |
Unidirectional support |
Unidirectional support mode |
Loopback support |
Loopback support mode |
Maximal PDU size(byte) |
Maximum PDU size (in bytes) |
Enterprise number |
Enterprise identifier |
Device identifier |
Device identifier |
Version identifier |
Version identifier |
Board vendor code |
Board vendor code |
Board model identifier |
Board model identifier |
Syntax
display multicast-filter interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be “olt” or “onu”.
interface-number: OLT port number or ONU port number.
& Note:
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 the 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.
Description
Use the display multicast-filter interface command to display the multicast filtering status of specified ONU(s).
Example
# Display the multicast filtering status of all the ONUs under Olt2/0/8.
<H3C> display multicast-filter interface olt 2/0/8
Multicast filter status:
Onu2/0/8:1 Enable
--- 1 entry found ---
# Display the multicast filtering status of the ONU under Onu2/0/8:1.
<H3C> display multicast-filter interface onu 2/0/8:1
Multicast filter status: enable
Syntax
display onu-dot1x interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which is "onu".
interface-number: ONU port number.
Description
Use the display onu-dot1x interface command to display the 802.1x account and password of an ONU.
Example
# Display the 802.1x account and password of the ONU under Onu2/0/8:1.
<H3C> display onu-dot1x interface onu 2/0/8:1
ONU 802.1X account is test and password is test
display onu-event interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which is "onu".
interface-number: ONU port number.
Description
Use the display onu-event interface command to display the registration and deregistration records of an ONU.
& 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.
Example
# Display the registration and deregistration records of the ONU under Onu2/0/8:1.
<H3C> display onu-event interface onu 2/0/8:1
Date Time ONU Event ONU Status
2006/06/28 13:57:03 Registration Up
2006/06/28 13:57:06 Deregistration Down
Syntax
encrypt { off | downlink | up-down-link }
undo encrypt
View
ONU port view
Parameter
off: Disables data encryption.
downlink: Specifies to encrypt only downstream data from the OLT to the ONU.
up-down-link: Specifies to encrypt both upstream and downstream data between the OLT and the ONU.
Description
Use the encrypt command to enable/disable data encryption.
Use the undo encrypt command to restore the default data encryption setting.
By default, data encryption is disabled.
Example
# Configure to encrypt both upstream and downstream data between the OLT and the ONU under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] encrypt up-down-link
Syntax
linktest [ frame-number value frame-size value delay { on | off } | vlan-tag { on | off } vlan-priority value vlan-id value ] *
View
ONU port view
Parameter
frame-number value: Specifies the number of test frames. The value argument ranges from 1 to 250 and defaults to 20.
frame-size value: Specifies the test frame size in bytes. The value argument ranges from 60 to 1,514 and defaults to 1,000.
delay: Specifies whether or not to enable delay test. The on keyword enables delay test. The off keyword disables delay test.
vlan-tag: Specifies whether or not to include VLAN tags in test frames. The on keyword specifies to include VLAN tags in test frames. The off keyword specifies to exclude VLAN tags from test frames. By default, VLAN tags are included in test frames.
vlan-priority value: Specifies the VLAN priority of test frames. The value argument ranges from 0 to 7 and defaults to 2, with value 0 representing the lowest priority, and value 7 representing the highest priority.
vlan-id value: Specifies the VLAN ID of test frames. The value argument ranges from 1 to 4094 and defaults to 1.
Description
Use the linktest command to test the link between the OLT and the ONU.
Caution:
l Make sure the ONU is up before executing this command.
l If you use the internal DBA algorithm, the link test runs normally only when the maximum uplink bandwidth is greater than 7 Mbps.
Example
# Test the link between the OLT and the ONU under Onu2/0/8:1 with 100 test frames.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[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 OLT and the ONU fails the test.
Syntax
multicast-filter enable
undo multicast-filter enable
View
ONU port view
Parameter
None
Description
Use the multicast-filter enable command to enable multicast filtering for the ONU under the ONU port.
Use the undo multicast-filter enable command to disable multicast filtering for the ONU.
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 for 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 for an ONU, all downstream multicast frames will be transparently transmitted.
Multicast filtering is disabled by default.
& Note:
l This command only applies to ET204, ET204-L20, ET300, and ET300-L20.
l Aolynk ET series optical terminals support 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). 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.
Example
# Enable multicast filtering for the ONU under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] multicast-filter enable
Syntax
port handlemode { untagged | transparent }
undo port handlemode
View
ONU port view
Parameter
untagged: Specifies the 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 header and continues to forward the frame, otherwise it discards the frame. For an upstream frame from the ONU to the OLT, if the frame does not contain a VLAN tag, the ONU port inserts the VLAN tag configured on it into the frame header 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.
transparent: Specifies the 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.
Description
Use the port handlemode command to set the VLAN tag processing mode.
Use the undo port handlemode command to restore the default VLAN tag processing mode.
An ONU port can operate in one of the two modes to process VLAN tags: transparent and untagged. It operates in untagged mode by default.
Caution:
This command only applies to ET204, ET204-L20, ET300, and ET300-L20.
Example
# Set the VLAN tag processing mode on Onu2/0/8:1 to transparent.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] port handlemode transparent
Syntax
reauthorize onu
View
ONU port view
Parameter
None
Description
Use the reauthorize onu command to forcibly re-authenticate the ONU.
Example
# Forcibly re-authenticate the ONU under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] reauthorize onu
reboot onu
View
ONU port view
Parameter
None
Description
Use the reboot onu command to restart the ONU that the current ONU port is bound to when the ONU is in the up state.
Example
# Restart the ONU under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] reboot onu
Syntax
set onu-dot1x account account password password
View
ONU port view
Parameter
account account: Sets an 802.1x account for the ONU. The account argument is a string of up to 16 non-special characters.
password password: Sets an 802.1x password for the ONU. The password argument is a string of up to 16 non-special characters.
Description
Use the set onu-dot1x command to set an 802.1x account and password for the ONU under the ONU port. The account and password will be written to the EEPROM of the ONU.
Caution:
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.
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.
Example
# Set both the 802.1x account and password of the ONU under Onu2/0/8:1 to test.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] set onu-dot1x account test password test
Syntax
untagged vlan vlan-id
undo untagged vlan
View
ONU port view
Parameter
vlan-id: ID of the VLAN you want to add the ONU port to.
Description
Use the untagged vlan command to add the ONU port to a specified VLAN. You can use this command only when the ONU port operates in untagged mode, and you can add the ONU port to only one VLAN in this case.
Use the undo untagged vlan command to cancel the configuration and add the ONU port to VLAN 1.
By default, an ONU port belongs to VLAN 1.
Caution:
l Before executing the untagged vlan command, make sure the VLAN concerned already exists. For description on creating and removing a VLAN, refer to the VLAN Operation part of S7500 Series Ethernet Switches Operation Manual.
l This command only applies to ET204, ET204-L20, ET300, and ET300-L20.
Example
# Add Onu2/0/8:1 to VLAN 10 (suppose that VLAN 10 already exists).
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] untagged vlan 10
Syntax
update onu filename filename
View
OLT port view, ONU port view
Parameter
filename: Filename of the ONU software to be upgraded.
Description
Use the update onu filename command to upgrade the ONU software.
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 upgrade the software of the specific ONU.
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.
Caution:
l Before upgrading the software of an ONU, make sure the ONU is up.
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 successfully upgrade the software of an ONU only when the upgrade software matches the ONU.
Example
# Upgrade the software of the ONU under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/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 information 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!
Syntax
upstream-sla minimum-bandwidth value1 maximum-bandwidth value2
undo upstream-sla
View
ONU port view
Parameter
minimum-bandwidth value1: Specifies the minimum uplink bandwidth in Kbps. The value1 argument ranges from 32 to 14,400.
maximum-bandwidth value2: Specifies the maximum uplink bandwidth in Kbps. The value2 argument ranges from 32 to 16,000.
Description
Use the upstream-sla command to configure the minimum and maximum bandwidth for an ONU.
Use the undo upstream-sla command to restore the default minimum and maximum bandwidth (32 and 368 respectively).
The actual minimum/maximum bandwidth value is value1/value2 x 64.
Caution:
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)!”.
Example
# Set the minimum and maximum uplink bandwidth for the ONU under Onu2/0/8:1 to 9,600 Kbps and 12,800 Kbps respectively.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] upstream-sla minimum-bandwidth 150 maximum-bandwidth 200
Info: The minimum-bandwidth of upstream is 9600 Kbit/s
Info: The maximum-bandwidth of upstream is 12800 Kbit/s
& Note:
l Configuration commands for UNIs of the ONU are applicable only to ET204/ET204-L20.
l Before configuring UNIs of ONUs, you must bind ONUs to ONU ports. Refer to2.1.2 display onuinfo interface and 3.1.2 bind onuid for more information.
Syntax
display current-configuration uni [ uni-number ]
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
Description
Use the display current-configuration uni command to display the configuration information about UNIs of the current ONU.
If no UNI is specified, the configuration information about all UNIs of the current ONU is displayed.
Example
# Display the configuration information about UNI 1 of the ONU.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] display current-configuration uni 1
UNI 1 Speed 10
UNI 1 Line-rate inbound kbps 128
Syntax
display uni [ uni-number ]
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
Description
Use the display uni command to display the state information about UNIs of the current ONU.
If no UNI is specified, the state information about all UNIs of the current ONU is displayed.
Example
# Display the state information about UNI 1 of the ONU.
<H3C> system-view
[H3C] interface onu 2/0/8: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
Table 4-1 Description on the fields of the display uni command
Field |
Description |
UNI 1 current state |
Current state of UNI 1 |
unknown-duplex mode |
Duplex mode is unknown. |
Link speed type is autonegotiation, link duplex type is autonegotiation |
Both the link speed and the duplex type are auto-negotiation. |
line-rate inbound 102400 line-rate outbound 102400 |
Both inbound and outbound line rate are 102,400 kbps. |
Flow-control is enabled |
Flow control is enabled. |
Port link-type |
Port type |
Input(total): packets, bytes broadcasts, multicasts, unicasts, pauses |
The total number of input packets, input bytes, input multicast packets, input broadcast packets, input unicast packets and input flow control frames. |
Input: input errors, runts, giants, InRxErr, CRC |
The statistics about input packets: input errors, runts, giants, PHY packets, and the checksum errors. |
Output(total): packets, bytes broadcasts, multicasts, unicasts, pauses |
The total number of output packets, output bytes, output multicast packets, output broadcast packets, output unicast packets and output flow control frames. |
Output: output errors, deferred, collisions, InTxErr |
The statistics about output packets: output errors, delay, collisions and sent packets. |
& Note:
Currently, this command can only account the number of received and sent packets on the UNIs of the ONU.
Syntax
uni uni-number duplex { full | half | auto }
undo uni uni-number duplex
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
full: Specifies the port to be in full duplex mode.
half: Specifies the port to be in half duplex mode.
auto: Specifies the duplex mode of the port to be auto-negotiation.
Description
Use the uni uni-number duplex command to set the duplex mode for UNIs of the current ONU.
Use the undo uni uni-number duplex command to restore the duplex mode on the current port to the default value.
By default, the duplex mode on UNIs is auto- negotiation.
Example
# Set the duplex mode of UNI 1 of the ONU as the full duplex mode.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 duplex full
Syntax
uni uni-number flow-control
undo uni uni-number flow-control
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
Description
Use the uni uni-number flow control command to enable flow control for UNIs of the ONU.
Use the undo uni uni-number flow-control command to disable flow control.
By default, flow control is enabled for all UNIs of the ONU.
If flow control is enabled for UNIs of the ONU, 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.
Example
# Enable flow control for UNI 1 of the ONU.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 flow-control
Syntax
uni uni-number line-rate { inbound | outbound } kbps rate-value
undo uni uni-number line-rate { inbound | outbound }
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
inbound: Specifies the upstream direction.
outbound: Specifies the downstream direction.
rate-value: Line rate (in kbps) on the UNIs of the ONU. You can specify the rate on 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 } !”.
Description
Use the uni uni-number line-rate command to limit the line rate on UNIs of the ONU.
Use the undo uni uni-number line-rate command to restore the line rate on UNIs of the ONU to the default value.
By default, the line rate on UNIs of the ONU is 102,400 kbps.
Example
# Set the inbound line rate on UNI 1 of the ONU to 128 kbps.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 line-rate inbound kbps 128
Syntax
uni link-type { untagged | transparent }
undo uni link-type
View
ONU port view
Parameter
transparent: Specifies the transparent transmission mode, where packets are forwarded without being processed.
untagged: Specifies the untagged mode. 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 packets forwarded by the ONU to the OLT. If the packets already carry VLAN tags, they are forwarded to the OLT without being processed.
Description
Use the uni link-type command set the VLAN tag processing mode for UNIs of the ONU.
Use the undo uni link-type command to restore the default VLAN tag processing mode for UNIs of the ONU.
The VLAN tag processing mode for UNIs of an ONU can be the transparent mode or the untagged mode.
The transparent mode is the default VLAN tag processing mode for UNIs of the ONU.
Related command: uni pvid.
& Note:
This command takes effect on all the four UNIs of an ONU at the same time.
Example
# Specify the VLAN tag processing mode for UNIs of the ONU as the untagged mode.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni link-type untagged
Syntax
uni uni-number mdi { across | auto | normal }
undo uni uni-number mdi
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
across: Specifies the cable type to be crossover.
auto: Specifies that the cable type (cross-over or straight-through) is recognized automatically.
normal: Specifies the cable type to be straight-through.
Description
Use the uni uni-number mdi command to set the cable type for UNIs of the ONU.
Use the undo uni uni-number mdi command to restore the cable type for UNIs of the ONU to the default value.
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.
Example
# Set the cable type for UNI 1 of the ONU as crossover.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 mdi across
Syntax
uni uni-number priority priority-value
undo uni uni-number priority
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
priority-value: Priority for packets on an UNI, in the range 0 to 7. Priority 0 represents the lowest priority and priority 7 represents the highest priority. This argument is 0 by default.
Description
Use the uni uni-number priority priority-value command to set priority for packets on an UNI of the ONU.
Use the undo uni uni-number priority command to restore the priority for packets on an UNI of the ONU to the default value.
The ONU will drop the packets with lower priority to ensure the normal transmission of packets with higher priority when the traffic exceeds the forwarding capacity of the ONU and congestion occurs.
Example
# Set the priority for packets on UNI 1 of the ONU to 2.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 priority 2
Syntax
uni uni-number pvid pvid-value
undo uni uni-number pvid
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
pvid-value: Default VLAN ID for UNIs of the ONU, in the range 1 to 4,094. This argument is 1 by default.
Description
Use the uni uni-number pvid pvid-value command to set the default VLAN ID for the UNI of the ONU.
Use the undo uni uni-number pvid command to restore the default VLAN ID for the UNI of the ONU to the default value.
Example
# Set the default VLAN ID for UNI 1 of the ONU to 2.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 pvid 2
Syntax
uni uni-number shutdown
undo uni uni-number shutdown
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
Description
Use the uni uni-number shutdown command to disable the UNIs of the ONU.
Use the undo uni uni-number shutdown command to enable the UNIs of the ONU.
By default, the UNIs of the ONU are enabled.
Example
# Disable UNI 1 of the ONU.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 shutdown
Syntax
uni uni-number speed { 10 | 100 | auto }
undo uni uni-number speed
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
10: Specifies the port speed to 10 mbps.
100: Specifies the port speed to 100 mbps.
auto: Specifies the port speed to be auto-negotiated.
Description
Use the uni uni-number speed command to set the speed for the UNI of the ONU.
Use the undo uni uni-number speed command to restore the speed for the UNI of the ONU to the default value.
By default, the speed for the UNI of the ONU is auto-negotiated.
Example
# Specify the speed for UNI 1 of the ONU to 10 mbps.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 speed 10
Syntax
reset counters uni [ uni-number ]
View
ONU port view
Parameter
uni-number: UNI number of an ONU, in the range 1 to 4.
Description
Use the reset counters uni command to clear the accounting information about the specified UNI of the ONU (which must be in the up state).
If no UNI is specified, the accounting information about all UNIs of the ONU is cleared.
Related command: display uni.
Example
# Clear the accounting information about UNI 1 of the ONU and verify the configuration.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] reset counters uni 1
[H3C-Onu2/0/8:1] display uni 1
UNI 1 current state :UP
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
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
Syntax
alarm bad-encryption-key enable
undo alarm bad-encryption-key enable
View
OLT port view
Parameter
None
Description
Use the alarm bad-encryption-key enable command to enable the bad encryption key alarm.
Use the undo alarm bad-encryption-key enable command to disable the bad encryption key alarm.
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.
Example
# Enable the bad encryption key alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm bad-encryption-key enable
Syntax
alarm bit-error-rate enable
undo alarm bit-error-rate enable
alarm bit-error-rate { direction { uplink | downlink | up-down-link} | threshold threshold } *
undo alarm bit-error-rate { direction | threshold } *
View
OLT port view
Parameter
uplink: Specifies the monitor direction. Only uplink data from ONU to OLT will be monitored.
downlink: Specifies the monitor direction. Only downlink data from OLT to ONU will be monitored.
up-down-link: Specifies the monitor direction. Both uplink and downlink data between OLT and ONU will be monitored.
threshold threshold: Specifies the alarm threshold of bit error rate. The threshold argument ranges from 1 to 109 and defaults to 10 (the order of magnitude is 10-9).
Description
Use the alarm bit-error-rate enable command to enable the bit error rate alarm.
Use the undo alarm bit-error-rate enable command to disable the bit error rate alarm.
Use the alarm bit-error-rate command to configure the monitor direction and the alarm threshold of the bit error rate.
Use the undo alarm bit-error-rate command to restore the default monitor direction and alarm threshold.
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, and both uplink and downlink data between OLT and ONU are monitored.
Example
# Enable the bit error rate alarm, adopt the default monitor direction, and configure the corresponding alarm threshold to 20.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm bit-error-rate enable
[H3C-Olt2/0/8] alarm bit-error-rate direction up-down-link threshold 20
Syntax
alarm frame-error-rate enable
undo alarm frame-error-rate enable
alarm frame-error-rate { direction { uplink | downlink | up-down-link} | threshold threshold } *
undo alarm frame-error-rate { direction | threshold } *
View
OLT port view
Parameter
uplink: Specifies the monitor direction. Only uplink data from ONU to OLT will be monitored.
downlink: Specifies the monitor direction. Only downlink data from OLT to ONU will be monitored.
up-down-link: Specifies the monitor direction. Both uplink and downlink data between OLT and ONU will be monitored.
threshold threshold: Specifies the alarm threshold of the frame error rate. The threshold argument ranges from 1 to 109 and defaults to 1 (the order of magnitude is 10-9).
Description
Use the alarm frame-error-rate enable command to enable the frame error rate alarm.
Use the undo alarm frame-error-rate enable command to disable the frame error rate alarm.
Use the alarm frame-error-rate command to configure the monitor direction and the alarm threshold of the frame error rate.
Use the undo alarm frame-error-rate command to restore the default monitor direction and alarm threshold.
The system generates a frame 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, and both uplink and downlink data between OLT and ONU are monitored.
Example
# Enable the frame error rate alarm, adopt the default monitor direction, and configure the corresponding alarm threshold to 20.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm frame-error-rate enable
[H3C-Olt2/0/8] alarm frame-error-rate direction up-down-link threshold 20
Syntax
alarm llid-mismatch enable
undo alarm llid-mismatch enable
alarm llid-mismatch threshold threshold
undo alarm llid-mismatch threshold
View
OLT port view
Parameter
threshold threshold: Specifies the alarm threshold of LLID mismatch frame. It ranges from 1,000 to 109 frames and defaults to 5,000 frames.
Description
Use the alarm llid-mismatch enable command to enable the LLID mismatch frame alarm.
Use the undo alarm llid-mismatch enable command to disable the LLID mismatch frame alarm.
Use the alarm llid-mismatch threshold command to configure the alarm threshold of LLID mismatch frame.
Use the undo alarm llid-mismatch threshold command to restore the default alarm threshold.
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.
Example
# Enable the LLID mismatch frame alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm llid-mismatch enable
Syntax
alarm local-stable enable
undo alarm local-stable enable
View
OLT port view
Parameter
None
Description
Use the alarm local-stable enable command to enable the local stable alarm.
Use the undo alarm local-stable enable command to disable the local stable alarm.
The system generates a local stable alarm when system misuse occurs, for example, when an OAM1.2 ONU and an OAM2.0 ONU are mixed in the same system. (All ONUs in the same system must adopt the same OAM version.)
The local stable alarm differs from the remote stable alarm in the following ways:
l The local stable alarm is generated at the OLT side.
l The remote stable alarm is generated at the ONU side and will be reported to the OLT.
By default, this function is enabled.
Related command: alarm remote-stable enable.
Example
# Enable the local stable alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm local-stable enable
Syntax
alarm oam critical-event enable
undo alarm oam critical-event enable
View
OLT port view
Parameter
None
Description
Use the alarm oam critical-event enable command to enable the critical event alarm.
Use the undo alarm oam critical-event enable command to disable the critical event alarm.
There are two types of critical events: local link fault and dying gasp. The system generates a critical event alarm when one of the two events occurs.
By default, this function is enabled.
Caution:
Currently, the command is not supported.
Example
# Enable the critical event alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm oam critical-event enable
This operation is not supported in current version!
Syntax
alarm oam dying-gasp enable
undo alarm oam dying-gasp enable
View
OLT port view
Parameter
None
Description
Use the alarm oam dying-gasp enable command to enable the dying gasp alarm.
Use the undo alarm oam dying-gasp enable command to disable the dying gasp alarm.
The system generates a dying gasp alarm when a system error, a data loading error or any other nonreversible errors occurs.
By default, this function is enabled.
Caution:
Currently, the command is not supported.
Example
# Enable the dying gasp alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm oam dying-gasp enable
This operation is not supported in current version!
Syntax
alarm oam error-symbol-period enable
undo alarm oam error-symbol-period enable
alarm oam error-symbol-period { window-high windowhigh | window-low windowlow | threshold-high thresholdhigh | threshold-low thresholdlow } *
undo alarm oam error-symbol-period { window-high | window-low | threshold-high | threshold-low } *
View
ONU port view
Parameter
window-high windowhigh: Specifies the high part of the window size, in the range 0 to 4,294,967,295 (232-1). By default, the high part of the window size is 0.
window-low windowlow: Specifies the low part of the window size, in the range 0 to 4,294,967,295 (232-1). By default, the low part of the window size is 1.
threshold-high thresholdhigh: Specifies the high part of the alarm threshold, in the range 0 to 4,294,967,295 (232-1). By default, the high part of the alarm threshold is 0.
threshold-low thresholdlow: Specifies the low part of the alarm threshold, in the range 0 to 4,294,967,295 (232-1). By default, the low part of the alarm threshold is 20.
& Note:
l 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.
l By default, the window size is 1 second, and the threshold is 20 bytes.
Description
Use the alarm oam error-symbol-period enable command to enable the error symbol period alarm.
Use the undo alarm oam error-symbol-period enable command to disable the error symbol period alarm.
Use the alarm oam error-symbol-period command to configure the corresponding window size and alarm threshold.
Use the undo alarm oam error-symbol-period command to restore the default window size and alarm threshold.
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.
Caution:
When the upper limit and the lower limit of the alarm threshold are set to 0, large amount of alarms are generated immediately. Since alarm events are carried in the OAM packets, large amount of OAM packets are generated. In this case, OAM packets may be lost.
& Note:
The commands here take effect only for OAM 2.0 and above. And you can use them only on individual ONUs.
Example
# Enable the error symbol period alarm.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] alarm oam error-symbol-period enable
Syntax
alarm oam error-frame-period enable
undo alarm oam error-frame-period enable
alarm oam error-frame-period { window window | threshold threshold } *
undo alarm oam error-frame-period { window | threshold } *
View
ONU port view
Parameter
window window: Specifies the window size, in the range 0 to 4,294,967,295 (232-1) seconds. By default, the window size is 1 second.
threshold threshold: Specifies the alarm threshold, in the range 1 to 4,294,967,295 (232-1) frames. By default, the threshold is 20 frames.
Description
Use the alarm oam error-frame-period enable command to enable the error frame period alarm.
Use the undo alarm oam error-frame-period enable command to disable the error frame period alarm.
Use the alarm oam error-frame-period command to configure the corresponding window size and alarm threshold.
Use the undo alarm oam error-frame-period command to restore the default window size and alarm threshold.
The system generates an error frame period alarm when the number of error frames in a specific time period (that is, the window size) exceeds the corresponding predefined threshold.
By default, this function is enabled.
Caution:
When the alarm threshold is set to 0, large amount of alarms are generated immediately. Since alarm events are carried in the OAM packets, large amount of OAM packets are generated. In this case, OAM packets may be lost.
& Note:
The commands here take effect only for OAM 2.0 and above. And you can use them only on individual ONUs.
Example
# Enable the error frame period alarm.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] alarm oam error-frame-period enable
Syntax
alarm oam error-frame enable
undo alarm oam error-frame enable
alarm oam error-frame { window window | threshold threshold } *
undo alarm oam error-frame { window | threshold } *
View
ONU port view
Parameter
window window: Specifies the window size, in the range 0 to 4,294,967,295 (232-1) seconds. By default, the window size is 10 seconds.
threshold threshold: Specifies the alarm threshold, in the range 1 to 4,294,967,295 (232-1) frames. By default, the threshold is 20 frames.
Description
Use the alarm oam error-frame enable command to enable the error frame alarm.
Use the undo alarm oam error-frame enable command to disable the error frame alarm.
Use the alarm oam error-frame command to configure the corresponding window size and alarm threshold.
Use the undo alarm oam error-frame to restore the default window size and alarm threshold.
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.
By default, this function is enabled.
Caution:
When the alarm threshold is set to 0, large amount of alarms are generated immediately. Since alarm events are carried in the OAM packets, large amount of OAM packets are generated. In this case, OAM packets may be lost.
& Note:
The commands here take effect only for OAM 2.0 and above. And you can use them only on individual ONUs.
Example
# Enable the error frame alarm.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] alarm oam error-frame enable
Syntax
alarm oam error-frame-seconds-summary enable
undo alarm oam error-frame-seconds-summary enable
alarm oam error-frame-seconds-summary { window window | threshold threshold } *
undo alarm oam error-frame-seconds-summary { window | threshold } *
View
ONU port view
Parameter
window window: Specifies the window size, in the range 100 to 9,000 (in unit of 100 ms). By default, the window size is 600.
threshold threshold: Specifies the alarm threshold, in the range 1 to 900 (in unit of second). By default, the threshold is 1 second.
Description
Use the alarm oam error-frame-seconds-summary enable command to enable the error frame seconds summary alarm.
Use the undo alarm oam error-frame-seconds-summary enable command to disable the error frame seconds summary alarm.
Use the alarm oam error-frame-seconds-summary command to configure the corresponding window size and alarm threshold.
Use the undo alarm oam error-frame-seconds-summary to restore the default window size and alarm threshold.
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 minute) exceeds the corresponding predefined threshold.
By default, this function is enabled.
& Note:
The commands here take effect only for OAM 2.0 and above. And you can use them only on individual ONUs.
Example
# Enable the error frame seconds summary alarm.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] alarm oam error-frame-seconds-summary enable
Syntax
alarm oam-link-disconnection enable
undo alarm oam-link-disconnection enable
View
OLT port view
Parameter
None
Description
Use the alarm oam-link-disconnection enable command to enable the oam link disconnection alarm.
Use the undo alarm oam-link-disconnection enable command to disable the oam link disconnection alarm.
The system generates an oam link disconnection alarm when OAM link is disconnected.
By default, this function is enabled.
Example
# Enable the oam link disconnection alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm oam-link-disconnection enable
Syntax
alarm oam local-link-fault enable
undo alarm oam local-link-fault enable
View
OLT port view
Parameter
None
Description
Use the alarm oam local-link-fault enable command to enable the local link fault alarm.
Use the undo alarm oam local-link-fault enable command to disable the local link fault alarm.
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.
Caution:
Currently, the command is not supported.
Example
# Enable the local link fault alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm oam local-link-fault enable
Syntax
alarm oam-vendor-specific enable
undo alarm oam-vendor-specific enable
View
OLT port view
Parameter
None
Description
Use the alarm oam-vendor-specific enable command to enable the oam vendor specific alarm.
Use the undo alarm oam-vendor-specific enable command to disable the oam vendor specific alarm.
This alarm is customized by a vendor.
By default, this function is enabled.
Example
# Enable the oam vendor specific alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm oam-vendor-specific enable
alarm onu-over-limitation enable
undo alarm onu-over-limitation enable
View
OLT port view
Parameter
None
Description
Use the alarm onu-over- limitation enable command to enable ONU over limitation alarm.
Use the undo alarm onu-over- limitation enable command to disable ONU over limitation alarm.
When the total number of ONUs connected to an OLT exceeds the limit, an alarm is generated.
By default the onu over limitation alarm is enabled .
Example
# Enable the onu over limitation alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm onu-over-limitation enable
Syntax
alarm registration-error enable
undo alarm registration-error enable
View
OLT port view
Parameter
None
Description
Use the alarm registration-error enable command to enable the registration error alarm.
Use the undo alarm registration-error enable command to disable the registration error alarm.
The system generates a registration error alarm when an error occurs during the registration of an ONU.
By default, this function is enabled.
Example
# Enable the registration error alarm.
<H3C> system-view
[H3C] interface olt2/0/8
[H3C-Olt2/0/8] alarm registration-error enable
Syntax
alarm remote-stable enable
undo alarm remote-stable enable
View
OLT port view
Parameter
None
Description
Use the alarm remote-stable enable command to enable the remote stable alarm.
Use the undo alarm remote-stable enable command to disable the remote stable alarm.
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.)
The local stable alarm differs from the remote stable alarm in the following way:
l The local stable alarm is generated at the OLT side.
l The remote stable alarm is generated at the ONU side and will be reported to the OLT.
By default, this function is enabled.
Related command: alarm local-stable enable.
Example
# Enable the remote stable alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm remote-stable enable
Syntax
alarm software-error enable
undo alarm software-error enable
View
FTTH view
Parameter
None
Description
Use the alarm software-error enable command to enable the software error alarm of the system.
Use the undo alarm software-error enable command to disable the software error alarm of the system.
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.
Example
# Enable the software error alarm.
<H3C> system-view
[H3C] ftth
[H3C-ftth] alarm software-error enable
Syntax
monitor enable
undo monitor enable
View
FTTH view
Parameter
None
Description
Use the monitor enable command to enable the alarm monitor of the EPON system.
Use the undo monitor enable command to disable the alarm monitor of the EPON system.
By default, this function is enabled.
Caution:
This command should be used by users with administrative rights. It is recommended to inhibiting general users from using this command.
Example
# Enable the alarm monitor of the EPON system.
<H3C> system-view
[H3C] ftth
[H3C-ftth] monitor enable
Syntax
timer monitor seconds
undo timer monitor
View
FTTH view
Parameter
seconds: Alarm monitor period, ranging from 1 to 3600 in seconds and defaulting to 4 seconds.
Description
Use the timer monitor command to configure the alarm monitor period of the EPON system.
Use the undo timer monitor command to restore the default monitor period.
Caution:
This command should be used by users with administrative rights. It is recommended to inhibiting general users from using this command.
Example
# Configure the alarm monitor period of the EPON system to 10 seconds.
<H3C> system-view
[H3C] ftth
[H3C-ftth] timer monitor 10