I'm ussing modeling gateway to export some information to .dat files but I
can't do it about global collections. I created a world view to export some
devices.
I cannot attach files, here you are an example export configuration lines to an
xml file:
<ExportConfiguration
export_devices = "true"
export_containers = "false"
export_port_attributes = "true"
export_links = "false"
export_topology_layout = "false"
export_annotation = "false"
export_WA_Link_models = "false"
export_spectrum_settings = "false"
/>
<!-- ******************************************************** -->
<!-- -->
<!-- RootContainerToExport specifies the root container in -->
<!-- SPECTRUM to be exported. -->
<!-- -->
<!-- ******************************************************** -->
<RootContainerToExport model_type="Country" model_name="ESPANA"/>
<!-- ******************************************************** -->
<!-- -->
<!-- DeviceExportAttributes is a list of device attributes to -->
<!-- be exported. If the attribute ID has not been specified -->
<!-- above, "attribute_id" has to be assigned. -->
<!-- -->
<!-- ******************************************************** -->
<DeviceExportAttributes>
<name/>
<DeviceType attribute_id="0x10000"/>
<Model_Number />
<sysName attribute_id="0x10b5b" />
<Model_Class/>
<Modeltype_Name/>
<Manufacturer/>
<Description/>
<subnet_mask/>
<USER_AssetTag/>
<Criticality/>
<Disable_Trap_Events attribute_id="0x11cd0" />
<Enable_Spectrum_Management attribute_id="0x1295d" />
<Hibernate_Device attribute_id="0x12aca" />
<Enable_Event_Creation attribute_id="0x129f8" />
</DeviceExportAttributes>
<!-- ******************************************************** -->
<!-- -->
<!-- ContainerExportAttributes are the container attributes -->
<!-- to be exported. If an attribute ID has not been yet -->
<!-- specified above, "attribute_id" has to be assigned. -->
<!-- -->
<!-- ******************************************************** -->
<ContainerExportAttributes>
<name/>
<Security_String/>
<subnet_mask/>
<subnet_list/>
<Value_When_Orange/>
<Value_When_Red/>
<Value_When_Yellow/>
<SelectMP_port attribute_id="0x118e4" />
</ContainerExportAttributes>
<!-- ******************************************************** -->
<!-- -->
<!-- PortExportAttributes are the port attributes to be -->
<!-- exported. If an attribute ID has not been specified -->
<!-- above, "attribute_id" has to be assigned. -->
<!-- -->
<!-- ******************************************************** -->
<PortExportAttributes export_changed_attribute_only="true" >
<ip_address/>
<subnet_mask/>
<portSpeed attribute_id="0x12bb3" />
<ifSpeed attribute_id="0x11ee3"/>
<dlciCIR attribute_id="0xc401a1" />
<PortDescription/>
<PortType/>
<unique_id/>
</PortExportAttributes>
<SpectrumConfigurationExport model_type="VNM">
<Minimum_Disk_Space attribute_id="0x119d2" />
<Security_String/>
<Unmanaged_Trap_Handling attribute_id="0x11cce" />
<Trap_Storm_Rate attribute_id="0x122db" />
<Trap_Storm_Length attribute_id="0x122da" />
<Auto_Connects attribute_id="0x11f99"/>
<Device_Thresholds attribute_id="0x12acd" />
<Use_Full_Qualified_Host_Name attribute_id="0x12984" />
<Allow_Non_Admin_SNMP_Community_Edit attribute_id="0x12042" />
<Edit_Notes_By_Read_Only_User attribute_id="0x12043" />
<Set_isManaged_By_Read_Only_User attribute_id="0x129f3" />
<Consolidate_Users_In_Group attribute_id="0x12a1d" />
<Copy_Users_When_Copying_Group attribute_id="0x12a5e" />
<VLAN_Configuration attribute_id="0x129ad" />
<Log_When_Device_Cannot_Be_Contacted attribute_id="0x12943" />
</SpectrumConfigurationExport>
<SpectrumConfigurationExport model_type="TopologyWrkSpc">
<Create_WA_Link_Model attribute_id="0x25e0033" />
<Create_LAN_IP_Subnet_Model attribute_id="0x25e000d" />
<Create_Physical_Addresses attribute_id="0x25e000c" />
<Create_Fanout_Models attribute_id="0x25e002e" />
<Run_ATM_Discovery attribute_id="0x25e002d" />
<IP_Route_Tables attribute_id="0x25e0006" />
<Source_Addr_Tables attribute_id="0x25e0025" />
<Spanning_Tree_Tables attribute_id="0x25e0026" />
<Proprietary_Disc_Tables attribute_id="0x25e002b" />
<ARP_Tables attribute_id="0x25e003a" />
<Traffic_Resolution attribute_id="0x25e002f" />
<Unmanaged_SNMP_Disc attribute_id="0x25e0034" />
<New_Device_In_Maint_Mode attribute_id="0x25e0035" />
</SpectrumConfigurationExport>
<SpectrumConfigurationExport model_type="LostFound" >
<Automatic_Model_Destruction attribute_id="0x11de1" />
<Model_Destruction_Interval_Hours attribute_id="0x11de3" />
<Model_Destruction_Interval_Minutes attribute_id="0x11de4" />
</SpectrumConfigurationExport>
<SpectrumConfigurationExport model_type="FaultIsolation">
<ICMP_Support_Enabled attribute_id="0x11d98" />
<ICMP_Timeout attribute_id="0x11dab" />
<ICMP_TryCount attribute_id="0x11dac" />
<Lost_Device_TryCount attribute_id="0x12a0a" />
<Contact_Lost_Model_Destruction attribute_id="0x11fa8" />
<Destruction_Delay attribute_id="0x11fa9" />
<Destruction_Event_Generation attribute_id="0x11faa" />
<Router_Redundancy_Retry_Count attribute_id="0x12a09" />
<Port_Fault_Correlation attribute_id="0x129e6" />
<Unresolved_Fault_Alarm_Disposition attribute_id="0x129f4" />
<WA_Link_Fault_Isolation_Mode attribute_id="0x12adc" />
</SpectrumConfigurationExport>
<SpectrumConfigurationExport model_type="LivePipes" >
<Live_Pipe_Enabled attribute_id="0x11df9" />
<Alarm_Linked_Port attribute_id="0x11fbd" />
<Suppress_Linked_Port_Alarms attribute_id="0x11fbe" />
<Port_Always_Down_Alarm_Suppression attribute_id="0x129fb" />
</SpectrumConfigurationExport>
<SpectrumConfigurationExport model_type="AlarmMgmt" >
<Generate_Alarm_Event attribute_id="0x11f5f" />
<Add_Event_To_Alarms attribute_id="0x11f5c" />
<Use_Old_Alarm_Event attribute_id="0x11f5d" />
<Alarm_Update_by_Read_Only attribute_id="0x11f5e" />
<Alarm_Ageout_Time attribute_id="0x129ea" />
<Disable_Initial_Alarms attribute_id="0x11f5a" />
<Disable_Suppressed_Alarms attribute_id="0x11f5b" />
<Disable_Maint_Alarms attribute_id="0x11f59" />
<Alarm_Clear_By_Read_Only attribute_id="0x11fb2" />
<Ageout_Residual_Alarm_Only attribute_id="0x129ec" />
</SpectrumConfigurationExport>
<SpectrumConfigurationExport model_type="PolicyManager" >
<Policy_Distribution_Mode attribute_id="0x4ad0007" />
</SpectrumConfigurationExport>
---
To unsubscribe from spectrum, send email to [email protected] with the body:
unsubscribe spectrum [email protected]