lan
Configure and inspect the router's local network: IP/mask, port speed, link aggregation, flow control, IPTV VLANs, NAT and ALG, with dry runs and confirm tokens for critical changes.
Instructions
LAN side. action=status (all below + port status) | lan_ipv4 (router LAN IP/mask: CRITICAL) | lan_ipv6 | port_speed (settings={speed}) | link_aggregation (LACP: enable_agg, hashmode, lacpmode, port_settings) | flow_control (rx_enable, tx_enable) | iptv (IPTV/VLAN: enable, mode, internet/iptv/ipphone VLAN ids, IGMP, port_settings) | udp_proxy | nat (NAT and hardware NAT boost) | alg (settings={ftp, tftp, h323, rtsp, sip, pptp, l2tp, ipsec: true/false}). Firewall / ping replies: system action=firewall. No settings = read.
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": "lan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | false (default) = dry run: show the plan, diff, warnings and risk, send nothing. true = send it. | |
| action | No | status | |
| enable | No | ||
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| settings | No | fields to change (see the matching router_catalog form) | |
| confirm_token | No | Required with apply=true for CRITICAL changes: the token from the dry run (valid 5 minutes, bound to the exact plan and current router state). |