In this article I will give an example of viewing and configuring logs on the Huawei SmartAX MA5683T.
You can view the history of administrator connections to the device, for example via telnet, with the command:
1 | display log security |
History of entered user commands (CLI, SNMP commands from U2000 can also be viewed):
1 2 3 4 5 | display log all display log cli display log name display log name ixnfo display log snmp all |
History of not executed entered commands:
Also Read :
Delete Ont From Huawei Olt
How to add ONT with new VLAN on Huawei MA5683T
How to add VLANs to active ONT on Huawei MA5683T
1 | display log failure |
View and change memory size for logs:
1 2 3 | display log memory log modify security memory log modify operating memory |
View a specific entry in the logs by its number:
1 | display log index |
View settings for sending logs to syslog server:
1 2 3 4 5 6 7 | display syslog display syslog output display syslog priority display syslog source display loghost list display loghost list ip display loghost list name |
Examples of adding, activating, deactivating and deleting a syslog server to which logs will be sent:
1 2 3 4 5 6 7 | 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 test |
Log level (emergency, alert, critical, error, warning, notice, informational, debug):
1 | syslog output all |
Activation and deactivation of sending alarm events to a syslog server:
1 2 | syslog enable alarm-event syslog disable alarm-event |
Synchronization of alarm events to the syslog server:
1 2 | syslog sync alarm-event syslog sync alarm-event time start 2019-05-05 12:00:00 end 2019- |