Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs pyATS commands on Linux hosts to inspect interfaces, routing tables, and network connections, and compare routes across fleets.
Use this skill ↓41% 73%+32 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 9 of 22 without it.
After detecting error counters on the management interface of host 'k8s-worker-05', we need to execute an interface-specific inspection targeting eth0. What command string should be passed?
Specifies ifconfig eth0 as the command payload.
3 of 3 safety checks passed
Linux hosts must be defined in the pyATS testbed with os: linux. See pyats-linux-system for the testbed YAML format.
All commands use pyats_run_linux_command:
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"<command>"}'
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"ifconfig"}'
Returns all interfaces with: IP address, netmask, broadcast, MAC address, MTU, RX/TX packets, RX/TX errors, RX/TX bytes, flags (UP/RUNNING/MULTICAST).
What to check:
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"ifconfig eth0"}'
Common interfaces to inspect:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.