pt_remove_nat
Removes NAT/PAT configuration from a Cisco Packet Tracer router, including interface inside/outside marks, translations, pools, and ACLs.
Instructions
Removes the NAT/PAT configuration from a router.
Removes the ip nat inside/outside marks from the interfaces and deletes the associated translations, pool and access-list.
Parameters:
router: device name in PT
mode: "static" | "dynamic" | "pat"
inside_interface: interface marked as ip nat inside
outside_interface: interface marked as ip nat outside
acl_number: number/name of the access-list used (default "1")
pool_name: name of the NAT pool to remove (only dynamic/pat with a pool)
static_mappings: mode="static" only. List of dicts with inside_local/inside_global to generate the "no ip nat inside source static ..." commands
dry_run: if True, returns the payload without sending it
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"router": "<router>",
"mode": "<mode>",
"inside_interface": "<inside_interface>",
"outside_interface": "<outside_interface>"
},
"name": "pt_remove_nat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| router | Yes | ||
| dry_run | No | ||
| pool_name | No | ||
| acl_number | No | 1 | |
| static_mappings | No | ||
| inside_interface | Yes | ||
| outside_interface | Yes |