User guide

Trap Parser Overview
AlliedView NMS Administration Guide (Built-in Browsers - SNMP MIB and CWMP)
11-10
11.8 Trap Parser
11.8.1 Overview
Trap Parser is a tool for creating trap parser files. The Trap Parser Editor is used to configure and parse the trap events. Since
Traps typically contain cryptic information not easily understandable to the users, trap parsers are required to translate or parse
traps into understandable information.
To view the Trap Parser Editor, click ParserEditor in the Trap Viewer window. Refer to the following figure. Use the Next
button to view the options.
FIGURE 11-6 Trap Parser Editor
Each incoming trap must have the Match Criteria to show the traps in the Trap Table.
You may enter any number of parser match criteria into a single parser file with a different parser name. The Trap Viewer looks
for a match criterion sequentially. Thus, if a match is found for a received trap, the trap is shown on the Trap Table. Once the
criterion is matched for a trap, an event is fired, which shows a trap entry in the trap table and further checking of match criteria
in the loaded parser file is skipped.
While listening to traps, only one parser file can be loaded by the Trap Viewer. A parser file can have any number of match cri-
teria to match. The Trap Viewer checks all the match criteria in a trap parser file until one is found.
The Match Criteria are:
Generic Type - Each trap has a generic type number. This number must be specified for the trap parser and only when this
matches, the trap parser be applied to a trap. The only exception is that when the generic field is left blank or filled with
negative value, the trap is allowed to be parsed. The values for generic type ranges from 0 to 6.
0 - cold start
1 - warm start