3-20
Description
Use the onu-event { debug | log | trap } enable level command to specify the ONU to report log,
debugging, or trap information to the OLT.
Use the undo onu-event { debug | log | trap } command to restore the default.
By default, an ONU reports no information to the OLT.
Note that: because a large number of ONUs are attached to an OLT, enabling ONUs to report
information to the OLT may generate a large amount of traffic and thus cause congestion. Therefore,
you are recommended to select the reported information types as required.
Examples
# Configure the OLT attached to ONU 3/0/1:1 to report log information with severity levels higher than
errors.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu-event log enable level ?
alerts <=ALERT level messages to OLT (severity=1)
critical <=CRIT level messages to OLT (severity=2)
debugging <=DEBUG level messages to OLT (severity=7)
emergencies <=EMERG Level Switch to OLT (severity=0)
errors <=ERR level messages to OLT (severity=3)
information <=INFO level messages to OLT (severity=6)
notifications <=NOTICE level messages to OLT (severity=5)
warnings <=WARN level messages to OLT (severity=4)
[Sysname-Onu3/0/1:1] onu-event log enable level errors
# Disable the OLT attached to ONU 3/0/3:1 from reporting log information to the ONU.
<Sysname> system-view
[Sysname] interface onu 3/0/3:1
[Sysname-Onu3/0/3:1] undo onu-event log enable
Table 3-6 onu-event log enable level command output description
Field Severity level Remarks
emergencies 0 Indicating that the system is unavailable.
alerts 1 Errors that need to be corrected immediately.
critical 2 Critical Information.
errors 3 Errors.
warnings 4 Warning Information.
notifications 5 Normal information that needs to be noticed.
information 6 Normal prompt information that needs to be recorded.
debugging 7 Debugging information.
onu port-isolate enable
Syntax
onu port-isolate enable