1. 將ios放在tftp server, 可以下載 3CDaemon 來使用
FreeBSD開啟tftp server
vi /etc/inetd.conf
tftp   dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot
#tftp    dgram   udp6    wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot
重啟inetd
kill -HUP <inetd_pid>
mkdir /tftpboot
並且把檔案放在 /tftpboot下

2. login switch

3. switch#archive tar /xtract tftp://tftpserver/{IOS tar格式的檔名} flash:

4. switch#dir 可以看到剛剛上傳的IOS解開後的檔案

5. switch(config)#boot system {IOS路徑/檔名}
如: boot system flash:/c2960-lanbasek9-mz.122-58.SE2/c2960-lanbasek9-mz.122-58.SE2.bin

6. reload 重開機

7. sh version 可以看到用目前哪一個IOS檔案開機

arrow
arrow
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()