pt_apply_interface_tuning
Tunes router interface settings in the active Packet Tracer topology, including bandwidth, delay, clock rate, and OSPF cost, timers, and authentication; supports dry-run validation.
Instructions
Tunes the parameters of a router interface in the active topology.
Parameters (all optional except router/interface):
router: router name in PT.
interface: interface to tune (e.g. "Serial0/0/0", "GigabitEthernet0/0").
clock_rate: ONLY on Serial interfaces (DCE end). E.g. 64000, 2000000. Applying clock_rate to a non-serial interface is a validation error.
bandwidth: bandwidth in kbps (
bandwidth N).ospf_cost / ospf_priority: per-interface OSPF knobs.
ospf_hello_interval / ospf_dead_interval: OSPF timers. They must match the neighbour's or the adjacency won't form; the IOS convention is dead = 4 x hello, and dead <= hello is rejected.
ospf_md5_key + ospf_md5_key_id: OSPF message-digest authentication (recommended). The id must match the neighbour's.
ospf_auth_key: plain-text OSPF authentication. It works, but the key travels readable across the network — a warning is emitted.
delay: interface delay (affects the EIGRP metric), in tens of microseconds.
ospf_network: "point-to-point" (only type PT accepts), for /30 links. An ASBR's default route is re-originated (PT drops it on the change).
dry_run: if True, only validates and returns the CLI/payload.
Example: authenticate OSPF with MD5 between R1 and its neighbour: pt_apply_interface_tuning(router="R1", interface="GigabitEthernet0/0", ospf_md5_key_id=1, ospf_md5_key="s3cr3t")
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>",
"interface": "<interface>"
},
"name": "pt_apply_interface_tuning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delay | No | ||
| router | Yes | ||
| dry_run | No | ||
| bandwidth | No | ||
| interface | Yes | ||
| ospf_cost | No | ||
| clock_rate | No | ||
| ospf_md5_key | No | ||
| ospf_network | No | ||
| ospf_auth_key | No | ||
| ospf_priority | No | ||
| ospf_md5_key_id | No | ||
| ospf_dead_interval | No | ||
| ospf_hello_interval | No |