172
Field Description
Context name
SNMP context:
•
If a mapping between an SNMP community and an SNMP context is configured,
the SNMP context is displayed.
•
If no mapping between an SNMP community and an SNMP context exists, this
field is empty.
Related commands
snmp-agent
community
snmp-agent
usm-user
{
v1
|
v2c
}
display snmp-agent context
Use
display
snmp-agent context
to display an SNMP context.
Syntax
display
snmp-agent context
[
context-name
]
Views
Any view
Predefined user roles
network-admin
network-operator
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
testcontext
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
]