ASR9000 Software install guide
cXR upgrade
Reload router then Ctrl+C enter into rommon, or modify resister:
#admin config-register 0x0
#admin reload location all
Turboboot (USB or TFTP)
1
Boot from USB:2
rommon 16 > unset BOOT 3
rommon 17 > sync 4
rommon 18 > set 5
PS1=rommon ! > 6
?=07
TURBOBOOT=on,disk0,format8
rommon 19 > 9
rommon 19 > 10
rommon 19 > boot usb:asr9k-mini-px.vm-6.2.3 11
Beginning Media boot:12
**** check image validation ****13
.......BIOS CODE SIGN ENTRY ...14
15
Image ASR9K-Tomahawk verified successfully16
boot_disk2 - Launching image.17
1
Boot from tftp:2
3
rommon1>IP_ADDRESS=10.75.49.454
rommon2>IP_SUBNET_MASK=255.255.255.05
rommon3>TFTP_SERVER=10.75.49.2546
rommon4>DEFAULT_GATWAY=10.75.49.17
rommon5>TFTP_RETRY_COUNT=48
rommon6>TFTP_TIMEOUT=609
rommon7>TFTP_CHECKSUM=110
rommon8>priv11
rommon9>diswd12
rommon10>unset BOOT13
rommon11>TURBOBOOT=on,disk0,format14
rommon12>sync15
rommon13>boot tftp://10.75.49.254/asr9k-mini-px.vm-6.2.316
Install add
1
RP/0/RP0/CPU0:CORE5-CRS16-A#2
RP/0/RP0/CPU0:CORE5-CRS16-A#admin install add tar tftp://10.75.49.240/CRS-iosxr-px-k9-6.2.25.tar synchronous <<< 3
Mon Oct 24 20:29:32.205 GMT4
Install operation 37 '(admin) install add tar /tftp://10.75.49.240/CRS-iosxr-px-k9-6.2.25.tar synchronous' started by user 'cisco' via5
CLI at 20:29:32 GMT Mon Oct 24 1988.6
Info: The following files were extracted from the tar file '/tftp://10.75.49.240/CRS-iosxr-px-k9-6.2.25.tar' and will be added to the7
Info: entire router:8
Info: 9
Info: hfr-asr9000v-nV-px.pie-6.2.2510
Info: hfr-diags-px.pie-6.2.2511
Info: hfr-doc-px.pie-6.2.2512
Info: hfr-fpd-px.pie-6.2.2513
Info: hfr-k9sec-px.pie-6.2.2514
Info: hfr-li-px.pie-6.2.2515
Info: hfr-mcast-px.pie-6.2.2516
Info: hfr-mgbl-px.pie-6.2.2517
Info: hfr-mini-px.pie-6.2.2518
Info: hfr-mpls-px.pie-6.2.2519
Info: hfr-services-px.pie-6.2.2520
Info: hfr-video-px.pie-6.2.2521
Info: README-CRS-iosxr-px-6.2.25.txt (skipped - not a pie)22
Info: README-CRS-iosxr-px-k9-6.2.25.txt (skipped - not a pie)23
Info: 24
Info: The following packages are now available to be activated:25
Info: 26
Info: disk0:hfr-asr9000v-nV-px-6.2.2527
Info: disk0:hfr-diags-px-6.2.2528
Info: disk0:hfr-doc-px-6.2.2529
Info: disk0:hfr-fpd-px-6.2.2530
Info: disk0:hfr-k9sec-px-6.2.2531
Info: disk0:hfr-li-px-6.2.2532
Info: disk0:hfr-mcast-px-6.2.2533
Info: disk0:hfr-mgbl-px-6.2.2534
Info: disk0:hfr-mini-px-6.2.2535
Info: disk0:hfr-mpls-px-6.2.2536
Info: disk0:hfr-services-px-6.2.2537
Info: disk0:hfr-video-px-6.2.2538
Info: 39
Info: The packages can be activated across the entire router.40
Info: 41
Install operation 37 completed successfully at 21:11:52 GMT Mon Oct 24 1988.42
RP/0/RP0/CPU0:CORE5-CRS16-A#admin install activate id 37 synchronous <<< install active43
Mon Oct 24 21:12:09.085 GMT44
Install operation 38 '(admin) install activate id 37 synchronous' started by user 'cisco' via CLI at 21:12:09 GMT Mon Oct 24 1988.45
Info: This operation will activate the following packages:46
Info: disk0:hfr-video-px-6.2.2547
Info: disk0:hfr-services-px-6.2.2548
Info: disk0:hfr-mpls-px-6.2.2549
Info: disk0:hfr-mini-px-6.2.2550
Info: disk0:hfr-mgbl-px-6.2.2551
Info: disk0:hfr-mcast-px-6.2.2552
Info: disk0:hfr-li-px-6.2.2553
Info: disk0:hfr-k9sec-px-6.2.2554
Info: disk0:hfr-fpd-px-6.2.2555
Info: disk0:hfr-doc-px-6.2.2556
Info: disk0:hfr-diags-px-6.2.2557
Info: disk0:hfr-asr9000v-nV-px-6.2.2558
Info: This operation will reload the following nodes in parallel:59
Info: 0/0/CPU0 (LC) (SDR: Owner)60
Info: 0/1/CPU0 (LC) (SDR: Owner)61
Info: 0/6/SP (MSC-DRP-SP) (Admin Resource)62
Info: 0/6/CPU0 (LC) (SDR: Owner)63
Info: 0/RP0/CPU0 (CRS16-RP-x86) (SDR: Owner)64
Info: 0/FC0/SP (Other-SP-B) (Admin Resource)65
Info: 0/FC1/SP (Other-SP-B) (Admin Resource)66
Info: 0/AM0/SP (Other-SP-B) (Admin Resource)67
Info: 0/AM1/SP (Other-SP-B) (Admin Resource)68
Info: 0/SM0/SP (400G-Fabric-SP-C) (Admin Resource)69
Info: 0/SM1/SP (400G-Fabric-SP-C) (Admin Resource)70
Info: 0/SM2/SP (400G-Fabric-SP-C) (Admin Resource)71
Info: 0/SM3/SP (400G-Fabric-SP-C) (Admin Resource)72
Proceed with this install operation (y/n)? [y]73
Info: Install Method: Parallel Reload74
Install operation 38: load phase started at 21:19:00 GMT Mon Oct 24 1988.75
Info: The changes made to software configurations will not be persistent across system reloads. Use the command '(admin) install commit' to make changes76
Info: persistent.77
Info: Please verify that the system is consistent following the software change using the following commands:78
Info: show system verify79
Info: install verify packages80
Install operation 38 completed successfully at 21:19:51 GMT Mon Oct 24 1988. 81
RP/0/RP0/CPU0:CORE5-CRS16-A#82
RP/0/RP0/CPU0:CORE5-CRS16-A#83
User Access Verification84
85
Username: cisco86
Password: 87
88
89
RP/0/RP0/CPU0:CORE5-CRS16-A#admin install commit 90
Wed Oct 24 21:37:42.608 GMT91
Install operation 39 '(admin) install commit' started by user 'cisco' via CLI at 21:37:42 GMT Wed Oct 24 2018.92
Install operation 39 completed successfully at 21:37:49 GMT Wed Oct 24 2018.93
RP/0/RP0/CPU0:CORE5-CRS16-A#94
PXE migration to eXR
1
Booting IOS-XR 64 bit Mgmt Network boot using local settings (iPXE) - Press Ctrl-c to stop2
o3
Please select the operating system and the boot device:4
1) IOS-XR (32 bit Classic XR)5
2) IOS-XR 64 bit Boot previously installed image6
3) IOS-XR 64 bit Mgmt Network boot using DHCP server7
4) IOS-XR 64 bit Mgmt Network boot using local settings (iPXE)8
5) IOS-XR 64 bit Internal network boot from RSP/RP9
6) IOS-XR 64 bit Local boot using embedded USB media10
7) IOS-XR 64 bit Local boot using front panel USB media11
Selection [1/2/3/4/5/6/7]: 4Selected IOS-XR 64 bit Mgmt Network boot using local settings (iPXE), Continue ? Y/N: y12
13
Press Ctrl-B for the iPXE command line...14
15
iPXE> set net0/ip 10.75.49.716
iPXE> set net0/netmask 255.255.255.017
iPXE> set net0/gateway 10.75.49.118
iPXE> ifopen net019
iPXE> 20
iPXE> ping 10.75.49.121
0 bytes from <none>: seq=1: Connection timed out (http://ipxe.org/4c1b2092)22
64 bytes from 10.75.49.1: seq=223
64 bytes from 10.75.49.1: seq=324
Finished: Operation canceled (http://ipxe.org/0b072095)25
iPXE> 26
iPXE> ifstat 27
iPXE> 28
iPXE> boot tftp://10.75.49.254/IOX642/asr9k-mini-x64-6.4.2.iso29
cXR to eXR migration by use eUSB
1
RP/0/RP0/CPU0:ios#copy tftp:/IOX642/asr9k-mini-x64-migrate_to_eXR.tar-6.4.2 harddisk: 2
Wed Feb 20 03:10:00.386 UTC3
Address or name of remote host [10.75.49.254]?4
Destination filename [/harddisk:/asr9k-mini-x64-migrate_to_eXR.tar-6.4.2]?5
RP/0/RP0/CPU0:ios#run /pkg/bin/migrate_to_eXR -m eusb -r 6
Wed Feb 20 03:26:38.128 UTC7
No standby RP/RSP detected.8
Found tar file asr9k-mini-x64-migrate_to_eXR.tar-6.4.2 in /harddisk:/. This tar file should contain the ASR9K IOS XR 64 Bit ISO and boot files.9
Extracting and Checking md5sum10
Tar: blocksize = 2011
x boot/initrd.img, 122661203 bytes, 239573 tape blocks12
x boot/signature.initrd.img, 256 bytes, 1 tape blocks13
x boot/signature.initrd.img.md5sum, 33 bytes, 1 tape block14
eXR to cXR downgrade
1
RP/0/RP0/CPU0:ASR9922-C#2
RP/0/RP0/CPU0:ASR9922-C#copy harddiskb:/asr9k-mini-px.vm-5.3.3 harddisk:3
Tue Feb 19 03:55:29.904 EST4
Destination filename [/harddisk:/asr9k-mini-px.vm-5.3.3]?5
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC6
RP/0/RP0/CPU0:ASR9922-C#admin7
Tue Feb 19 03:56:15.621 EST8
9
cisco connected from 127.0.0.1 using console on ASR9922-C10
sysadmin-vm:0_RP0# copy harddisk:/asr9k-mini-px.vm-5.3.3 location 0/RP0/CPU0/VM1 harddiskb:/11
Tue Feb 19 03:56:35.978 UTC-05:0012
Copying harddisk:/asr9k-mini-px.vm-5.3.3 to harddiskb:/13
14
asr9k-mini-px.vm-5.3.3 0% 0 0.0KB/s --:-- ETA15
asr9k-mini-px.vm-5.3.316
sysadmin-vm:0_RP0# run /etc/rc.d/init.d/migrate_to_cXR -b eusb -m rp0 -r 17
Tue Feb 19 04:01:52.572 UTC-05:0018
19
No standby RSP/RP detected.20
Updated MIGRATE flag.21
Updated boot filename to asr9k-mini-px.vm-5.3.322
Rebooting Automatically23
Setting up the reload option24
Successfully connected to SM service25
26
Proceed with the reimage operation of all cards? [y/n] 27
Sending Request To Shelf Manager to Get Chassis Summary28
Rack SerialNumber HW State SW State29
30
|----------- Chassis Summary Start -----------|31
0 FOX1846G8P3 32
33
|----------- Chassis Summary End -----------|34
Rack number is 0 35
36
Sending rack rel request to SM37
38
0/0/ADMIN0:Feb 19 04:01:53.416 EST: cm[3688]: %ROUTING-TOPO-5-PROCESS_UPDATE : Got process update: Card shutdown. 39
RP/0/RP0/CPU0:Feb 19 04:01:55.524 EST: kim[322]: %INFRA-KIM-6-LOG_INFO : XR statistics will be pushed into the Linux kernel at 1 second intervals 40
0/0/ADMIN0:Feb 19 04:02:03.001 EST: vm_manager[3753]: %INFRA-VM_MANAGER-4-INFO : Info: vm_manager brought down VM default-sdr--1 41
0/RP0/ADMIN0:Feb 19 04:02:08.042 EST: cm[4096]: %ROUTING-TOPO-5-PROCESS_UPDATE : Got process update: Card shutdown. 42
43
Successfully reset all the cards44
Disconnected from SM service. Exiting from tool....45
Reload to boot IOS XR 32 Bit image.46
*** IMPORTANT *** Please back up your admin and XR configurations before reloading.47
sysadmin-vm:0_RP0# 48
Preparing system for backup. This may take a few minutes especially for large configurations.49
Status report: node0_RP0_CPU0: BACKUP INPROGRESS 50
Status report: node0_RP0_CPU0: BACKUP HAS COMPLETED SUCCESSFULLY 51
[Done]52
RP/0/RP0/CPU0:Feb 19 04:02:12.866 EST: processmgr[51]: %MGBL-SCONBKUP-6-INTERNAL_INFO : Reload debug script successfully spawned 53
Stopping54
Stopping OpenBSD Secure Shell server: sshdinitctl: Unknown instance: 55
Stopping system message bus: dbus.56
Stopping random number generator daemon.57
Stopping system log daemon...058
Stopping kernel log daemon...059
Stopping internet superserver: xinetd.60
Stopping crond: OK61
Stopping rpcbind daemon...62
done.63
Stopping S.M.A.R.T. daemon: smartd.64
Stopping Lighttpd Web Server: stopped /usr/sbin/lighttpd (pid 3995)65
lighttpd.66
Stopping libvirtd daemon: [ OK ]67
Deconfiguring network interfaces... done.68
Sending all processes the KILL signal...69
Tue Feb 19 09:02:56 UTC 2019: halt -w 70
Tue Feb 19 09:02:56 UTC 2019: Reboot Mode: 0, Hushd mode: 4, IPU: 2171
Tue Feb 19 09:02:59 U魷Booting Main Processor72
Transferring Console73
74
<-snip->75
Reference:
https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r6-5/system-setup/configuration/guide/b-system-setup-cg-asr9000-65x/b-system-setup-cg-asr9000_chapter_010.html
https://www.cisco.com/c/en/us/td/docs/routers/asr9000/migration/guide/b-migration-to-ios-xr-64-bit/b-migration-to-ios-xr-64-bit_chapter_011.html
eXR upgrade(install add)
1
RP/0/RP0/CPU0:ios#show install active summary 2
Sun Aug 18 05:06:54.749 UTC3
Active Packages: 14
asr9k-xr-6.4.2 version=6.4.2 [Boot image]5
RP/0/RP0/CPU0:ios#6
RP/0/RP0/CPU0:ios#install add source tftp://10.75.49.254/IOX653/ 653.tar7
Sun Aug 18 05:25:07.243 UTC8
Aug 18 05:25:08 Install operation 1 started by cisco:9
install add source tftp://10.75.49.254/IOX653/ 653.tar 10
Aug 18 05:25:11 Install operation will continue in the background11
RP/0/RP0/CPU0:ios#12
RP/0/RP0/CPU0:ios#show install request 13
Sun Aug 18 05:25:16.016 UTC14
15
The install add operation 1 is 30% complete16
RP/0/RP0/CPU0:ios#RP/0/RP0/CPU0:Aug 18 05:59:18.086 UTC: sdr_instmgr[1163]: %INSTALL-INSTMGR-2-OPERATION_SUCCESS : Install operation 1 finished successfully 17
Aug 18 05:59:19 Install operation 1 finished successfully18
19
RP/0/RP0/CPU0:ios#20
RP/0/RP0/CPU0:ios#install activate id 1 21
Sun Aug 18 06:02:31.294 UTC22
Aug 18 06:02:32 Install operation 3 started by cisco:23
install activate id 1 24
Aug 18 06:02:32 Package list:25
Aug 18 06:02:32 asr9k-ospf-x64-1.0.0.0-r653.x86_6426
Aug 18 06:02:32 asr9k-mpls-te-rsvp-x64-2.1.0.0-r653.x86_6427
Aug 18 06:02:32 asr9k-mcast-x64-2.0.0.0-r653.x86_6428
Aug 18 06:02:32 asr9k-mgbl-x64-2.0.0.0-r653.x86_6429
Aug 18 06:02:32 asr9k-k9sec-x64-2.1.0.0-r653.x86_6430
Aug 18 06:02:32 asr9k-mpls-x64-2.0.0.0-r653.x86_6431
Aug 18 06:02:32 asr9k-optic-x64-1.0.0.0-r653.x86_6432
Aug 18 06:02:32 asr9k-eigrp-x64-1.0.0.0-r653.x86_6433
Aug 18 06:02:32 asr9k-mini-x64-6.5.334
Aug 18 06:02:32 asr9k-li-x64-1.1.0.0-r653.x86_6435
Aug 18 06:02:32 asr9k-bng-x64-1.0.0.0-r653.x86_6436
Aug 18 06:02:33 asr9k-9000v-nV-x64-1.0.0.0-r653.x86_6437
Aug 18 06:02:33 asr9k-m2m-x64-2.0.0.0-r653.x86_6438
Aug 18 06:02:33 asr9k-isis-x64-1.1.0.0-r653.x86_6439
This install operation will reload the system, continue?40
[yes/no]:[yes] yes41
Aug 18 06:03:18 Install operation will continue in the background42
RP/0/RP0/CPU0:ios#43
RP/0/RP0/CPU0:ios#44
RP/0/RP0/CPU0:ios#RP/0/RP0/CPU0:Aug 18 06:34:19.659 UTC: sdr_instmgr[1163]: %INSTALL-INSTMGR-2-OPERATION_SUCCESS : Install operation 3 finished successfully 45
Aug 18 06:34:21 Install operation 3 finished successfully46
NCS55 Software install guide
Boot Router By Use USB
USB File system: FAT32
Before 6.5.2, it will hit bug CSCvm77427, cannot found the USB boot option from BIOS Menu,So we can use below procedure.
- Download “ncs5500-usb_boot-6.x.x.zip” and unzip it
- Insert RP, connect console, Enter ESC into boot selection.
- Then follow below steps, boot RP.
Reference Link:
https://www.cisco.com/c/en/us/support/docs/routers/network-convergence-system-5500-series/213953-ncs5500-rp-e-bring-up-procedure.html
NCS6K Software install guide
Boot Router By Use USB
USB File system: FAT32
Recommend software: Xshell (similar with SecureCRT)
- Use “System Admin VM console port”.
- Reload chassis and press F12 to go to Boot Manager
sysadmin-vm:0_RP0#
sysadmin-vm:0_RP0# reload location 0/RP0 all
Cisco BIOS version : SB.Panini.0014.08
BIOS Build Date : 05/03/2016 by lchinnad
System Memory Speed : 1600 MHz
Processor Type : Intel(R) Xeon(R) CPU E5-2448L @ 1.80GHz
Press F12 to goto Boot Manager..
Reference Link:
https://www.cisco.com/c/en/us/td/docs/routers/ncs6000/software/install/guide/b-sysadmin-ig-ncs6k-52x/b-sysadmin-ig-ncs6k-52x_chapter_01000.html#task_7CC2F17918A5494B83D8800E87B2E975
the blog from xuxing's blog.
Link:
http://imxing.cn/?p=36






No comments:
Post a Comment