4.
Example:
The following example adds a user (myuser) using snmp v3 with read-only access mode and without
authentication:
switch_a(config)#snmp-server v3-user myuser ro noauth
switch_a(config)#
SNMPv3 Auth-MD5, SNMPv3 Auth-SHA:
1.
Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2.
Usage:
Add a user using snmp v3 with read-only or read-write access mode and with MD5 or SHA
authentication. Use the no form of the command to delete this user.
3.
Command Syntax:
(no) snmp-server v3-user USERNAME (ro
USERNAME Specify a user name.
ro read-only access mode
rw read-write access mode
md5 authentication method
sha authentication method
AUTH_PASSWORD authentication password
4.
Example:
The following example adds a user (myuser) using snmp v3 with read-write access mode and MD5
authentication (mypassword):
switch_a(config)#snmp-server v3-user myuser rw auth md5 mypassword
switch_a(config)#
SNMPv3 Priv Auth-MD5, SNMPv3 Priv Auth-SHA:
1.
Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2.
Usage:
Add a user using snmp v3 with read-only or read-write access mode, MD5 or SHA authentication, and
privacy. Use the no form of the command to delete this user.
3.
Command Syntax:
(no) snmp-server v3-user USERNAME (ro
PRIV_PASS_PHRASE
USERNAME Specify a user name.
ro read-only access mode
rw read-write access mode
md5 authentication method
sha authentication method
AUTH_PASSWORD authentication password
PRIV_PASS_PHRASE encryption pass phrase
PAGE 191
OSD2700SFP OPERATOR MANUAL
OPTICAL SYSTEMS DESIGN
|
r w) auth (md5
|
r w) priv auth (md5
|
s ha) AUTH_PASSWORD
|
s ha) AUTH_PASSWORD des
DOC ID: 10112704