Snmp-Agent Community - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Parameters
plain-password: The plain-text password to be encrypted, in the range 1 to 64 characters.
mode: Specifies the authentication algorithm used to encrypt a plain text password.
md5: Uses HMAC MD5 algorithm.
sha: Uses HMAC SHA algorithm, which is securer than MD5 algorithm.
local-engineid: Uses the local engine ID to calculate the key.
specified-engineid: Uses the specified engine ID to calculate the key.
engineid: A case-insensitive hexadecimal string used for key calculation. The system capitalizes the
string. The length of the string must be an even number and in the range 10 to 64 characters.
Description
Use the snmp-agent calculate-password command to encrypt a plain-text password to generate a
cipher-text one by using the specified encryption algorithm.
When creating an SNMPv3 user, if you specify an authentication or privacy password as in cipher text,
you need to use this command to generate a cipher text password by using the specified algorithm, and
copy the generated cipher text password to use.
The generated password is related to engine ID: password generated under an engine ID can only take
effect on this engine ID.
Related commands: snmp-agent usm-user v3.
SNMP agent must be enabled for you to encrypt a plain-text password.
Examples
# Use the local engine ID and the md5 algorithm to encrypt plain-text password aaaa.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent calculate-password aaaa mode md5 local-engineid
The result of the password is: B02A2E48346E2CBFFCE809C99CF1F6C

snmp-agent community

Syntax
snmp-agent community { read | write } community-name [ [ acl acl-number ] [ mib-view
view-name ] ]*
undo snmp-agent community community-name
View
System view
1-13

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the s3600 series and is the answer not in the manual?

Questions and answers

Table of Contents