Displaying and Managing Boot Environment (BE) Information
Netvisor ONE provides two boot environments (BEs): the current boot environment, and the previous boot environment. The presence of two BEs enable you to rollback or rollforward the software versions or configurations.
During software upgrade, a new boot environment is automatically created to install the new software and after the software upgrade, the switch boots into the newly created BE that is running the new software. Also, during software upgrade the older BE (which was not active) is deleted, and the current BE from where software upgrade started is preserved, and then the switch boots into newer BE with new software. This process ensures that there are only two boot environments (BEs) after upgrade.
To display boot environment information, use the following command:
CLI (network-admin@switch) > bootenv-show
name version current reboot space created apply-current-config
--------- ----------- ------- ------ ----- -------------- --------------------
netvisor-1 5.2.1-15718 no no 0 02-23,04:22:46 false
netvisor-2 6.1.0-17888 yes yes 0 03-06,20:47:13 false
To reboot the switch into one of the boot environments other than current boot environment, use the following command:
CLI (network-admin@switch) > bootenv-activate-and-reboot name netvisor-1
To delete a boot environment, use the following syntax:
CLI (network-admin@switch) > bootenv-delete name netvisor-2
You can display information about different boot environments on the switch.