Configuring The Device To Download The Host Configuration File - Cisco Catalyst 9200 Configuration Manual

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Configuring the Device to Download the Host Configuration File

Configuring the Device to Download the Host Configuration File
To configure the Cisco IOS software to download a host configuration file from a server at startup, complete
the tasks in this section:
SUMMARY STEPS
1. enable
2. configure terminal
3. boot host {ftp:[[[//[username [:password ]@]location ]/directory ]/filename ] |
rcp:[[[//[username@]location ]/directory ]/filename ] | tftp:[[[//location ]/directory ]/filename ] }
4. service config
5. end
6. copy system:running-config nvram:startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
Step 2
configure terminal
Example:
Device# configure terminal
Step 3
boot host {ftp:[[[//[username [:password ]@]location
]/directory ]/filename ] | rcp:[[[//[username@]location
]/directory ]/filename ] | tftp:[[[//location ]/directory
]/filename ] }
Example:
Device(config)# boot host tftp:hostfile1
Step 4
service config
Example:
Device(config)# service config
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
178
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Enters global configuration mode.
Specifies the host configuration file to download at startup,
and the protocol to be used (FTP, RCP, or TFTP):
• If you do not specify a host configuration filename,
the device uses its own name to form a host
configuration filename by converting the name to all
lowercase letters, removing all domain information,
and appending "-confg." If no host name information
is available, the software uses the default host
configuration filename device-confg. If you omit the
address, the device uses the broadcast address.
• You can specify more than one host configuration file.
The Cisco IOS software tries them in order entered
until it loads one. This procedure can be useful for
keeping files with different configuration information
loaded on a network server.
Enables the system to automatically load the host file upon
restart.
Managing Configuration Files

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents