How can I determine a devices class type using DMCTL in SMARTS?
search cancel

How can I determine a devices class type using DMCTL in SMARTS?

book

Article ID: 433625

calendar_today

Updated On:

Products

Network Observability VMware Smart Assurance

Issue/Introduction

 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.

Cause

n/a

Resolution

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