show snmp access

Use this command to display access rights and security levels configured for SNMP one or more groups.

Syntax

show snmp access [groupname] [security-model {v1 | v2c | usm}] [noauthentication | authentication | privacy] [context context] [volatile | nonvolatile | read-only]

Parameters

groupname (Optional) Displays access information for a specific SNMPv3 group.
security-model v1 | v2c | usm (Optional) Displays access information for SNMP security model version 1, 2c or 3 (usm).
noauthentication | authentication | privacy (Optional) Displays access information for a specific security level.
context context (Optional) Displays access information for a specific context. For a description of how to specify SNMP contexts, refer to the S-, K-, and 7100 Series Configuration Guide.
volatile | nonvolatile | read-only (Optional) Displays access entries for a specific storage type.

Defaults

  • If groupname is not specified, access information for all SNMP groups will be displayed.
  • If security-model is not specified, access information for all SNMP versions will be displayed.
  • If noauthentication, authentication or privacy are not specified, access information for all security levels will be displayed.
  • If context is not specified, all contexts will be displayed.
  • If volatile, nonvolatile or read-only are not specified, all entries of all storage types will be displayed.

Mode

All command modes.

Example

This example shows how to display SNMP access information:

System(rw)->show snmp access
Group           = SystemAdmin
Security model  = USM
Security level  = noAuthNoPriv
Read View       = All
Write View      =
Notify View     = All
Context match   = exact match
Storage type    = nonVolatile
Row status      = active
Group           = NightOperator
Security model  = USM
Security level  = noAuthNoPriv
Read View       = All
Write View      =
Notify View     = All
Context match   = exact match
Storage type    = nonVolatile
Row status      = active

show snmp access Output Details shows a detailed explanation of the command output.

Click to expand in new window

show snmp access Output Details

Output... What it displays...
Group SNMP group name.
Security model Security model applied to this group. Valid types are: SNMPv1, SNMPv2c, and SNMPv3 (User based - USM).
Security level Security level applied to this group. Valid levels are:

noAuthNoPrivacy (no authentication required)

AuthNoPrivacy (authentication required)

authPriv (privacy -- most secure level)

Read View Name of the view that allows this group to view SNMP MIB objects.
Write View Name of the view that allows this group to configure the contents of the SNMP agent.
Notify View Name of the view that allows this group to send an SNMP trap message.
Context match Whether or not SNMP context match must be exact (full context name match) or a partial match with a given prefix.
Storage type Whether access entries for this group are stored in volatile, nonvolatile or read-only memory.
Row status Status of this entry: active, notInService, or notReady.