add_module
Install a hardware module into an empty slot on a Cisco Packet Tracer device by powering it off, inserting the module, and restarting; returns added ports. Unsaved config is lost.
Instructions
Install a module (for example HWIC-2T for serial ports) in an empty slot. The device is powered off, the module inserted and the device powered back on, exactly like real hardware, so unsaved configuration is lost. Returns the ports the module added.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | Empty slot path from `list_slots`, for example `0/1`. | |
| device | Yes | Router or switch name. | |
| module | Yes | Module model supported by the device, for example `HWIC-2T` or `NIM-2T`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| device | Yes | ||
| module | Yes | ||
| cut_links | No | ||
| ports_added | Yes | ||
| ports_removed | Yes |