switch-list-ospf
Retrieve Layer 3 OSPF routing configuration for a network switch, including areas, timers, and authentication settings. Optionally specify a VRF or fields.
Instructions
Return layer 3 OSPF routing configuration. (read-only)
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": {
"networkId": "<networkId>"
},
"name": "switch-list-ospf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| networkId | Yes | Network ID | |
| vrf | No | The VRF to return the OSPF routing configuration for. When not provided, the default VRF is used. Included on networks with IOS XE 17.18 or | |
| fields | No | Return only these top-level fields; omit for all. Available: areas, deadTimerInSeconds, enabled, helloTimerInSeconds, md5AuthenticationEnabled, md5AuthenticationKey, v3, vrf. |