The Cisco NX-OS software consists of the kickstart image and the system image. The system image includes the software for the Cisco Nexus device and the Cisco Nexus Fabric Extenders (FEXs) that are connected to the switch. The images contain a major release identifier, a minor release identifier, and a maintenance release identifier. The images might also contain a rebuild identifier, which can be referred to as a support patch. The following figure shows the version identifiers that are used with a combination of platform-independent and platform-dependent schemes for the Cisco NX-OS software.
Копируем софт:
sw1-dc# copy sftp:// bootflash:
Enter source filename: //Users/mich/SRC/tftpboot/nexus/n5000-uk9.6.0.2.N2.2.bin
Enter vrf (If no input, current vrf ‘default’ is considered): management
Enter hostname for the sftp server: 217.79.226.210
Enter username: mich
Password:
sftp> progress
Progress meter enabled
sftp> get //Users/mich/SRC/tftpboot/nexus/n5000-uk9.6.0.2.N2.2.bin /bootflash/n5000-uk9.6.0.2.N2.2.bin
Fetching //Users/mich/SRC/tftpboot/nexus/n5000-uk9.6.0.2.N2.2.bin to /bootflash/n5000-uk9.6.0.2.N2.2.bin
//Users/mich/SRC/tftpboot/nexus/n5000-uk9.6.0 100% 219MB 1.2MB/s 02:56
Аналогичным образом копируем kickstart.
Затем устанавливаем софт:
sw1-dc# install all kickstart bootflash:n5000-uk9-kickstart.6.0.2.N2.2.bin system bootflash:n5000-uk9.6.0.2.N2.2.bin
Verifying image bootflash:/n5000-uk9-kickstart.6.0.2.N2.2.bin for boot variable «kickstart».
[####################] 100% — SUCCESS
Verifying image bootflash:/n5000-uk9.6.0.2.N2.2.bin for boot variable «system».
[####################] 100% — SUCCESS
Verifying image type.
[####################] 100% — SUCCESS
Extracting «system» version from image bootflash:/n5000-uk9.6.0.2.N2.2.bin.
[####################] 100% — SUCCESS
Extracting «kickstart» version from image bootflash:/n5000-uk9-kickstart.6.0.2.N2.2.bin.
[####################] 100% — SUCCESS
Extracting «bios» version from image bootflash:/n5000-uk9.6.0.2.N2.2.bin.
[####################] 100% — SUCCESS
Performing module support checks.
[####################] 100% — SUCCESS
Notifying services about system upgrade.
[####################] 100% — SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
—— ——— ————— ———— ——
1 yes disruptive reset STP ISSU preupgrade check failed — Upgrade needs to be disruptive!
Images will be upgraded according to following table:
Module Image Running-Version New-Version Upg-Required
—— ———- ———————- ———————- ————
1 system 5.2(1)N1(2a) 6.0(2)N2(2) yes
1 kickstart 5.2(1)N1(2a) 6.0(2)N2(2) yes
1 bios v3.6.0(05/09/2012) v3.6.0(05/09/2012) no
1 SFP-uC v1.0.0.0 v1.0.0.0 no
1 power-seq v1.0 v1.0 no
3 power-seq v2.0 v2.0 no
1 uC v1.2.0.1 v1.2.0.1 no
Additional info for this installation:
—————————————
Remove QoS & ACL config on L3 interfaces and SVIs if any
Service «stp» : Port: Ethernet1/32 in VLAN0200 is Designated. Topology change could occur during ISSU.
Upgrade needs to be disruptive!!!
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y
Install is in progress, please wait.
Performing runtime checks.
[####################] 100% — SUCCESS
Setting boot variables.
[####################] 100% — SUCCESS
Performing configuration copy.
[####################] 100%
Finishing the upgrade, switch will reboot in 10 seconds.
sw1-dc#
Booting kickstart image: bootflash:/n5000-uk9-kickstart.6.0.2.N2.2.bin….
…………………………………………………………………….
……………………………….Image verification OK
INIT: [ 8.237705] I2C — Mezz absent
devmemfd:0x7f8f8f28
phys->virt: 0x7f8f8f487f8f8f28—>0x8054d12
devmemfd:0x7f8f8f78
phys->virt: 0x7f8f8f987f8f8f78—>0x8054d12
devmemfd:0x7f8f8f78
phys->virt: 0x7f8f8f987f8f8f78—>0x8054d12
devmemfd:0x7f8f8f78
phys->virt: 0x7f8f8f987f8f8f78—>0x8054d12
Starting system POST…..
Executing Mod 1 1 SEEPROM Test:…done (1 seconds)
Executing Mod 1 1 GigE Port Test:….done (32 seconds)
Executing Mod 1 1 PCIE Test:……………..done (0 seconds)
Mod 1 1 Post Completed Successfully
POST is completed
can’t create lock file /var/lock/mtab~194: No such file or directory (use -n flag to override)
nohup: redirecting stderr to stdout
autoneg unmodified, ignoring
autoneg unmodified, ignoring
Checking all filesystems….. done.
Loading system software
Uncompressing system image: bootflash:/n5000-uk9.6.0.2.N2.2.bin Thu Dec 14 14:57:59 UTC 2017
Load plugins that defined in image conf: /isan/plugin_img/img.conf
Loading plugin 0: core_plugin…
load_plugin: Can’t get exclude list from /isan/plugin/0/boot/etc/plugin_exclude.conf (rc 0x40ea0017)
Loading plugin 1: eth_plugin…
ethernet switching mode
rm: cannot remove `/isan/etc/sysmgr.d/afm.conf’: No such file or directory
INIT: Entering runlevel: 3
touch: cannot touch `/var/lock/subsys/n
/isan/bin/muxif_config: fex vlan id: -f,4042
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
Added VLAN with VID == 4042 to IF -:muxif:-
2017 Dec 14 14:58:26 sw1-dc %$ VDC-1 %$ %USER-2-SYSTEM_MSG: CLIS: loading cmd files begin — clis
2017 Dec 14 14:58:38 sw1-dc %$ VDC-1 %$ Dec 14 14:58:29 %KERN-0-SYSTEM_MSG: [ 8.237705] I2C — Mezz absent — kernel
2017 Dec 14 14:58:38 sw1-dc %$ VDC-1 %$ %USER-2-SYSTEM_MSG: CLIS: loading cmd files end — clis
2017 Dec 14 14:58:38 sw1-dc %$ VDC-1 %$ %USER-2-SYSTEM_MSG: CLIS: init begin — clis
2017 Dec 14 15:00:12 sw1-dc %$ VDC-1 %$ %VDC_MGR-2-VDC_ONLINE: vdc 1 has come online
User Access Verification
sw1-dc login:
Апгрейд до 7 версии:
sw1-dc# copy sftp:// bootflash:
Enter source filename: //Users/mich/SRC/tftpboot/nexus/n5000-uk9-kickstart.7.0.0.n1.1.bin
Enter vrf (If no input, current vrf ‘default’ is considered): management
Enter hostname for the sftp server: 217.79.226.210
Enter username: mich
Password:
sftp> progress
Progress meter enabled
sftp> get //Users/mich/SRC/tftpboot/nexus/n5000-uk9-kickstart.7.0.0.n1.1.bin /bootflash/n5000-uk9-kickstart.7.0.0.n1.1.bin
Fetching //Users/mich/SRC/tftpboot/nexus/n5000-uk9-kickstart.7.0.0.n1.1.bin to /bootflash/n5000-uk9-kickstart.7.0.0.n1.1.bin
//Users/mich/SRC/tftpboot/nexus/n5000-uk9-kickstart.7.0.0.n1.1.bin 100% 36MB 1.3MB/s 00:27
sftp> exit
Copy complete, now saving to disk (please wait)…
sw1-dc# copy sftp:// bootflash:
Enter source filename: //Users/mich/SRC/tftpboot/nexus/n5000-uk9.7.0.0.N1.1.bin
Enter vrf (If no input, current vrf ‘default’ is considered): management
Enter hostname for the sftp server: 217.79.226.210
Enter username: mich
Password:
sftp> progress
Progress meter enabled
sftp> get //Users/mich/SRC/tftpboot/nexus/n5000-uk9.7.0.0.N1.1.bin /bootflash/n5000-uk9.7.0.0.N1.1.bin
Fetching //Users/mich/SRC/tftpboot/nexus/n5000-uk9.7.0.0.N1.1.bin to /bootflash/n5000-uk9.7.0.0.N1.1.bin
//Users/mich/SRC/tftpboot/nexus/n5000-uk9.7.0.0.N1.1.bin 100% 231MB 1.3MB/s 02:57
sftp> exit
Copy complete, now saving to disk (please wait)…
sw1-dc# dir
0 Aug 11 14:27:18 2017 20170811_142718_poap_3473_init.log
0 Aug 22 09:06:53 2017 20170822_090653_poap_3475_init.log
0 Sep 11 11:53:48 2017 20170911_115348_poap_3475_init.log
64538 Dec 13 14:01:16 2017 20171213_131053_poap_3474_1.log
1048583 Dec 13 13:58:14 2017 20171213_131053_poap_3474_init.log
1278 Dec 13 13:09:43 2017 mts.log
35511296 Dec 14 14:18:14 2017 n5000-uk9-kickstart.6.0.2.N2.2.bin
37228032 Dec 14 15:11:51 2017 n5000-uk9-kickstart.7.0.0.n1.1.bin
229496408 Dec 14 14:23:16 2017 n5000-uk9.6.0.2.N2.2.bin
241924726 Dec 14 15:15:13 2017 n5000-uk9.7.0.0.N1.1.bin
431 Dec 14 14:52:43 2017 span.log
4096 Jan 01 01:20:34 2009 vdc_2/
4096 Jan 01 01:20:34 2009 vdc_3/
4096 Jan 01 01:20:34 2009 vdc_4/
4096 Dec 14 14:58:39 2017 virt_strg_pool_bf/
Usage for bootflash://
663216128 bytes used
985407488 bytes free
1648623616 bytes total
sw1-dc# install all kickstart bootflash:n5000-uk9-kickstart.7.0.0.n1.1.bin system bootflash:n5000-uk9.7.0.0.N1.1.bin
Verifying image bootflash:/n5000-uk9-kickstart.7.0.0.n1.1.bin for boot variable «kickstart».
[####################] 100% — SUCCESS
Verifying image bootflash:/n5000-uk9.7.0.0.N1.1.bin for boot variable «system».
[####################] 100% — SUCCESS
Verifying image type.
[####################] 100% — SUCCESS
Extracting «system» version from image bootflash:/n5000-uk9.7.0.0.N1.1.bin.
[####################] 100% — SUCCESS
Extracting «kickstart» version from image bootflash:/n5000-uk9-kickstart.7.0.0.n1.1.bin.
[####################] 100% — SUCCESS
Extracting «bios» version from image bootflash:/n5000-uk9.7.0.0.N1.1.bin.
[####################] 100% — SUCCESS
Performing module support checks.
[####################] 100% — SUCCESS
Notifying services about system upgrade.
[####################] 100% — SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
—— ——— ————— ———— ——
1 yes disruptive reset STP ISSU preupgrade check failed — Upgrade needs to be disruptive!
3 yes disruptive reset STP ISSU preupgrade check failed — Upgrade needs to be disruptive!
Images will be upgraded according to following table:
Module Image Running-Version New-Version Upg-Required
—— —————- ———————- ———————- ————
1 system 6.0(2)N2(2) 7.0(0)N1(1) yes
1 kickstart 6.0(2)N2(2) 7.0(0)N1(1) yes
1 bios v3.6.0(05/09/2012) v3.6.0(05/09/2012) no
1 power-seq v1.0 v2.0 yes
1 SFP-uC v1.0.0.0 v1.0.0.0 no
3 power-seq v2.0 v2.0 no
1 microcontroller v1.2.0.1 v1.2.0.1 no
Additional info for this installation:
—————————————
Remove QoS & ACL config on L3 interfaces and SVIs if any
Service «stp» : Port: Ethernet1/32 in VLAN0200 is Designated. Topology change could occur during ISSU.
Upgrade needs to be disruptive!!!
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y
Install is in progress, please wait.
Performing runtime checks.
[####################] 100% — SUCCESS
Setting boot variables.
[####################] 100% — SUCCESS
Performing configuration copy.
[####################] 100% — SUCCESS
Module 1: Refreshing compact flash and upgrading bios/loader/bootrom/power-seq.
Warning: please do not remove or power off the module at this time.
Note: Power-seq upgrade needs a power-cycle to take into effect.
Use command ‘reload power-cycle’
Note: Micro-controller upgrade needs a power-cycle to take into effect.
On success of micro-controller upgrade, SWITCH OFF THE POWER to the system and then, power it up.
[####################] 100% — SUCCESS
Finishing the upgrade, switch will reboot in 10 seconds.
Booting kickstart image: bootflash:/n5000-uk9-kickstart.6.0.2.N2.2.bin….
…………………………………………………………………….
……………………………….Image verification OK
INIT: [ 8.237705] I2C — Mezz absent
devmemfd:0x7f8f8f28
phys->virt: 0x7f8f8f487f8f8f28—>0x8054d12
devmemfd:0x7f8f8f78
phys->virt: 0x7f8f8f987f8f8f78—>0x8054d12
devmemfd:0x7f8f8f78
phys->virt: 0x7f8f8f987f8f8f78—>0x8054d12
devmemfd:0x7f8f8f78
phys->virt: 0x7f8f8f987f8f8f78—>0x8054d12
Starting system POST…..
Executing Mod 1 1 SEEPROM Test:…done (1 seconds)
Executing Mod 1 1 GigE Port Test:….done (32 seconds)
Executing Mod 1 1 PCIE Test:……………..done (0 seconds)
Mod 1 1 Post Completed Successfully
POST is completed
can’t create lock file /var/lock/mtab~194: No such file or directory (use -n flag to override)
nohup: redirecting stderr to stdout
autoneg unmodified, ignoring
autoneg unmodified, ignoring
Checking all filesystems….. done.
Loading system software
Uncompressing system image: bootflash:/n5000-uk9.6.0.2.N2.2.bin Thu Dec 14 14:57:59 UTC 2017
Load plugins that defined in image conf: /isan/plugin_img/img.conf
Loading plugin 0: core_plugin…
load_plugin: Can’t get exclude list from /isan/plugin/0/boot/etc/plugin_exclude.conf (rc 0x40ea0017)
Loading plugin 1: eth_plugin…
ethernet switching mode
rm: cannot remove `/isan/etc/sysmgr.d/afm.conf’: No such file or directory
Booting kickstart image: bootflash:/n5000-uk9-kickstart.7.0.0.n1.1.bin….
…………………………………………………………………….
……………………………………Image verification OK
INIT: [ 8.239236] I2C — Mezz absent
devmemfd:0x7f856668
phys->virt: 0x7f8566887f856668—>0x8054d12
devmemfd:0x7f8566b8
phys->virt: 0x7f8566d87f8566b8—>0x8054d12
devmemfd:0x7f8566b8
phys->virt: 0x7f8566d87f8566b8—>0x8054d12
devmemfd:0x7f8566b8
phys->virt: 0x7f8566d87f8566b8—>0x8054d12
Starting system POST…..
Executing Mod 1 1 SEEPROM Test:…done (1 seconds)
Executing Mod 1 1 GigE Port Test:….done (32 seconds)
Executing Mod 1 1 PCIE Test:……………..done (0 seconds)
Mod 1 1 Post Completed Successfully
POST is completed
can’t create lock file /var/lock/mtab~194: No such file or directory (use -n flag to override)
nohup: redirecting stderr to stdout
autoneg unmodified, ignoring
autoneg unmodified, ignoring
Checking all filesystems….. done.
Loading system software
Uncompressing system image: bootflash:/n5000-uk9.7.0.0.N1.1.bin Thu Dec 14 15:23:00 UTC 2017
Load plugins that defined in image conf: /isan/plugin_img/img.conf
Loading plugin 0: core_plugin…
load_plugin: Can’t get exclude list from /isan/plugin/0/boot/etc/plugin_exclude.conf (rc 0x40ea0017)
Loading plugin 1: eth_plugin…
ethernet switching mode
INIT: Entering runlevel: 3
touch: cannot touch `/var/lock/s
/isan/bin/muxif_config: fex vlan id: -f,4042
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
Added VLAN with VID == 4042 to IF -:muxif:-
2017 Dec 14 15:23:29 sw1-dc %$ VDC-1 %$ %USER-2-SYSTEM_MSG: CLIS: loading cmd files begin — clis
2017 Dec 14 15:23:43 sw1-dc %$ VDC-1 %$ Dec 14 15:23:31 %KERN-0-SYSTEM_MSG: [ 8.239236] I2C — Mezz absent — kernel
2017 Dec 14 15:23:43 sw1-dc %$ VDC-1 %$ %USER-2-SYSTEM_MSG: CLIS: loading cmd files end — clis
2017 Dec 14 15:23:43 sw1-dc %$ VDC-1 %$ %USER-2-SYSTEM_MSG: CLIS: init begin — clis
User Access Verification
sw1-dc login: 2017 Dec 14 15:25:31 sw1-dc %$ VDC-1 %$ %VDC_MGR-2-VDC_ONLINE: vdc 1 has come online
User Access Verification
sw1-dc login: