The Model_Class attribute, when read via the CLI, will return an integer value. These integer values correspond to the names of the various Model_Class types (such as Switch, Workstation-Server etc). However, its easier to identify the Model_Class by its name rather than number value and this article shows how.
Is there a way to get a listing in Spectrum of all the values for the Model Class attribute id 0x11ee8?
Any version of Spectrum
This can be done using the Command Line Interface (CLI) “show enumerations” command.
In the following command, 0x11ee8 is the attribute ID for Model_Class:
[spectrum@spectrum vnmsh]$ ./show enumerations attr=0x11ee8
Id String Value
0x11ee8 Unknown 0
0x11ee8 Other 1
0x11ee8 Switch 2
0x11ee8 Router 3
0x11ee8 Switch-Router 4
0x11ee8 Hub 5
0x11ee8 Link 7
0x11ee8 Network 8
0x11ee8 Workstation-Server 9
0x11ee8 Container a
0x11ee8 Chassis b
0x11ee8 Pingable c
0x11ee8 MAC d
0x11ee8 SNMP e
0x11ee8 Port f
0x11ee8 User 10
0x11ee8 Application 11
0x11ee8 Component 12
0x11ee8 Landscape 13
0x11ee8 Router Application 14
0x11ee8 Switch Application 15
0x11ee8 Bridge Application 16
0x11ee8 MIB Application 17
0x11ee8 RMON Application 18
0x11ee8 UNIX 19
0x11ee8 NT 1a
0x11ee8 Firewall 1b
0x11ee8 IDS 1c
0x11ee8 Security Scanner 1d
0x11ee8 Anti Virus Application 1e
0x11ee8 PKI Systems 1f
0x11ee8 Packet Sniffer 20
0x11ee8 Syslog 21
0x11ee8 Response Time Test 22
0x11ee8 Response Time Test Host 23
0x11ee8 Transport Service 24
0x11ee8 Generic TL1 Device 25
0x11ee8 VoIP 26
0x11ee8 CMTS 27
0x11ee8 Wireless 28
0x11ee8 Cable Modem-MTA 29
0x11ee8 VPN 2a
0x11ee8 DSL 2b
0x11ee8 Multiplexor 2c
0x11ee8 SAN 2d
0x11ee8 PBX 2e
0x11ee8 User Customization 2f
0x11ee8 Printer 30
0x11ee8 Transport Device 31
0x11ee8 Service Mgt Component 32
0x11ee8 SLA Component 33
0x11ee8 Customer 34
0x11ee8 Process 35
0x11ee8 Diagnostic Data 36
0x11ee8 Diagnostic Component 37
0x11ee8 Host Configuration 38
0x11ee8 Diagnostic Script 39
0x11ee8 Power Supply 67
0x11ee8 Amplifier 68
0x11ee8 Line Monitor 69
0x11ee8 Test Point 6a
0x11ee8 Fiber Node 6b
0x11ee8 HEFiber 6c
0x11ee8 IP Phone 6d
0x11ee8 Telco 6e
0x11ee8 Load Balancer 6f
0x11ee8 Remote Operations 70
0x11ee8 File Server 71
0x11ee8 Environmental 72
0x11ee8 Automatic Teller Machine 73
0x11ee8 Content Filter 74
0x11ee8 Application Server 75
0x11ee8 IPRM 76
0x11ee8 Layer 3 Topology 77
0x11ee8 Layer 3 Path 78
0x11ee8 Unmanaged Device 79
0x11ee8 Softswitch 7a
0x11ee8 Security Appliance 7b
0x11ee8 Event Model 7c
0x11ee8 Teleconference 7d
0x11ee8 Network Optimizer 7e
0x11ee8 Service Profile 7f
0x11ee8 Wireless LAN Controller 80
0x11ee8 DAS Controller 81
NOTE: The CLI "show enumerations" command can be used to list values for any enumerated attribute in the Spectrum database.
NOTE: The values displayed are in HEX format. You can use the Windows calculator to convert the HEX value to the decimal value.
Please reference the "Command Line Interface" section to the documentation for more information on using CLI.
In the following command, 0x1000a is the attribute ID for Condition:
[spectrum@SpectroSERVER vnmsh]$ ./show enumerations attr=0x1000a
Id String Value
0x1000a Normal 0
0x1000a Minor 1
0x1000a Major 2
0x1000a Critical 3
0x1000a Maintenance 4
0x1000a Suppressed 5
0x1000a Initial 6