extreme switch OS 업그레이드 – scp 이용 –

SCP를 이용한 익스트림 스위치 OS 업그레이드

이전 tftp 서버를 이용한 exos 업그레이드에 이어, scp를 이용하여 익스트림 스위치 OS를 업그레이드 한다.

ssh 서버: 192.168.0.6
스위치 : 192.168.0.10
exos image file 위치: 192.168.0.6:/home/snowfox/exos/summitX-16.2.5.4-patch1-7.xos

1. ssh를 사용가능하도록 한다.

X440-24p.2 # enable ssh2
WARNING: Generating new server host key
This could take approximately 15 minutes and cannot be canceled.  Continue? (y/N) Yes
Key Generated
Save the config to retain the key after reboot of the switch or restart of the process.

2. exos 화일을 스위치로 다운로드 받는다.

X440-24p.4 # scp2 snowfox@192.168.0.6:/home/snowfox/exos/summitX-16.2.5.4-patch1-7.xos summitX-16.2.5.4-patch1-7.xos

Download  to /scratch/summitX-16.2.5.4-patch1-7.xos on switch
snowfox@192.168.0.6's password:
Connected to 192.168.0.6.
Fetching /home/snowfox/exos/summitX-16.2.5.4-patch1-7.xos to /scratch/summitX-16.2.5.4-patch1-7.xos
/home/snowfox/exos/summitX-16.2.5.4-patch1-7. 100%   64MB   1.7MB/s   00:38
Please wait validating image summitX-16.2.5.4-patch1-7.xos ,this will take approximately 30 seconds ...

3. 다운로드 받은 이미지를 설치한다.

* X440-24p.6 # install image summitX-16.2.5.4-patch1-7.xos ?
  <cr>            Execute the command
  reboot          Reboot after installation complete
  <partition>     Primary or secondary partition, or specify active or inactive for automatic determination.
    "active"  "inactive"  "primary"  "secondary"

설치할 파티션을 지정할 수 있다. 사용하지 않는 파티션에 설치하려면 inactive를 사용하면 된다.

사용하지 않는 primary 파티션에 설치하기위해 아래 명령어를 사용했다.

* X440-24p.6 # install image summitX-16.2.5.4-patch1-7.xos primary
Installing to primary partition!

Installing to Switch..................................................
Image installed successfully
This image will be used only after rebooting the switch!

4. 업그레이드한 이미지로 부팅되도록 파티션을 지정하고, 재부팅한다.

* X440-24p.8 # use image primary
* X440-24p.8 # reboot
Do you want to save configuration changes to currently selected configuration
file (primary.cfg) and reboot?
(y - save and reboot, n - reboot without save, <cr> - cancel command) Yes
Saving configuration on master .....................................
 done!

5. 부팅 이미지를 확인해 보면, 업그레이드한 이미지로 잘 부팅되었음을 볼 수 있다.

X440-24p.1 # sh switch

SysName:          X440-24p
SysLocation:
SysContact:       support@extremenetworks.com, +1 888 257 3000
System MAC:       00:04:96:9D:13:A0
System Type:      X440-24p

SysHealth check:  Enabled (Normal)
Recovery Mode:    All
System Watchdog:  Enabled

Current Time:     Fri May 31 02:29:01 2019
Timezone:         [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC.
Boot Time:        Fri May 31 02:26:08 2019
Boot Count:       5
Next Reboot:      None scheduled
System UpTime:    2 minutes 53 seconds

Current State:    OPERATIONAL
Image Selected:   primary
Image Booted:     primary
Primary ver:      16.2.5.4
                  patch1-7
Secondary ver:    16.2.2.4

Config Selected:  primary.cfg
Config Booted:    primary.cfg

primary.cfg       Created by ExtremeXOS version 16.2.2.4
                  179474 bytes saved on Fri May 31 02:25:18 2019
X440-24p.2 #

참고문서:
https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-upgrade-EXOS-using-SCP?r=1&ArticleActions.handleEditPublished=1

답글 남기기

Your email address will not be published.