Display information about the boot environment.

Syntax   bootenv-show [name name-string] [version version-string] [current yes|no] [reboot yes|no]

name name-string

Specifies the name of the boot environment.

version version-string

Specifies the version of the boot environment.

current yes|no

Specifies if the named boot environment is the current boot environment.

reboot yes|no

Specifies if the boot environment is set to reboot.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.


Display output in ascending order.


Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.


Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.


Display the number of entries in the output. This is useful with vRouter show commands.


Display full values in the output instead of scaled approximate values.


Display integer values instead of mapped values


Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   Used to display configured information about the boot environment.

Examples  To display the boot environment, local-copy, in the format layout horizontal, use the following command:

CLI network-admin@switch > bootenv-show name local-copy layout horizontal

name        version    current reboot space created        

----------- ---------- ------- ------ ----- --------------

ONVL-13 -              no      no     17.6M 03-19,13:54:51

ONVL-14 2.3.0-6795     yes     yes    19.8G 03-23,10:47:53

See Also