Configuring the System Automatically
You can create an autoconfiguration script that runs whenever you reset the router. The following guidelines apply:
- You must name the script autocfg.scr.
- Add the commands desired to configure the system.
- For some configuration tasks, you might need to pause the CLI for about 10 seconds by adding a sleep seconds command. The exact period must be determined empirically because it depends on your configuration and the software release version.
NOTE: The autocfg.scr script is bypassed if you arm the system to load from a script (not autocfg.scr) through the boot config command or boot backup command.