PurposeCommand or Action
Example:
• Enter your password if prompted.
Device> enable
Enters global configuration mode.configure terminal
Example:
Step 2
Device# configure terminal
Specifies the host configuration file to download
at startup, and the protocol to be used (FTP,
RCP, or TFTP):
boot host {ftp:[[[//[username [:password
]@]location ]/directory ]/filename ] |
rcp:[[[//[username@]location ]/directory
Step 3
]/filename ] | tftp:[[[//location ]/directory
]/filename ] }
• If you do not specify a host configuration
filename, the device uses its own name to
Example:
form a host configuration filename by
converting the name to all lowercase
Device(config)# boot host tftp:hostfile1
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.
service config
Example:
Step 4
Device(config)# service config
Exits global configuration mode.end
Example:
Step 5
Device(config)# end
Saves the running configuration to the startup
configuration file.
copy system:running-config
nvram:startup-config
Example:
Step 6
Device# copy system:running-config
nvram:startup-config
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
242
Managing Configuration Files
Configuring the Device to Download the Host Configuration File