Get device state
get_device_stateRetrieve detailed port-level state and key show outputs for a specified device in a Packet Tracer lab, enabling read-only inspection of IP, MAC, status, neighbors, and routing or VLAN data.
Instructions
Detailed state of one device: every port (IP, mask, MAC, admin and line status, neighbour), plus the key show output for its kind. Routers get 'show ip interface brief' and 'show ip route'. Switches add 'show vlan brief' and 'show interfaces trunk'. End devices get 'ipconfig /all'. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device name exactly as shown on the canvas, e.g. 'Router0' or 'PC1'. |