#show archive
The maximum archive configurations allowed is 3.
There are currently 1 archive configurations saved.
The next archive file will be named flash:/archive/RT-<timestamp>-1
Archive # Name
1 flash:/archive/RT-Nov-14-11-19-00.602-0 <- Most Recent
2
3
#dir flash:/archive/
Directory of sdflash:/archive/
383 -rw- 5580 Nov 14 2023 20:19:00 +09:00 RT-Nov-14-11-19-00.602-0
1959055360 bytes total (1827606528 bytes free)
#show archive config differences flash:/archive/RT-Oct-12-20-51-24.554-1
<出力内容省略>
#configure replace flash:/archive/RT-Oct-12-20-51-24.554-1 [force]
This will apply all necessary additions and deletions
to replace the current running configuration with the
contents of the specified configuration file, which is
assumed to be a complete configuration, not a partial
configuration. Enter Y if you are sure you want to proceed. ? [no]: yes <--Enter "yes"
Total number of passes: 1
Rollback Done
空き容量がある場合は、こちらから作業を進めます。 Windows で PowerShell を起動します。
以下の通りに実行すると、Key Exchange Algorithm が対応していないため接続ができないことがあります。3
> scp <新しいIOSイメージファイル.bin> <UserName>@<IPアドレス>:/<新しいIOSイメージファイル.bin>
Unable to negotiate with <IPアドレス> port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
lost connection
> scp -o KexAlgorithms=+diffie-hellman-group-exchange-sha1 -o StrictHostKeyChecking=no <新しいIOSイメージファイル.bin> <UserName>@<IPアドレス>:/<新しいIOSイメージファイル.bin>
Warning: Permanently added '<IPアドレス>' (RSA) to the list of known hosts.
(<UserName>@<IPアドレス>) Password: <--privilege が15のユーザのパスワードを入力
<新しいIOSイメージファイル.bin> 100% 56MB 334.1KB/s 02:52
Connection to <IPアドレス> closed by remote host.