Snmp-Agent Calculate-Password - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches

1.1.10 snmp-agent calculate-password

Syntax
snmp-agent
{ local-engineid | specified-engineid string }
View
System view
Parameters
plain-password: Plain text password to be encrypted.
mode: Specifies to encrypt a plain text password by authentication.
md5: Specifies the authentication protocol to be HMAC-MD5-96.
sha: Specifies the authentication protocol to be HMAC-SHA-96.
local: Represents a local SNMP entity user.
local-engineid: Specifies to use local engine ID to calculate cipher text password.
specified-engineid: Specifies to use user-defined engine ID to calculate cipher text
password.
string: The engine ID string, an even number of hexadecimal characters, in the range
10 to 64. Its length must not be an odd number, and the all-zero and all-F strings are
invalid.
Description
Use the snmp-agent calculate-password command to convert the user-defined plain
text password to a cipher text password using the specified authentication mode.
Note that the cipher text password converted with the sha keyword specified in this
command is a string of 40 hexadecimal characters. For an authentication password, all
of the 40 hexadecimal characters are valid; while for a privacy password, only the first
32 hexadecimal characters are valid.
Related commands: snmp-agent usm-user v3.
Examples
# Use local engine ID and MD5 authentication protocol to convert the plain text
password authkey.
<Sysname> system-view
[Sysname] snmp-agent calculate-password authkey mode md5 local-engineid
The secret key is: 09659EC5A9AE91BA189E5845E1DDE0CC
calculate-password
1-11
Chapter 1 SNMP Configuration Commands
plain-password
mode
{
md5
|
sha
}

Advertisement

Table of Contents
loading

Table of Contents