장비의 image 업그레이드 방법에는 여러가지가 있습니다. 인터넷이 불가능한 상태에서의 image 업그레이드 방법에 대한 설명입니다. 인터넷이 가능한 환경에서의 업그레이드 방법은 FTP 서버 ip, ftp 계정, filename(image 버전 업로드 이름) 준비하시어 5번 목록부터 진행하시면 되겠습니다.
업그레이드 진행시 준비사항
- 업그레이드 하고자 하는 장비 모델의 최신 image version
- FTP 서버, FTP 계정, UTP케이블, 노트북, 장비
Step 1.
PC에는 IP(G/W 세팅 및 서브넷 기입)
예) PC -> IP : 192.168.10.3/24
Step 2.
알 FTP 서버 설정
예) FTP 서버설정: 192.168.10.3
계정 : 익명 계정 로그인 X -> admin/admin과 같은 계정 생성이 필요
홈디렉토리 : image 파일 upload
Step 3.
다이렉트 케이블 장비port <-> PC 연결
Step 4.
장비세팅
conf t
interface vlan1
ip addr 192.168.10.2/24
exit
ip route 0.0.0.0/0 192.168.10.1
end
ping 192.168.10.3
ping 통신이 가능한 상태에서 upgrade 진행
ELDORA2124# ping 192.168.10.3
PING 192.168.10.3 (192.168.10.3) 56(84) bytes of data.
64 bytes from 192.168.10.3: icmp_seq=1 ttl=128 time=9.78 ms
64 bytes from 192.168.10.3: icmp_seq=2 ttl=128 time=1.28 ms
Step 5.
Image버전 확인
ELDORA2124# sh sysinfo
[ System Information ]
Model Name : ELDORA2124
S/W Version : 3.2.25
H/W Version : 0.3
Boot Loader : 5.3.2
Boot Mode : Warm boot
[ Time Information ]
System current Time : Tue Aug 27 14:18:51 2013
System Start Time : Tue Aug 27 13:42:19 2013
System Accumulation Time : 00:36:32
[ Memory Information ]
Total Size : 125700 KB
Free Size : 64464 KB
Memory usage : 48.72 %
[ Boot Images (* = Next Boot) ]
Booting Image : FIRST (Normal)
// 두번째 SECOND BANK 이미지에 업그레이드 예정이라 하면, 맨 아래 명령어 참조
<*> FIRST Image : 3.2.25 (2013-08-14, 11856 KB)
< > SECOND Image : 3.2.20 (2012-06-12, 11584 KB)
[ Flash Information ]
Configurations : 13.75 %, 640 KB Total
System Logs : 12.50 %, 640 KB Total
Total : 32768 KB, Available 1112 KB
명령어 | 모드 | 기능 |
---|---|---|
copy {ftp/tftp} image A.B.C.D username password remote-filename {first | second} | Priviliged | Ftp/Tftp를 통한 S/W Upgrade |
show sysinfo | 저장된 S/W 확인 | |
boot-image {first | second} | 부팅 후 사용할 S/W 선택 |
ELDORA2124#
ELDORA2124#
ELDORA2124#copy ftp image 192.168.10.3 dmcit dmcit ELDORA2124-SCM-3.2.25-20130813.bin second
>> UPGRADE: Starting upgrade S/W on SECOND bank !!
>> UPGRADE: Download image file ELDORA2124-SCM-3.2.25-20130813.bin
** UPGRADE completed !!!
//부트 뱅크 SECOND로 설정
ELDORA2124# boot-image second
ELDORA2124# reload
proceed with reload? (y/n) [n]: y
Step 6.
image 부팅 확인
ELDORA2124 login: root
Password:
enELDORA2124> en
ELDORA2124# sh sysinfo
[ System Information ]
Model Name : ELDORA2124
S/W Version : 3.2.25
H/W Version : 0.3
Boot Loader : 5.3.2
Boot Mode : Warm boot
[ Time Information ]
System current Time : Tue Aug 27 15:53:16 2013
System Start Time : Tue Aug 27 14:25:20 2013
System Accumulation Time : 01:27:56
[ Memory Information ]
Total Size : 125700 KB
Free Size : 64844 KB
Memory usage : 48.41 %
[ Boot Images (* = Next Boot) ]
Booting Image : SECOND (Normal)
//두번째 image에 upgrade 확인 및 부팅 확인
< > FIRST Image : 3.2.25 (2013-08-14, 11856 KB)
<*> SECOND Image : 3.2.25 (2013-08-13, 11855 KB)
[ Flash Information ]
Configurations : 13.75 %, 640 KB Total
System Logs : 13.75 %, 640 KB Total
Total : 32768 KB, Available 1104 KB
ELDORA2124#