85
Parameter: <user-string>
is the user name containing 1-32 characters
<group-string>
is the name of the group the user belongs to, containing 1-32 characters
encrypted
use DES for the packet encryption
auth
perform packet authentication
md5
packet authentication using HMAC MD5 algorithm
sha
packet authentication using HMAC SHA algorithm
<password-string>
user password,containing 1-32 character
Usage Guide:
If the encryption and authentication is not selected, the default settings
will be no encryption and no authentication. If the encryption is selected, the
authentication must be done. When deleting a user, if correct username and incorrect
group name is inputted, the user can still be deleted.
Example:
Add a new user tester in the UserGroup with an encryption safety level and
HMAC md5 for authentication, the password is hello.
Switch (Config)#snmp-server user tester UserGroup encrypted auth md5 hello
deletes an User
Switch (Config)#no snmp-server user tester UserGroup
2.4.3.20 snmp-server securityip
Command
:
snmp-server securityip {<ipv4-address>| <ipv6-address>}
no snmp-server securityip {<ipv4-address>| <ipv6-address>}
Function
:
Configure to permit to access security IPv4 or IPv6 address of the switch
NMS administration station; the
“
no snmp-server securityip
{<ipv4-address>|
<ipv6-address>}
”
command deletes configured security IPv4 or IPv6 address.
Command Mode
:
Global Mode
Parameter
:
<ipv4-address>
is NMS security IPv4 address, point separated decimal
format
<ipv6-address>
is NMS security IPv6 address, colon separated hex format.
Usage Guide
:
It is only the consistency between NMS administration station IPv4 or
IPv6 address and security IPv4 or IPv6 address configured by the command,
so it send SNMP package could be processed by switch, the command only
applies to SNMP.
Example
:
Configure security IP address of NMS administration station
Switch(config)#snmp-server securityip 1.1.1.5
Delete security IPv6 address
Switch(config)#no snmp-server securityip 2001::1
2.4.4 Typical SNMP Configuration Examples