dc device-types
Description
Get endpoint counts grouped by device type category. Shows the distribution of device types (Workstation, Phone, Printer, etc.) across your network. Broader categorization than profiler policies.
Options
This command has no options.
|
Use the global
|
Usage
# Default table output
netapi ise dc device-types
# JSON for dashboards/scripts
netapi ise dc --format json device-types
# YAML output
netapi ise dc --format yaml device-types
Sample Output
Endpoint Counts by Device Type
────────────────────────────────
Device Type Count
────────────────────────────────
Workstation 599
Phone 468
Mobile 89
Laptop 67
Printer 38
Sensor 12
Unknown 112
────────────────────────────────
Total 1,385
JSON output:
[
{"device_type": "Workstation", "count": 599},
{"device_type": "Phone", "count": 468},
{"device_type": "Mobile", "count": 89},
{"device_type": "Laptop", "count": 67}
]
Use Cases
Reporting
# JSON for reports/dashboards
netapi ise dc --format json device-types
# Calculate percentage
netapi ise dc --format json device-types | jq '
(map(.count) | add) as $total |
map({device_type, count, percent: ((.count / $total * 100) | round)})
'
Device Types vs Profiler Policies
| Level | Example | Command |
|-------|---------|---------|
| Broad category | Workstation | dc device-types |
| Specific policy | Windows10-Workstation, Linux-Workstation | dc profiler |
Device types group multiple profiler policies into categories: - Workstation: Windows10-Workstation, Linux-Workstation, macOS-Workstation - Phone: Cisco-IP-Phone, Apple-iPhone, Android-Device