set_port_config
Configure a Zyxel switch port's speed, duplex, enabled state, flow control, and description with dry-run preview; protected ports and link-up disables are refused.
Instructions
Configure a port (speed: auto|10M|100M|1000M, duplex: auto|half|full). Refuses protected ports and disabling any port with link Up. dry_run=true (default) previews current vs target.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"port": "<port>"
},
"name": "set_port_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| speed | No | ||
| duplex | No | ||
| dry_run | No | ||
| enabled | No | ||
| description | No | ||
| flow_control | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |