gns3_apply_config_template
Apply pre-built configuration templates to GNS3 network devices for router setup, interface configuration, routing protocols, VLANs, and other network functions.
Instructions
Apply a pre-built configuration template to a device.
Supported templates:
"basic_router": Basic router setup (hostname, domain)
"interface": Configure interface with IP
"ospf": Configure OSPF routing
"eigrp": Configure EIGRP routing
"bgp": Configure BGP routing
"static_route": Add static route
"vlan": Create VLAN
"trunk_port": Configure trunk port
"access_port": Configure access port
"dhcp_pool": Configure DHCP server
"nat_overload": Configure NAT/PAT
"ssh": Configure SSH access
Args: template_name: Name of configuration template template_params: Parameters for the template (varies by template) save_config: Save configuration after applying
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| node_id | Yes | ||
| template_name | Yes | ||
| template_params | Yes | ||
| server_url | No | http://localhost:3080 | |
| username | No | ||
| password | No | ||
| save_config | No |