H3C Technologies H3C S7500E Series Switches User Manual
Page 122
6-4
To do…
Use the command…
Remarks
Configure an SNMP agent group
snmp-agent group v3
group-name [ authentication |
privacy ] [ read-view
read-view ] [ write-view
write-view ] [ notify-view
notify-view ] [ acl acl-number ]
Required
Convert the user-defined plain
text password to a cipher text
password
snmp-agent
calculate-password
plain-password mode
{ 3desmd5 | 3dessha | md5 |
sha } { local-engineid |
specified-engineid engineid }
Optional
Add a new user to an SNMP
agent group
snmp-agent usm-user v3
user-name group-name
[ [ cipher ]
authentication-mode { md5 |
sha } auth-password
[ privacy-mode { 3des | aes128
| des56 } priv-password ] ] [ acl
acl-number ]
Required
If the cipher keyword is
specified, the arguments
auth-password and
priv-password are considered
as cipher text passwords.
Configure the maximum size of
an SNMP packet that can be
received or sent by an SNMP
agent
snmp-agent packet max-size
byte-count
Optional
1,500 bytes by default.
Follow these steps to configure SNMPv1 and SNMPv2c:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the SNMP agent
snmp-agent
Optional
Disabled by default
You can enable the SNMP agent
through this command or any
commands that begins with
snmp-agent.