CLI

view

view [options] [menu]
The "view" command shows all objects of the specified menu/submenu
and all underlying submenus. If no menu is specified as a parameter, the
current menu level is used.

"view" can output the data in many different output formats.

The /configuration/cli/default-view parameter defines which of the formats is
used as a default.
The default depth can be specified with the
/configuration/cli/default-view-depth parameter. (-1 = no limit)
The default table columns can be specified with the
/configuration/cli/default-table-columns parameter. (0 = no break; -1 = detect size)

"view" supports additional options to select which objects should be printed.

If none of these options is specified, all objects in all submenus are included.
NameValueDescriptionExample
xmlexport the configuration in XML format
jsonuse JSON as the export format for the configuration data
csvexport the configuration in CSV format (comma-separated-value)
csv-no-dataexport only the submenus and parameter names in CSV format (no values)
normaluse the human readable standard format
treeexport only the submenus and parameter names as a tree (no values)
capabilitiesexport with capabilities
capabilities-rwuse with capabilities where ro-objects only shows its data
dataexport with data (--capabilities in json only)
rawprints enums as value instead of names
not-rawalways prints enums as names
tableexport menu as a table (useful on list-like menus)
xtableexport menu as a table and swaps rows with columns
non-recursiveonly displays the selected menu.
only-rwonly displays read-write objects.
rel-pathonly prints the sub-menu
use-unitinclude units if available
no-unitdo not include units
fullpathalways include the full menu-path to the menus
ignoreregexdo not include menus and objects/status/chassis/clk.*/
depthnumberlimits the sub-menu iterations2
columnsnumberdisplays [number] menus in the table2
filefilepathreads a file that contains a list of objects and exports theselist.txt
outputfilepathexport the content into a filemyoutput.json
menu/status/system
See also:
monitor-view: prints and checks all objects inside a menu.
view-object
monitor-object: prints and checks the name and value of a specified object.

REST-API Support:


This command is not supported.