boot host auto-config
Use the boot host auto-config Global Configuration mode command to enable auto configuration via DHCP. Use the no form of this command to disable DHCP auto configuration.
Syntax
boot host auto-config [tftp | scp | auto [extension]]
no boot host auto-config
Parameters
-
tftp—Only the TFTP protocol is used by auto-configuration.
-
scp—Only the SCP protocol is used by auto-configuration.
-
auto—(Default) Auto-configuration uses the TFTP or SCP protocol depending on the configuration file's extension. If this option is selected, the extension parameter may be specified or, if not, the default extension is used.
-
extension—The SCP file extension. When no value is specified, 'scp' is used. (Range: 1-16 characters)
Default Configuration
Enabled by default with the auto option.
Command Mode
Global Configuration mode
User Guidelines
The TFTP or SCP protocol is used to download/upload a configuration file.
Examples
Example 1. The following example specifies the auto mode and specifies "scon" as the SCP extension:
switchxxxxxx(config)# boot host auto-config auto scon
Example 2. The following example specifies the auto mode and does not provide an SCP extension.
In this case "scp" is used.
switchxxxxxx(config)# boot host auto-config auto
Example 3. The following example specifies that only the SCP protocol will be used:
switchxxxxxx(config)# boot host auto-config scp