System Management Commands
4-25
4
copy
This command moves (upload/download) a code image or configuration file
between the switch’s flash memory and a TFTP server. When you save the system
code or configuration settings to a file on a TFTP server, that file can later be
downloaded to the switch to restore system operation. The success of the file
transfer depends on the accessibility of the TFTP server and the quality of the
network connection.
Syntax
copy
file
{
file
|
running-config
|
startup-config
|
tftp
}
copy running-config
{
file
|
startup-config
|
tftp
}
copy startup-config
{
file
|
running-config
|
tftp
}
copy tftp
{
file
|
running-config
|
startup-config
|
https-certificate |
public-key
}
•
file
- Keyword that allows you to copy to/from a file.
•
running-config
- Keyword that allows you to copy to/from the current
running configuration.
•
startup-config
- The configuration used for system initialization.
•
tftp
- Keyword that allows you to copy to/from a TFTP server.
•
https-certificate
- Copies an HTTPS certificate from an TFTP server to the
switch.
•
public-key
- Keyword that allows you to copy a SSH key from a TFTP
server. ("Secure Shell Commands" on page 4-103)
Default Setting
None
Command Mode
Privileged Exec
Command Usage
• The system prompts for data required to complete the copy command.
• The destination file name should not contain slashes (\ or /), the leading letter
of the file name should not be a period (.), and the maximum length for file
names on the TFTP server is 127 characters or 31 characters for files on the
switch. (Valid characters: A-Z, a-z, 0-9, “.”, “-”, “_”)
• Due to the size limit of the flash memory, the switch supports only two
operation code files.
• The maximum number of user-defined configuration files depends on
available memory.
• You can use “Factory_Default_Config.cfg” as the source to copy from the
factory default configuration file, but you cannot use it as the destination.
• To replace the startup configuration, you must use
startup-config
as the
destination.
Содержание 8126PL2-F
Страница 1: ...MANAGEMENT GUIDE ta TigerSwitchTM 10 100 1000 L2 Lite SMB PoE Gigabit Switch SMC8126PL2 F ...
Страница 2: ......
Страница 6: ...vi ...
Страница 22: ...Contents xxii ...
Страница 26: ...Tables xxvi ...
Страница 48: ...Initial Configuration 2 10 2 ...
Страница 117: ...User Authentication 3 69 3 Web Click Security AAA Summary Figure 3 43 AAA Accounting Summary ...
Страница 590: ...Command Line Interface 4 302 4 ...
Страница 604: ...Glossary Glossary 8 ...
Страница 612: ...Index 8 Index ...
Страница 613: ......
Страница 614: ...149100000023A R01 SMC8126PL2 F ...