There are two ways to create scripts.The method you choose depends on how you want to execute the script.
If you want to create a script file to configure a switch or a switch feature, and you plan to execute that script manually, you can create a script file.
If you want to create a script that is activated automatically when a device or user connects to or disconnects from a switch port, you should create the script with the Universal Port feature. The following sections provide more information on these options.