export_config
Save a running node's live configuration into its startup configuration to persist changes after a wipe or reopen. Use node_id=0 to export all running nodes simultaneously.
Instructions
Save a RUNNING node's live running-config into its stored startup-config (PNETLab 'Export CFG'), so changes made on the device (write mem) survive a wipe/reopen. The node must be running. Pass node_id=0 to export ALL running nodes at once. Also refreshes what get_node_config returns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | ||
| lab_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |