F3215-HP Load Balancing Module System Maintenance Command Reference-6PW101

65
local-engineid: Uses the local engine ID to calculate the encrypted key. For engine ID-related
configuration, see the snmp-agent local-engineid command.
specified-engineid: Uses a user-defined engine ID to calculate the encrypted key.
engineid: Specifies an SNMP engine ID as a hexadecimal string. It must comprise an even number of
hexadecimal characters, in the range of 10 to 64. All-zero and all-F strings are invalid.
Usage guidelines
This command helps you calculate encrypted authentication and privacy keys for SNMPv3 users that use
encrypted authentication and privacy keys. To create an SNMPv3 user, see the snmp-agent usm-user v3
command.
Make sure the SNMP agent is enabled before you execute the snmp-agent calculate-password
command.
The converted key is valid only under the engine ID specified for key conversion.
Examples
# Use the local engine and the MD5 algorithm to convert the plaintext key authkey to an encrypted key.
<Sysname> system-view
[Sysname] snmp-agent calculate-password authkey mode md5 local-engineid
The secret key is: 09659EC5A9AE91BA189E5845E1DDE0CC
Related commands
snmp-agent usm-user v3
snmp-agent community
Use snmp-agent community to configure an SNMP community.
Use undo snmp-agent community to delete an SNMP community.
Syntax
snmp-agent community { read | write } [ cipher ] community-name [ mib-view view-name ] [ acl
acl-number | acl ipv6 ipv6-acl-number ] *
undo snmp-agent community { read | write } [ cipher ] community-name
Views
System view
Default command level
3: Manage level
Parameters
read: Assigns the specified community the read only access to MIB objects. A read-only community can
only inquire MIB information.
write: Assigns the specified community the read and write access to MIB objects. A read and write
community can configure MIB information.
cipher: Saves the specified community name in cipher text. If this keyword is not specified, the command
saves the community name in plain text.