pt_read_mac_table
Reads a switch's real MAC address table per VLAN, showing MAC, port, and dynamic/static entries to identify where a device's MAC was learned.
Instructions
Reads a switch's REAL MAC address table, per VLAN: MAC, port, dynamic or static.
Parameters:
switch: switch name; empty = every switch.
vlan: VLAN number; 0 = every VLAN.
Example: where did SW1 learn PC1's MAC? pt_read_mac_table(switch="SW1")
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": "pt_read_mac_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vlan | No | ||
| switch | No |