Skip to content

save_configuration

Thomas Holterbach edited this page May 20, 2022 · 4 revisions

Save configuration

While doing the project, students may need to save the routers and switches configuration (e.g., to submit it). When building the mini-Internet, a script called save_configs.sh is automatically generated and aims at saving all the routers and switches configuration in a zip file. There is one save_configs.sh script for each group, which is available in the SSH proxy container of the corresponding group. Students can them download the zip file and see their configurations in their local machine.

Restore configuration

A complementary script restore_configs.sh is also available and restores a router's configuration (or all routers) from a saved configuration. Reloading a switch's configuration is not supported.

Restarting ospfd

Students may encounter the message For this router-id change to take effect, save config and restart ospfd when configuring a router. The restart_ospfd.sh script deletes and reinstalls the OSPF configuration running on a given router. Deleting and reinstalling the OSPF configuration effectively restarts ospfd and will cause the new router-id to take effect.