Galle, LK--:--5/6 sites live

AI Network Labs 02 — The 18 Tools and the Build Loop

Every tool cisco-pt-mcp exposes, grouped by job, plus the plan → build → configure → verify → inspect loop and a prompt template that keeps you in charge.

12 Sept 20263 min read#MCP#Networking#Prompting

cisco-pt-mcp exposes 18 small tools. None of them "builds a network" on its own — the AI composes them. Knowing the verbs lets you read a session like a transcript of what an engineer would have clicked.

The tool surface

GroupToolWhat it does
TopologyaddDeviceAdds a router, switch or PC to the canvas
addModuleInstalls an interface module into a device slot
addLinkConnects two devices with a cable
removeDevice, removeLinkDeletes devices or cables
renameDevice, moveDeviceRenames or repositions a device
Device controlsetPowerPowers a device on or off
configurePcIpSets IP, mask, gateway, DNS — or DHCP — on a PC
configureIosDeviceRuns IOS CLI commands on a router or switch
InspectiongetNetworkSnapshot of devices, interfaces and cables
getDeviceInfoDetailed view of one device
getCommandLogThe IOS command history Packet Tracer recorded
SimulationsetSimulationModeSwitches between realtime and simulation
getSimulationStatusSimulation state and frame count
stepSimulationSteps forward or back, or resets
sendPduAdds an ICMP ping PDU between two devices
getPduResultsReads PDU outcomes after stepping

Notice there is no "makeItWork" tool. Verification is explicit: a topology is only done when sendPdu + getPduResults say a ping crossed it.

The build loop

Every lab in this course follows the same five beats. Put them in your prompt and the AI follows them too.

Output
1. PLAN     — write the addressing table and device list (you, before prompting)
2. BUILD    — addDevice / addModule / addLink
3. CONFIGURE— configureIosDevice on routers & switches, configurePcIp on PCs
4. VERIFY   — sendPdu → stepSimulation → getPduResults
5. INSPECT  — on failure: getNetwork, getDeviceInfo, getCommandLog, then fix

A prompt template that works

ExamplePrompt
Goal: <one sentence>.
Devices: <models and names>.
Addressing: <table or rules>.
Rules:
- Show me the IOS commands before you run configureIosDevice.
- After configuring, prove reachability with sendPdu between <A> and <B>
  and report getPduResults.
- If a ping fails, use getNetwork/getDeviceInfo to find the cause before changing anything.

Three habits make the difference:

  1. Name every device. "R1", "SW-Sales" and "PC-A" are far easier to reason about than "Router0".
  2. Give the addressing, don't ask for it. Addressing is the part you are learning; let the AI do the typing.
  3. Ask for the commands first. Reviewing IOS before it runs turns every session into a revision exercise.

Reading the result

After a build, getCommandLog is your answer key. Copy it into your lab notes — it's the exact configuration the AI applied, line by line, and the closest thing to a show running-config diff you get for free.

Models occasionally use commands from the wrong platform (for example NX-OS syntax on IOS). Packet Tracer rejects them with % Invalid input detected. That's not a failure of the lab — it's a chance to explain why the command is wrong.

ExerciseKnowledge check

Which pair of tools proves a topology actually works?

Finished this one?

Progress is saved in this browser.

Guide