Use this command to display access rights and security levels configured for SNMP one or more groups.
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. |
All command modes.
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.
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. |