snmp_walk
Walk an SNMP MIB subtree on a network device to get all OIDs under a specified base OID. Useful for interface tables, routing tables, and other MIB data.
Instructions
Walk an SNMP MIB subtree on a network device.
Retrieves all OIDs under the specified base OID. Useful for interface tables, routing tables, etc.
Args: device: Name of the device as defined in devices.yaml base_oid: Base OID to walk (default: IF-MIB ifTable) community: SNMPv2c community string
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": "snmp_walk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| base_oid | No | 1.3.6.1.2.1.2.2.1 | |
| community | No | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |