add_dhcp_static_mapping
Create a DHCP static mapping to reserve an IP for a MAC address, applying changes immediately or staging for later batch application.
Instructions
Create a DHCP static mapping (IP reservation) for a MAC address.
Staged until apply_changes('dhcp') is called or apply=true is passed.
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": {
"interface": "<interface>",
"mac": "<mac>",
"ipaddr": "<ipaddr>"
},
"name": "add_dhcp_static_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | ||
| apply | No | ||
| descr | No | ||
| ipaddr | Yes | ||
| hostname | No | ||
| interface | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||