get_ospf_neighbors
Show OSPF neighbors on Cisco IOS, IOS-XE, and Nexus to verify adjacency state, router ID, and interface. This read-only SSH command helps diagnose OSPF topology and neighbor issues.
Instructions
Show OSPF neighbors ('show ip ospf neighbor').
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": {
"device": "<device>"
},
"name": "get_ospf_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |