Examples
The following example stores the configuration file in usbflash0:
Device#
copy nvram:startup-config usbflash0:switch-config
Device#
configure terminal
Device(config)#
boot config usbflash0:switch-config
Device(config)#
end
Device#
copy system:running-config nvram:startup-config
Loading the Configuration Commands from the Network
To use a network server to store large configurations, complete the tasks in this section:
SUMMARY STEPS
1.
enable
2.
copy system:running-config
{
ftp:
|
rcp:
|
tftp:
}
3.
configure terminal
4.
boot network
{
ftp:
[[[
//
[
username
[
:password
]
@
]
location
]
/directory
]
/filename
] |
rcp:
[[[
//
[
username@
]
location
]
/directory
]
/filename
] |
tftp:
[[[
//location
]
/directory
]
/filename
]}
5.
service config
6.
end
7.
copy system:running-config nvram:startup-config
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Saves the running configuration to an FTP, RCP, or TFTP
server.
copy system:running-config
{
ftp:
|
rcp:
|
tftp:
}
Example:
Step 2
Device# copy system:running-config ftp:
Enters global configuration mode.
configure terminal
Example:
Step 3
Device# configure terminal
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
202
Managing Configuration Files
Loading the Configuration Commands from the Network