R3204P16-HP Load Balancing Module System Maintenance Command Reference-6PW101
52
snmp-agent
Syntax
snmp-agent
undo snmp-agent
View
System view
Default level
3: Manage level
Parameters
None
Description
Use the snmp-agent command to enable the SNMP agent service.
Use the undo snmp-agent command to disable the SNMP agent service.
By default, the SNMP agent service is disabled.
You can enable the SNMP agent service by using any command that begins with snmp-agent except the
snmp-agent calculate-password command.
Examples
# Enable the SNMP agent service on the device.
<Sysname> system-view
[Sysname] snmp-agent
snmp-agent calculate-password
Syntax
snmp-agent calculate-password plain-password mode { 3desmd5 | 3dessha | md5 | sha }
{ local-engineid | specified-engineid engineid }
View
System view
Default level
3: Manage level
Parameters
plain-password: Specifies a plain text authentication or privacy key.
mode: Specifies authentication and privacy algorithms. Select a mode option, depending on the
authentication and privacy algorithm you are configuring with the snmp-agent usm-user v3 command.
The three privacy algorithms Advanced Encryption Standard (AES), Triple Data Encryption Standard
(3DES), and Data Encryption Standard (DES) are in descending order of security strength. Higher
security means more complex implementation mechanism and lower speed. DES is enough to meet
general requirements. The Message-Digest Algorithm 5 (MD5) and Secure Hash Algorithm (SHA-1) are
the two authentication algorithms. MD5 is faster than SHA-1, while SHA-1 provides higher security than
MD5.