View and configure logs on the Huawei SmartAX MA5600

View and configure logs on the Huawei SmartAX MA5600

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:

  • display log security

History of entered user commands (CLI, SNMP commands from U2000 can also be viewed):1

  • display log all
  • display log cli
  • display log name
  • display log name ixnfo
  • display log snmp all

History of not executed entered commands:

  • display log failure

View and change memory size for logs:

  • display log memory
  • log modify security memory
  • log modify operating memory

View a specific entry in the logs by its number:

  • display log index

View settings for sending logs to syslog server:

  • 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:

  • loghost add test
  • loghost activate ip
  • loghost activate name test
  • loghost deactivate ip
  • loghost deactivate name test
  • loghost delete ip
  • loghost delete name test

Log level (emergency, alert, critical, error, warning, notice, informational, debug):

  • syslog output all

Activation and deactivation of sending alarm events to a syslog server:

  • syslog enable alarm-event
  • syslog disable alarm-event

Synchronization of alarm events to the syslog server:

  • syslog sync alarm-event
  • syslog sync alarm-event time start 2019-05-05 12:00:00 end 2019-

Read Also :

Huawei OLT Useful Commands (Daily Need for ISP)