pt_plan_topology
Builds a complete Packet Tracer network topology plan from templates and parameters, defining routers, PCs, switches, VLANs, DHCP, routing, dual-stack IPv6, and WAN links.
Instructions
Generates a complete network topology plan for Packet Tracer.
Parameters:
routers: Number of routers (1-20)
pcs_per_lan: PCs per LAN
laptops_per_lan: Laptops per LAN (Laptop-PT)
switches_per_router: Switches per router (0-4)
servers: Number of servers
access_points: Number of Access Points (AccessPoint-PT), one per LAN
has_wan: Include a WAN connection (Cloud)
dhcp: Configure DHCP automatically
routing: Routing protocol (static, ospf, eigrp, rip, none)
router_model: Router model (1941, 2901, 2911, ISR4321; 2811 for CME voice)
switch_model: Switch model (2960-24TT, 3560-24PS)
template: Template (single_lan, multi_lan, multi_lan_wan, star, hub_spoke, branch_office, router_on_a_stick, three_router_triangle, custom)
floating_routes: If True with routing=static, adds backup routes with AD=254 over alternative paths (needs a topology with multiple paths)
ospf_process_id: OSPF process ID (1-65535, default 1)
eigrp_as: EIGRP AS number (1-65535, default 100)
vlans: router_on_a_stick template only. Number of VLANs to spread across the PCs (0 = default 2).
dual_stack: If True, adds IPv6 addressing (routers via CLI, hosts via SLAAC).
ipv6_base: Base IPv6 prefix for dual-stack (default "2001:db8::/32").
wireless_laptops: If True, laptops connect over WiFi (wireless NIC + an AP auto-associated per LAN) instead of a cable.
Returns the full plan JSON.
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_plan_topology"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dhcp | No | ||
| vlans | No | ||
| has_wan | No | ||
| routers | No | ||
| routing | No | static | |
| servers | No | ||
| eigrp_as | No | ||
| template | No | multi_lan | |
| ipv6_base | No | 2001:db8::/32 | |
| dual_stack | No | ||
| pcs_per_lan | No | ||
| router_model | No | 2911 | |
| switch_model | No | 2960-24TT | |
| access_points | No | ||
| floating_routes | No | ||
| laptops_per_lan | No | ||
| ospf_process_id | No | ||
| wireless_laptops | No | ||
| switches_per_router | No |