to be independent of the syntax and formatting requirements of multiple external interfaces since the data is stored in a consistent format and language the application does not have to be aware of the interface and language in which the data was originally generated data and access mechanisms can also be re used due to the consistency of a common data model across multiple interfaces the data in the model environment in combination with the code generation based on the defined xml schema can be used to generate a variety of external interfaces data translation 56 of data in the model environment 22 generates system documentation 64 the model environment can also generate schema and code for a network element 32 to implement a command line interface cli an xml interface providing cli capabilities a configuration database and snmp agents or subagents to support snmp access the model environment 22 can also generate application specific code to provide apis to support configuration querying and reporting events in the oam 74 referring to fig3 the main elements of a global data model are shown as described above the data is stored in a common representation using an xml vocabulary the main global data model elements include a component model 104 a command model 106 an smi model derived from snmp smi and mibs 108 and an event model 110 the component model 104 represents the physical.