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

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
Note:
An S3100 Ethernet switch provides the following functions to prevent attacks through
unused UDP ports.
Starting the SNMP agent opens UDP port used by SNMP agents and the UDP port
used by SNMP trap respectively.
Shutting down the SNMP agent closes UDP ports used by SNMP agents and SNMP
trap as well.

1.1.11 snmp-agent calculate-password

Syntax
snmp-agent
{ local-engineid | specified-engineid engineid }
View
System view
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.
calculate-password
1-14
Chapter 1 SNMP Configuration Commands
plain-password
mode
{
md5
|
sha
}

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents