I can see the device type such as Switch or Router in the SMARTS gui however we would like to determine the class from the command line.
n/a
All device classes in Smarts like Router, Switch, Firewall etc fall under parent class UnitaryComputerSystem
You can use the UnitaryComputerSystem class to find the type.
The command to use is:
./dmctl -s <APM> get UnitaryComputerSystem :: <Devicename> | grep -i class
For example - here is the command to find the class type of a device named "test":
./dmctl -s INCHARGE-AM-PM get UnitaryComputerSystem :: test | grep -i class
shows these results - this is a Switch:
CIM_CreationClassName = Switch
CreationClassName = Switch
DisplayClassName = Switch