configurar_dhcp
Configure a DHCP pool on a Cisco router to automatically assign IP addresses, specifying network, subnet mask, gateway, and DNS.
Instructions
Configura un pool DHCP en un router Cisco para asignar IPs automáticamente.
Ejemplo: configurar_dhcp('R1', 'LAN_VENTAS', '192.168.10.0', '255.255.255.0', '192.168.10.1') Genera: ip dhcp pool LAN_VENTAS / network ... / default-router ... / dns-server ...
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": {
"router": "<router>",
"pool_name": "<pool_name>",
"red": "<red>",
"mascara": "<mascara>",
"gateway": "<gateway>"
},
"name": "configurar_dhcp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | 8.8.8.8 | |
| red | Yes | ||
| router | Yes | ||
| gateway | Yes | ||
| mascara | Yes | ||
| pool_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |