Pcornel
Networking · Automation & Programmability

AI/ML in Network Operations

Cheat sheet · https://pcornel.dk/topic.php?topic=25

Back to the Topic

Answer

AI and machine learning in network operations learn normal behaviour to detect anomalies, predict problems (capacity, failures), correlate events into root causes, and — with generative AI — answer questions, summarise incidents or draft configuration.

Remember

Predictive AI is only as good as its data and baseline. Treat an AI finding as a lead to verify with show commands and telemetry, not as proof. Generative AI can be confidently wrong: review and test any suggested configuration in a lab or with a dry run before applying it, and do not paste secrets into public AI tools.

First checks

  • curl -sk -u <user>:<pw> -H 'Accept: application/yang-data+json' https://<device>/restconf/data/ietf-interfaces:interfaces — RESTCONF read.
  • curl -i — HTTP status code and headers (200 OK, 201 Created, 204 No Content, 400, 401, 403, 404).
  • python3 -m json.tool < file.json / jq . file.json — JSON valid and readable.
  • show netconf-yang status / show platform software yang-management process — device API agents running.
  • show ip http server status — HTTPS server for RESTCONF.

Verify in this order

telemetry collected → baseline learned → anomaly or prediction raised → engineer verifies on the devices → action taken → feedback recorded

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=25

Confirmation

Confirm action

Continue?