Adding a Configuration Through Configuration Mode Commands
When you use the load set command, it executes the configuration instructions line by line as they are stored in a file. The instructions can contain any configuration mode command, such as set, edit, exit, and top.
To load a configuration that contains configuration mode commands:
- Create a text file that includes set and other
configuration mode commands. For example:edit system login class name newclass permissions systemdelete system login class name newclass permissions interfaceset system login class name newclass permissions configure
- In configuration mode, use the load set command. user@host# load set newcfg2.txt