110
Parameters
context-name
: Specifies an SNMP context by its name, a case-sensitive string of 1 to 32 characters.
If no SNMP context is specified, this command displays all SNMP contexts created on the device.
Examples
# Display all SNMP contexts created on the device.
<Sysname> display snmp-agent context
snmpcontext
mibcontext
Related commands
snmp-agent context
display snmp-agent group
Use
display
snmp-agent
group
to display SNMP group information, including the group name,
security model, MIB view, and storage-type.
Syntax
display
snmp-agent
group
[
group-name
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
group-name
: Specifies an SNMPv1, SNMPv2c, or SNMPv3 group name in non-FIPS mode, and
specifies an SNMPv3 group name in FIPS mode, a case-sensitive string of 1 to 32 characters. If no
group is specified, this command displays information about all SNMP groups.
Examples
# Display information about all SNMP groups.
<Sysname> display snmp-agent group
Group name: groupv3
Security model: v3 noAuthnoPriv
Readview: ViewDefault
Writeview: <no specified>
Notifyview: <no specified>
Storage-type: nonVolatile
Table 30 Command output
Field Description
Group name
SNMP group name.
Security model
Security model of the SNMP group:
•
authPriv
—authentication with privacy.
•
authNoPriv
—authentication without privacy.
•
noAuthNoPriv
—no authentication, no privacy.
Security model of an SNMPv1 or SNMPv2c group can only be noAuthNoPriv.