Table 5-3 Commands for querying history events
To… Use…
Query events by event
serial number
display event history eventsn sn [ detail | list ]
Query events by event
ID
display event history eventid id [ detail | list | start-number
number ]
Query events by event
type
display event history eventtype type [ detail | list | start-number
number ]
Query events by event
class
display event history eventclass class [ detail | list | start-
number number ]
Query events by event
severity
display event history eventlevel level [ detail | list | start-
number number ]
Query events by
occurrence time
display event history eventtime start start-date start-time end end-
date end-time [ start-number number ] [ detail | list | start-
number number ]
Query events by event
parameters
display event history eventparameter { frameid/slotid/portid |
frameid/slotid | frameid | vlanif vlanif } [ detail | list ]
Query all the latest
events
display event history all [ detail | list ]
Procedure
Step 1 Perform certain operations that can generate alarms or events, such as removing and inserting a
board.
Step 2 Run the display alarm history command to query the history alarms.
Step 3 Run the display event history command to query the history events.
----End
Result
After the operations are performed, the corresponding alarms or events are generated.
5.2 Checking the Log
This topic describes how to check the log through the commissioning terminal. When the device
is faulty, you can locate the problem by querying the log.
Procedure
Step 1 You can perform some simple operations, such as adding an operation user, on the device through
the command lines.
UA5000 Universal Access Unit Product
Commissioning Guide-PVM CLI 5 Maintenance and Management Commissioning
Issue 04 (2012-06-25) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
112