Parameter | Description | Value |
---|---|---|
logtime startTime |
Specifies the start time when a device logs alarms. |
The value is in the format of HH:MM:SS. The HH value ranges from 0 to 23, and the MM and SS values range from 0 to 59. |
startDate |
Specifies the start date when a device logs alarms. |
The value is in the format of YYYY/MM/DD. The YYYY value ranges from 2000 to 2099, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31. |
to endTime |
Specifies the end time when a device stops logging alarms. |
The value is in the format of HH:MM:SS YYYY/MM/DD. The HH value ranges from 0 to 23, and the MM and SS values range from 0 to 59. The YYYY value ranges from 2000 to 2099, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31. |
endDate |
Specifies the end date when a device stops logging alarms. |
The value is in the format of YYYY/MM/DD. The YYYY value ranges from 2000 to 2099, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31. |
size size |
Specifies the recent alarm logs to be displayed. |
The VRP supports 15000. If the specified number of alarm logs to be displayed exceeds the number of alarm logs currently saved by the system, information on all alarm logs in the alarm buffer is displayed. |
info |
Indicates information in an alarm buffer. The information includes the number of global alarm logs in the alarm buffer, the number of discarded alarm logs, aging time of alarm logs, limitation on the number of alarm logs, total number of existing alarm logs, and enabling status of alarm logging. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display snmp-agent notification-log info
Notification log information:
Notification Admin Status : enable
GlobalNotificationsLogged : 0
GlobalNotificationsBumped : 0
GlobalNotificationsLimit : 1000
GlobalNotificationsAgeout : 36
Total number of notification log(s): 0
Item | Description |
---|---|
Notification Admin Status | Enabling status of alarm logging:
|
Notification log information | Notification log information. |
GlobalNotificationsLogged | Number of global alarm logs. |
GlobalNotificationsBumped | Number of globally discarded alarm logs. |
GlobalNotificationsLimit | Global limitation on the number of alarm logs. |
GlobalNotificationsAgeout | Global aging time of alarm logs that global alarm logs have timed-out. |
Total number of notification log(s) | Total number of the current alarm logs. |