View and configure logs on the Huawei SmartAX MA5600
View and Configure Logs on the Huawei SmartAX OLT
Last updated: September 2026
Applies to: Huawei SmartAX MA5600T, MA5608T, MA5683T, and MA5800 series OLTs.
display log security and display log all, adjust how much of it is kept with log modify <type> memory, and forward logs to a remote server by adding it with loghost add and enabling syslog enable alarm-event.Values in red are examples — replace the IP address, server name, and dates with your own.
Step 1 – View Administrator Connection History
See a history of administrator logins to the device, including Telnet connections:
display log securityStep 2 – View Command History
See every command that’s been entered on the device — CLI commands, and SNMP commands sent from a NMS like U2000:
All commands, or CLI-only:
display log all
display log cliFilter by log name (e.g. “security”, “cli”):
display log name securitySNMP commands only:
display log snmp allStep 3 – View Commands That Failed to Execute
display log failureStep 4 – View and Change Log Memory Size
Check how much memory is allocated to logs, and adjust it for security or operating logs separately:
display log memory
log modify security memory
log modify operating memoryStep 5 – View a Specific Log Entry
Look up one entry by its index number:
display log index 1Step 6 – View Syslog Server Settings
display syslog
display syslog output
display syslog priority
display syslog source
display loghost list
display loghost list ip
display loghost list nameStep 7 – Add, Activate, Deactivate, or Delete a Syslog Server
Add a syslog server with an IP address and a friendly name, then manage it by either identifier:
loghost add 192.168.2.2 test
loghost activate ip 192.168.2.2
loghost activate name test
loghost deactivate ip 192.168.2.2
loghost deactivate name test
loghost delete ip 192.168.2.2
loghost delete name testStep 8 – Set the Log Level Sent to Syslog
Available severity levels are: emergency, alert, critical, error, warning, notice, informational, and debug. To send all of them to the syslog server:
syslog output allStep 9 – Forward Alarm Events to Syslog
Enable or disable sending alarm events to the syslog server:
syslog enable alarm-event
syslog disable alarm-eventTo sync existing alarm events to the syslog server — either everything, or a specific time range:
syslog sync alarm-event
syslog sync alarm-event time start 2019-05-05 12:00:00 end 2019-05-06 12:00:00Command Reference
| Command | Purpose |
|---|---|
display log security | Admin connection/login history |
display log all / cli | Full or CLI-only command history |
display log failure | Commands that failed to execute |
display log memory | Current log memory allocation |
log modify security/operating memory | Change log memory size by type |
display log index <n> | View a specific log entry |
display syslog / syslog output / syslog priority / syslog source | View syslog forwarding settings |
loghost add <ip> <name> | Add a syslog server |
loghost activate/deactivate/delete ip|name <value> | Manage an existing syslog server |
syslog output all | Send all log severity levels to syslog |
syslog enable/disable alarm-event | Toggle alarm forwarding to syslog |
syslog sync alarm-event [time start ... end ...] | Sync existing alarms to syslog, optionally by date range |
FAQ
display log all and display log security?display log security shows administrator login/connection events specifically, while display log all shows the full command history across CLI and SNMP.If you’re troubleshooting an intermittent issue and need a longer history of commands or security events before they get overwritten, increasing memory with
log modify keeps more entries available.Use
loghost deactivate ip <ip> or loghost deactivate name <name>. This pauses forwarding while keeping the server configured, so you can reactivate it later without re-adding it.Yes — the OLT supports eight severity levels (emergency through debug).
syslog output all sends everything; check display syslog output for the exact syntax to restrict it to specific levels on your firmware.