mac_table
Retrieve the switch MAC address table as JSON, including entry count, and optionally filter results by port or MAC address.
Instructions
MAC address table as JSON (show mac-address-table and its count), optionally filtered by port or MAC address.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mac_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | ||
| port | No | ||
| include_raw | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |