Configuring SNMP
Accessing User Context Data When Using SNMPv3
This section describes how with SNMPv3, you can access MIBs for a user context through an Admin
context IP address by using the Admin context IP address, the appropriate SNMP version, the Admin
context username, and the user context name supported by the Admin context in the SNMPv3 packet.
The ACE uses the user context name in the SNMPv3 context field of the request.
The SNMPv3 engine represents a logically separate SNMP agent. The ACE automatically creates an
Note
SNMP engine ID for each context or you can configure it. For more information on configuring an
SNMPv3 engine ID, see the
Examples
The following example shows how to return data from user context C2 when the Admin context has a
configured SNMP user snmpuser and an IP address of 10.6.252.63:
snmpgetnext -v 3 - a MD5 -A cisco123 -u snmpuser -1 authNoPriv 10.6.252.63 system -n C2
The ACE uses the user context C2 in place of the SNMPv3 context field in the request.
The SNMPv3 request is dropped if the request is sent to the IP address of the user context with a
Note
SNMPv3 context name field set to an empty string ("").
Configuring an SNMPv3 Engine ID for an ACE Context
This section describes how to configure an SNMP engine ID for the Admin or user context. By default,
the ACE automatically creates an SNMP engine ID for the Admin context and each user context. The
SNMP engine represents a logically separate SNMP agent. The IP address for an ACE context provides
access to only one SNMP engine ID.
If you change the SNMP engine ID for an Admin or user context, all configured SNMP users become
Caution
invalid and all SNMP communities are deleted. You must recreate all SNMP users by using the
snmp-server user command in configuration mode, and recreate all SNMP communities by using the
snmp-server community command in configuration mode (see the
section).
Cisco 4700 Series Application Control Engine Appliance Administration Guide
7-46
"Configuring an SNMPv3 Engine ID for an ACE Context"
Chapter 7
Configuring SNMP
section.
"Defining SNMP Communities"
OL-20823-01