Send a Simple PDU (ICMP)
send_simple_pduCreate an ICMP echo PDU between two Packet Tracer devices and return its index, so you can step through simulation hops and inspect ARP events.
Instructions
Create a Simple PDU (the envelope tool: an ICMP echo) from one device to another. In Simulation mode, step_simulation then moves it hop by hop and get_simulation_events shows where it went -- including any ARP it triggers. Returns the PDU's index in the user-created PDU list.
Examples:
"Send a ping PDU from PC1 to the server and watch it"
"Show me how ARP works between PC1 and R1"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Device display name as shown in Packet Tracer (e.g. 'Router0', 'PC1') | |
| destination | Yes | Device display name as shown in Packet Tracer (e.g. 'Router0', 'PC1') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |