# Installing NMS MOF files in the WBEM repository

The following MOF files are found in the \nms\ctaccess\demos\snmp\wbem directory:

This file... | Is the MOF file for the...
--- | ---
nmsChassis.mof | Chassis MIB.
nmsTrunk.mof | Trunk MIB.
nmsOamDatabase.mof | OAM Database MIB.
nmsSoftRev.mof | Software Revision MIB.
nmsRtp.mof | RTP MIB that is installed with NMS Fusion.

If the namespaces are properly created, SNMP-related MOF files can be added into the CIMOM repository by completing the following steps:

Step | Action
1 | Open an MS-DOS console.
2 | Navigate to the directory \nms\ctaccess\demos\snmp\wbem.
3 | Enter the following command for each MOF file: mofcomp mof_filename where mof_filename is the name of the MOF file associated with the component to start. mofcomp responds with information similar to the following: Parsing MOF file: nmsChassis.mof MOF file has been successfully parsed Storing data in the repository... Done!
4 | To view the contents of the repository, enter: smi2smir /l Information similar to the following displays: smi2smir : Version 1.50.1085.0000 smi2smir : Modules in the SMIR : "NMS_CHASSIS"

If the repository is not correctly updated by the mofcomp utility, complete the following steps:

Step | Action
1 | Delete the entire repository by entering: smi2smir /p
2 | Add the MOF files as described in the previous procedure.
3 | Stop the WMI service by entering: net stop winmgmt
4 | Restart the WMI service by entering: net start winmgmt