Common Options

All NVUE commands have -h and --help options that provide command description and usage.

The NVUE nv show commands have these common options.

Revision Options

Option
Description
--rev <revision>Shows a detached pending configuration. <revsion> is the ID. For example, nv show --rev 4.
--pendingShows configuration that is set and unset but not yet applied or saved. For example, nv show --pending interface bond1.
--appliedShows configuration applied with the nv config apply command. For example, nv show --applied interface bond1.
--startupShows configuration saved with the nv config save command. This is the configuration after the switch boots.
--operationalShows the running configuration (the actual system state). For example, nv show --operational interface bond1 shows the running configuration for bond1. The running and applied configuration should be the same. If different, inspect the logs.

View Options

Option
Description
--view <view>
-w <view>
Shows these different views: brief, lldp, mac, plugables, and small. This option is available for the nv show interface command only. For example, the nv show interface --view=small command shows a list of the interfaces on the switch and the nv show interface --view=brief command shows information about each interface on the switch, such as the interface type, speed, remote host and port.
--filter <filter>Filters on column output data. For example, the nv show interface --filter mtu=1500 shows only the interfaces with MTU set to 1500.
To filter on multiple column outputs, enclose the filter types in parentheses; for example, nv show interface --filter "type=bridge&mtu=9216" shows data for bridges with MTU 9216.
You can use wildcards; for example, nv show interface swp1 --filter "ip.address=1*" shows all IP addresses that start with 1 for swp1.
You can filter on all revisions (operational, applied, and pending); for example, nv show interface --filter "ip.address=1*" --rev=applied shows all IP addresses that start with 1 for swp1 in the applied revision.

Output Options

Option
Description
--output <format>
-o <format>
Shows command output in table format (auto), json format or yaml format. For example:
nv show --output auto interface bond1
nv show --output json interface bond1
nv show --output yaml interface bond1
--color (on, off, or auto)Turns colored output on or off. The default is auto. For example
nv show --color on interface bond1.
--paginate (on, off, or auto)Paginates the output. The default is off. For example
nv show --paginate on interface bond1.