Actions243
- Cable Actions
- Cable Termination Actions
- Connected Device Actions
- Console Port Actions
- Console Port Template Actions
- Console Server Port Actions
- Console Server Port Template Actions
- Device Actions
- Device Bay Actions
- Device Bay Template Actions
- Device Role Actions
- Device Type Actions
- Front Port Actions
- Front Port Template Actions
- Interface Actions
- Interface Template Actions
- Inventory Item Actions
- Inventory Item Role Actions
- Inventory Item Template Actions
- Location Actions
- MAC Address Actions
- Manufacturer Actions
- Module Actions
- Module Bay Actions
- Module Bay Template Actions
- Module Type Actions
- Module Type Profile Actions
- Platform Actions
- Power Feed Actions
- Power Outlet Actions
- Power Outlet Template Actions
- Power Panel Actions
- Power Port Actions
- Power Port Template Actions
- Rack Actions
- Rack Reservation Actions
- Rack Role Actions
- Rack Type Actions
- Rear Port Actions
- Rear Port Template Actions
- Region Actions
- Site Actions
- Site Group Actions
- Virtual Chassis Actions
- Virtual Device Context Actions
- Virtual Link Actions
Console Port → Update
AI-generatedOverview
This node updates a Console Port resource in the NetBox API under the DCIM domain. It is useful for network administrators who need to modify details of console ports on network devices, such as changing the port's name, device association, module, label, type, speed, connection status, description, tags, or custom fields. For example, updating the speed or label of a console port to reflect physical changes or administrative updates.
Use Case Examples
- Updating the speed of a console port to 115200 bps.
- Changing the label of a console port to 'Main Console Port'.
- Marking a console port as connected to indicate an active cable connection.
Properties
| Name | Meaning |
|---|---|
| Domain | The domain of the NetBox API to use, here it is 'dcim' for device and infrastructure management. |
| Console Port ID | The unique identifier of the console port to update. |
| Update Fields | A collection of fields to update on the console port, including name, device ID, module ID, label, type, speed, connection status, description, tags, and custom fields. |
Output
JSON
id- ID of the updated console port record.name- Name of the console port after update.device- Device ID associated with the console port.module- Module ID associated with the console port.label- Physical label of the port.type- Physical type of the port connector.speed- Port speed (baud rate).mark_connected- Indicates if the port is treated as connected.description- Description of the console port.tags- Tags associated with the console port.custom_fields- Custom fields data as JSON.
Dependencies
- NetBox API with appropriate credentials
Troubleshooting
- Common issues include providing an invalid Console Port ID, which results in a not found error from the API.
- Incorrect or missing authentication credentials can cause authorization errors.
- Invalid field values in the update collection may cause validation errors from the API.
- Network connectivity issues to the NetBox API endpoint can cause request failures.
Links
- NetBox API Documentation for Console Ports - Official documentation for managing console ports via the NetBox API.