pt_read_nat
Reads a router's real NAT state, including translations, counters, and inside/outside interfaces, and flags NAT configurations missing either interface. Use it to verify applied NAT settings.
Instructions
Reads a router's REAL NAT state: the translation table, NAT counters (inside source lists, statics, pools) and inside/outside interfaces.
Flags a router with NAT but without both an inside and an outside interface. Use it to check a pt_apply_nat.
Parameters:
device: router name; empty = every router with NAT.
Example: pt_read_nat(device="R1")
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_nat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |