10.
SNMP Server Configuration
MN700004 Rev 01
82
NOTE
You must configure your management system with the same parameters that are assigned
to the users in the agent.
Table 10-1 lists the configuration commands for the SNMPv3 Agent.
Table 10-1 SNMPv3 Agent Configuration Commands
C o m m a n d D e s c r i p t i o n
snmp-server engineID
Changes the agent’s SNMP engine ID.
snmp-server enable
Enables the SNMP Server.
snmp-server view
Creates a view.
snmp-server group
Creates an SNMPv3 group and associates views to
this group.
snmp-server user
snmp-server log-notify
clear snmp-server log-notify
Creates an SNMP v1, v2c or v3 user and associates
it to a group.
Enables the SNMP notification log.
Clears the SNMP notification log.
Configuring the Agent Engine ID
The
snmp-server engineID
command, in Global Configuration mode, changes the engine ID.
The
no
form of this command is returning the ID to its default value.
The engine ID is a string that contains an even number of characters, between 10 and 64
characters, that represent a hexadecimal number. Internally, this string is represented by a
sequence of 5 to 32 whole bytes, each byte representing two hexadecimal digits. The user
should enter an odd number of hexadecimal digits, otherwise the parser would pad the last
byte with zeros in the byte’s four most-significant bits. As a result, an extra zero will be
inserted before the last digit. For example, if you enter the string 11223344556 (an odd
number of characters), the agent’s parser will interpret it as 0x112233445506.
You can set the SNMP Engine ID following a vendor-recommended scheme or your own
rules. If you wish to change the engine ID it is recommended to set it before adding any users,
and not to perform changes of the Engine ID once users are configured.
NOTE
It is prohibited to have two SNMP entities in the management domain with the same Engine
ID.
Changing of the Engine ID while there are users that use SNMPv3 authentication or using
privacy and authentication will invalidate the keys and will require recalculation.
NOTE
It is recommended to set the Engine ID first.
If you use third party MIB SNMP Managers, you should check the Engine ID configuration.