pt_connect_devices
Connect two free ports on Packet Tracer devices with a straight or crossover cable to establish a network link.
Instructions
Connect two available ports using a straight/crossover cable. / 连接两个空闲端口。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cable | No | Cable type; default straight. / 线缆类型,默认直通。 | |
| port_a | Yes | First exact port name. / 端口一。 | |
| port_b | Yes | Second exact port name. / 端口二。 | |
| device_a | Yes | First device. / 设备一。 | |
| device_b | Yes | Second device. / 设备二。 |