copy
Syntax
copy {primary | secondary} [vrf ]
描述
Downloads and installs a firmware image from a TFTP or SFTP server.Command context
Manager (#
)
Parameters
-
-
downlo指定的URLad the firmware using SFTP or TFTP. For information on how to format the remote URL, seeURL formatting for copy commands.
-
{primary | secondary}
-
Selects the primary or secondary image profile for receiving the downloaded firmware. Required.
-
vrf
- Specifies the name of a VRF. Default: default.
Authority
Administrators or local user group members with execution rights for this command.
Examples
TFTP download:
switch#copy tftp://192.10.12.0/ss.10.00.0002.swi primaryThe primary image will be deleted. Continue (y/n)?y######################################################################### 100.0% Verifying and writing system firmware...
SFTP download:
switch#copy sftp://swuser@192.10.12.0/ss.10.00.0002.swi primaryThe primary image will be deleted. Continue (y/n)?yThe authenticity of host '192.10.12.0 (192.10.12.0)' can't be established. ECDSA key fingerprint is SHA256:L64khLwlyLgXlARKRMiwcAAK8oRaQ8C0oWP+PkGBXHY. Are you sure you want to continue connecting (yes/no)?yesWarning: Permanently added '192.10.12.0' (ECDSA) to the list of known hosts. swuser@192.10.12.0's password: Connected to 192.10.12.0. Fetching /users/swuser/ss.10.00.0002.swi to ss.10.00.0002.swi.dnld /users/swuser/ss.10.00.0002.swi 100% 179MB 25.6MB/s 00:07 Verifying and writing system firmware...