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
?=0
7
TURBOBOOT=on,disk0,format
8
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 successfully
16
boot_disk2 - Launching image.
17
1
Boot from tftp:
2
3
rommon1>IP_ADDRESS=10.75.49.45
4
rommon2>IP_SUBNET_MASK=255.255.255.0
5
rommon3>TFTP_SERVER=10.75.49.254
6
rommon4>DEFAULT_GATWAY=10.75.49.1
7
rommon5>TFTP_RETRY_COUNT=4
8
rommon6>TFTP_TIMEOUT=60
9
rommon7>TFTP_CHECKSUM=1
10
rommon8>priv
11
rommon9>diswd
12
rommon10>unset BOOT
13
rommon11>TURBOBOOT=on,disk0,format
14
rommon12>sync
15
rommon13>boot tftp://10.75.49.254/asr9k-mini-px.vm-6.2.3
16
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 GMT
4
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' via
5
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 the
7
Info: entire router:
8
Info:
9
Info: hfr-asr9000v-nV-px.pie-6.2.25
10
Info: hfr-diags-px.pie-6.2.25
11
Info: hfr-doc-px.pie-6.2.25
12
Info: hfr-fpd-px.pie-6.2.25
13
Info: hfr-k9sec-px.pie-6.2.25
14
Info: hfr-li-px.pie-6.2.25
15
Info: hfr-mcast-px.pie-6.2.25
16
Info: hfr-mgbl-px.pie-6.2.25
17
Info: hfr-mini-px.pie-6.2.25
18
Info: hfr-mpls-px.pie-6.2.25
19
Info: hfr-services-px.pie-6.2.25
20
Info: hfr-video-px.pie-6.2.25
21
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.25
27
Info: disk0:hfr-diags-px-6.2.25
28
Info: disk0:hfr-doc-px-6.2.25
29
Info: disk0:hfr-fpd-px-6.2.25
30
Info: disk0:hfr-k9sec-px-6.2.25
31
Info: disk0:hfr-li-px-6.2.25
32
Info: disk0:hfr-mcast-px-6.2.25
33
Info: disk0:hfr-mgbl-px-6.2.25
34
Info: disk0:hfr-mini-px-6.2.25
35
Info: disk0:hfr-mpls-px-6.2.25
36
Info: disk0:hfr-services-px-6.2.25
37
Info: disk0:hfr-video-px-6.2.25
38
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 active
43
Mon Oct 24 21:12:09.085 GMT
44
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.25
47
Info: disk0:hfr-services-px-6.2.25
48
Info: disk0:hfr-mpls-px-6.2.25
49
Info: disk0:hfr-mini-px-6.2.25
50
Info: disk0:hfr-mgbl-px-6.2.25
51
Info: disk0:hfr-mcast-px-6.2.25
52
Info: disk0:hfr-li-px-6.2.25
53
Info: disk0:hfr-k9sec-px-6.2.25
54
Info: disk0:hfr-fpd-px-6.2.25
55
Info: disk0:hfr-doc-px-6.2.25
56
Info: disk0:hfr-diags-px-6.2.25
57
Info: disk0:hfr-asr9000v-nV-px-6.2.25
58
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 Reload
74
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 changes
76
Info: persistent.
77
Info: Please verify that the system is consistent following the software change using the following commands:
78
Info: show system verify
79
Info: install verify packages
80
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 Verification
84
85
Username: cisco
86
Password:
87
88
89
RP/0/RP0/CPU0:CORE5-CRS16-A#admin install commit
90
Wed Oct 24 21:37:42.608 GMT
91
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 stop
2
o
3
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 image
6
3) IOS-XR 64 bit Mgmt Network boot using DHCP server
7
4) IOS-XR 64 bit Mgmt Network boot using local settings (iPXE)
8
5) IOS-XR 64 bit Internal network boot from RSP/RP
9
6) IOS-XR 64 bit Local boot using embedded USB media
10
7) IOS-XR 64 bit Local boot using front panel USB media
11
Selection [1/2/3/4/5/6/7]: 4Selected IOS-XR 64 bit Mgmt Network boot using local settings (iPXE), Continue ? Y/N: y
12
13
Press Ctrl-B for the iPXE command line...
14
15
iPXE> set net0/ip 10.75.49.7
16
iPXE> set net0/netmask 255.255.255.0
17
iPXE> set net0/gateway 10.75.49.1
18
iPXE> ifopen net0
19
iPXE>
20
iPXE> ping 10.75.49.1
21
0 bytes from <none>: seq=1: Connection timed out (http://ipxe.org/4c1b2092)
22
64 bytes from 10.75.49.1: seq=2
23
64 bytes from 10.75.49.1: seq=3
24
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.iso
29
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 UTC
3
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 UTC
7
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 md5sum
10
Tar: blocksize = 20
11
x boot/initrd.img, 122661203 bytes, 239573 tape blocks
12
x boot/signature.initrd.img, 256 bytes, 1 tape blocks
13
x boot/signature.initrd.img.md5sum, 33 bytes, 1 tape block
14
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 EST
4
Destination filename [/harddisk:/asr9k-mini-px.vm-5.3.3]?
5
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
6
RP/0/RP0/CPU0:ASR9922-C#admin
7
Tue Feb 19 03:56:15.621 EST
8
9
cisco connected from 127.0.0.1 using console on ASR9922-C
10
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:00
12
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 --:-- ETA
15
asr9k-mini-px.vm-5.3.3
16
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:00
18
19
No standby RSP/RP detected.
20
Updated MIGRATE flag.
21
Updated boot filename to asr9k-mini-px.vm-5.3.3
22
Rebooting Automatically
23
Setting up the reload option
24
Successfully connected to SM service
25
26
Proceed with the reimage operation of all cards? [y/n]
27
Sending Request To Shelf Manager to Get Chassis Summary
28
Rack SerialNumber HW State SW State
29
30
|----------- Chassis Summary Start -----------|
31
0 FOX1846G8P3
32
33
|----------- Chassis Summary End -----------|
34
Rack number is 0
35
36
Sending rack rel request to SM
37
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 cards
44
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
Stopping
54
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...0
58
Stopping kernel log daemon...0
59
Stopping internet superserver: xinetd.
60
Stopping crond: OK
61
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: 21
71
Tue Feb 19 09:02:59 U魷Booting Main Processor
72
Transferring Console
73
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 UTC
3
Active Packages: 1
4
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.tar
7
Sun Aug 18 05:25:07.243 UTC
8
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 background
11
RP/0/RP0/CPU0:ios#
12
RP/0/RP0/CPU0:ios#show install request
13
Sun Aug 18 05:25:16.016 UTC
14
15
The install add operation 1 is 30% complete
16
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 successfully
18
19
RP/0/RP0/CPU0:ios#
20
RP/0/RP0/CPU0:ios#install activate id 1
21
Sun Aug 18 06:02:31.294 UTC
22
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_64
26
Aug 18 06:02:32 asr9k-mpls-te-rsvp-x64-2.1.0.0-r653.x86_64
27
Aug 18 06:02:32 asr9k-mcast-x64-2.0.0.0-r653.x86_64
28
Aug 18 06:02:32 asr9k-mgbl-x64-2.0.0.0-r653.x86_64
29
Aug 18 06:02:32 asr9k-k9sec-x64-2.1.0.0-r653.x86_64
30
Aug 18 06:02:32 asr9k-mpls-x64-2.0.0.0-r653.x86_64
31
Aug 18 06:02:32 asr9k-optic-x64-1.0.0.0-r653.x86_64
32
Aug 18 06:02:32 asr9k-eigrp-x64-1.0.0.0-r653.x86_64
33
Aug 18 06:02:32 asr9k-mini-x64-6.5.3
34
Aug 18 06:02:32 asr9k-li-x64-1.1.0.0-r653.x86_64
35
Aug 18 06:02:32 asr9k-bng-x64-1.0.0.0-r653.x86_64
36
Aug 18 06:02:33 asr9k-9000v-nV-x64-1.0.0.0-r653.x86_64
37
Aug 18 06:02:33 asr9k-m2m-x64-2.0.0.0-r653.x86_64
38
Aug 18 06:02:33 asr9k-isis-x64-1.1.0.0-r653.x86_64
39
This install operation will reload the system, continue?
40
[yes/no]:[yes] yes
41
Aug 18 06:03:18 Install operation will continue in the background
42
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 successfully
46
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