configurar_ospf
Configure OSPF routing on a Cisco router by specifying networks in wildcard format, process ID, and optional router ID. Enables dynamic routing protocol setup in Packet Tracer topologies.
Instructions
Configura OSPF en un router Cisco.
redes: lista de redes en formato 'RED WILDCARD AREA', ej: ['192.168.1.0 0.0.0.255 0', '10.0.0.0 0.255.255.255 0']
router_id: opcional, ej: '1.1.1.1'
Ejemplo: configurar_ospf('R1', 1, ['192.168.1.0 0.0.0.255 0', '192.168.2.0 0.0.0.255 0'], '1.1.1.1')
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>",
"process_id": "<process_id>",
"redes": "<redes>"
},
"name": "configurar_ospf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redes | Yes | ||
| router | Yes | ||
| router_id | No | ||
| process_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |