3com 5500-ei pwr Guia De Referência
1-12
Description
Use the snmp-agent command to enable the SNMP agent.
Use the undo snmp-agent command to disable the SNMP agent.
Execution of the snmp-agent command or any of the commands used to configure the SNMP agent,
you can start the SNMP agent.
By default, the SNMP agent is disabled.
Examples
# Start the SNMP agent.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent
A Switch 5500-EI provides the following functions to prevent attacks through unused UDP ports.
z
Starting the SNMP agent opens UDP port used by SNMP agents and the UDP port used by SNMP
trap respectively.
z
Shutting down the SNMP agent closes UDP ports used by SNMP agents and SNMP trap as well.
snmp-agent calculate-password
Syntax
snmp-agent calculate-password plain-password mode { md5 | sha } { 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.