nodesUpdatePort
Configure network port settings like speed, MTU, VLAN, and FEC mode for a specific node in Hyperfabric infrastructure using REST API calls.
Instructions
Update a specific port.
[SAFE OPERATION] This tool configures network fabric port settings (speed, MTU, VLAN, etc.) via REST API. It does NOT execute code or commands on the system.
To use this tool, pass the resource ID and the fields to update as arguments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fabricId | Yes | The fabric id or name. | |
| nodeId | Yes | This is a read-only field. The unique identifier of the node to which this port belongs to. | |
| portId | Yes | The port name, id or index. | |
| annotations | No | A list of name-value annotations to store user-defined data including complex data such as JSON associated with the port. | |
| breakout | No | This is a read-only field. The flag that indicates if the port is in breakout mode or not. | |
| breakoutIndex | No | This is a read-only field. The index number of the breakout in the parent port. The breakout index is not set when the port is not in breakout mode. | |
| description | No | The description is a user-defined field to store notes about the port. | |
| enabled | No | The enabled state of the port which indicates if the port is enabled or disabled. | |
| fec | No | The Forward Error Correction (FEC) mode of the port. Supported modes are "rs" and "none". The FEC must be set to "none" for 100G DR/FR/LR pluggable optics. | |
| forceCounter | No | The Force Counter can be incremented to force the port configuration to be forcefully reapplied when there are no other configuration changes such as to recover (un-shut) a port blocked by STP. | |
| id | No | This is a read-only field. The unique identifier of the port. | |
| index | No | This is a read-only field. The index number of the port on the linecard. | |
| ipv4Addresses | No | A list of up to two IPv4 host addresses with subnet mask to be configured on the port. Requires the `ROUTED_PORT` role to be configured in roles and the port to be associated with a VRF. | |
| ipv6Addresses | No | A list of up to two IPv6 host addresses with subnet mask to be configured on the port. Requires the `ROUTED_PORT` role to be configured in roles and the port to be associated with a VRF. | |
| labels | No | A list of user-defined labels that can be used for grouping and filtering ports. | |
| linecard | No | This is a read-only field. The index number of the linecard to which this port belongs to. | |
| linkDown | No | Prevent traffic from being forwarded by the port. Requires `enabled` to be set to `true` (equivalent to `Admin State` set to `Up`) and role to be one of `UNUSED_PORT`, `ROUTED_PORT` or `HOST_PORT`. | |
| maxSpeed | No | This is a read-only field. The maximum speed of the port as reported by the system (E.g. 10G). | |
| metadata | No | Metadata defines a map of attributes related to the lifecycle of the object. | |
| mtu | No | The Maximum Transmission Unit (MTU) of the port of the node. Default value is 9216 for "FABRIC_PORT" and 9100 for all other roles. The MTU value must be 9216 for "FABRIC_PORT" and between 1500 and 9100 for all other roles. | |
| name | No | The name of the port of the node. The name must have a prefix of Ethernet (E.g. Ethernet1_1) and cannot be modified. | |
| pluggable | No | The name of the model (PID) of the pluggable cable or optic expected to be used in the port. | |
| portAlias | No | The name alias of the port. | |
| roles | No | A list of roles of the port. The port roles list is mandatory, and must contain exactly one role. | |
| speed | No | The configurable speed mode of the port (E.g. 10G). The port speed cannot be set for a port in breakout mode. | |
| stp | No | The Spanning Tree Protocol (STP) interface configuration for the port. The configuration is only used when a VLAN is deployed on the port. | |
| subInfCount | No | This is a read-only field. The number of sub-interfaces configured on the port. | |
| vlanIds | No | This is a read-only field. A list of VLAN IDs deployed on the port of the node. | |
| vnis | No | This is a read-only field. A list of VNIs attached to the port of the node. | |
| vrfId | No | The unique identifier of the VRF associated with the port. The VRF identifier is required for a port with the `ROUTED_PORT` role. |