bridge_hosts
Identifies which physical bridge port a MAC address is learned on, helping locate the Ethernet port a connected device uses before applying PoE actions.
Instructions
List /interface/bridge/host entries: mac-address, on-interface (the physical bridge port), bridge, dynamic, local.
Use this to find which physical port of a bridge a given MAC is
currently learned on - e.g. to identify which PoE-capable ethernet
port a locked-up device is plugged into, before using poe_status/
set_poe_out on it (see "Physical layer & PoE control" in the
README).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |