When you enter command into Cisco iOS it immediately becomes active in running configuration. But if you reboot your router, and haven’t saved your configuration, it’s deleted.
Here are few commands that will allow you to manipulate your configurations.