gram with libsmi library. # gcc mibtrap2xml. -lsmi C. Run the executable with the MIB file as input and check the converted XML output. // Example - files usually available in MIB folders // Usual folder in linux systems: /usr/share/snmp/ # mibtrap2xml SNMPv2-MIB.txt # mibtrap2xml IF-MIB.txt Application Layer d. Sample outputs Example 1: Output for SNMPv2-MIB <!-- Start of xml generated from MIB: SNMPv2-MIB --> <event> <objIdf>.1.3.6.1.6.3.1.1.5.1</objIdf> keventIdf>coldStart</eventIdf> <eventLabel>SNMPv2-MIB defined trap event: coldStart</eventLabel> <description> A coldStart trap signifies that the SNMP entity, supporting a notification originator application, is reinitializing itself and that its configuration may have been altered.</descriptor> </event> <event> <objIdf>.1.3.6.1.6.3.1.1.5.2</objIdf> <eventIdf>warmStart</eventIdf> <eventLabel>SNMPv2-MIB defined trap event: warmStart</eventLabel> <description> A warmStart trap signifies that the SNMP entity, supporting a notification originator application, is reinitializing itself such that its configuration is unaltered.</descriptor> </event> <!-- End of xml generated from MIB: SNMPv2-MIB Example 2: Output for IF-MIB <!-- Start of xml generated from MIB: IF-MIB --> <event> <objIdf>.1.3.6.1.6.3.1.1.5.3</objIdf> <eventIdf>linkDown</eventIdf> <eventLabel>IF-MIB defined trap event: linkDown</ eventLabel> <description> A linkDown trap signifies that the SNMP entity, acting in an agent role, has detected that the ifOperStatus object for one of its communication links is about to enter the down state from some other state (but not from the notPresent state) . This other state is indicated by the included value of ifOperStatus. </ descriptor> </event> Fundamentals of EMS, NMS and OSS/BSS <event> <objIdf>.1.3.6.1.6.3.1.1.5.4</objIdf: <eventIdf>linkUp</eventIdf> <eventLabel>IF-MIB defined trap event: linkUp </eventLabel> <description> A linkUp trap signifies that the SNMP entity, acting in an agent role, has detected that the ifOperStatus object for one of its communica