소개
이 문서에서는 RP(Route Processor) 버전 2(ASR1000-RP2)를 사용하는 Cisco 1000 Series ASR(Aggregation Services Router)용 ROM Monitor(ROMMON), CPLD(Complex Programmable Logic Device) 및 FPGA(Field-Gate Array)의 일반적인 문제를 방지하기 위한 업그레이드 프로세스에 대해 설명합니다.
기고자: Francisco Javier Ortiz Bonilla, David Spindola, Michal Stanczyk, Cisco TAC 엔지니어.
사전 요구 사항
요구 사항
다음 주제에 대한 지식을 보유하고 있으면 유용합니다.
- IOS-XE
- ASR1k
- 롬몬
- CPLD
- FPGA
사용되는 구성 요소
이 문서의 정보는 하드웨어 및 소프트웨어 버전을 기반으로 합니다.
- ASR1006-X:IOS-XE 16.3.7, ROMMON 16.3(2r)
- ASR1000-RP2:CPLD 14111801, FPGA 15010901
이 문서의 정보는 특정 랩 환경의 디바이스를 토대로 작성되었습니다.이 문서에 사용된 모든 디바이스는 초기화된(기본) 컨피그레이션으로 시작되었습니다.네트워크가 작동 중인 경우 모든 명령의 잠재적인 영향을 이해해야 합니다.
CPLD와 FPGA의 차이
FPGA와 CPLD는 두 가지 유형의 디지털 로직 칩입니다.ASR1k ESP(Embedded Services Processor), RP 및 라인 카드에 설치된 다양한 하드웨어 모듈입니다.
CPLD 및 FPGA 버전 식별
현재 CPLD 및 FPGA 버전을 표시하려면 show hw-programmable all 명령을 사용합니다.
Router# show hw-programmable all
Hw-programmable versions
Slot CPLD version FPGA version
--------------------------------------------------------
R0 10021901 08112501
F0 08041102 N/A
0 00020008 N/A
참고:하드웨어 모듈에 FPGA 구성 요소가 없는 경우 FPGA 버전이 N/A로 표시됩니다.
패키지에 포함된 CPLD 및 FPGA 버전
CPLD 또는 FPGA 버전을 업그레이드하려면 Cisco Software Download(Cisco 소프트웨어 다운로드) 페이지에서 사용할 수 있는 하드웨어 프로그래밍 가능 패키지를 사용합니다.각 패키지에는 각 하드웨어 구성 요소에 대한 CPLD 및 FPGA 펌웨어가 들어 있습니다.
show upgrade hw-programmable file 명령을 사용하여 정보를 표시합니다.
Router# show upgrade hw-programmable file bootflash:asr1000-hw-programmables.16.08.01.SPA.pkg
List of card type, hw-programmable device and version in this package:
No. Card Type hw-programmable device Version
--------------------------------------------------------------
0 ASR1000-SIP10 CPLD 09111601
1 Ethernet-LineCard CPLD 15072100
3 Ethernet-LineCard MBFPGA 00010024
4 ASR1000-ESP200 CPLD 13041200
5 ASR1000-ESP100 CPLD 12071700
20 ASR1000-RP2 CPLD 14111801
21 ASR1000-RP2 FPGA 17071402
22 ASR1000-RP3 CPLD 17042115
참고:ASR1000-RP2 구성 요소의 각 CPLD 및 FPGA에 대해 서로 다른 버전을 확인합니다.
주의:ASR1k는 Cisco Secure Boot Hardware Fanitioning Vulnerability에 취약합니다.버그 CSCvn77246.
일반적인 문제
버전 3.x를 16.x로 업그레이드
IOS-XE 버전 3.x에는 특정 기능 집합(Advanced Enterprise, Advanced IP Services 등)에 대한 전용 릴리스가 있으며, IOS-XE 16.x 버전은 범용 이미지입니다. 특정 기능 집합을 활성화하려면 해당 기능 집합을 설치하거나 해당 라이센스를 요청해야 합니다.
3.x에서 16.x로의 업그레이드가 완료되는 경우 이러한 차이로 인해 시스템이 부팅되고 EULA(End User License Agreement)에 동의하고 기능 세트를 선택하라는 메시지가 표시됩니다.그런 다음 추가 다시 로드가 필요합니다.
**************************************************************************
YOU HAVE CHOSEN TO BOOT WITH adventerprise GLOBAL EULA* FOLLOWS NEXT
**************************************************************************
*http://www.cisco.com/c/en/us/td/docs/routers/asr1000/configuration/guide/chassis/asrswcfg/csa_rtu.html#pgfId-1059908
PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR LICENSE KEY PROVIDED FOR ANY CISCO PRODUCT FEATURE OR USING SUCH PRODUCT FEATURE CONSTITUTES YOUR FULL ACCEPTANCE OF THE FOLLOWING TERMS. YOU MUST NOT PROCEED FURTHER IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE TERMS SET FORTH HEREIN.
Use of this product feature requires an additional license from Cisco, together with an additional payment. You may use this product feature on an evaluation basis, without payment to Cisco, for 60 days. Your use of the product, including during the 60 day evaluation period, is subject to the Cisco end user license agreement http://www.cisco.com/en/US/docs/general/warranty/English/EU1KEN_.html
If you use the product feature beyond the 60 day evaluation period, you must submit the appropriate payment to Cisco for the license. After the 60 day evaluation period, your use of the product feature will be governed solely by the Cisco end user license agreement (link above), together with any supplements relating to such product feature. The above applies even if the evaluation license is not automatically terminated and you do not receive any notice of the expiration of the evaluation period. It is your responsibility to determine when the evaluation period is complete and you are required to make payment to Cisco for your use of the product feature beyond the evaluation period.
Your acceptance of this agreement for the software features on one product shall be deemed your acceptance with respect to all such software on all Cisco products you purchase which includes the same software. (The foregoing notwithstanding, you must purchase a license for each software feature you use past the 60 days evaluation period, so that if you enable a software feature on 1000 devices, you must purchase 1000 licenses for use past the 60 day evaluation period.)
Activation of the software command line interface will be evidence of your acceptance of this agreement.
ACCEPT? (yes/[no]):
솔루션
이전 이미지를 두 번째 부팅 이미지로 추가합니다.
1단계.
이전 boot 문을 제거합니다.
Router(config)# no boot system bootflash:asr1000rp2-adventerprise.03.xxx.bin
2단계.
16.x 버전을 첫 번째 부팅 이미지로 구성합니다.
Router(config)# boot system bootflash:asr1000rpx86-universalk9.16.xxx.SPA.bin
3단계.
이전에 제거한 3.x 이미지를 두 번째 부팅 이미지로 추가합니다.
Router(config)# boot system bootflash:asr1000rp2-adventerprise.03.xxx.bin
4단계.
16.x 이미지로 부팅한 후 두 번째 boot 문을 컨피그레이션에서 제거해야 합니다.
Router(config)# no boot system bootflash:asr1000rp2-adventerprise.03.xxx.bin
이 절차에서는 이전 이미지를 기반으로 라이센스를 활성화하고 필요한 추가 다시 로드를 방지합니다.
팁:이러한 단계는 IOS-XE Denali Migration Guide에서 설명합니다.
IOS-XE 이미지가 1GB 크기를 초과합니다.
ROMMON 또는 FPGA 버전이 1GB 크기 이미지를 지원하지 않을 때 IOS-XE 업그레이드를 시도하면 디바이스가 부팅 루프에 머물러 "Failed to allocate enough space for the ISO image!" 오류 메시지가 표시됩니다. 트리거:
Boot image size = 1059962220 (0x3f2dbd6c) bytes
Package header rev 1 structure detected
Calculating SHA-1 hash...done
validate_package_cs: SHA-1 hash:
calculated e6c84580:6a3f70e9:45e348ff:50e3fb50:998bc7e3
expected e6c84580:6a3f70e9:45e348ff:50e3fb50:998bc7e3
Validating main package signatures
RSA Signed RELEASE Image Signature Verification Successful.
Failed to Free memory block at address 0x0000000000000000
Failed to allocate enough space for the ISO image !
솔루션
ROMMON 및 FPGA 버전을 업그레이드합니다.
16.9(5r)보다 오래된 ROMMON 버전 또는 17071402보다 오래된 FPGA 버전은 1GB를 초과하는 IOS-XE 이미지를 부팅할 수 없습니다.
참고:버그 CSCvm90995.
현재 IOS-XE 버전이 16.x인 경우의 세부 단계
1단계.
ROMMON을 16.9(5r) 이상으로 업그레이드합니다.
Router# upgrade rom-monitor filename bootflash:asr1000-rommon.169_5r_SPA.pkg all
팁:사용 가능한 ROMMON 버전 및 Cisco ASR 1000 Series Aggregation Services Routers ROMmon 업그레이드 가이드입니다.이중화가 활성화된 경우 모든 RP에서 ROMMON 버전 16.9(5r) 이상이 필요합니다.
2단계.
FPGA를 17071402 이상으로 업그레이드합니다.
Router# upgrade hw-programmable fpga filename harddisk: asr1000rpx86-hw-programmables.16.08.01.SPA.pkg r0
참고:이중화가 활성화된 경우 모든 수퍼바이저를 업그레이드해야 합니다.
3단계.
ROMMON 및 FPGA 업그레이드가 완료되면 IOS-XE 16.10 이상으로 업그레이드할 수 있습니다.
참고:CPLD 버전 19022811을 19060309로 업그레이드하려면 IOS-XE 버전 17.2.1 및 16.12(9r) ROMMON 이미지가 필요합니다.
현재 IOS-XE 버전이 3.x인 경우의 자세한 단계
주의:현재 IOS-XE 버전이 3.x인 경우 FPGA 업그레이드가 완료되지 않습니다.
IOS-XE 버전을 사용하여 FPGA/CPLD를 업그레이드하려고 하면 3.x 오류가 발생합니다.
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
Attempt to unmount something that is not a package
Removal of hw-programmable package mount point failed
따라서 중간 버전으로 IOS-XE를 업그레이드해야 합니다.
1단계.
ROMMON을 16.9(5r) 이상으로 업그레이드합니다.
Router# upgrade rom-monitor filename bootflash:asr1000-rommon.169_5r_SPA.pkg all
팁:사용 가능한 ROMMON 버전 및 Cisco ASR 1000 Series Aggregation Services Routers ROMmon 업그레이드 가이드입니다.이중화가 활성화된 경우 모든 RP에서 ROMMON 버전 16.9(5r) 이상이 필요합니다.
2단계.
IOS-XE 버전을 현재 3.x에서 중간 16.x(16.10.1 이전)로 업그레이드합니다. 자세한 단계는 버전 3.x를 16.x로 업그레이드 섹션으로 이동하십시오.
합리적인 중간 버전은 최신 16.9.x 재구축입니다.
3단계.
FPGA를 17071402 이상으로 업그레이드합니다.
Router# upgrade hw-programmable fpga filename harddisk: asr1000rpx86-hw-programmables.16.08.01.SPA.pkg r0
4단계.
ROMMON 및 FPGA 업그레이드를 완료한 후 IOS-XE 16.10 이상으로 업그레이드할 수 있습니다.
참고: CPLD 버전 19022811을 19060309로 업그레이드하려면 IOS-XE 버전 17.2.1 및 16.12(9r) ROMMON 이미지가 필요합니다.
모듈에서 ROMMON 업그레이드 실패
모듈 ROMMON 버전이 업그레이드되면 다음 오류 메시지가 트리거됩니다.
- "rsync 오류:일부 파일/속성이 전송되지 않았습니다."
- "지원되지 않는 패키지입니다.업그레이드를 진행할 수 없음"
참고:버그 CSCvj93306.
Router# upgrade rom-monitor filename bootflash:asr1000-rommon.1612-8r.pkg 0
Platform is ASR. Verifying the code signature of the ROMMON package...
Upgrade rom-monitor on SPA-Inter-Processor 0
Target copying rom-monitor image file
rsync: change_dir "/rommon/mcp/CC/40G" (in rommon_upgrade_pub) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /nobackup/nosbuild/cge7_jenkins/workspace/SDK_Build/build-single-sdk_2/tmp.k0pfD5HpjZ/tmp/work/powerpc-nf-iosxe-linux/rsync/3.0.9-r0/rsync-3.0.9/main.c(1518) [Receiver=3.0.9]
umount: /tmp/rommon_upgrade_pub: target is busy.
Upgrade rom-monitor on SPA-Inter-Processor 0
Target copying rom-monitor image file
Unsupported package. Upgrade cannot proceed
솔루션
모든 ROMMON 버전이 모든 모듈과 호환되지 않는 것은 아닙니다. 올바른 버전을 선택하려면 ROMMON Compatibility Matrix를 참조하십시오.
참고:show platform 명령의 출력에 서로 다른 ROMMON 버전이 표시되어야 합니다.