snmp-vacm-show

After you create SNMP users, you must grant permission, using View Access Control Model (VACM) to allow the user to view SNMP objects. This command is used to display information about user VACMs.

Syntax   snmp-vacm-show [user-type rouser|rwuser] [user-name snmp-user user-name] [oid-restrict oid-restrict-string] [auth|no-auth] [priv|no-priv]

user-type rouser|rwuser

Specify the type of permission to grant to the user. You can select from read-only or read-write.

user-name snmp-user user-name

Specify the user name to apply the permission.

oid-restrict oid-restrict-string

Specify any OID restrictions. The parameter, oid-restrict, is an optional argument that specifies a MIB sub-tree that the view is restricted. In other words, if you specify an OID, only that OID and the descendants in the tree are visible in this view.

auth|no-auth

Specify if the user is authenticated or not.

priv|no-priv

Specify if the view is private or not.

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 2.0.

Usage   Use this command to display information about VACMs.

Examples  To display information about all VACMs on the switch, use the following command:

CLI network-admin@switch > snmp-vacm-show

switch   user-type user-name  oid-restrict view auth priv

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

pleiades1 rwuser    __RWUSER__                   yes  no   

pleiades2 rwuser    __RWUSER__                   yes  no   

pleiades3 rwuser    __RWUSER__                   yes  no

See Also