H3C s3100 series Command Manual page 748

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

[Sysname] snmp-agent usm-user v3 testUser testGroup authentication-mode md5 authkey
privacy-mode des56 prikey
On the NMS, set the version to SNMPv3, the username to testUser, the authentication algorithm to
MD5, the authentication password to authkey, the privacy algorithm to DES, and the privacy password
to prikey, and establish a connection with the device. Then the NMS can access the MIB objects in the
view ViewDefault on the device.
# Add a user named testUser to the SNMPv3 group named testGroup in cipher mode (namely, the
authentication and privacy passwords should be in cipher text). Set the security mode to authentication
with privacy, the authentication algorithm to md5, the privacy algorithm to des56, the authentication
password to authkey, and the cipher text privacy password to prikey.
<Sysname> system-view
[Sysname] snmp-agent group v3 testgroup privacy
[Sysname] snmp-agent calculate-password authkey mode md5 local-engineid
The secret key is: 09659EC5A9AE91BA189E5845E1DDE0CC
[Sysname] snmp-agent calculate-password prikey mode md5 local-engineid
The secret key is: 800D7F26E786C4BECE61BF01E0A22705
[Sysname]
snmp-agent
usm-user
v3
testUser
testGroup
cipher
authentication-mode
md5
09659EC5A9AE91BA189E5845E1DDE0CC privacy-mode des56 800D7F26E786C4BECE61BF01E0A22705
On the NMS, set the version to SNMPv3, the username to testUser, the authentication algorithm to
MD5, the authentication password to authkey, the privacy algorithm to DES, and the privacy password
to prikey, and establish a connection with the device. Then the NMS can access the MIB objects in the
view ViewDefault on the device.
1-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents