SNMP Show

snmp-show

This command is used to display information about SNMP MIBs on the network.

Syntax   snmp-show community-string community-string-string-show name snmp-oid name show-type walk|get|get-next

community-string community-string-string-show

Specify the community string for SNMP.

name snmp-oid name

Specify the Object Identifier (OID) to display.

show-type walk|get|get-next

Specify the display method for the SNMP MIBs. Use get to retrieve and display the next SNMP object values. Use get-next to retrieve and display the SNMP object values associated with the requested object identifier.

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.

sort-asc

Display output in ascending order.

sort-desc

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.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

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

unscaled

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

raw-int-values

Display integer values instead of mapped values

sum-by

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   Use this command to display local SNMP MIB object values.

Examples  To display the community, snmp-com, use the following command:

CLI network-admin@switch > show-snmp community-string snmp-com layout vertical

See Also